.dw-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 200020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(10, 15, 25, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.dw-popup-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.dw-popup-dialog {
    position: relative;
    width: min(860px, 100%);
    overflow: hidden;
    border: 1px solid rgba(234, 223, 211, 0.9);
    border-radius: 30px;
    background: var(--dw-popup-bg, #fffaf4);
    box-shadow: 0 28px 90px rgba(21, 35, 69, 0.26);
    transform: translateY(14px) scale(0.98);
    transition: transform 180ms ease;
}

.dw-popup-overlay.is-visible .dw-popup-dialog {
    transform: translateY(0) scale(1);
}

.dw-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dw-popup-ink, #152345);
    font-size: 25px;
    line-height: 1;
    box-shadow: 0 10px 26px rgba(21, 35, 69, 0.14);
    cursor: pointer;
}

.dw-popup-close:hover {
    background: #ffffff;
}

.dw-popup-card {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 430px;
    background: #ffffff;
}

.dw-popup-no-media .dw-popup-card {
    display: block;
    min-height: 0;
}

.dw-popup-no-media .dw-popup-content {
    min-height: 0;
}

.dw-popup-media {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #152345;
}

.dw-popup-media-inner,
.dw-popup-image,
.dw-popup-art {
    width: 100%;
    height: 100%;
    min-height: 430px;
}

.dw-popup-image {
    display: block;
    object-fit: cover;
}

.dw-popup-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 35, 69, 0.1), rgba(21, 35, 69, 0.58));
    pointer-events: none;
}

.dw-popup-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 38px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 22%, rgba(240, 141, 42, 0.4), transparent 32%),
        radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #152345, #2f426a);
}

.dw-popup-art::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
}

.dw-popup-art span,
.dw-popup-art strong,
.dw-popup-art small {
    position: relative;
    z-index: 1;
}

.dw-popup-art span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.74;
}

.dw-popup-art strong {
    margin-top: 12px;
    font-size: 48px;
    line-height: 1;
}

.dw-popup-art small {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.78;
}

.dw-popup-badge {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    padding: 10px 16px;
    color: var(--dw-popup-ink, #152345);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(21, 35, 69, 0.16);
}

.dw-popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
}

.dw-popup-eyebrow {
    color: var(--dw-popup-accent, #f08d2a);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.dw-popup-title {
    margin: 12px 0 0;
    color: var(--dw-popup-ink, #152345);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: 0;
}

.dw-popup-body {
    margin: 16px 0 0;
    color: #5f6676;
    font-size: 16px;
    line-height: 1.72;
}

.dw-popup-field {
    margin-top: 24px;
}

.dw-popup-input {
    width: 100%;
    min-height: 54px;
    border: 1px solid #dfe4ec;
    border-radius: 17px;
    background: #f8fafc;
    padding: 0 16px;
    color: #152345;
    font-size: 15px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dw-popup-input:focus {
    border-color: var(--dw-popup-accent, #f08d2a);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(240, 141, 42, 0.16);
}

.dw-popup-consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-top: 15px;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.dw-popup-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--dw-popup-accent, #f08d2a);
}

.dw-popup-submit,
.dw-popup-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    padding: 0 24px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.dw-popup-submit {
    width: 100%;
    margin-top: 20px;
    border: 0;
    background: var(--dw-popup-accent, #f08d2a);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(240, 141, 42, 0.26);
}

.dw-popup-submit:hover {
    background: #df7c1b;
}

.dw-popup-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.dw-popup-secondary {
    border: 1px solid #dfe4ec;
    background: #ffffff;
    color: #152345;
}

.dw-popup-message {
    margin-top: 12px;
    color: #b42318;
    font-size: 13px;
    line-height: 1.5;
}

.dw-popup-success-card {
    padding: 52px;
    text-align: center;
    background:
        radial-gradient(circle at 14% 12%, rgba(240, 141, 42, 0.16), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(21, 35, 69, 0.1), transparent 28%),
        #ffffff;
}

.dw-popup-overlay.is-success {
    align-items: center;
    justify-content: center;
}

.dw-popup-overlay.is-success .dw-popup-dialog {
    width: min(620px, calc(100% - 28px));
    border-radius: 30px;
    background: #ffffff;
}

.dw-popup-overlay.is-success .dw-popup-close {
    top: 18px;
    right: 18px;
}

.dw-popup-overlay.is-success .dw-popup-success-card {
    display: grid;
    justify-items: center;
    padding: 56px 42px 42px;
}

.dw-popup-overlay.is-success .dw-popup-eyebrow {
    color: var(--dw-popup-accent, #f08d2a);
    font-size: 12px;
    letter-spacing: 0.2em;
}

.dw-popup-overlay.is-success .dw-popup-title {
    max-width: 520px;
    margin-top: 12px;
    font-size: clamp(34px, 5vw, 46px);
    line-height: 1.05;
    text-align: center;
}

.dw-popup-overlay.is-success .dw-popup-body {
    max-width: 500px;
    margin: 16px auto 0;
    color: #5f6676;
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
}

.dw-popup-coupon {
    position: relative;
    display: inline-flex;
    margin: 26px auto 0;
    border: 2px dashed var(--dw-popup-accent, #f08d2a);
    border-radius: 24px;
    background: #fff7ed;
    padding: 17px 28px;
    color: #152345;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 950;
    letter-spacing: 0;
    box-shadow: 0 16px 36px rgba(240, 141, 42, 0.13);
}

.dw-popup-overlay.is-success .dw-popup-coupon {
    min-width: min(280px, 100%);
    justify-content: center;
    margin-top: 26px;
    padding: 18px 30px;
    text-align: center;
}

.dw-popup-template-extra {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.dw-popup-survey-buttons,
.dw-popup-choice-grid {
    display: grid;
    gap: 10px;
}

.dw-popup-survey-buttons button,
.dw-popup-choice-grid button {
    min-height: 42px;
    border: 1px solid var(--dw-popup-accent, #f08d2a);
    border-radius: 12px;
    background: #ffffff;
    color: var(--dw-popup-accent, #f08d2a);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.dw-popup-rating-row,
.dw-popup-gift-row,
.dw-popup-product-row,
.dw-popup-countdown-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dw-popup-rating-row span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dw-popup-accent, #f08d2a);
    border-radius: 999px;
    color: var(--dw-popup-accent, #f08d2a);
    font-weight: 900;
}

.dw-popup-gift-row span,
.dw-popup-countdown-row span {
    border-radius: 12px;
    background: #fff4e8;
    padding: 10px 12px;
    color: var(--dw-popup-accent, #f08d2a);
    font-weight: 900;
}

.dw-popup-product-row span {
    flex: 1 1 88px;
    min-height: 74px;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    background: #fbfbfc;
    padding: 12px 10px;
    color: #5f6676;
    font-size: 12px;
    text-align: center;
}

.dw-popup-scratch-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 104px;
    overflow: hidden;
    padding: 0;
    border: 1px dashed var(--dw-popup-accent, #f08d2a);
    border-radius: 20px;
    background: #fff7ed;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.dw-popup-scratch-prize {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--dw-popup-accent, #f08d2a);
    font-size: 30px;
    font-weight: 950;
}

.dw-popup-scratch-cover {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(120, 130, 150, 0.28)),
        repeating-linear-gradient(135deg, #eef1f5 0 7px, #d9dee8 7px 14px);
    color: var(--dw-popup-ink, #152345);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: opacity 220ms ease, transform 260ms ease;
}

.dw-popup-scratch-card.is-scratched .dw-popup-scratch-cover {
    opacity: 0;
    transform: translateY(-14px) rotate(-2deg);
    pointer-events: none;
}

.dw-popup-wheel-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 264px;
    height: 264px;
    margin: 0 auto;
    border: 0;
    background: transparent;
}

.dw-popup-wheel-wrap:focus {
    outline: none;
}

.dw-popup-wheel-pointer {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 30px solid #ffffff;
    filter: drop-shadow(0 4px 6px rgba(21, 35, 69, 0.25));
    transform: translateY(-50%);
}

.dw-popup-wheel {
    display: block;
    width: 264px;
    height: 264px;
    overflow: visible;
    filter: drop-shadow(0 10px 30px rgba(21, 35, 69, 0.15));
    transition: transform 1800ms cubic-bezier(0.14, 0.9, 0.16, 1);
}

.dw-popup-wheel-rim {
    fill: #c9c9c9;
}

.dw-popup-wheel-slice {
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
}

.dw-popup-wheel-hub {
    fill: #ffffff;
    stroke: rgba(21, 35, 69, 0.08);
    stroke-width: 1;
}

.dw-popup-wheel-text {
    fill: #ffffff;
    font-size: 15px;
    font-weight: 950;
    text-anchor: middle;
    dominant-baseline: central;
    paint-order: stroke;
    stroke: rgba(0, 0, 0, 0.22);
    stroke-linejoin: round;
    stroke-width: 3px;
}

.dw-popup-overlay.dw-popup-layout-sidebar,
.dw-popup-overlay.dw-popup-structure-sidebar-choice,
.dw-popup-overlay.dw-popup-structure-sidebar-survey,
.dw-popup-overlay.dw-popup-structure-sidebar-product {
    justify-content: flex-end;
}

.dw-popup-layout-sidebar .dw-popup-dialog,
.dw-popup-structure-sidebar-choice .dw-popup-dialog,
.dw-popup-structure-sidebar-survey .dw-popup-dialog,
.dw-popup-structure-sidebar-product .dw-popup-dialog {
    width: min(430px, 100%);
    max-height: calc(100vh - 28px);
    overflow: auto;
}

.dw-popup-layout-sidebar .dw-popup-card,
.dw-popup-structure-sidebar-choice .dw-popup-card,
.dw-popup-structure-sidebar-survey .dw-popup-card,
.dw-popup-structure-sidebar-product .dw-popup-card {
    display: block;
    min-height: 0;
}

.dw-popup-layout-sidebar .dw-popup-media,
.dw-popup-layout-sidebar .dw-popup-media-inner,
.dw-popup-layout-sidebar .dw-popup-image,
.dw-popup-layout-sidebar .dw-popup-art,
.dw-popup-structure-sidebar-choice .dw-popup-media,
.dw-popup-structure-sidebar-choice .dw-popup-media-inner,
.dw-popup-structure-sidebar-choice .dw-popup-image,
.dw-popup-structure-sidebar-choice .dw-popup-art,
.dw-popup-structure-sidebar-survey .dw-popup-media,
.dw-popup-structure-sidebar-survey .dw-popup-media-inner,
.dw-popup-structure-sidebar-survey .dw-popup-image,
.dw-popup-structure-sidebar-survey .dw-popup-art,
.dw-popup-structure-sidebar-product .dw-popup-media,
.dw-popup-structure-sidebar-product .dw-popup-media-inner,
.dw-popup-structure-sidebar-product .dw-popup-image,
.dw-popup-structure-sidebar-product .dw-popup-art {
    min-height: 178px;
    height: 178px;
}

.dw-popup-layout-sidebar .dw-popup-content,
.dw-popup-structure-sidebar-choice .dw-popup-content,
.dw-popup-structure-sidebar-survey .dw-popup-content,
.dw-popup-structure-sidebar-product .dw-popup-content {
    padding: 30px;
}

.dw-popup-layout-sidebar .dw-popup-title,
.dw-popup-structure-sidebar-choice .dw-popup-title,
.dw-popup-structure-sidebar-survey .dw-popup-title,
.dw-popup-structure-sidebar-product .dw-popup-title {
    font-size: 31px;
}

.dw-popup-overlay.dw-popup-layout-nanobar,
.dw-popup-overlay.dw-popup-layout-nanobar-product,
.dw-popup-overlay.dw-popup-layout-nanobar-countdown {
    align-items: flex-start;
    padding: 0;
    background: transparent;
}

.dw-popup-layout-nanobar .dw-popup-dialog,
.dw-popup-layout-nanobar-product .dw-popup-dialog,
.dw-popup-layout-nanobar-countdown .dw-popup-dialog {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 14px 30px rgba(21, 35, 69, 0.12);
}

.dw-popup-layout-nanobar .dw-popup-card,
.dw-popup-layout-nanobar-product .dw-popup-card,
.dw-popup-layout-nanobar-countdown .dw-popup-card {
    display: block;
    min-height: 0;
}

.dw-popup-layout-nanobar .dw-popup-media,
.dw-popup-layout-nanobar-product .dw-popup-media,
.dw-popup-layout-nanobar-countdown .dw-popup-media {
    display: none;
}

.dw-popup-layout-nanobar .dw-popup-content,
.dw-popup-layout-nanobar-product .dw-popup-content,
.dw-popup-layout-nanobar-countdown .dw-popup-content {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(260px, 0.8fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 13px 64px 13px 24px;
}

.dw-popup-layout-nanobar .dw-popup-title,
.dw-popup-layout-nanobar-product .dw-popup-title,
.dw-popup-layout-nanobar-countdown .dw-popup-title {
    margin: 0;
    font-size: 18px;
}

.dw-popup-layout-nanobar .dw-popup-body,
.dw-popup-layout-nanobar-product .dw-popup-body,
.dw-popup-layout-nanobar-countdown .dw-popup-body,
.dw-popup-layout-nanobar .dw-popup-consent,
.dw-popup-layout-nanobar-product .dw-popup-consent,
.dw-popup-layout-nanobar-countdown .dw-popup-consent {
    display: none;
}

.dw-popup-layout-nanobar .dw-popup-field,
.dw-popup-layout-nanobar-product .dw-popup-field,
.dw-popup-layout-nanobar-countdown .dw-popup-field,
.dw-popup-layout-nanobar .dw-popup-submit,
.dw-popup-layout-nanobar-product .dw-popup-submit,
.dw-popup-layout-nanobar-countdown .dw-popup-submit,
.dw-popup-layout-nanobar .dw-popup-template-extra,
.dw-popup-layout-nanobar-product .dw-popup-template-extra,
.dw-popup-layout-nanobar-countdown .dw-popup-template-extra {
    margin-top: 0;
}

.dw-popup-layout-nanobar .dw-popup-submit,
.dw-popup-layout-nanobar-product .dw-popup-submit,
.dw-popup-layout-nanobar-countdown .dw-popup-submit {
    width: auto;
    min-width: 150px;
}

.dw-popup-layout-fullscreen .dw-popup-dialog,
.dw-popup-layout-interstitial .dw-popup-dialog {
    width: min(1040px, calc(100% - 44px));
}

.dw-popup-layout-fullscreen .dw-popup-card,
.dw-popup-layout-interstitial .dw-popup-card {
    min-height: 620px;
    background: var(--dw-popup-bg, #fffaf4);
}

.dw-popup-layout-fullscreen .dw-popup-media,
.dw-popup-layout-fullscreen .dw-popup-media-inner,
.dw-popup-layout-fullscreen .dw-popup-image,
.dw-popup-layout-fullscreen .dw-popup-art,
.dw-popup-layout-interstitial .dw-popup-media,
.dw-popup-layout-interstitial .dw-popup-media-inner,
.dw-popup-layout-interstitial .dw-popup-image,
.dw-popup-layout-interstitial .dw-popup-art {
    min-height: 620px;
}

.dw-popup-layout-embedded .dw-popup-dialog,
.dw-popup-layout-embedded-book .dw-popup-dialog,
.dw-popup-layout-embedded-products .dw-popup-dialog {
    width: min(980px, 100%);
    border-radius: 22px;
}

.dw-popup-layout-embedded .dw-popup-card,
.dw-popup-layout-embedded-book .dw-popup-card,
.dw-popup-layout-embedded-products .dw-popup-card {
    grid-template-columns: 0.75fr 1.25fr;
    min-height: 300px;
}

.dw-popup-layout-embedded .dw-popup-media,
.dw-popup-layout-embedded .dw-popup-media-inner,
.dw-popup-layout-embedded .dw-popup-image,
.dw-popup-layout-embedded .dw-popup-art,
.dw-popup-layout-embedded-book .dw-popup-media,
.dw-popup-layout-embedded-book .dw-popup-media-inner,
.dw-popup-layout-embedded-book .dw-popup-image,
.dw-popup-layout-embedded-book .dw-popup-art,
.dw-popup-layout-embedded-products .dw-popup-media,
.dw-popup-layout-embedded-products .dw-popup-media-inner,
.dw-popup-layout-embedded-products .dw-popup-image,
.dw-popup-layout-embedded-products .dw-popup-art {
    min-height: 300px;
}

.dw-popup-structure-center-coupon .dw-popup-dialog,
.dw-popup-structure-center-choice .dw-popup-dialog,
.dw-popup-structure-center-scratch .dw-popup-dialog,
.dw-popup-structure-center-gift .dw-popup-dialog {
    width: min(500px, 100%);
    border-radius: 18px;
}

.dw-popup-structure-center-coupon .dw-popup-card,
.dw-popup-structure-center-choice .dw-popup-card,
.dw-popup-structure-center-scratch .dw-popup-card,
.dw-popup-structure-center-gift .dw-popup-card {
    display: block;
    min-height: 0;
}

.dw-popup-structure-center-coupon .dw-popup-media,
.dw-popup-structure-center-choice .dw-popup-media,
.dw-popup-structure-center-scratch .dw-popup-media,
.dw-popup-structure-center-gift .dw-popup-media {
    display: none;
}

.dw-popup-structure-center-coupon .dw-popup-content,
.dw-popup-structure-center-choice .dw-popup-content,
.dw-popup-structure-center-scratch .dw-popup-content,
.dw-popup-structure-center-gift .dw-popup-content {
    min-height: 0;
    padding: 34px 42px;
    text-align: center;
}

.dw-popup-structure-center-coupon .dw-popup-title,
.dw-popup-structure-center-choice .dw-popup-title,
.dw-popup-structure-center-scratch .dw-popup-title,
.dw-popup-structure-center-gift .dw-popup-title {
    font-size: clamp(28px, 4vw, 36px);
}

.dw-popup-structure-center-coupon .dw-popup-body,
.dw-popup-structure-center-choice .dw-popup-body,
.dw-popup-structure-center-scratch .dw-popup-body,
.dw-popup-structure-center-gift .dw-popup-body {
    font-size: 14px;
    line-height: 1.6;
}

.dw-popup-structure-split-image .dw-popup-card,
.dw-popup-structure-image-right .dw-popup-card,
.dw-popup-structure-fullscreen-split .dw-popup-card {
    grid-template-columns: 1.08fr 0.92fr;
}

.dw-popup-structure-split-image .dw-popup-media,
.dw-popup-structure-image-right .dw-popup-media,
.dw-popup-structure-fullscreen-split .dw-popup-media {
    order: 2;
}

.dw-popup-structure-split-image .dw-popup-content,
.dw-popup-structure-image-right .dw-popup-content,
.dw-popup-structure-fullscreen-split .dw-popup-content {
    order: 1;
}

.dw-popup-structure-product-carousel .dw-popup-dialog {
    width: min(680px, 100%);
    border-radius: 16px;
}

.dw-popup-structure-product-carousel .dw-popup-card,
.dw-popup-structure-cart-product .dw-popup-card {
    display: block;
    min-height: 0;
}

.dw-popup-structure-product-carousel .dw-popup-media,
.dw-popup-structure-cart-product .dw-popup-media {
    display: none;
}

.dw-popup-structure-product-carousel .dw-popup-content {
    min-height: 0;
    padding: 32px;
    text-align: center;
}

.dw-popup-structure-product-carousel .dw-popup-product-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dw-popup-structure-product-carousel .dw-popup-product-row span {
    display: grid;
    min-height: 124px;
    align-content: end;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), #ffffff 62%),
        radial-gradient(circle at center 28%, rgba(240, 141, 42, 0.24), transparent 36%),
        #f8fafc;
    color: #152345;
    font-weight: 900;
}

.dw-popup-structure-cart-product .dw-popup-dialog {
    width: min(520px, 100%);
}

.dw-popup-structure-cart-product .dw-popup-content {
    min-height: 0;
    padding: 34px;
    text-align: center;
}

.dw-popup-structure-cart-product .dw-popup-product-row span {
    min-height: 78px;
    display: grid;
    align-content: center;
}

.dw-popup-structure-wheel-split .dw-popup-dialog {
    width: min(980px, 100%);
    border-radius: 28px;
}

.dw-popup-structure-wheel-split .dw-popup-card {
    display: block;
    min-height: 0;
}

.dw-popup-structure-wheel-split .dw-popup-media {
    display: none;
}

.dw-popup-structure-wheel-split .dw-popup-content {
    display: grid;
    min-height: 560px;
    grid-template-columns: 1fr 1.05fr;
    gap: 28px 52px;
    align-content: center;
    padding: 48px;
}

.dw-popup-structure-wheel-split .dw-popup-template-extra {
    grid-row: 1 / span 6;
    align-self: center;
    margin-top: 0;
    transform: translateX(-8%);
}

.dw-popup-structure-wheel-split .dw-popup-eyebrow,
.dw-popup-structure-wheel-split .dw-popup-title,
.dw-popup-structure-wheel-split .dw-popup-body,
.dw-popup-structure-wheel-split .dw-popup-form {
    grid-column: 2;
}

.dw-popup-structure-wheel-split .dw-popup-wheel-wrap {
    width: 432px;
    height: 432px;
}

.dw-popup-structure-wheel-split .dw-popup-wheel {
    width: 432px;
    height: 432px;
}

.dw-popup-structure-embedded-band .dw-popup-dialog,
.dw-popup-structure-embedded-products .dw-popup-dialog {
    width: min(980px, 100%);
}

.dw-popup-structure-embedded-band .dw-popup-card,
.dw-popup-structure-embedded-products .dw-popup-card {
    grid-template-columns: 0.78fr 1.22fr;
    min-height: 300px;
}

.dw-popup-layout-embedded .dw-popup-content,
.dw-popup-layout-embedded-book .dw-popup-content,
.dw-popup-layout-embedded-products .dw-popup-content {
    padding: 34px;
}

.dw-popup-coupon::before,
.dw-popup-coupon::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ffffff;
    transform: translateY(-50%);
}

.dw-popup-coupon::before {
    left: -11px;
}

.dw-popup-coupon::after {
    right: -11px;
}

.dw-popup-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.dw-popup-actions .dw-popup-submit {
    width: auto;
    margin-top: 0;
}

.dw-popup-apply-note {
    margin-top: 14px;
    color: #5f6676;
    font-size: 13px;
    line-height: 1.5;
}

.dw-popup-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.dw-popup-confetti span {
    position: absolute;
    top: -12px;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    animation: dw-popup-confetti-fall 1300ms ease-out forwards;
}

@keyframes dw-popup-confetti-fall {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--dw-x), 310px, 0) rotate(560deg);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .dw-popup-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .dw-popup-dialog {
        width: 100%;
        border-radius: 28px 28px 18px 18px;
    }

    .dw-popup-card {
        display: block;
        min-height: 0;
    }

    .dw-popup-media,
    .dw-popup-media-inner,
    .dw-popup-image,
    .dw-popup-art {
        min-height: 150px;
        height: 150px;
    }

    .dw-popup-art {
        padding: 26px;
    }

    .dw-popup-art strong {
        font-size: 34px;
    }

    .dw-popup-badge {
        top: 16px;
        left: 16px;
        padding: 8px 12px;
        font-size: 10px;
    }

    .dw-popup-content {
        padding: 24px 20px 22px;
    }

    .dw-popup-title {
        font-size: 27px;
    }

    .dw-popup-body {
        font-size: 14px;
        line-height: 1.62;
    }

    .dw-popup-success-card {
        padding: 36px 22px 28px;
    }

    .dw-popup-overlay.is-success {
        align-items: center;
        padding: 16px;
    }

    .dw-popup-overlay.is-success .dw-popup-dialog {
        width: 100%;
        border-radius: 24px;
    }

    .dw-popup-overlay.is-success .dw-popup-success-card {
        padding: 50px 22px 28px;
    }

    .dw-popup-overlay.is-success .dw-popup-title {
        font-size: 32px;
    }

    .dw-popup-overlay.is-success .dw-popup-coupon {
        min-width: 0;
        width: 100%;
        max-width: 280px;
        font-size: 28px;
    }

    .dw-popup-overlay.is-success .dw-popup-actions {
        width: 100%;
        gap: 10px;
    }

    .dw-popup-overlay.is-success .dw-popup-actions .dw-popup-submit,
    .dw-popup-overlay.is-success .dw-popup-actions .dw-popup-secondary {
        width: 100%;
    }

    .dw-popup-overlay.dw-popup-layout-nanobar,
    .dw-popup-overlay.dw-popup-layout-nanobar-product,
    .dw-popup-overlay.dw-popup-layout-nanobar-countdown {
        align-items: flex-start;
        padding: 0;
    }

    .dw-popup-layout-nanobar .dw-popup-content,
    .dw-popup-layout-nanobar-product .dw-popup-content,
    .dw-popup-layout-nanobar-countdown .dw-popup-content {
        display: block;
        min-height: 0;
        padding: 18px 58px 18px 18px;
    }

    .dw-popup-layout-nanobar .dw-popup-field,
    .dw-popup-layout-nanobar-product .dw-popup-field,
    .dw-popup-layout-nanobar-countdown .dw-popup-field,
    .dw-popup-layout-nanobar .dw-popup-submit,
    .dw-popup-layout-nanobar-product .dw-popup-submit,
    .dw-popup-layout-nanobar-countdown .dw-popup-submit {
        margin-top: 12px;
        width: 100%;
    }

    .dw-popup-layout-fullscreen .dw-popup-card,
    .dw-popup-layout-interstitial .dw-popup-card {
        min-height: 0;
    }

    .dw-popup-layout-fullscreen .dw-popup-media,
    .dw-popup-layout-fullscreen .dw-popup-media-inner,
    .dw-popup-layout-fullscreen .dw-popup-image,
    .dw-popup-layout-fullscreen .dw-popup-art,
    .dw-popup-layout-interstitial .dw-popup-media,
    .dw-popup-layout-interstitial .dw-popup-media-inner,
    .dw-popup-layout-interstitial .dw-popup-image,
    .dw-popup-layout-interstitial .dw-popup-art {
        min-height: 150px;
    }

    .dw-popup-structure-split-image .dw-popup-media,
    .dw-popup-structure-image-right .dw-popup-media,
    .dw-popup-structure-fullscreen-split .dw-popup-media {
        order: 0;
    }

    .dw-popup-structure-wheel-split .dw-popup-content {
        display: block;
        min-height: 0;
        padding: 26px 20px 24px;
    }

    .dw-popup-structure-wheel-split .dw-popup-template-extra {
        transform: translateX(0);
    }

    .dw-popup-structure-wheel-split .dw-popup-wheel-wrap {
        width: 312px;
        height: 312px;
    }

    .dw-popup-structure-wheel-split .dw-popup-wheel {
        width: 312px;
        height: 312px;
    }

    .dw-popup-structure-product-carousel .dw-popup-product-row {
        grid-template-columns: 1fr;
    }
}

.dw-popup-dialog.is-success-dialog {
    width: min(620px, calc(100% - 28px)) !important;
    max-width: 620px !important;
    border-radius: 30px !important;
    background: #ffffff !important;
}

.dw-popup-overlay .dw-popup-dialog:has(> .dw-popup-success-card) {
    width: min(620px, calc(100% - 28px)) !important;
    max-width: 620px !important;
    border-radius: 30px !important;
    background: #ffffff !important;
}

.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card,
.dw-popup-dialog.is-success-dialog .dw-popup-success-card {
    display: flex !important;
    min-height: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 58px 42px 42px !important;
    text-align: center !important;
}

.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-eyebrow,
.dw-popup-dialog.is-success-dialog .dw-popup-eyebrow {
    width: 100% !important;
    color: var(--dw-popup-accent, #f08d2a) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.2em !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-title,
.dw-popup-dialog.is-success-dialog .dw-popup-title {
    width: 100% !important;
    max-width: 520px !important;
    margin: 12px auto 0 !important;
    color: var(--dw-popup-ink, #152345) !important;
    font-size: clamp(34px, 5vw, 46px) !important;
    line-height: 1.05 !important;
    text-align: center !important;
}

.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-body,
.dw-popup-dialog.is-success-dialog .dw-popup-body {
    width: 100% !important;
    max-width: 500px !important;
    margin: 16px auto 0 !important;
    color: #5f6676 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    text-align: center !important;
}

.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-coupon,
.dw-popup-dialog.is-success-dialog .dw-popup-coupon {
    display: inline-flex !important;
    min-width: min(280px, 100%) !important;
    justify-content: center !important;
    margin: 26px auto 0 !important;
    padding: 18px 30px !important;
    text-align: center !important;
}

.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-actions,
.dw-popup-dialog.is-success-dialog .dw-popup-actions {
    display: flex !important;
    width: 100% !important;
    max-width: 440px !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 26px auto 0 !important;
}

.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-actions .dw-popup-secondary,
.dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-actions .dw-popup-submit,
.dw-popup-dialog.is-success-dialog .dw-popup-actions .dw-popup-secondary,
.dw-popup-dialog.is-success-dialog .dw-popup-actions .dw-popup-submit {
    width: auto !important;
    min-width: 170px !important;
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .dw-popup-overlay .dw-popup-dialog:has(> .dw-popup-success-card),
    .dw-popup-dialog.is-success-dialog {
        width: 100% !important;
        max-width: none !important;
        border-radius: 24px !important;
    }

    .dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card,
    .dw-popup-dialog.is-success-dialog .dw-popup-success-card {
        padding: 52px 22px 28px !important;
    }

    .dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-title,
    .dw-popup-dialog.is-success-dialog .dw-popup-title {
        font-size: 32px !important;
    }

    .dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-coupon,
    .dw-popup-dialog.is-success-dialog .dw-popup-coupon {
        width: 100% !important;
        max-width: 280px !important;
        min-width: 0 !important;
        font-size: 28px !important;
    }

    .dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-actions,
    .dw-popup-dialog.is-success-dialog .dw-popup-actions {
        max-width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-actions .dw-popup-secondary,
    .dw-popup-overlay .dw-popup-dialog > .dw-popup-success-card .dw-popup-actions .dw-popup-submit,
    .dw-popup-dialog.is-success-dialog .dw-popup-actions .dw-popup-secondary,
    .dw-popup-dialog.is-success-dialog .dw-popup-actions .dw-popup-submit {
        width: 100% !important;
        min-width: 0 !important;
    }
}
