/* ============================================================
   Navaratri festival FULL theme overlay
   Enable:  FESTIVAL_THEME=navaratri
   Disable: FESTIVAL_THEME=off   (+ php artisan config:clear)
   ============================================================ */

body.festival-theme-navaratri {
    --festival-saffron: #ff9f43;
    --festival-gold: #f6c945;
    --festival-amber: #ffb347;
    --festival-maroon: #8b1e1e;
    --festival-deep: #1a0505;
    --festival-rose: #c0392b;
    --festival-flame: #ff6b1a;
    background-color: #080303 !important;
    position: relative;
    /* Keep festive layers behind content without forcing position on every child
       (that was breaking fixed cart pills / modals / floating UI). */
    isolation: isolate;
}

/* Hide default homepage promo — festival cover owns first view */
body.festival-theme-navaratri .fb-hero-promo,
body.festival-theme-navaratri .fb-hero-promo__copy,
body.festival-theme-navaratri .container:has(.fb-hero-promo) {
    display: none !important;
}

/* Full-page festive atmosphere — behind page content, never on floating UI */
body.festival-theme-navaratri::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100% 60% at 50% -5%, rgba(255, 140, 40, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 0% 25%, rgba(139, 30, 30, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 100% 45%, rgba(192, 57, 43, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 50% 110%, rgba(246, 201, 69, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #160606 0%, #080303 45%, #0c0404 100%);
}

/* Sparkle / diya-light dust */
body.festival-theme-navaratri::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(circle at 10% 15%, rgba(246, 201, 69, 0.7) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 90% 18%, rgba(255, 159, 67, 0.55) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 25% 68%, rgba(246, 201, 69, 0.45) 0 1px, transparent 2px),
        radial-gradient(circle at 75% 72%, rgba(255, 107, 26, 0.5) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 48% 35%, rgba(246, 201, 69, 0.35) 0 1px, transparent 2px),
        radial-gradient(circle at 62% 88%, rgba(255, 159, 67, 0.4) 0 1px, transparent 2px);
    background-size: 100% 100%;
    animation: festivalSparkle 6s ease-in-out infinite alternate;
}

@keyframes festivalSparkle {
    from { opacity: 0.35; }
    to { opacity: 0.65; }
}

/* Do NOT set position/z-index on all body > div/section — that overrides
   position:fixed on #global-cart-pill, #global-sell-cart-pill, .fb-app-nav, modals. */

/* Guard: keep sticky cart pills fixed + centered even if other theme rules change */
body.festival-theme-navaratri .global-cart-pill,
body.festival-theme-navaratri #global-cart-pill,
body.festival-theme-navaratri #global-sell-cart-pill {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    width: auto !important;
    max-width: 90% !important;
    min-width: 320px !important;
    z-index: 99999 !important;
    transform: translateX(-50%);
}

body.festival-theme-navaratri .global-cart-pill:hover {
    transform: translateX(-50%) scale(1.03);
}

@media (max-width: 767px) {
    body.festival-theme-navaratri .global-cart-pill,
    body.festival-theme-navaratri #global-cart-pill,
    body.festival-theme-navaratri #global-sell-cart-pill {
        min-width: 0 !important;
        width: calc(100% - 32px) !important;
        max-width: 360px !important;
    }
}

/* ========== Header — ONE continuous festive band ========== */
/* App strip + shipping + nav share the same warm maroon wash (no flat black slabs) */

body.festival-theme-navaratri .fb-app-store-strip {
    background:
        radial-gradient(ellipse 60% 120% at 80% 50%, rgba(255, 140, 40, 0.22) 0%, transparent 55%),
        linear-gradient(90deg, #3a100c 0%, #6b1c12 28%, #8b2a14 50%, #5c1810 75%, #2b0a08 100%) !important;
    border-bottom: none !important;
    box-shadow: inset 0 -1px 0 rgba(246, 201, 69, 0.25);
    position: relative;
    z-index: 2;
}

body.festival-theme-navaratri .fb-app-store-strip__title {
    color: #fff5e6 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35), 0 0 14px rgba(255, 160, 40, 0.25);
}

body.festival-theme-navaratri .fb-app-store-strip__badge {
    background: linear-gradient(180deg, #2a1008 0%, #140605 100%) !important;
    border: 1px solid rgba(246, 201, 69, 0.55) !important;
    box-shadow: 0 0 14px rgba(246, 201, 69, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.festival-theme-navaratri .fb-app-store-strip__badge:hover {
    border-color: #f6c945 !important;
    box-shadow: 0 0 20px rgba(246, 201, 69, 0.4) !important;
}

/* Parent header = continuous festive canvas */
body.festival-theme-navaratri .fixedHeader {
    background:
        radial-gradient(ellipse 90% 70% at 50% -10%, rgba(255, 150, 40, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 0% 40%, rgba(192, 57, 43, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 40% 60% at 100% 50%, rgba(246, 201, 69, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, #5c1810 0%, #3a100c 22%, #220a07 55%, #160605 100%) !important;
    border-bottom: none !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
    overflow: visible;
}

body.festival-theme-navaratri .fixedHeader.sticky {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 140, 40, 0.28) 0%, transparent 50%),
        linear-gradient(180deg, #4a1410 0%, #220a07 55%, #160605 100%) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 107, 26, 0.18);
}

/* Children transparent so parent gradient reads as one piece */
body.festival-theme-navaratri .fixedHeader .hdr-top {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(246, 201, 69, 0.18) !important;
    box-shadow: none !important;
    padding-top: 10px;
    padding-bottom: 2px;
}

body.festival-theme-navaratri .fixedHeader .hdr-top p,
body.festival-theme-navaratri .fixedHeader .hdr-top a {
    color: #fff5e6 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

body.festival-theme-navaratri .fixedHeader .hdr-top .sell {
    background: linear-gradient(180deg, #ff4a4a 0%, #fe0000 100%) !important;
    border: 1px solid rgba(246, 201, 69, 0.45) !important;
    box-shadow: 0 0 16px rgba(255, 80, 40, 0.45), 0 0 0 1px rgba(246, 201, 69, 0.2) !important;
    color: #fff !important;
    border-radius: 6px !important;
}

body.festival-theme-navaratri .fixedHeader .hdr-top-cnt li a:hover {
    color: var(--festival-gold) !important;
}

body.festival-theme-navaratri .fixedHeader .hdr-top-cnt li a.sell:hover {
    background: #fff !important;
    color: #fe0000 !important;
}

/* Kill Bootstrap / style.css black nav slab */
body.festival-theme-navaratri .fixedHeader .fb-header-nav,
body.festival-theme-navaratri .fixedHeader .fb-header-nav.bg-light,
body.festival-theme-navaratri .fixedHeader .navbar.fb-header-nav,
body.festival-theme-navaratri .fixedHeader .navbar-expand-lg.bg-light.fb-header-nav {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

body.festival-theme-navaratri .fixedHeader .fb-header-nav .nav-link,
body.festival-theme-navaratri .fixedHeader .fb-header-nav .nav-link span,
body.festival-theme-navaratri .fixedHeader .fb-coins-label,
body.festival-theme-navaratri .fixedHeader .show-wallet {
    color: #fff5e6 !important;
}

body.festival-theme-navaratri .fixedHeader .fb-header-nav .nav-link:hover,
body.festival-theme-navaratri .fixedHeader .fb-header-nav .nav-link:hover span {
    color: var(--festival-gold) !important;
}

/* String lights draped under shipping bar / above logo row */
.festival-header-lights {
    display: none;
}

body.festival-theme-navaratri .festival-header-lights {
    display: flex;
    position: relative;
    z-index: 5;
    height: 28px;
    align-items: flex-start;
    justify-content: space-evenly;
    padding: 0 1% 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 100%);
}

body.festival-theme-navaratri .festival-header-lights__wire {
    position: absolute;
    top: 5px;
    left: 1%;
    right: 1%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(90, 45, 20, 0.95) 6%, rgba(90, 45, 20, 0.95) 94%, transparent);
    border-radius: 2px;
}

body.festival-theme-navaratri .festival-header-lights__bulb {
    position: relative;
    width: 10px;
    height: 13px;
    margin-top: 4px;
    border-radius: 40% 40% 45% 45%;
    animation: festivalBulbFlicker 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.11s);
}

body.festival-theme-navaratri .festival-header-lights__bulb::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 1.5px;
    height: 6px;
    transform: translateX(-50%);
    background: rgba(90, 50, 25, 0.9);
}

body.festival-theme-navaratri .festival-header-lights__bulb--1 {
    background: radial-gradient(circle at 40% 35%, #fff6c8, #f6c945 55%, #d4a017);
    box-shadow: 0 0 12px 3px rgba(246, 201, 69, 0.9), 0 6px 16px rgba(246, 201, 69, 0.35);
}
body.festival-theme-navaratri .festival-header-lights__bulb--2 {
    background: radial-gradient(circle at 40% 35%, #ffd0a0, #ff6b1a 55%, #c0392b);
    box-shadow: 0 0 12px 3px rgba(255, 107, 26, 0.85), 0 6px 16px rgba(255, 107, 26, 0.3);
}
body.festival-theme-navaratri .festival-header-lights__bulb--3 {
    background: radial-gradient(circle at 40% 35%, #ffe0b8, #ff9f43 55%, #e67e22);
    box-shadow: 0 0 12px 3px rgba(255, 159, 67, 0.85), 0 6px 16px rgba(255, 159, 67, 0.3);
}
body.festival-theme-navaratri .festival-header-lights__bulb--4 {
    background: radial-gradient(circle at 40% 35%, #fff, #ffe08a 50%, #f0c040);
    box-shadow: 0 0 14px 4px rgba(255, 224, 138, 0.95), 0 6px 16px rgba(255, 224, 138, 0.35);
}

/* Search — stronger gold glow */
body.festival-theme-navaratri .fixedHeader .searchbox,
body.festival-theme-navaratri .fixedHeader .selectinput {
    border: 1px solid rgba(246, 201, 69, 0.55) !important;
    box-shadow: 0 0 0 1px rgba(246, 201, 69, 0.15), 0 0 22px rgba(255, 140, 40, 0.28) !important;
    background: rgba(18, 6, 4, 0.55) !important;
    border-radius: 999px;
}

body.festival-theme-navaratri .fixedHeader .searchbox-input,
body.festival-theme-navaratri .fixedHeader .form-control.searchbox-input,
body.festival-theme-navaratri .fixedHeader .form-select {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(246, 201, 69, 0.3) !important;
}

body.festival-theme-navaratri .fixedHeader .searchbox-input::placeholder {
    color: rgba(255, 220, 180, 0.5) !important;
}

body.festival-theme-navaratri .fixedHeader .searchbox-submit,
body.festival-theme-navaratri .fixedHeader button.submits.searchbox-submit {
    color: var(--festival-gold) !important;
}

/* BUY / SELL & condition toggles */
body.festival-theme-navaratri .fixedHeader .fb-seg {
    border: 1px solid rgba(246, 201, 69, 0.4) !important;
    background: rgba(12, 4, 3, 0.45) !important;
    box-shadow: 0 0 14px rgba(246, 201, 69, 0.15);
}

body.festival-theme-navaratri .fixedHeader .fb-seg__btn.is-active {
    box-shadow: 0 0 16px rgba(254, 0, 0, 0.4), 0 0 10px rgba(246, 201, 69, 0.25);
}

body.festival-theme-navaratri .fixedHeader .fb-seg--condition .fb-seg__btn.is-active {
    background: linear-gradient(180deg, #ffe08a 0%, #f6c945 45%, #e67e22 100%) !important;
    color: #2b0707 !important;
    box-shadow: 0 0 18px rgba(246, 201, 69, 0.55);
}

/* Festival promo strip blends into header (same family) */
body.festival-theme-navaratri .festival-strip {
    background:
        linear-gradient(90deg, #2b0a08 0%, #7a1e12 25%, #c45c12 50%, #a02818 75%, #2b0a08 100%) !important;
    border-top: 1px solid rgba(246, 201, 69, 0.35);
    border-bottom: 1px solid rgba(246, 201, 69, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 220, 140, 0.2),
        0 10px 28px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(255, 120, 30, 0.15) !important;
}

body.festival-theme-navaratri .fb-header-separator {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #8b1e1e 8%,
        #f6c945 48%,
        #ff9f43 72%,
        #8b1e1e 92%,
        transparent 100%
    );
    box-shadow: 0 0 22px rgba(246, 201, 69, 0.6), 0 4px 18px rgba(255, 107, 26, 0.25);
}

@media (max-width: 767px) {
    body.festival-theme-navaratri .festival-header-lights__bulb {
        width: 8px;
        height: 10px;
    }

    body.festival-theme-navaratri .festival-header-lights__bulb:nth-child(n+16) {
        display: none;
    }
}

/* ========== Festive strip with mini lights ========== */
.festival-strip {
    display: none;
}

body.festival-theme-navaratri .festival-strip {
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 98;
    color: #fff;
    border-top: 1px solid rgba(246, 201, 69, 0.35);
    border-bottom: 1px solid rgba(246, 201, 69, 0.35);
    background:
        linear-gradient(90deg, #2b0a08 0%, #7a1e12 25%, #c45c12 50%, #a02818 75%, #2b0a08 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 220, 140, 0.2),
        0 10px 28px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(255, 120, 30, 0.15);
}

.festival-strip__lights {
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    pointer-events: none;
    z-index: 0;
    height: 10px;
}

.festival-strip__bulb {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: festivalBulbFlicker 1.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.12s);
}

.festival-strip__bulb--1 { background: #f6c945; box-shadow: 0 0 8px 2px rgba(246, 201, 69, 0.9); }
.festival-strip__bulb--2 { background: #ff6b1a; box-shadow: 0 0 8px 2px rgba(255, 107, 26, 0.85); }
.festival-strip__bulb--3 { background: #ff9f43; box-shadow: 0 0 8px 2px rgba(255, 159, 67, 0.85); }
.festival-strip__bulb--4 { background: #ffe08a; box-shadow: 0 0 8px 2px rgba(255, 224, 138, 0.9); }

.festival-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 16px 14px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.festival-strip__text {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    line-height: 1.4;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.festival-strip__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe08a 0%, #f6c945 40%, #e67e22 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #2b0707 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(230, 126, 34, 0.55), 0 0 12px rgba(246, 201, 69, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.festival-strip__cta:hover,
.festival-strip__cta:focus {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #2b0707 !important;
}

@keyframes festivalBulbFlicker {
    0%, 100% { opacity: 1; filter: brightness(1); }
    40% { opacity: 0.55; filter: brightness(0.7); }
    60% { opacity: 1; filter: brightness(1.25); }
}

/* ========== FULL first-viewport festival cover ========== */
.festival-home-hero {
    display: none;
}

body.festival-theme-navaratri .festival-home-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    /* Fill remaining first view under header + strip */
    min-height: clamp(420px, calc(100svh - 210px), 720px);
    border-top: none;
    border-bottom: 1px solid rgba(246, 201, 69, 0.25);
    background:
        radial-gradient(ellipse 55% 50% at 50% 42%, rgba(255, 140, 40, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 40% 45% at 18% 70%, rgba(192, 57, 43, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 40% 45% at 82% 65%, rgba(246, 201, 69, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(255, 107, 26, 0.2) 0%, transparent 45%),
        linear-gradient(165deg, #120404 0%, #3a0c0c 28%, #6b1610 55%, #2a0808 78%, #0e0303 100%);
}

/* Mandala / rangoli ring behind copy */
body.festival-theme-navaratri .festival-home-hero::before {
    content: '';
    position: absolute;
    width: min(520px, 85vw);
    height: min(520px, 85vw);
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    background:
        repeating-radial-gradient(
            circle at center,
            transparent 0,
            transparent 14px,
            rgba(246, 201, 69, 0.07) 14px,
            rgba(246, 201, 69, 0.07) 16px
        );
    border: 1px solid rgba(246, 201, 69, 0.18);
    box-shadow:
        inset 0 0 0 28px rgba(246, 201, 69, 0.04),
        inset 0 0 0 56px rgba(255, 159, 67, 0.03),
        0 0 80px rgba(255, 107, 26, 0.15);
    animation: festivalMandalaSpin 48s linear infinite;
    opacity: 0.85;
}

body.festival-theme-navaratri .festival-home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 25%, transparent 70%, rgba(0, 0, 0, 0.45) 100%);
}

@keyframes festivalMandalaSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---- String lights (top of cover) ---- */
.festival-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 3;
    pointer-events: none;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    padding-top: 10px;
}

.festival-lights__wire {
    position: absolute;
    top: 8px;
    left: 2%;
    right: 2%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(80, 40, 20, 0.9) 8%, rgba(80, 40, 20, 0.9) 92%, transparent);
    border-radius: 2px;
}

.festival-lights__bulb {
    position: relative;
    width: 12px;
    height: 16px;
    margin-top: 6px;
    border-radius: 40% 40% 45% 45%;
    animation: festivalBulbFlicker 2.1s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.14s);
}

.festival-lights__bulb::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 1.5px;
    height: 8px;
    transform: translateX(-50%);
    background: rgba(90, 50, 25, 0.85);
}

.festival-lights__bulb--1 {
    background: radial-gradient(circle at 40% 35%, #fff6c8, #f6c945 55%, #d4a017);
    box-shadow: 0 0 14px 4px rgba(246, 201, 69, 0.85), 0 8px 24px rgba(246, 201, 69, 0.35);
}
.festival-lights__bulb--2 {
    background: radial-gradient(circle at 40% 35%, #ffd0a0, #ff6b1a 55%, #c0392b);
    box-shadow: 0 0 14px 4px rgba(255, 107, 26, 0.8), 0 8px 24px rgba(255, 107, 26, 0.3);
}
.festival-lights__bulb--3 {
    background: radial-gradient(circle at 40% 35%, #ffe0b8, #ff9f43 55%, #e67e22);
    box-shadow: 0 0 14px 4px rgba(255, 159, 67, 0.8), 0 8px 24px rgba(255, 159, 67, 0.3);
}
.festival-lights__bulb--4 {
    background: radial-gradient(circle at 40% 35%, #fff, #ffe08a 50%, #f0c040);
    box-shadow: 0 0 16px 5px rgba(255, 224, 138, 0.9), 0 8px 24px rgba(255, 224, 138, 0.35);
}

/* ---- Glow orbs ---- */
.festival-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.festival-orbs__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: festivalOrbDrift 9s ease-in-out infinite alternate;
}

.festival-orbs__blob--1 {
    width: 280px;
    height: 280px;
    left: 8%;
    top: 20%;
    background: rgba(255, 107, 26, 0.28);
}

.festival-orbs__blob--2 {
    width: 320px;
    height: 320px;
    right: 5%;
    top: 30%;
    background: rgba(246, 201, 69, 0.2);
    animation-delay: -3s;
}

.festival-orbs__blob--3 {
    width: 220px;
    height: 220px;
    left: 40%;
    bottom: 10%;
    background: rgba(192, 57, 43, 0.25);
    animation-delay: -5s;
}

@keyframes festivalOrbDrift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(18px, -22px) scale(1.08); }
}

/* ---- Side hanging lanterns ---- */
.festival-lantern {
    position: absolute;
    top: 48px;
    z-index: 2;
    width: 44px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: festivalLanternSway 4.5s ease-in-out infinite;
}

.festival-lantern--left { left: clamp(12px, 4vw, 48px); }
.festival-lantern--right { right: clamp(12px, 4vw, 48px); animation-delay: -2.2s; }

.festival-lantern__cord {
    width: 2px;
    height: 36px;
    background: linear-gradient(#8b5a2b, #5c3a18);
}

.festival-lantern__body {
    width: 36px;
    height: 48px;
    background:
        linear-gradient(180deg, #f6c945 0%, #e67e22 35%, #8b1e1e 70%, #5c1010 100%);
    border-radius: 6px 6px 40% 40%;
    box-shadow:
        0 0 20px rgba(246, 201, 69, 0.55),
        inset 0 0 12px rgba(255, 255, 255, 0.25);
    position: relative;
}

.festival-lantern__body::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 8px;
    background: #c9a227;
    border-radius: 3px;
}

.festival-lantern__flame {
    width: 10px;
    height: 16px;
    margin-top: -6px;
    border-radius: 50% 50% 40% 40%;
    background: radial-gradient(circle at 50% 70%, #fff6c8, #ff9f43 45%, #ff6b1a 80%);
    box-shadow: 0 0 16px 6px rgba(255, 140, 40, 0.75);
    animation: festivalFlame 1.1s ease-in-out infinite alternate;
}

@keyframes festivalLanternSway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes festivalFlame {
    from { transform: scaleY(1) scaleX(1); opacity: 1; filter: brightness(1); }
    to { transform: scaleY(1.15) scaleX(0.9); opacity: 0.85; filter: brightness(1.2); }
}

/* ---- Hero copy ---- */
.festival-home-hero__inner {
    position: relative;
    z-index: 4;
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 24px 88px;
    text-align: center;
}

.festival-home-hero__eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2b0707;
    background: linear-gradient(90deg, #ffe08a, #f6c945, #ff9f43);
    box-shadow: 0 0 24px rgba(246, 201, 69, 0.45);
}

.festival-home-hero__title {
    margin: 0 0 14px;
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow:
        0 2px 0 rgba(80, 20, 10, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 140, 40, 0.25);
}

.festival-home-hero__title span {
    background: linear-gradient(90deg, #ffe08a, #f6c945, #ff9f43, #f6c945);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: festivalGoldShimmer 4s linear infinite;
}

@keyframes festivalGoldShimmer {
    to { background-position: 200% center; }
}

.festival-home-hero__sub {
    margin: 0 auto 28px;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 236, 210, 0.9);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.festival-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.festival-home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.festival-home-hero__btn--primary {
    background: linear-gradient(180deg, #ff3b3b 0%, #fe0000 55%, #c00000 100%);
    color: #fff !important;
    box-shadow:
        0 8px 28px rgba(254, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 26, 0.25);
}

.festival-home-hero__btn--primary:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.festival-home-hero__btn--ghost {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(246, 201, 69, 0.55);
    color: #f6c945 !important;
    box-shadow: 0 0 16px rgba(246, 201, 69, 0.15);
}

.festival-home-hero__btn--ghost:hover {
    background: rgba(246, 201, 69, 0.14);
    color: #fff !important;
}

/* ---- Diya row (bottom lighting) ---- */
.festival-diyas {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: clamp(18px, 4vw, 42px);
    pointer-events: none;
}

.festival-diya {
    position: relative;
    width: 36px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.festival-diya__flame {
    position: absolute;
    bottom: 18px;
    width: 10px;
    height: 18px;
    border-radius: 50% 50% 20% 20%;
    background: radial-gradient(circle at 50% 75%, #fff8dc 0%, #ffb347 40%, #ff6b1a 75%, transparent 100%);
    box-shadow: 0 0 14px 5px rgba(255, 140, 40, 0.7);
    animation: festivalFlame 0.9s ease-in-out infinite alternate;
    animation-delay: calc(var(--d) * 0.15s);
    transform-origin: center bottom;
}

.festival-diya__glow {
    position: absolute;
    bottom: 8px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 160, 40, 0.45) 0%, transparent 70%);
    animation: festivalDiyaGlow 2s ease-in-out infinite alternate;
    animation-delay: calc(var(--d) * 0.15s);
}

.festival-diya__bowl {
    width: 28px;
    height: 12px;
    background: linear-gradient(180deg, #e8c547 0%, #c9a227 40%, #8b5a2b 100%);
    border-radius: 40% 40% 50% 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    position: relative;
    z-index: 1;
}

.festival-diya__bowl::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 5px;
    background: #5c3a18;
    border-radius: 50%;
}

@keyframes festivalDiyaGlow {
    from { opacity: 0.55; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.15); }
}

/* ========== Shop by category festive accents ========== */
body.festival-theme-navaratri #fb-shop-categories.fb-shop-categories {
    background: transparent !important;
}

body.festival-theme-navaratri #fb-shop-categories.fb-shop-categories::before {
    background:
        radial-gradient(ellipse 80% 50% at 50% -5%, rgba(255, 159, 67, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 0% 40%, rgba(139, 30, 30, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 45% 35% at 100% 60%, rgba(246, 201, 69, 0.12) 0%, transparent 50%);
}

body.festival-theme-navaratri .fb-shop-categories__title {
    position: relative;
    display: inline-block;
    text-shadow: 0 0 22px rgba(246, 201, 69, 0.3);
}

body.festival-theme-navaratri .fb-shop-categories__title::after {
    content: '';
    display: block;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, #f6c945, #ff9f43, transparent 90%);
    box-shadow: 0 0 12px rgba(246, 201, 69, 0.55);
}

body.festival-theme-navaratri .fb-l1-tab.is-active .fb-l1-tab__poster {
    box-shadow: 0 0 0 2px rgba(246, 201, 69, 0.55), 0 0 20px rgba(255, 159, 67, 0.4);
}

body.festival-theme-navaratri .hdr-top .sell {
    box-shadow: 0 0 0 1px rgba(246, 201, 69, 0.45), 0 0 12px rgba(246, 201, 69, 0.2);
}

body.festival-theme-navaratri footer {
    background: rgba(8, 3, 3, 0.96);
    border-top: 1px solid rgba(246, 201, 69, 0.2);
}

@media (max-width: 991px) {
    .festival-lantern {
        display: none;
    }
}

@media (max-width: 767px) {
    body.festival-theme-navaratri .festival-home-hero {
        min-height: clamp(380px, calc(100svh - 240px), 560px);
    }

    .festival-strip__inner {
        padding: 16px 12px 12px;
        gap: 10px;
    }

    .festival-strip__text {
        font-size: 13px;
        flex: 1 1 100%;
    }

    .festival-lights__bulb {
        width: 9px;
        height: 12px;
    }

    .festival-home-hero__inner {
        padding: 56px 16px 72px;
    }

    .festival-home-hero__sub {
        font-size: 14px;
    }

    .festival-home-hero__btn {
        width: 100%;
    }

    .festival-diyas {
        gap: 12px;
        bottom: 10px;
    }

    .festival-diya {
        width: 28px;
        height: 34px;
    }

    .festival-diya:nth-child(n+6) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .festival-lights__bulb,
    .festival-strip__bulb,
    .festival-diya__flame,
    .festival-diya__glow,
    .festival-lantern,
    .festival-lantern__flame,
    .festival-orbs__blob,
    body.festival-theme-navaratri .festival-home-hero::before,
    body.festival-theme-navaratri::after,
    .festival-home-hero__title span {
        animation: none !important;
    }
}
