.glsn-overlay,
.glsn-overlay * {
    box-sizing: border-box;
}

.glsn-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--glsn-overlay, rgba(12, 16, 10, .78));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    -webkit-font-smoothing: antialiased;
}

.glsn-overlay.glsn-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.glsn-modal {
    position: relative;
    width: min(680px, 100%);
    max-height: min(88vh, 860px);
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--glsn-panel, #fff);
    color: var(--glsn-text, #23291f);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
    transform: translateY(18px) scale(.985);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
    outline: none;
}

.glsn-overlay.glsn-visible .glsn-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.glsn-modal::before {
    content: "";
    display: block;
    height: 5px;
    background: var(--glsn-accent, #5f7447);
}

.glsn-content {
    padding: 48px 56px 42px;
    text-align: center;
    font-family: inherit;
}

.glsn-close {
    position: absolute;
    z-index: 2;
    top: 17px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--glsn-text, #23291f);
    font: inherit;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.glsn-close:hover,
.glsn-close:focus-visible {
    background: rgba(0,0,0,.06);
    transform: rotate(4deg);
    outline: none;
}


.glsn-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 22px;
    text-align: center;
}

.glsn-logo {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 90px !important;
    margin: 0 auto !important;
    object-fit: contain;
}

.glsn-kicker {
    margin: 0 0 10px !important;
    color: var(--glsn-accent, #5f7447) !important;
    font-size: clamp(12px, 1.5vw, 14px) !important;
    line-height: 1.4 !important;
    letter-spacing: .17em;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.glsn-heading {
    margin: 0 !important;
    color: var(--glsn-text, #23291f) !important;
    font-family: inherit;
    font-size: clamp(28px, 5vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em;
    font-weight: 700 !important;
}

.glsn-divider {
    width: 62px;
    height: 2px;
    margin: 24px auto 26px;
    background: var(--glsn-accent, #5f7447);
}

.glsn-copy p,
.glsn-followup,
.glsn-footer-copy p {
    margin-top: 0 !important;
    color: var(--glsn-text, #23291f) !important;
    font-family: inherit;
}

.glsn-copy p {
    max-width: 560px;
    margin-right: auto !important;
    margin-bottom: 14px !important;
    margin-left: auto !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
}

.glsn-copy .glsn-stock-message {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.glsn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 50px;
    padding: 14px 24px;
    border: 2px solid var(--glsn-accent, #5f7447);
    border-radius: 4px;
    background: var(--glsn-accent, #5f7447) !important;
    color: var(--glsn-button-text, #fff) !important;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: .08em;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: none;
    transition: transform .2s ease, filter .2s ease;
}

.glsn-whatsapp:hover,
.glsn-whatsapp:focus-visible {
    color: var(--glsn-button-text, #fff) !important;
    transform: translateY(-2px);
    filter: brightness(.92);
    text-decoration: none !important;
    outline: 3px solid color-mix(in srgb, var(--glsn-accent, #5f7447) 28%, transparent);
    outline-offset: 3px;
}

.glsn-whatsapp-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.glsn-whatsapp-label,
.glsn-whatsapp-number {
    display: inline-block;
    line-height: 1.2;
}

.glsn-whatsapp-number {
    font-weight: 800;
    letter-spacing: .03em;
}

.glsn-followup {
    max-width: 520px;
    margin: 20px auto 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.glsn-footer-copy {
    margin-top: 27px;
    padding-top: 23px;
    border-top: 1px solid rgba(0,0,0,.10);
}

.glsn-brand {
    margin-bottom: 4px !important;
    color: var(--glsn-accent, #5f7447) !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    letter-spacing: .16em;
    font-weight: 800 !important;
}

.glsn-tagline {
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

html.glsn-lock,
body.glsn-lock {
    overflow: hidden !important;
}

@media (max-width: 600px) {
    .glsn-logo-wrap {
        margin-bottom: 18px;
    }

    .glsn-logo {
        max-width: 155px !important;
        max-height: 72px !important;
    }

    .glsn-overlay {
        padding: 14px;
        align-items: center;
    }

    .glsn-modal {
        max-height: 92vh;
        border-radius: 6px;
    }

    .glsn-content {
        padding: 42px 22px 30px;
    }

    .glsn-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .glsn-heading {
        font-size: clamp(25px, 8vw, 34px) !important;
    }

    .glsn-copy p {
        font-size: 14.5px !important;
        line-height: 1.62 !important;
    }

    .glsn-whatsapp {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glsn-overlay,
    .glsn-modal,
    .glsn-close,
    .glsn-whatsapp {
        transition: none !important;
    }
}
