.hicret-exit-intent {
    position: fixed;
    z-index: 1300;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.hicret-exit-intent[hidden] {
    display: none;
}

.hicret-exit-intent.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.hicret-exit-intent__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 39, 26, .72);
}

.hicret-exit-intent__dialog {
    position: relative;
    width: min(100%, 470px);
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 36px 40px 29px;
    border: 1px solid #d7e5dc;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(5, 35, 20, .28);
    text-align: center;
    transform: translateY(14px) scale(.98);
    transition: transform .24s ease;
}

.hicret-exit-intent.is-open .hicret-exit-intent__dialog {
    transform: translateY(0) scale(1);
}

.hicret-exit-intent__close {
    position: absolute;
    top: 11px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #557064;
    background: transparent;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.hicret-exit-intent__close:hover,
.hicret-exit-intent__close:focus-visible {
    color: #0e5f23;
    background: #edf5ef;
    outline: 0;
}

.hicret-exit-intent__close svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.hicret-exit-intent__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 13px;
    border-radius: 50%;
    color: #0e5f23;
    background: #eaf5ed;
}

.hicret-exit-intent__icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.hicret-exit-intent__eyebrow {
    margin: 0 0 7px;
    color: #bb8018;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hicret-exit-intent h2 {
    margin: 0;
    color: #183a2a;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.hicret-exit-intent__description {
    max-width: 360px;
    margin: 12px auto 20px;
    color: #52665a;
    font-size: 14px;
    line-height: 1.6;
}

.hicret-exit-intent__description strong {
    color: #0e5f23;
    font-weight: 800;
}

.hicret-exit-intent__code-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 330px;
    margin: 0 auto;
    padding: 8px 8px 8px 17px;
    border: 1px dashed #c9a44a;
    border-radius: 9px;
    background: #fffaf0;
}

.hicret-exit-intent__code {
    color: #574315;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1;
}

.hicret-exit-intent__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 37px;
    padding: 8px 12px;
    border: 1px solid #d9bd71;
    border-radius: 6px;
    color: #574315;
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.hicret-exit-intent__copy:hover,
.hicret-exit-intent__copy:focus-visible {
    border-color: #b58a25;
    color: #fff;
    background: #b58a25;
    outline: 0;
}

.hicret-exit-intent__copy svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.hicret-exit-intent__status {
    min-height: 18px;
    margin: 8px 0 0;
    color: #0e5f23;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.hicret-exit-intent__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.hicret-exit-intent__primary,
.hicret-exit-intent__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.hicret-exit-intent__primary {
    gap: 8px;
    border: 1px solid #0e5f23;
    color: #fff !important;
    background: #0e5f23;
}

.hicret-exit-intent__primary:hover,
.hicret-exit-intent__primary:focus-visible {
    border-color: #094617;
    background: #094617;
    transform: translateY(-1px);
    outline: 0;
}

.hicret-exit-intent__primary svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.hicret-exit-intent__secondary {
    border: 1px solid #d5e0d9;
    color: #466052;
    background: #fff;
}

.hicret-exit-intent__secondary:hover,
.hicret-exit-intent__secondary:focus-visible {
    border-color: #9eb5a5;
    color: #183a2a;
    background: #f5faf6;
    outline: 0;
}

.hicret-exit-intent__note {
    display: block;
    margin-top: 15px;
    color: #7a8c82;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .hicret-exit-intent {
        padding: 14px;
    }

    .hicret-exit-intent__dialog {
        padding: 34px 20px 24px;
    }

    .hicret-exit-intent h2 {
        font-size: 23px;
    }

    .hicret-exit-intent__code-wrap {
        gap: 8px;
        padding-left: 12px;
    }

    .hicret-exit-intent__code {
        font-size: 19px;
    }

    .hicret-exit-intent__copy {
        padding-right: 9px;
        padding-left: 9px;
    }

    .hicret-exit-intent__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hicret-exit-intent__primary,
    .hicret-exit-intent__secondary {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hicret-exit-intent,
    .hicret-exit-intent__dialog,
    .hicret-exit-intent__close,
    .hicret-exit-intent__copy,
    .hicret-exit-intent__primary,
    .hicret-exit-intent__secondary {
        transition: none;
    }
}
