.popup-offers-widget__overlay {
    position: fixed;
    z-index: 7899;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 8, 9, 0.8);
}

.popup-offers-widget__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-offers-widget__wrapper.empty,
.popup-offers-widget__wrapper.require_ajax_update:not(.rebuilt) {
    display: none !important;
}

.popup-offers-widget {
    position: fixed;
    z-index: 7900;
    top: 10%;
    background: white;
}

.popup-offers-widget__close-btn {
    position: absolute;
    z-index: 1;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08), 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.popup-offers-widget__title {
    font-family: var(--bm-font-family);
    font-size: 22px;
    font-weight: 600;
    line-height: 125%;
    position: relative;
    margin-top: 16px;
    margin-bottom: 16px;
    text-align: center;
    text-transform: capitalize;
    color: #1A1D25;
}

.popup-offers-widget__key-features {
    display: none;
}

.popup-offers-widget__offers-list {
    display: flex;
    flex-wrap: wrap;
    max-width: 964px;
    padding: 24px 16px 16px 16px;
    gap: 16px;
}

.popup-offers-widget__offer {
    position: relative;
    display: flex;
    flex-flow: column;
    width: calc(100% / 3 - (16px * 2 / 3));
    border: 1px solid #E8E8E8;
}

.popup-offers-widget__offer .highlighted {
    font-family: var(--bm-font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    justify-content: center;
    height: 43px;
    padding: 8px 0;
    text-align: center;
    text-transform: capitalize;
    background: #E8E8E8;
}

.popup-offers-widget__offer .hidden {
    visibility: hidden;
    height: 43px;
}

.popup-offers-widget__offer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 16px;
    gap: 12px;
}

.popup-offers-widget__offer-logo-wrapper {
    margin-bottom: 16px;
    text-align: center;
}

.popup-offers-widget__offer-logo-link img {
    width: 116px;
    height: 56px;
    object-fit: contain;
}

.popup-offers-widget__offer-description {
    font-family: var(--bm-font-family);
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    color: #1A1D25;
}

.popup-offers-widget__key-features {
    margin-top: 4px;
}

.popup-offers-widget__key-features li {
    font-size: 14px;
    line-height: 21px;
    padding-left: 20px;
    background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_11675_5430)'%3E%3Cpath d='M10.2492 0.703125L4.75078 7.95234L1.5 4.70391L0 6.20391L4.99922 11.2031L12 2.20312L10.2492 0.703125Z' fill='%231A1D25'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_11675_5430'%3E%3Crect width='12' height='12' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A") left center no-repeat;
}

.popup-offers-widget__brand-coupon {
    position: relative;
    width: 100%;
    height: 44px;
    margin-bottom: 8px;
}

.popup-offers-widget__coupon-code {
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    padding: 13px 50px 13px 16px;
    text-transform: uppercase;
    color: #1A1D25;
    border: 1px dashed #DF4347;
    border-radius: 6px;
}

.popup-offers-widget__brand-coupon.not-required-coupon-code .popup-offers-widget__coupon-code {
    font-size: 10px;
    font-weight: 400;
    line-height: 120%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    color: #404040;
    border: none;
    border-radius: 0;
    background: #F6F8FB;
}

.popup-offers-widget__brand-coupon span {
    font-family: var(--bm-font-family);
    position: absolute;
    left: 0;
    display: none;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 16px;
    text-transform: uppercase;
    color: #060606;
}

.popup-offers-widget__brand-coupon button {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 40px;
    height: 42px;
    border: 0;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    background: #E3E2E2 url("data:image/svg+xml,%3Csvg width='40' height='44' viewBox='0 0 40 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H34C37.3137 0 40 2.68629 40 6V38C40 41.3137 37.3137 44 34 44H0V0Z' fill='%23ECEFF5'/%3E%3Cpath d='M25.1455 14.0833H18.0205C17.1497 14.0833 16.4372 14.7958 16.4372 15.6666V25.1666C16.4372 26.0374 17.1497 26.7499 18.0205 26.7499H25.1455C26.0163 26.7499 26.7288 26.0374 26.7288 25.1666V15.6666C26.7288 14.7958 26.0163 14.0833 25.1455 14.0833ZM25.1455 25.1666H18.0205V15.6666H25.1455V25.1666ZM13.2705 24.3749V22.7916H14.8538V24.3749H13.2705ZM13.2705 20.0208H14.8538V21.6041H13.2705V20.0208ZM18.8122 28.3333H20.3955V29.9166H18.8122V28.3333ZM13.2705 27.1458V25.5624H14.8538V27.1458H13.2705ZM14.8538 29.9166C13.983 29.9166 13.2705 29.2041 13.2705 28.3333H14.8538V29.9166ZM17.6247 29.9166H16.0413V28.3333H17.6247V29.9166ZM21.583 29.9166V28.3333H23.1663C23.1663 29.2041 22.4538 29.9166 21.583 29.9166ZM14.8538 17.2499V18.8333H13.2705C13.2705 17.9624 13.983 17.2499 14.8538 17.2499Z' fill='%231A1D25'/%3E%3C/svg%3E") center no-repeat;
}

.popup-offers-widget__copy-tooltip {
    font-family: var(--bm-font-family);
    position: absolute;
    z-index: 1;
    top: 52px;
    right: -4px;
    display: none;
    width: min-content;
    padding: 8px;
    color: #fff;
    border-radius: 6px;
    background: #000;
}

.popup-offers-widget__copy-tooltip::before {
    position: absolute;
    top: -8px;
    right: calc(50% - 8px);
    content: '';
    border: 8px solid transparent;
    border-top: 0;
    border-bottom: 8px solid #000;
}

.popup-offers-widget__brand-coupon button:hover + div {
    display: block;
}

.popup-offers-widget__brand-coupon.not-required-coupon-code button,
.popup-offers-widget__brand-coupon.coupon-copied button {
    display: none;
}

.popup-offers-widget__no-coupon-display .popup-offers-widget__brand-coupon {
    display: none;
}

.popup-offers-widget__brand-coupon.coupon-copied span {
    display: flex;
}

.popup-offers-widget__brand-coupon.coupon-copied .popup-offers-widget__coupon-code {
    color: #fff;
}

.popup-offers-widget .campaign-list-item_cta-btn {
    margin-top: 0;
}

.popup-offers-widget__coupon-w-cta {
    margin-bottom: 16px;
}

.popup-offers-widget__cta-btn {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    text-transform: capitalize;
    color: #fff;
    border-radius: 4px;
    background: #DF4347;
}

.popup-offers-widget__cta-btn:hover {
    text-decoration: underline;
    color: #fff;
}

.popup-offers-widget__offer-terms {
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    position: relative;
    color: #737373;
}

.popup-offers-widget__offer-terms p {
    margin: 0;
}

@media screen and (min-width: 992px) {
    .popup-offers-widget.offers_1 {
        width: 480px;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__offers-list {
        padding: 0 8px 8px;
    }

    .popup-offers-widget.offers_4 .popup-offers-widget__offers-list,
    .popup-offers-widget.offers_5 .popup-offers-widget__offers-list,
    .popup-offers-widget.offers_6 .popup-offers-widget__offers-list {
        overflow-y: scroll;
        max-height: calc(100dvh - 80px);
    }

    .popup-offers-widget:not(.offers_1) .popup-offers-widget__title {
        display: none;
    }

    .popup-offers-widget.offers_2 .popup-offers-widget__offers-list .popup-offers-widget__offer {
        width: calc(100% / 2 - (16px * 1 / 2));
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__offer {
        width: 100%;
    }

    .popup-offers-widget.offers_1 .hidden {
        display: none;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__offer-content {
        gap: 16px;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__offer-logo-wrapper {
        text-align: left;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__offer-description {
        font-size: 20px;
        line-height: 25px;
        text-align: left;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__key-features {
        display: block;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__offer-logo-link {
        text-align: left;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__coupon-w-cta {
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__brand-coupon,
    .popup-offers-widget.offers_1 .popup-offers-widget__cta-btn {
        width: calc(50% - 4px);
        margin-bottom: 0;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__no-coupon-display .popup-offers-widget__coupon-w-cta {
        justify-content: flex-end;
    }

    .popup-offers-widget.offers_1 .popup-offers-widget__no-coupon-display .popup-offers-widget__cta-btn {
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .popup-offers-widget {
        top: 64px;
        width: calc(100% - 16px);
    }

    .popup-offers-widget__offers-list {
        overflow-y: scroll;
        flex-flow: column;
        max-height: calc(100dvh - 120px);
        padding: 0;
    }

    .popup-offers-widget__close-btn {
        top: -50px;
        right: 0;
    }

    .popup-offers-widget .popup-offers-widget__title {
        font-size: 20px;
        line-height: 25px;
        margin: 12px 8px 0;
        padding-bottom: 12px;
        border-bottom: 1px solid #E8E8E8;
    }

    .popup-offers-widget__offer-content {
        gap: 16px;
    }

    .popup-offers-widget__offer-description {
        font-size: 18px;
        line-height: 27px;
        text-align: left;
    }

    .popup-offers-widget__key-features {
        display: block;
    }

    .popup-offers-widget__offer {
        width: 100%;
        border: 0;
        border-bottom: 1px solid #E8E8E8;
    }

    .popup-offers-widget__key-features li {
        line-height: 21px;
        background-position: left 4px;
    }

    .popup-offers-widget__offer-logo-wrapper {
        text-align: left;
    }

    .popup-offers-widget__no-coupon-display .popup-offers-widget__coupon-w-cta {
        justify-content: flex-end;
    }

    .popup-offers-widget__no-coupon-display .popup-offers-widget__cta-btn {
        width: 100%;
    }

    .popup-offers-widget__brand-coupon.not-required-coupon-code .popup-offers-widget__coupon-code {
        font-size: 11px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .popup-offers-widget__brand-coupon button:hover + div {
        display: none;
    }

    .popup-offers-widget__offer-terms span {
        white-space: normal;
        color: #737373;
    }

    .popup-offers-widget__offer-terms div {
        display: none !important;
    }

    .popup-offers-widget__offer .highlighted,
    .popup-offers-widget__offer .hidden {
        display: none;
    }
}
