/* ═══════════════════════════════════════════════════════════
   WildClock — Komunia Święta (Communion Landing Page)
   Palette: Warm beige / cream / charcoal — elegancki, ciepły
   ═══════════════════════════════════════════════════════════ */

/* ── 0. Komunia Page Custom Properties ── */
.page-komunia {
    --km-bg: #1a1815;
    --km-bg-warm: #1e1a16;
    --km-bg-card: #222019;
    --km-cream: #f0e8d8;
    --km-cream-soft: #e8dcc8;
    --km-beige: #c8b898;
    --km-beige-dark: #9a8a6a;
    --km-gold: #c9a84c;
    --km-gold-warm: #d4b468;
    --km-accent: #8b7340;
    --km-charcoal: #2a2520;
    --km-graphite: #3a3530;
    --km-ash: #8a8070;
    --km-text: #e0d8c8;
    --km-white: #faf5ed;
}

/* ── 1. FOMO Sticky Bar ── */
.fomo-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(135deg, #1a1510 0%, #2a2218 50%, #1a1510 100%);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding: 0.6rem 1.5rem;
    text-align: center;
    transform: translateY(0);
    overflow: hidden;
}

.fomo-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(201, 168, 76, 0.05) 50%,
            transparent 100%);
    pointer-events: none;
}

.fomo-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.fomo-bar__icon {
    flex-shrink: 0;
    font-size: 1rem;
    animation: fomo-pulse 2s ease-in-out infinite;
}

.fomo-bar__text {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--km-cream-soft);
    line-height: 1.5;
}

.fomo-bar__text strong {
    color: var(--km-gold);
    font-weight: 600;
}

.fomo-bar__deadline {
    display: inline-block;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.25);
    padding: 0.15rem 0.6rem;
    border-radius: 2px;
    font-weight: 600;
    color: var(--km-gold);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.fomo-bar__close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--km-ash);
    cursor: pointer;
    padding: 0.3rem;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.2s;
}

.fomo-bar__close:hover {
    color: var(--km-cream);
}

@keyframes fomo-slide-in {
    to {
        transform: translateY(0);
    }
}

@keyframes fomo-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Push nav down when FOMO bar is active */
.fomo-active .nav {
    top: 38px;
}

.fomo-active .product-hero,
.fomo-active .km-hero {
    padding-top: calc(var(--nav-height) + var(--space-xl) + 38px);
}

/* ── 2. Komunia Hero ── */
.km-hero {
    position: relative;
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-lg);
    padding: calc(var(--nav-height) + var(--space-xl)) clamp(1.5rem, 4vw, 4rem) var(--space-xl);
    overflow: hidden;
}

.km-hero__ambient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(140, 115, 64, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 60%, rgba(90, 70, 40, 0.06) 0%, transparent 50%),
        var(--km-bg);
    z-index: 0;
}

.km-hero__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.km-hero__gallery {
    position: relative;
    z-index: 2;
}

.km-hero__main-image {
    width: 100%;
    max-width: 560px;
    border-radius: 6px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(201, 168, 76, 0.08);
    transition: transform var(--transition-slow);
}

.km-hero__gallery:hover .km-hero__main-image {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) scale(1.02);
}

.km-hero__thumbnails {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.km-hero__thumb {
    width: 68px;
    height: 68px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    transition: opacity var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.km-hero__thumb:hover,
.km-hero__thumb.active {
    opacity: 1;
    border-color: var(--km-gold);
    transform: translateY(-2px);
}

.km-hero__info {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.km-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--km-gold);
    margin-bottom: var(--space-md);
}

.km-hero__label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--km-gold);
    animation: fomo-pulse 2s ease-in-out infinite;
}

.km-hero__title {
    font-family: var(--font-cursiva);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    color: var(--km-cream);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.km-hero__title em {
    font-style: italic;
    font-family: var(--font-serif);
    color: var(--km-gold-warm);
}

.km-hero__tagline {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--km-beige);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.km-hero__desc {
    color: var(--km-ash);
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: var(--space-lg);
}

.km-hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

/* ── 3. Komunia Section Styles ── */
.km-section {
    padding: var(--space-xl) clamp(1.5rem, 4vw, 4rem);
    position: relative;
}

.km-section--warm {
    background: var(--km-bg-warm);
}

.km-section--dark {
    background: var(--km-bg);
}

.km-section--gradient {
    background: linear-gradient(180deg, var(--km-bg) 0%, var(--km-bg-warm) 50%, var(--km-bg) 100%);
}

.km-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.km-section__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.km-section__label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--km-gold);
    margin-bottom: var(--space-md);
}

.km-section__title {
    font-family: var(--font-serif);
    color: var(--km-cream);
    margin-bottom: var(--space-md);
}

.km-section__divider {
    width: 60px;
    height: 1px;
    background: var(--km-gold);
    margin: var(--space-md) auto;
    opacity: 0.5;
}

.km-section__desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--km-ash);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.8;
}

/* ── 4. Kapsuła Czasu — Narrative Section ── */
.km-narrative {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.km-narrative--reverse {
    direction: rtl;
}

.km-narrative--reverse>* {
    direction: ltr;
}

.km-narrative__text {
    max-width: 520px;
}

.km-narrative__text h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--km-cream);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.km-narrative__text p {
    color: var(--km-ash);
    font-size: 0.92rem;
    line-height: 1.9;
    margin-bottom: var(--space-md);
}

.km-narrative__text p strong {
    color: var(--km-beige);
    font-weight: 500;
}

.km-narrative__image {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.km-narrative__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.km-narrative__image:hover img {
    transform: scale(1.04);
}

/* ── 5. "Dlaczego zegarek?" — Points/USP Grid ── */
.km-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.km-point {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--km-bg-card);
    border: 1px solid var(--km-graphite);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-normal), border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.km-point:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.km-point__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.km-point__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--km-gold);
    fill: none;
    stroke-width: 1.5;
}

.km-point__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--km-cream);
    margin-bottom: var(--space-sm);
}

.km-point__desc {
    color: var(--km-ash);
    font-size: 0.85rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* ── 6. Gallery Mosaic ── */
.km-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.km-gallery__item {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.km-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 24, 21, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.km-gallery__item:hover::after {
    opacity: 1;
}

.km-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    aspect-ratio: 4/3;
}

.km-gallery__item:hover img {
    transform: scale(1.06);
}

.km-gallery__item--wide {
    grid-column: span 2;
}

.km-gallery__item--tall {
    grid-row: span 2;
}

/* ── 7. Zestaw (What You Get) ── */
.km-set {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.km-set__item {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    position: relative;
}

.km-set__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--km-gold);
    opacity: 0.3;
}

.km-set__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.km-set__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--km-gold);
    fill: none;
    stroke-width: 1.5;
}

.km-set__name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--km-cream);
    margin-bottom: var(--space-xs);
}

.km-set__desc {
    color: var(--km-ash);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ── 8. Voucher Section ── */
.km-voucher {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(135deg,
            rgba(201, 168, 76, 0.05) 0%,
            rgba(201, 168, 76, 0.02) 50%,
            rgba(201, 168, 76, 0.08) 100%);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: var(--space-lg);
    max-width: 100%;
    word-break: break-word;
}

.km-voucher::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.km-voucher__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
    position: relative;
    z-index: 1;
}

.km-voucher__content h3 {
    font-family: var(--font-cursiva);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--km-gold);
    margin-bottom: var(--space-md);
}

.km-voucher__content p {
    color: var(--km-ash);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.km-voucher__features {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.km-voucher__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
    font-size: 0.88rem;
    color: var(--km-beige);
    line-height: 1.6;
}

.km-voucher__features li:last-child {
    border-bottom: none;
}

.km-voucher__features li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke: var(--km-gold);
    fill: none;
    stroke-width: 2;
    margin-top: 0.1rem;
}

.km-voucher__variants {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.km-voucher__variant {
    background: var(--km-bg-card);
    border: 1px solid var(--km-graphite);
    border-radius: 6px;
    padding: var(--space-lg);
    text-align: center;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.km-voucher__variant:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.km-voucher__variant-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--km-gold);
    margin-bottom: var(--space-sm);
}

.km-voucher__variant-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--km-cream);
    margin-bottom: var(--space-xs);
}

.km-voucher__variant-price {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--km-gold-warm);
    margin-bottom: var(--space-sm);
}

.km-voucher__variant-desc {
    font-size: 0.78rem;
    color: var(--km-ash);
    line-height: 1.6;
}

/* ── 8b. Hero Delivery Info ── */
.km-hero__delivery-info {
    color: var(--km-beige);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    padding: 0.6rem 1rem;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 4px;
    display: inline-block;
}

.km-hero__delivery-info strong {
    color: var(--km-gold);
}

/* ── 8c. Voucher CTA Group ── */
.km-voucher__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    margin-top: var(--space-lg);
}

/* ── 8d. Featured Voucher Variant ── */
.km-voucher__variant--featured {
    border-color: rgba(201, 168, 76, 0.4);
    background: linear-gradient(165deg, var(--km-bg-card) 0%, rgba(201, 168, 76, 0.06) 100%);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.08);
}

.km-voucher__variant--featured .km-voucher__variant-label {
    color: #1a1815;
    background: var(--km-gold);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.km-voucher__variant--featured .km-voucher__variant-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--km-gold);
}

/* ── 9. CTA Final Section ── */
.km-cta-final {
    text-align: center;
    padding: var(--space-xl) clamp(1.5rem, 4vw, 4rem);
    position: relative;
    overflow: hidden;
}

.km-cta-final__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(140, 115, 64, 0.06) 0%, transparent 60%),
        var(--km-bg);
    z-index: 0;
}

.km-cta-final__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.km-cta-final h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--km-cream);
    margin-bottom: var(--space-md);
}

.km-cta-final p {
    color: var(--km-ash);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.km-cta-final .btn {
    margin: 0 var(--space-sm);
}

/* ── 10. Lightbox ── */
.km-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: var(--space-lg);
}

.km-lightbox.active {
    display: flex;
}

.km-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    cursor: default;
}

.km-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--km-cream);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10000;
    transition: color 0.2s;
}

.km-lightbox__close:hover {
    color: var(--km-gold);
}

/* ── 11. Responsive ── */
@media (max-width: 1024px) {
    .km-hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-top: calc(var(--nav-height) + var(--space-xl));
    }

    .km-hero__info {
        max-width: 600px;
        margin: 0 auto;
        order: -1;
    }

    .km-hero__gallery {
        max-width: 500px;
        margin: 0 auto;
    }

    .km-hero__thumbnails {
        justify-content: center;
    }

    .km-hero__cta-group {
        justify-content: center;
    }

    .km-narrative {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .km-narrative--reverse {
        direction: ltr;
    }

    .km-narrative__text {
        max-width: none;
        text-align: center;
    }

    .km-points {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .km-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .km-set {
        grid-template-columns: repeat(2, 1fr);
    }

    .km-voucher__inner {
        grid-template-columns: 1fr;
    }

    .fomo-bar__text {
        font-size: 0.65rem;
    }

    .fomo-active .nav {
        top: 42px;
    }
}

@media (max-width: 768px) {
    .km-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .km-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .km-gallery__item--wide {
        grid-column: span 1;
    }

    .km-voucher {
        padding: var(--space-md);
    }

    .km-voucher__variants {
        grid-template-columns: 1fr;
    }

    .km-voucher__content h3 {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .km-voucher__features li {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .km-hero {
        padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-lg);
    }

    .km-hero__thumb {
        width: 52px;
        height: 52px;
    }

    .km-set {
        grid-template-columns: 1fr;
    }

    .km-section {
        padding: var(--space-xl) var(--space-md);
    }

    .km-section__header {
        margin-bottom: var(--space-xl);
    }

    .fomo-bar {
        padding: 0.4rem 0.8rem;
    }

    .fomo-bar__inner {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .fomo-bar__text {
        font-size: 0.58rem;
        line-height: 1.4;
    }

    .fomo-bar__deadline {
        font-size: 0.60rem;
        padding: 0.1rem 0.4rem;
    }

    .fomo-active .nav {
        top: 54px;
    }

    .fomo-active .km-hero {
        padding-top: calc(var(--nav-height) + var(--space-lg) + 54px);
    }

    /* Voucher section mobile overflow fix */
    .km-voucher {
        padding: var(--space-md) var(--space-sm);
    }

    .km-voucher__content p {
        font-size: 0.84rem;
    }

    .km-voucher__features li {
        font-size: 0.78rem;
        gap: 0.5rem;
    }

    .km-voucher__cta-group {
        flex-direction: column;
    }

    .km-voucher__cta-group .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .km-voucher__variant {
        padding: var(--space-md);
    }

    /* Voucher modal mobile fix */
    .voucher-modal__content {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        padding: var(--space-lg) var(--space-md);
        margin: 0 auto;
    }
}

/* ═══════════════════════════════════════════════════════════
   KOMUNIA — LIGHT MODE OVERRIDES
   body.light-mode .page-komunia overrides for --km-* vars
   ═══════════════════════════════════════════════════════════ */

body.light-mode .page-komunia {
    --km-bg: #faf8f4;
    --km-bg-warm: #f5f0e8;
    --km-bg-card: #eee9e0;
    --km-cream: #1a1510;
    --km-cream-soft: #2a2520;
    --km-beige: #6a5e48;
    --km-beige-dark: #7a6e58;
    --km-gold: #8b6914;
    --km-gold-warm: #a07c20;
    --km-accent: #8b7340;
    --km-charcoal: #e8e3d8;
    --km-graphite: #d8d3c8;
    --km-ash: #6a6358;
    --km-text: #2a2520;
    --km-white: #0a0a08;
}

/* Light mode: FOMO bar */
body.light-mode .fomo-bar {
    background: linear-gradient(135deg, #f0ebe0 0%, #e8e0d0 50%, #f0ebe0 100%);
    border-bottom-color: rgba(139, 105, 20, 0.15);
}

body.light-mode .fomo-bar__text {
    color: #3a3530;
}

body.light-mode .fomo-bar__close {
    color: #6a6358;
}

/* Light mode: km-hero — NO photo bg behind text, use DARK text */
body.light-mode .km-hero__info {
    color: #1a1510;
}

body.light-mode .km-hero__title,
body.light-mode .km-hero__tagline,
body.light-mode .km-hero__desc {
    color: #1a1510 !important;
}

body.light-mode .km-hero__title em {
    color: #8b6914 !important;
}

body.light-mode .km-hero__label {
    color: #6a5e48 !important;
}

body.light-mode .km-hero__delivery-info {
    color: #3a3530 !important;
}

body.light-mode .km-hero__delivery-info strong {
    color: #1a1510 !important;
}

/* Light mode: hero ambient overlay — tone it down */
body.light-mode .km-hero__ambient {
    opacity: 0.3 !important;
}

/* Light mode: hero buttons */
body.light-mode .km-hero__cta-group .btn--primary {
    background: #8b6914;
    color: #fff;
}

body.light-mode .km-hero__cta-group .btn--outline {
    border-color: #8b6914;
    color: #8b6914;
}

/* Light mode: sections */
body.light-mode .km-section {
    background: #faf8f4 !important;
}

body.light-mode .km-section--dark {
    background: #f5f0e8 !important;
}

body.light-mode .km-section--warm {
    background: #eee9e0 !important;
}

body.light-mode .km-section--gradient {
    background: linear-gradient(180deg, #faf8f4 0%, #eee9e0 100%) !important;
}

/* Light mode: section headers — HARDCODED for reliability */
body.light-mode .km-section__title {
    color: #1a1510 !important;
}

body.light-mode .km-section__label {
    color: #6a5e48 !important;
}

body.light-mode .km-section__divider {
    background: #8b6914 !important;
}

/* Light mode: Kapsuła Czasu — narrative text */
body.light-mode .km-narrative__text h3 {
    color: #1a1510 !important;
}

body.light-mode .km-narrative__text p {
    color: #2a2520 !important;
}

body.light-mode .km-narrative__text p strong {
    color: #1a1510 !important;
}

/* Light mode: Dlaczego zegarek — points */
body.light-mode .km-point__title {
    color: #1a1510 !important;
}

body.light-mode .km-point__desc {
    color: #2a2520 !important;
}

body.light-mode .km-point__icon svg {
    stroke: #8b6914 !important;
}

/* Light mode: story section */
body.light-mode .km-story p {
    color: #2a2520 !important;
}

/* Light mode: FAQ on komunia */
body.light-mode .page-komunia .faq-item__question {
    color: #1a1510 !important;
}

body.light-mode .page-komunia .faq-item__answer {
    color: #2a2520 !important;
}

/* Light mode: text-gold stays gold */
body.light-mode .page-komunia .text-gold {
    color: #8b6914 !important;
}

/* Light mode: voucher features list */
body.light-mode .km-voucher__features span {
    color: var(--km-text);
}

body.light-mode .km-voucher__variant-name {
    color: #1a1510 !important;
}

body.light-mode .km-voucher__variant-desc {
    color: #3a3530 !important;
}

body.light-mode .km-voucher__variant-price {
    color: #8b6914 !important;
}

body.light-mode .km-voucher__variant-label {
    color: #6a5e48 !important;
}

/* Light mode: USP cards */
body.light-mode .km-usp-card {
    background: #eee9e0;
    border-color: #d8d3c8;
}

body.light-mode .km-usp-card__title {
    color: #1a1510 !important;
}

body.light-mode .km-usp-card__text {
    color: #3a3530 !important;
}

/* Light mode: gallery */
body.light-mode .km-gallery {
    background: #faf8f4;
}

/* Light mode: in-the-box */
body.light-mode .km-inbox__item {
    background: #eee9e0;
}

body.light-mode .km-inbox__title {
    color: #1a1510 !important;
}

body.light-mode .km-inbox__text {
    color: #3a3530 !important;
}

/* Light mode: voucher section */
body.light-mode .km-voucher {
    background: #eee9e0;
    border-color: #d8d3c8;
}

body.light-mode .km-voucher__content h3 {
    color: #1a1510 !important;
}

body.light-mode .km-voucher__content p {
    color: #3a3530 !important;
}

body.light-mode .km-voucher__variant {
    background: #faf8f4;
    border-color: #d8d3c8;
}

body.light-mode .km-voucher__variant--featured {
    border-color: #8b6914;
}

/* Light mode: collection cards on komunia — keep dark overlay for readability */
body.light-mode .page-komunia .collection-card__content,
body.light-mode .page-komunia .collection-card__content * {
    color: #faf5ed !important;
}

/* Light mode: CTA final — NO photo bg, uses radial gradient → DARK text */
body.light-mode .km-cta-final {
    color: #1a1510;
}

body.light-mode .km-cta-final__bg {
    background: radial-gradient(ellipse at 50% 50%, rgba(139, 105, 20, 0.06) 0%, transparent 60%), #f5f0e8 !important;
}

body.light-mode .km-cta-final h2 {
    color: #1a1510 !important;
}

body.light-mode .km-cta-final p {
    color: #3a3530 !important;
}

body.light-mode .km-cta-final .km-section__label {
    color: #6a5e48 !important;
}

/* ═══════════════════════════════════════════════════════════
   VOUCHER ORDER MODAL
   ═══════════════════════════════════════════════════════════ */
.voucher-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.voucher-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.voucher-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.voucher-modal__content {
    position: relative;
    z-index: 1;
    background: var(--km-bg, #1a1815);
    border: 1px solid var(--km-graphite, #3a3530);
    border-radius: 8px;
    padding: var(--space-xl);
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.voucher-modal[aria-hidden="false"] .voucher-modal__content {
    transform: translateY(0);
}

.voucher-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--km-ash, var(--wc-ash));
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s;
}

.voucher-modal__close:hover {
    color: var(--km-gold, var(--wc-gold));
}

.voucher-modal__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--km-cream, var(--wc-cream));
    margin-bottom: var(--space-xs);
}

.voucher-modal__desc {
    font-size: 0.85rem;
    color: var(--km-ash, var(--wc-ash));
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.voucher-modal__form .form-group {
    margin-bottom: var(--space-md);
}

.voucher-modal__form .form-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--km-beige, var(--wc-ash));
    margin-bottom: var(--space-xs);
}

.voucher-modal__form .form-input,
.voucher-modal__form .form-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--km-bg-card, var(--wc-black-soft));
    border: 1px solid var(--km-graphite, var(--wc-graphite));
    border-radius: 2px;
    color: var(--km-cream, var(--wc-cream));
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.voucher-modal__form .form-textarea {
    resize: vertical;
    min-height: 70px;
}

/* Light mode voucher modal */
body.light-mode .voucher-modal__content {
    background: #faf8f4;
    border-color: #d8d3c8;
}

body.light-mode .voucher-modal__form .form-input,
body.light-mode .voucher-modal__form .form-textarea {
    background: #fff;
    border-color: #d8d3c8;
    color: #1a1510;
}