.modal-wrapper.exit-intent img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.7490196078);
}

.modal-wrapper.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 999;
    overflow: hidden;
}

.modal-wrapper.active .modal-content {
    opacity: 1;
}

.modal-wrapper .modal-content {
    z-index: 1;
    opacity: 0;
    transition: opacity;
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2117647059);
    border-radius: 5px;
    background-color: #fff;
    color: #000;
    overflow-y: auto;
    text-align: center;
    max-width: 715px;
    width: 95%;
    font-size: 14px;
}

.modal-wrapper .modal-content .close-btn:not(a) {
    outline: none;
    border: none;
    border-radius: 50%;
    color: #c6c6c6;
    background-color: transparent;
    padding: 15px;
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 2%;
    opacity: 0.6;
    transition: all 0.2s ease-in-out;
}

.modal-wrapper .modal-content .close-btn:not(a):active, .modal-wrapper .modal-content .close-btn:not(a):focus, .modal-wrapper .modal-content .close-btn:not(a):hover {
    opacity: 1;
    background: rgba(128, 128, 128, 0.5);
}

.modal-wrapper .modal-content .close-btn:not(a)::before, .modal-wrapper .modal-content .close-btn:not(a)::after {
    content: " ";
    position: absolute;
    height: 25px;
    width: 3px;
    background-color: #fff;
}

.modal-wrapper .modal-content .close-btn:not(a)::before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-wrapper .modal-content .close-btn:not(a)::after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-wrapper .modal-content .header-wrapper {
    background-color: #375C6D;
    padding: 0.8em;
    text-align: center;
    color: #fff;
}

.modal-wrapper .modal-content .header-wrapper .img-wrapper {
    max-width: 320px;
    margin: 0 auto;
}

.modal-wrapper .modal-content .header-wrapper .sub-heading {
    font-size: 1.1em;
    text-align: center;
}

.modal-wrapper .modal-content .inner-content {
    padding: 1em 0.7em 0.5em 0.7em;
}

.modal-wrapper .modal-content .inner-content .bottles-img {
    max-width: 350px;
    margin: 0 auto 0.5em;
}

.modal-wrapper .modal-content .inner-content .recommended-text {
    font-size: 0.9em;
    font-style: italic;
    margin-right: 1em;
    margin-left: 1em;
}

.modal-wrapper .modal-content .inner-content .btn {
    color: white;
    font-size: 1em;
    font-style: italic;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    padding: 0.6em 1em;
    margin-top: 0.7em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 4px;
    cursor: pointer;
    display: block;
}

.modal-wrapper .modal-content .inner-content .btn.btn__atc {
    background: linear-gradient(180deg, #ffd500, gold, #ffd900, #ffdb00, #ffde00, #ffe000, #ffe200, #ffe400);
    border: 2px solid #aaa;
    color: #000;
}

.modal-wrapper .modal-content .inner-content .btn.btn__decline {
    background: #375C6D;
    border: 2px solid #375C6D;
}

@media only screen and (min-width: 485px) {
    .modal-wrapper .modal-content .close-btn:not(a) {
        position: absolute;
        right: 1%;
    }

    .modal-wrapper .modal-content .header-wrapper {
        padding: 0.8em 1em;
    }

    .modal-wrapper .modal-content .header-wrapper .img-wrapper {
        max-width: 350px;
    }

    .modal-wrapper .modal-content .header-wrapper .sub-heading {
        font-size: 1.2em;
    }

    .modal-wrapper .modal-content .inner-content {
        padding: 1em 1.5em 0.5em 1.5em;
    }

    .modal-wrapper .modal-content .inner-content .bottles-img {
        max-width: 400px;
    }

    .modal-wrapper .modal-content .inner-content .btn {
        font-size: 1em;
    }
}

@media only screen and (min-width: 768px) {
    .modal-wrapper .modal-content {
        font-size: 16px;
    }

    .modal-wrapper .modal-content .header-wrapper .sub-heading {
        font-size: 1.2em;
    }

    .modal-wrapper .modal-content .header-wrapper .img-wrapper {
        max-width: 350px;
    }

    .modal-wrapper .modal-content .inner-content .bottles-img {
        max-width: 550px;
    }

    .modal-wrapper .modal-content .inner-content .recommended-text {
        font-size: 0.9em;
    }

    .modal-wrapper .modal-content .inner-content .btn {
        font-size: 1.1em;
    }
}

.modal-wrapper.exit-intent#exit-intent .modal-content .ty-section {
    display: none;
}

.modal-wrapper.exit-intent#exit-intent .modal-content .main-section {
    display: block;
}

.modal-wrapper.exit-intent .modal-content {
    height: auto;
    width: 100%;
    max-width: 98%;
    border-radius: 15px;
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    background-color: #000E21;
    color: #fff;
    padding: 0 1em 1em;
    text-align: center;
}

.modal-wrapper.exit-intent .modal-content .close-btn:not(a) {
    position: absolute;
    top: 2%;
}

.modal-wrapper.exit-intent .modal-content p:last-child {
    margin-bottom: 0;
}

.modal-wrapper.exit-intent .modal-content .main-section {
    display: none;
}

.modal-wrapper.exit-intent .modal-content .ty-section {
    display: block;
}

.modal-wrapper.exit-intent .modal-content .ty-section .sub-heading {
    font-weight: 700;
    margin-bottom: 0.7em;
}

.modal-wrapper.exit-intent .modal-content .modal-bg {
    max-width: 330px;
    margin: 0 auto;
}

.modal-wrapper.exit-intent .modal-content .heading {
    color: #FFD500;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.95em;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-wrapper.exit-intent .modal-content .sub-heading {
    font-size: 1.4em;
    font-weight: 800;
}

.modal-wrapper.exit-intent .modal-content .sub-heading span {
    color: #FFD500;
}

.modal-wrapper.exit-intent .modal-content .cp-box {
    background-color: #fff;
    color: #093042;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1em;
    border-radius: 7px;
    border: 2px dashed #093042;
    padding: 10px 1em;
    margin: 0 auto 15px;
    max-width: 90%;
    font-size: 1.8em;
    font-weight: 700;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: background-color 0.2s ease;
}

.modal-wrapper.exit-intent .modal-content .cp-box:hover, .modal-wrapper.exit-intent .modal-content .cp-box:focus-visible, .modal-wrapper.exit-intent .modal-content .cp-box.copied {
    background-color: #b8b8b8;
}

.modal-wrapper.exit-intent .modal-content .cp-box img {
    max-width: 35px;
}

.modal-wrapper.exit-intent .modal-content .discount-txt {
    font-size: 1em;
    font-weight: 500;
    margin-block: 13px 10px;
}

.modal-wrapper.exit-intent .modal-content .discount-txt span {
    color: #FFD500;
    font-weight: 700;
}

.modal-wrapper.exit-intent .modal-content .error-msg {
    display: none;
    color: #e42a2a;
    font-size: 0.8em;
    font-weight: 500;
    margin: 8px 0 10px 7px;
    text-align: left;
}

.modal-wrapper.exit-intent .modal-content .note-txt {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 400;
    max-width: 90%;
    margin: 10px auto 0;
}

.modal-wrapper.exit-intent .modal-content .form-input {
    color: #636363;
    background-color: #fff;
    border: 1px solid #9F9F9F;
    border-radius: 7px;
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 10px 1em 10px 0.8em;
    margin-bottom: 12px;
    transition: 0.3s ease-in-out;
    text-align: left;
}

.modal-wrapper.exit-intent .modal-content label {
    font-weight: bold;
    margin-left: 5px;
    margin-bottom: 3px;
    display: block;
}

.modal-wrapper.exit-intent .modal-content label.invalid {
    display: block;
    color: #e42a2a;
}

.modal-wrapper.exit-intent .modal-content label.invalid + .form-input {
    border: 1px solid red;
}

.modal-wrapper.exit-intent .modal-content .modal-btn {
    text-align: center;
    display: block;
    width: 100%;
    color: #fff;
    margin: 0 auto;
    background: linear-gradient(90deg, #F15925 0%, #FFD500 100%);
    border-radius: 10px;
    border: none;
    padding: 0.5em 0.8em;
    font-family: inherit;
    font-size: 1.3em;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-wrapper.exit-intent .modal-content .modal-btn:hover, .modal-wrapper.exit-intent .modal-content .modal-btn:focus, .modal-wrapper.exit-intent .modal-content .modal-btn:active {
    -webkit-filter: brightness(0.87);
    filter: brightness(0.87);
}

@media only screen and (min-width: 768px) {
    .modal-wrapper.exit-intent .modal-content {
        border-radius: 20px;
        max-width: 900px;
        font-size: 23px;
        padding: 1.2em 1em 1.2em 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .modal-wrapper.exit-intent .modal-content .modal-bg {
        max-width: 100%;
        -ms-flex: 1;
        flex: 1;
    }

    .modal-wrapper.exit-intent .modal-content .main-section, .modal-wrapper.exit-intent .modal-content .ty-section {
        max-width: 62%;
        -ms-flex: 0 0 62%;
        flex: 0 0 62%;
        margin-left: auto;
    }

    .modal-wrapper.exit-intent .modal-content .heading {
        font-size: 2.2em;
        line-height: 1;
        margin-bottom: 15px;
    }

    .modal-wrapper.exit-intent .modal-content .sub-heading {
        font-size: 1.3em;
    }

    .modal-wrapper.exit-intent .modal-content .sub-heading br {
        display: none;
    }

    .modal-wrapper.exit-intent .modal-content .cp-box {
        font-size: 1.5em;
    }

    .modal-wrapper.exit-intent .modal-content .cp-box img {
        max-width: 50px;
    }

    .modal-wrapper.exit-intent .modal-content .discount-txt {
        margin-bottom: 1em;
    }

    .modal-wrapper.exit-intent .modal-content .note-txt {
        max-width: 100%;
        font-size: 0.95rem;
        margin-top: 15px;
    }

    .modal-wrapper.exit-intent .modal-content .form-input {
        padding: 15px 1em 15px 0.8em;
        margin-bottom: 15px;
    }

    .modal-wrapper.exit-intent .modal-content .modal-btn {
        font-size: 1.2em;
        border-radius: 10px;
        padding: 0.5em 1.5em;
    }
}

.toast {
    position: fixed;
    top: 16px;
    right: 16px;
    left: 16px;
    z-index: 1050;
    margin-left: auto;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #375C6D;
    color: #fff;
    font-family: "Mulish", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: translateY(-16px);
    transform: translateY(-16px);
    transition: opacity 0.3s ease, visibility 0.3s, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, -webkit-transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

@media only screen and (min-width: 576px) {
    .toast {
        left: auto;
        top: 20px;
        right: 20px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .toast {
        transition: opacity 0.3s ease, visibility 0.3s;
        -webkit-transform: none;
        transform: none;
    }
}
