/**
 * Storefront offers listing (Nykaa-style tickets) & shared offer utilities
 */

/* —— Coupons listing page —— */
.offers-page--coupons {
    --offers-brand: var(--brand, #901e50);
    --offers-brand-soft: var(--brand-surface-strong, #f3e8ed);
    --offers-paper: var(--home-paper, #f4f1ec);
    --offers-gold: var(--home-gold, #c4a574);
    --offers-ink: var(--home-ink, #1a1816);
    --offers-stone: var(--home-stone, #6b6560);
    --offers-sans: var(--home-sans, 'DM Sans', system-ui, sans-serif);
    --offers-serif: var(--home-serif, 'Cormorant Garamond', Georgia, serif);
    --offers-shadow: var(--shadow-md, 0 8px 24px rgba(26, 24, 22, 0.08));
    padding: 52px 16px 100px;
    min-height: 70vh;
    background: var(--offers-paper);
    font-family: var(--offers-sans);
}

.offers-page__inner {
    max-width: 960px;
    margin: 0 auto;
}

/* Tab bar — Nykaa-style underline */
.offers-tabs {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 0 0 20px;
    padding: 0;
    border-bottom: 1px solid #e8e4df;
    position: sticky;
    top: 64px;
    z-index: 20;
    background: var(--offers-paper);
}

.offers-tabs__btn {
    flex: 1;
    max-width: 220px;
    margin: 0;
    padding: 14px 12px 12px;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-family: var(--offers-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--offers-stone);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    text-align: center;
    line-height: 1.25;
}

.offers-tabs__btn:hover {
    color: var(--offers-ink);
}

.offers-tabs__btn.is-active {
    color: var(--offers-brand);
    border-bottom-color: var(--offers-brand);
}

.offers-tabs__btn:focus-visible {
    outline: 2px solid var(--offers-brand);
    outline-offset: 2px;
}

.offers-panels {
    position: relative;
}

.offers-panel {
    display: none;
}

.offers-panel.is-active {
    display: block;
}

.offers-panel[hidden] {
    display: none !important;
}

.offers-hero--payment {
    background: #eef4fc;
}

.offers-page__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.offers-page__back {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--offers-ink);
    text-decoration: none;
    flex-shrink: 0;
}

.offers-page__back:focus-visible {
    outline: 2px solid var(--offers-brand);
    outline-offset: 2px;
}

.offers-page__title {
    flex: 1;
    text-align: center;
    font-family: var(--offers-serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--offers-ink);
    margin: 0;
    line-height: 1.2;
}

.offers-page__topbar-spacer {
    width: 40px;
    flex-shrink: 0;
    display: none;
}

.offers-page__empty {
    text-align: center;
    color: var(--offers-stone);
    font-size: 15px;
    padding: 48px 16px;
    margin: 0;
}

/* Hero — pale pink banner, 2 columns (text + image) */
.offers-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 14px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #fdf0f4;
    overflow: hidden;
}

.offers-hero__copy {
    flex: 1;
    min-width: 0;
    max-width: 55%;
}

.offers-hero__title {
    font-family: var(--offers-sans);
    font-size: clamp(1rem, 4.2vw, 1.75rem);
    font-weight: 700;
    color: #001325;
    margin: 0 0 6px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.offers-hero__sub {
    font-size: clamp(11px, 3.2vw, 15px);
    font-weight: 400;
    color: #001325;
    margin: 0;
    line-height: 1.4;
    opacity: 0.85;
}

.offers-hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 42%;
    max-width: 168px;
    min-width: 0;
}

.offers-hero__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Section */
.offers-section__heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--offers-ink);
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

.offers-section__count {
    font-weight: 600;
    color: var(--offers-stone);
}

.offers-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ticket card — reference layout */
.offer-ticket {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e1dc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(26, 24, 22, 0.06);
    overflow: hidden;
    height: 100%;
}

.offer-ticket__top {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
    padding: 16px 14px 12px;
    background: linear-gradient(
        90deg,
        #ebe6f2 0%,
        #f9ebe3 42%,
        #f5e4ec 100%
    );
}

.offer-ticket__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.offer-ticket__title {
    font-family: var(--offers-sans);
    font-size: 18px;
    font-weight: 700;
    color: #001325;
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.5em;
}

.offer-ticket__desc {
    font-size: 13px;
    font-weight: 400;
    color: #4a5568;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: 4.35em;
}

.offer-ticket__desc--empty {
    visibility: hidden;
}

.offer-ticket__details-link {
    color: #001325;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.offer-ticket__details-link:hover {
    color: var(--offers-brand);
}

.offer-ticket__valid {
    font-size: 12px;
    font-weight: 400;
    color: #9a948c;
    margin: 8px 0 0;
    line-height: 1.3;
    min-height: 1.3em;
    flex-shrink: 0;
}

.offer-ticket__valid--empty {
    visibility: hidden;
}

.offer-ticket__valid--live {
    font-variant-numeric: tabular-nums;
}

.offer-ticket__logo-box {
    flex-shrink: 0;
    align-self: flex-end;
    margin-top: 10px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 1px 3px rgba(26, 24, 22, 0.08);
}

.offer-ticket__logo {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.offer-ticket__logo--fallback {
    font-size: 22px;
    color: var(--offers-brand);
    line-height: 1;
}

/* Scalloped perforated divider */
.offer-ticket__scallop {
    display: block;
    height: 10px;
    margin: 0;
    background-color: #fff;
    background-image: radial-gradient(circle at 10px 10px, transparent 9px, #fff 9px);
    background-size: 20px 10px;
    background-repeat: repeat-x;
    background-position: 0 0;
}

/* Bottom panel */
.offer-ticket__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    background: #fff;
    flex-shrink: 0;
}

.offer-ticket__code-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    min-height: 24px;
}

.offer-ticket__code-wrap--empty {
    visibility: hidden;
    pointer-events: none;
}

.offer-ticket__code {
    font-family: var(--offers-sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #3d3d3d;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0;
    background: none;
    border: none;
}

.offer-ticket__copy {
    flex-shrink: 0;
    width: auto;
    height: auto;
    padding: 4px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #3d3d3d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.offer-ticket__copy:hover {
    color: var(--offers-brand);
}

.offer-ticket__copy:focus-visible {
    outline: 2px solid var(--offers-brand);
    outline-offset: 2px;
}

.offer-ticket__copy.is-copied {
    color: #16a34a;
}

.offer-ticket__cta {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--offers-brand);
    text-decoration: none;
    white-space: nowrap;
    padding: 0;
}

.offer-ticket__cta:hover {
    text-decoration: underline;
}

.offer-ticket__cta:focus-visible {
    outline: 2px solid var(--offers-brand);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Payment offers tab — Nykaa-style bank promo cards */
.offer-ticket--payment {
    border: 1px solid #e8e4df;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 24, 22, 0.04);
    overflow: hidden;
}

.offer-ticket__payment-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f4f8 0%, #eef4fc 55%, #fff 100%);
}

.offer-ticket--payment .offer-ticket__logo-box {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    margin-top: 0;
    align-self: flex-start;
    border-radius: 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(0, 19, 37, 0.06);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.offer-ticket--payment .offer-ticket__logo--partner {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.offer-ticket--payment .offer-ticket__content {
    flex: 1;
    min-width: 0;
}

.offer-ticket__payment-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--offers-brand);
    background: rgba(144, 30, 80, 0.08);
    border-radius: 4px;
}

.offer-ticket--payment .offer-ticket__title {
    font-size: 16px;
    min-height: 0;
    margin-bottom: 4px;
    -webkit-line-clamp: 3;
}

.offer-ticket--payment .offer-ticket__desc {
    font-size: 13px;
    color: #4a5568;
    min-height: 0;
    -webkit-line-clamp: 4;
    margin-bottom: 6px;
}

.offer-ticket--payment .offer-ticket__valid {
    margin-top: 4px;
    font-size: 12px;
    color: #9a948c;
}

.offer-ticket--payment .offer-ticket__details {
    border-top: 1px dashed #e0dcd6;
    margin: 0;
}

.offer-ticket__details-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--offers-brand);
    list-style: none;
    user-select: none;
    background: #fff;
    transition: background 0.15s;
}

.offer-ticket__details-toggle::-webkit-details-marker {
    display: none;
}

.offer-ticket__details-toggle:hover {
    background: #faf8f6;
}

.offer-ticket__details-toggle:focus {
    outline: none;
}

.offer-ticket__details-toggle:focus-visible {
    outline: 2px solid var(--offers-brand);
    outline-offset: -2px;
}

.offer-ticket__details-icon {
    font-size: 11px;
    color: var(--offers-brand);
    transition: transform 0.2s ease;
}

.offer-ticket--payment .offer-ticket__details[open] .offer-ticket__details-icon {
    transform: rotate(180deg);
}

.offer-ticket--payment .offer-ticket__details-body {
    padding: 0 16px 16px;
    font-size: 13px;
    line-height: 1.55;
    color: #4a5568;
    background: #faf9f7;
    border-top: 1px solid #f0ebe6;
}

.offer-ticket--payment .offer-ticket__details-body p {
    margin: 0 0 10px;
}

.offer-ticket--payment .offer-ticket__details-body p:last-child {
    margin-bottom: 0;
}

.offer-ticket--payment .offer-ticket__details-body ul {
    margin: 0 0 10px;
    padding-left: 18px;
}

.offer-ticket--payment .offer-ticket__details-body li {
    margin-bottom: 4px;
}

.offer-ticket--payment .offer-ticket__details-body strong {
    color: var(--offers-ink);
    font-weight: 600;
}

.offer-ticket--payment .offer-ticket__details-body small,
.offer-ticket--payment .offer-ticket__details-body .text-muted {
    font-size: 12px;
    color: #9a948c;
}

.offers-ticket-list--payment {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 768px) {
    .offers-ticket-list--payment {
        gap: 16px;
    }

    .offer-ticket__payment-main {
        padding: 18px 20px;
        gap: 18px;
    }

    .offer-ticket--payment .offer-ticket__logo-box {
        width: 80px;
        height: 80px;
    }

    .offer-ticket--payment .offer-ticket__title {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    .offers-ticket-list--payment {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: start;
    }

    .offer-ticket--payment .offer-ticket__title,
    .offer-ticket--payment .offer-ticket__desc {
        min-height: 0;
    }

    .offer-ticket--payment .offer-ticket__logo-box {
        width: 80px;
        height: 80px;
        margin-top: 0;
    }
}

/* Copy toast */
.offers-toast {
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    padding: 10px 18px;
    background: var(--green, #16a34a);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 9999;
}

.offers-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
    .offers-page--coupons {
        padding: 68px 24px 56px;
    }

    .offers-page__inner {
        max-width: 640px;
    }

    .offers-hero {
        gap: 24px;
        padding: 28px 32px;
    }

    .offers-hero__copy {
        max-width: 52%;
    }

    .offers-hero__visual {
        flex: 0 0 38%;
        max-width: 280px;
    }

    .offer-ticket__logo-box {
        width: 60px;
        height: 60px;
    }
}

/* Desktop: 3 ticket cards in one row, equal alignment */
@media (min-width: 1024px) {
    .offers-page__inner {
        max-width: 1180px;
        padding: 0 8px;
    }

    .offers-ticket-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        align-items: stretch;
    }

    .offer-ticket__top {
        min-height: 176px;
        padding: 14px 12px 12px;
    }

    .offer-ticket__title {
        font-size: 16px;
        min-height: 2.5em;
    }

    .offer-ticket__desc {
        font-size: 12px;
        min-height: 3.9em;
        -webkit-line-clamp: 3;
    }

    .offer-ticket__logo-box {
        width: 52px;
        height: 52px;
        margin-top: auto;
    }

    .offer-ticket__bottom {
        min-height: 48px;
        padding: 10px 12px;
    }

    .offer-ticket__cta {
        font-size: 13px;
        flex-shrink: 0;
    }
}

@media (min-width: 1280px) {
    .offers-page__inner {
        max-width: 1240px;
    }

    .offers-ticket-list {
        gap: 24px;
    }
}

@media (max-width: 1023px) {
    .offer-ticket__top {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        min-height: 0;
    }

    .offer-ticket__logo-box {
        margin-top: 0;
        align-self: flex-start;
    }

    .offer-ticket__desc {
        min-height: 0;
        -webkit-line-clamp: 4;
    }

    .offer-ticket__title {
        min-height: 0;
    }

    .offer-ticket__valid--empty,
    .offer-ticket__desc--empty {
        display: none;
    }
}

@media (max-width: 767px) {
    .offers-page__back,
    .offers-page__topbar-spacer {
        display: flex;
    }

    .offers-page__title {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-ticket__valid--live {
        animation: none;
    }

    .offers-toast {
        transition: none;
    }
}

/* —— Offer detail (unchanged layout) —— */
.offers-page:not(.offers-page--coupons) {
    padding: 64px 0 84px;
    min-height: 70vh;
    background: var(--home-paper, #f4f1ec);
}

.offer-detail-hero {
    margin-bottom: 28px;
    border-radius: 4px;
    overflow: hidden;
    background: #faf8f5;
}

.offer-detail-hero img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.offer-detail__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 0 0 12px;
}

.offer-detail__desc {
    font-size: 15px;
    line-height: 1.65;
    color: #4a4540;
    margin-bottom: 28px;
    white-space: pre-wrap;
}

.offer-detail__products h2 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.home-offers-strip {
    padding: 20px 0 6px;
    background: var(--home-paper, #f4f1ec);
}

.home-offers-strip .section-title h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.home-offers-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.home-offers-row .offer-card {
    min-width: 260px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.offer-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(26, 24, 22, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 24, 22, 0.1);
    color: inherit;
    text-decoration: none;
}

.offer-card__img {
    aspect-ratio: 16 / 9;
    background: #faf8f5;
    overflow: hidden;
}

.offer-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card__body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offer-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
}

.offer-card__short {
    font-size: 13px;
    color: #6b6560;
    margin: 0;
    line-height: 1.45;
}

.offer-card__meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a948c;
    margin-top: auto;
}

.offer-card__code {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    background: #f4f1ec;
    border: 1px dashed #c4a574;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1a1816;
}

.cat-offers-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.cat-offers-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e0dbd4;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1816;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.cat-offers-pill:hover {
    border-color: #c4a574;
    background: #faf8f5;
    color: #1a1816;
    text-decoration: none;
}

.cart-coupon-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.cart-coupon-box label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 8px;
}

.cart-coupon-row {
    display: flex;
    gap: 8px;
}

.cart-coupon-row input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.cart-coupon-row button {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: var(--orange, #f97316);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.cart-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #14532d;
}

.cart-coupon-applied button {
    border: none;
    background: transparent;
    color: #dc2626;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.cart-coupon-msg {
    font-size: 12px;
    margin-top: 8px;
    color: #dc2626;
}

.cs-coupon-discount .cs-val {
    color: #16a34a !important;
}

.pd-offer-strip {
    margin: 8px 0 14px;
    font-size: 13px;
}

.pd-offer-strip a {
    color: #8b3a42;
    font-weight: 600;
    text-decoration: underline;
}

/* Product detail — applicable coupon cards (compact grid, max 3 per row) */
.pd-offer-cards {
    margin: 12px 0 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pd-offer-cards__heading {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.pd-offer-cards__heading i {
    color: var(--brand, #901E50);
}

.pd-offer-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    height: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(144, 30, 80, 0.35);
    background: linear-gradient(135deg, #fdf8fa 0%, #fff 100%);
}

.pd-offer-card__main {
    flex: 1;
    min-width: 0;
}

.pd-offer-card__title {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.pd-offer-card__discount {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand, #901E50);
}

.pd-offer-card__desc,
.pd-offer-card__min {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
}

.pd-offer-card__min {
    margin-top: 3px;
    font-weight: 600;
}

.pd-offer-card__actions {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: auto;
}

.pd-offer-card__code-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 6px 5px 8px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(144, 30, 80, 0.2);
}

.pd-offer-card__code {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #1e293b;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-offer-card__copy {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(144, 30, 80, 0.08);
    color: var(--brand, #901E50);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pd-offer-card__copy:hover {
    background: rgba(144, 30, 80, 0.15);
}

.pd-offer-card__copy.is-copied {
    background: #dcfce7;
    color: #15803d;
}

.pd-offer-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 6px;
    background: var(--brand, #901E50);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.pd-offer-card__cta:hover {
    background: var(--brand-dark, #6d133c);
    color: #fff !important;
}

@media (max-width: 767px) {
    .pd-offer-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .pd-offer-cards {
        grid-template-columns: 1fr;
    }
}

.lux-product-card__badge--offer {
    background: #c4a574;
    color: #1a1816;
}

@media (max-width: 767px) {
    .offers-page:not(.offers-page--coupons) {
        padding: 52px 0 100px;
    }
}
