.offer-popup {
    position: fixed;
    inset: 0;
    z-index: var(--offer-popup-z-index, 1000);
    display: grid;
    place-items: center;
    padding: var(--offer-popup-gutter, clamp(1rem, 3vw, 2rem));
}

.offer-popup-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    appearance: none;
    background: rgba(0, 0, 0, var(--xam-offer-overlay-opacity, .68));
    cursor: default;
}

.offer-popup-opening .offer-popup-overlay {
    animation: offer-popup-overlay-in var(--offer-popup-animation-duration, 520ms) ease both;
}

.offer-popup-closing .offer-popup-overlay {
    animation: offer-popup-overlay-out var(--offer-popup-animation-duration, 520ms) ease both;
}

.offer-popup-modal {
    position: relative;
    z-index: 1;
    width: min(92vw, var(--offer-popup-width, 46rem));
    max-height: calc(100dvh - (2 * var(--offer-popup-gutter, 1rem)));
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 24px;
    background: rgba(16, 16, 16, .68);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.offer-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(0, 0, 0, .34);
    color: rgba(255, 255, 255, .92);
    font-size: 1.35rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.offer-popup-close:hover,
.offer-popup-close:focus-visible {
    background: rgba(255, 255, 255, .12);
    outline: none;
}

/* Attention: ! icon on modal (outside card overflow clip) */
.offer-popup-modal > .offer-popup-attention-btn {
    position: absolute !important;
    left: 18px !important;
    bottom: 18px !important;
    z-index: 50 !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .72) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .5) !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.offer-popup-attention-btn {
    position: absolute !important;
    left: 18px;
    bottom: 18px;
    z-index: 50;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .72) !important;
    color: #ffffff !important;
    cursor: pointer;
    display: grid !important;
    place-items: center;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .5) !important;
    filter: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.offer-popup-attention-btn:focus-visible {
    outline: 2px solid rgba(241, 191, 60, .85);
    outline-offset: 3px;
}

.offer-popup-attention-btn-glow {
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(241, 191, 60, .55) 0%, rgba(241, 191, 60, 0) 70%);
    animation: offer-popup-attention-light 2.6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.offer-popup-attention-icon {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: block;
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(241, 191, 60, .65));
}

.offer-popup-attention-fallback {
    display: none;
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

@supports not (stroke: currentColor) {
    .offer-popup-attention-icon { display: none; }
    .offer-popup-attention-fallback { display: block; }
}

@keyframes offer-popup-attention-light {
    0%, 100% {
        opacity: .42;
        transform: scale(.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-popup-attention-btn-glow {
        animation: none;
        opacity: .7;
    }
}

.offer-popup-attention {
    position: absolute !important;
    inset: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.2rem, 4vw, 2rem) clamp(1rem, 3.5vw, 1.75rem);
    background: rgba(8, 8, 10, .82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.offer-popup-attention.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.offer-popup-attention[hidden] {
    display: none !important;
}

.offer-popup-attention.is-open[hidden] {
    display: flex !important;
}

.offer-popup-attention-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(0, 0, 0, .34);
    color: rgba(255, 255, 255, .92);
    font-size: 1.35rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.offer-popup-attention-close:hover,
.offer-popup-attention-close:focus-visible {
    background: rgba(255, 255, 255, .12);
    outline: none;
}

.offer-popup-attention-body {
    max-width: min(36rem, 100%);
    margin: 0 auto;
    width: 100%;
    line-height: 1.55;
    overflow-wrap: break-word;
}

.offer-popup-attention-body[data-xam-offer-write="left"] {
    text-align: left;
}

.offer-popup-attention-body[data-xam-offer-write="center"] {
    text-align: center;
}

.offer-popup-attention-body[data-xam-offer-write="right"] {
    text-align: right;
}

.offer-popup-attention-body p {
    margin: 0 0 .75rem;
}

.offer-popup-attention-body p:last-child {
    margin-bottom: 0;
}

.offer-popup-attention-empty {
    opacity: .55;
}

.offer-popup-card {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    min-height: 24rem;
}

/* Grid lives ONLY on the stage — Attention stays outside the grid. */
.offer-popup-card-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(14rem, .95fr) minmax(17rem, 1.05fr);
    min-height: 24rem;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.offer-popup-card-media {
    position: absolute;
    inset: 0;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.offer-popup-visual {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 45% 42%, rgba(255, 255, 255, .22), transparent 22%),
        linear-gradient(135deg, rgba(255, 195, 59, .92), rgba(255, 157, 0, .86));
}

.offer-popup .offer-popup-visual[data-xam-offer-popup-background="warm_offer"] {
    background:
        radial-gradient(circle at 45% 42%, rgba(255, 255, 255, .2), transparent 22%),
        linear-gradient(135deg, #ff7a18, #d72f2f);
}

.offer-popup .offer-popup-visual[data-xam-offer-popup-background="light_clean"] {
    background:
        radial-gradient(circle at 45% 42%, rgba(255, 255, 255, .72), transparent 24%),
        linear-gradient(135deg, #f7f4ed, #ded8cb);
}

.offer-popup .offer-popup-visual[data-xam-offer-popup-background="custom"] {
    background: var(--offer-popup-custom-background, #101010);
}

.offer-popup-card-media .offer-popup-visual-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: block;
    object-fit: contain;
    object-position: center;
}

.offer-popup-card[data-xam-offer-popup-media-fit="cover"] .offer-popup-visual-media {
    object-fit: cover;
}

.offer-popup-card[data-xam-offer-popup-media-fit="contain"] .offer-popup-visual-media {
    object-fit: contain;
}

.offer-popup-card[data-xam-offer-popup-media-fit="fill"] .offer-popup-visual-media {
    object-fit: fill;
}

.offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-visual {
    background: transparent;
}

.offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-visual::before,
.offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-visual::after {
    display: none;
}

.offer-popup-visual::before {
    content: "🎁";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(4.4rem, 10vw, 7.2rem);
    filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .25));
}

.offer-popup-visual::after {
    content: "";
    position: absolute;
    inset: auto -28% -20% 18%;
    height: 68%;
    border-radius: 999px 999px 0 0;
    background: rgba(255, 255, 255, .22);
    transform: rotate(-18deg);
}

.offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-card-stage {
    grid-template-columns: 1fr;
}

.offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-visual {
    display: none;
}

.offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-content {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 24rem;
}

.offer-popup-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 1.15rem;
    padding: clamp(2.3rem, 5vw, 4rem) clamp(1.7rem, 4vw, 3rem);
    background: var(--offer-popup-content-background, #141414);
    color: var(--offer-popup-text-color, #ffffff);
}

.offer-popup-card[data-xam-offer-popup-content-bg="false"] .offer-popup-content {
    background: transparent;
}

.offer-popup-media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    max-height: 18rem;
}

.offer-popup-video,
.offer-popup-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 18rem;
    object-fit: cover;
}

.offer-popup-text {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    width: 100%;
}

/*
  Invisible 3-column zones (position) + independent write (text-align) inside the zone.
  Background video/image stays full-bleed on the card.
  Also overrides site.css global h2 { max-width: …ch !important }.
*/
.offer-popup .offer-popup-text-up,
.offer-popup h2.offer-popup-text-up,
.offer-popup .offer-popup-text-down {
    display: block !important;
    width: 42% !important;
    max-width: 42% !important;
    min-width: min(14rem, 100%) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    animation: none !important;
    padding-inline: .25rem;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    white-space: normal !important;
}

.offer-popup .offer-popup-text-up,
.offer-popup h2.offer-popup-text-up {
    font-size: clamp(1.55rem, 3.2vw, 2.65rem);
    line-height: 1.08 !important;
    font-weight: 900;
    letter-spacing: normal !important;
    color: var(--offer-popup-text-color, #ffffff);
    text-shadow: var(--offer-popup-text-fx, none);
}

/* Position = which column the block sits in */
.offer-popup .offer-popup-text-up[data-xam-offer-align="left"],
.offer-popup .offer-popup-text-down[data-xam-offer-align="left"] {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.offer-popup .offer-popup-text-up[data-xam-offer-align="center"],
.offer-popup .offer-popup-text-down[data-xam-offer-align="center"] {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.offer-popup .offer-popup-text-up[data-xam-offer-align="right"],
.offer-popup .offer-popup-text-down[data-xam-offer-align="right"] {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Write = text alignment inside the column */
.offer-popup .offer-popup-text-up[data-xam-offer-write="left"],
.offer-popup .offer-popup-text-down[data-xam-offer-write="left"] {
    text-align: left !important;
}

.offer-popup .offer-popup-text-up[data-xam-offer-write="center"],
.offer-popup .offer-popup-text-down[data-xam-offer-write="center"] {
    text-align: center !important;
}

.offer-popup .offer-popup-text-up[data-xam-offer-write="right"],
.offer-popup .offer-popup-text-down[data-xam-offer-write="right"] {
    text-align: right !important;
}

.offer-popup .offer-popup-text-align-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.offer-popup .offer-popup-text-down {
    color: var(--offer-popup-text-color, #ffffff);
    opacity: 1;
    font-size: clamp(.9rem, 1.4vw, 1.08rem);
    line-height: 1.5;
    text-shadow: var(--offer-popup-text-fx, none);
}

.offer-popup .offer-popup-text-down p {
    margin: 0;
}

/* Text Down / Attention paragraphs must be block (global lang helper forces inline). */
.offer-popup .offer-popup-text-down p[data-xam-offer-popup-language],
.offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language] {
    display: none !important;
    width: 100%;
    margin: 0 0 .75rem;
}

html:not([lang]) .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="en"],
html[lang=""] .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="en"],
html[lang="en"] .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="en"],
body:not([data-lang]) .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="en"],
body[data-lang="en"] .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="en"],
html[lang="de"] .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="de"],
body[data-lang="de"] .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="de"],
html[lang="fa"] .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="fa"],
body[data-lang="fa"] .offer-popup .offer-popup-text-down p[data-xam-offer-popup-language="fa"],
html:not([lang]) .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="en"],
html[lang=""] .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="en"],
html[lang="en"] .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="en"],
body:not([data-lang]) .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="en"],
body[data-lang="en"] .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="en"],
html[lang="de"] .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="de"],
body[data-lang="de"] .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="de"],
html[lang="fa"] .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="fa"],
body[data-lang="fa"] .offer-popup .offer-popup-attention-body p[data-xam-offer-popup-language="fa"] {
    display: block !important;
}

.offer-popup .offer-popup-attention-body p:last-child {
    margin-bottom: 0;
}

.offer-popup .offer-popup-cta {
    justify-self: start;
    max-width: 42%;
}

.offer-popup .offer-popup-cta[data-xam-offer-align="left"] {
    justify-self: start !important;
}

.offer-popup .offer-popup-cta[data-xam-offer-align="center"] {
    justify-self: center !important;
}

.offer-popup .offer-popup-cta[data-xam-offer-align="right"] {
    justify-self: end !important;
}

[data-xam-offer-popup-language] {
    display: none !important;
}

html[lang="de"] [data-xam-offer-popup-language="de"],
body[data-lang="de"] [data-xam-offer-popup-language="de"],
html[lang="fa"] [data-xam-offer-popup-language="fa"],
body[data-lang="fa"] [data-xam-offer-popup-language="fa"],
html:not([lang]) [data-xam-offer-popup-language="en"],
html[lang=""] [data-xam-offer-popup-language="en"],
html[lang="en"] [data-xam-offer-popup-language="en"],
body:not([data-lang]) [data-xam-offer-popup-language="en"],
body[data-lang="en"] [data-xam-offer-popup-language="en"] {
    display: inline !important;
}

.offer-popup-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 2.85rem;
    padding: .78rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffc43b, #ff9d00);
    color: #101010;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(255, 168, 0, .22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.offer-popup-cta:hover,
.offer-popup-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(255, 168, 0, .28);
    outline: none;
}

.offer-popup-gift {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: var(--offer-popup-gift-z-index, 999);
    width: 68px;
    height: 68px;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    overflow: visible;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.offer-popup-gift[data-xam-offer-popup-gift-size="small"] {
    width: 56px;
    height: 56px;
}

.offer-popup-gift[data-xam-offer-popup-gift-size="large"] {
    width: 84px;
    height: 84px;
}

.offer-popup-gift[data-xam-offer-popup-gift-source="uploaded"] {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.offer-popup-gift[data-xam-offer-popup-gift-source="uploaded"][data-xam-offer-popup-gift-size="small"] { border-radius: 17px; }
.offer-popup-gift[data-xam-offer-popup-gift-source="uploaded"][data-xam-offer-popup-gift-size="large"] { border-radius: 24px; }

.offer-popup-gift img,
.offer-popup-gift video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-popup-gift-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.offer-popup-gift span {
    font-size: 1.9rem;
    line-height: 1;
}

.offer-popup-hidden {
    display: none !important;
}

.offer-popup:not(.offer-popup-hidden) ~ .offer-popup-gift,
.offer-popup-gift.offer-popup-gift-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(.84);
}

.offer-popup-opening.popup-fade .offer-popup-modal,
.offer-popup-opening.popup-scale .offer-popup-modal,
.offer-popup-opening.popup-slide-up .offer-popup-modal,
.offer-popup-opening.popup-zoom .offer-popup-modal {
    animation-duration: var(--offer-popup-animation-duration, 520ms);
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
}

.offer-popup-opening.popup-fade .offer-popup-modal { animation-name: popup-fade; }
.offer-popup-opening.popup-scale .offer-popup-modal { animation-name: popup-scale; }
.offer-popup-opening.popup-slide-up .offer-popup-modal { animation-name: popup-slide-up; }
.offer-popup-opening.popup-zoom .offer-popup-modal { animation-name: popup-zoom; }

.offer-popup-closing .offer-popup-modal {
    animation: offer-popup-to-gift var(--offer-popup-animation-duration, 520ms) cubic-bezier(.7, 0, .84, 0) both;
    transform-origin: center;
    pointer-events: none;
}

@keyframes popup-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popup-scale {
    from { opacity: 0; transform: scale(var(--offer-popup-animation-scale, .92)); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes popup-slide-up {
    from { opacity: 0; transform: translateY(var(--offer-popup-animation-distance, 1rem)); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popup-zoom {
    from { opacity: 0; transform: scale(var(--offer-popup-animation-scale, .92)); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes offer-popup-overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes offer-popup-overlay-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes offer-popup-to-gift {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform:
            translate3d(
                var(--offer-popup-close-x, -40vw),
                var(--offer-popup-close-y, 40vh),
                0
            )
            scale(.18);
    }
}

@media (max-width: 760px) {
    /*
      Mobile: keep full-bleed media card, prevent Attention from breaking layout,
      widen text columns slightly, allow content scroll, cap Attention font only.
    */
    .offer-popup {
        padding: var(--offer-popup-gutter, clamp(.75rem, 3vw, 1.25rem));
    }

    .offer-popup-modal {
        width: min(94vw, 40rem);
        max-height: min(82dvh, 32rem);
    }

    .offer-popup-card {
        min-height: 0;
        max-height: min(78dvh, 30rem);
    }

    .offer-popup-card-stage {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        min-height: 0;
        aspect-ratio: 16 / 10;
        height: auto;
        max-height: min(78dvh, 30rem);
    }

    .offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-card-stage {
        grid-template-columns: 1fr;
        aspect-ratio: 16 / 10;
    }

    .offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-visual {
        display: none;
    }

    .offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-content {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 0;
    }

    .offer-popup-visual {
        position: relative;
        inset: auto;
        min-height: 0;
        align-self: stretch;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
    }

    .offer-popup-content {
        position: relative;
        z-index: 2;
        min-height: 0;
        height: 100%;
        align-self: stretch;
        align-content: center;
        padding: clamp(1rem, 3.5vw, 1.45rem) clamp(.9rem, 3vw, 1.35rem);
        padding-bottom: 3.25rem;
        gap: .55rem;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .offer-popup-text {
        gap: .5rem;
    }

    /* Slightly wider columns on phone so Text Up/Down fit better */
    .offer-popup .offer-popup-text-up,
    .offer-popup h2.offer-popup-text-up,
    .offer-popup .offer-popup-text-down {
        width: min(72%, 100%) !important;
        max-width: min(72%, 100%) !important;
        min-width: 0 !important;
    }

    .offer-popup .offer-popup-text-up,
    .offer-popup h2.offer-popup-text-up {
        font-size: clamp(1.25rem, 5.2vw, 1.85rem) !important;
        line-height: 1.12 !important;
    }

    .offer-popup .offer-popup-text-down {
        font-size: clamp(.86rem, 3.5vw, 1.02rem) !important;
        line-height: 1.4 !important;
    }

    .offer-popup .offer-popup-cta {
        max-width: min(72%, 100%) !important;
        min-height: 2.55rem;
        padding: .68rem 1.1rem;
        font-size: .92rem;
    }

    .offer-popup-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .offer-popup-attention-btn {
        left: 12px !important;
        bottom: 12px !important;
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .offer-popup-attention-icon {
        width: 26px;
        height: 26px;
    }

    .offer-popup-attention-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .offer-popup-attention {
        justify-content: flex-start;
        padding: 3rem .95rem 1.15rem;
    }

    .offer-popup-attention-body {
        max-width: 100%;
        margin: 0;
        font-size: clamp(.92rem, 3.8vw, 1.08rem) !important;
        line-height: 1.45 !important;
    }

    .offer-popup-attention-body p {
        font-size: inherit !important;
        line-height: inherit !important;
    }
}

@media (max-width: 380px) {
    .offer-popup-card-stage {
        grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    }

    .offer-popup-card[data-xam-offer-popup-has-media="true"] .offer-popup-card-stage {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-popup-opening .offer-popup-modal,
    .offer-popup-closing .offer-popup-modal,
    .offer-popup-opening .offer-popup-overlay,
    .offer-popup-closing .offer-popup-overlay {
        animation-duration: 1ms;
    }
}
