/* ===== ANORAA Noir homepage theme (black + gold, modern) =====
Scoped entirely under body.noir so it can never leak onto any other page
or, with the flag off, this homepage itself (this file is only linked
when NOIR_THEME_ENABLED is on). Written against the LIVE homepage's own
class names (pcard, catc, rcard, whyc, certc, bcard, cmini, mk, cc, band,
promo, about-sec, annc, torn, plate, logo) -- not a copy of the design
draft's CSS, which was built against a different, unshipped markup
structure. Most of the live page's card/section backgrounds already read
from CSS custom properties (--paper, --cream, --roast, --amber, --line,
--shadow-sm), so redefining those here cascades through almost everything;
the handful of hardcoded gradients (header, hero, footer, mobile nav,
band, promo, about-sec, stat) are overridden explicitly below, with
!important only where the live page's own "golden premium layer" already
uses !important and would otherwise win. */

body.noir{
  --cream:#0A0A0A; --paper:#13100E; --peach2:#13100E; --peach3:#13100E; --peach4:#13100E;
  --amber:#D9B96C; --amber-dk:#C9A25A;
  --roast:#EDE5D4; --roast-soft:#A99F8D;
  --pista:#D9B96C; --pista-soft:#C9A25A;
  --jaggery:#D9B96C;
  --line:rgba(217,185,108,.16);
  --shadow:0 20px 50px rgba(0,0,0,.6);
  --shadow-sm:0 14px 34px rgba(0,0,0,.55);
  background:var(--cream);
}
body.noir h1,body.noir h2,body.noir h3,body.noir h4,
body.noir .logo,body.noir .stat b{font-family:'Manrope','Nunito Sans',sans-serif;font-weight:700;letter-spacing:-.01em}

/* header: no longer sticky in Noir (explicit instruction -- the live
   header and the design draft are BOTH sticky; Noir deliberately is not) */
body.noir header{position:static!important;background:#050505!important;animation:none!important;border-bottom:1px solid var(--line)}
body.noir header::after{display:none}
body.noir .nav a{color:var(--roast-soft)}
body.noir .nav-links a:hover{color:var(--amber)}

/* gold gradient logo, larger in Noir per spec */
body.noir .logo img{filter:none!important;height:88px!important}
body.noir .logo small{color:var(--amber-dk)}
body.noir footer .logo img{height:130px!important}
@media(max-width:820px){body.noir .logo img{height:58px!important}}

/* hero: dark ground + soft gold glow instead of the saffron diagonal gradient */
body.noir .hero{background:radial-gradient(ellipse 60% 70% at 78% 40%,rgba(217,185,108,.14),transparent 70%),#050505!important;animation:none!important}
body.noir .hero-tag{background:rgba(217,185,108,.1);color:var(--amber)}
body.noir .hero h1{color:var(--roast)}
body.noir .hero h1 em{background:linear-gradient(120deg,#F1DFAE,#D9B96C 60%,#8C6C2C)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;padding-right:.12em}
body.noir .hero p.lead{color:var(--roast-soft)!important}
body.noir .hero-trust span{background:rgba(217,185,108,.08);color:var(--roast)}
body.noir .plate{border:1px solid var(--line)!important;box-shadow:0 40px 90px rgba(0,0,0,.75),0 0 0 1px rgba(217,185,108,.2)!important}
body.noir .hero-badge{background:var(--paper);color:var(--roast);box-shadow:var(--shadow)}

/* festive hero (shown instead of the above only when festive_countdown_end
   is truthy -- see index.html's {% if festive_countdown_end %} swap in the
   hero-txt block). .hero-dev is new; .gold-txt on the h1 is scoped to this
   festive h1 only (body.noir .hero h1{color} above still applies to the
   plain-text fallback heading, this selector's extra class wins on
   specificity) */
body.noir .hero-dev{font-family:'Noto Sans Devanagari','Nunito Sans',sans-serif;font-size:13px;letter-spacing:.3em;text-transform:uppercase;color:var(--roast-soft);margin-bottom:14px}
body.noir .hero h1.gold-txt{background:linear-gradient(180deg,#FFF6D6 0%,#E4C677 48%,#A8832F 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;filter:drop-shadow(0 10px 24px rgba(217,185,108,.22));padding-right:.06em}
/* festive hero image: a tall rounded card (approved draft) instead of the
   round plate (.hero-visual .plate's circle shape) -- the festive-plate
   class is only ever added to slide 1's img when festive_countdown_end is
   truthy, never to the other 5 slides' plain .plate images */
body.noir .hero-visual .festive-plate{border-radius:24px;aspect-ratio:4/5;width:min(440px,90%);object-position:center 68%;border:1px solid var(--line);box-shadow:0 30px 70px rgba(0,0,0,.6),0 0 0 1px rgba(217,185,108,.18)}

/* section rhythm + eyebrow/heading treatment */
body.noir .sec-head p{color:var(--roast-soft)}
body.noir .sec-head h2 em,body.noir .feat-txt h2 em,body.noir .promo h2 em,
body.noir .about-sec h2 em,body.noir .ksc + .ksc em{
  background:linear-gradient(120deg,#F1DFAE,#D9B96C 65%,#8C6C2C)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;padding-right:.1em}
body.noir .eyebrow{background:linear-gradient(120deg,#F1DFAE,#D9B96C)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
body.noir .sec-head::after{background:linear-gradient(90deg,transparent,#D9B96C,#8C6C2C,transparent)!important}

/* cards: rounded corners, gold hairline border, dark ground (most of this
   falls out of the --paper/--shadow-sm redefinition above already) */
body.noir .pcard,body.noir .catc,body.noir .rcard,body.noir .whyc,
body.noir .certc,body.noir .bcard,body.noir .cmini,body.noir .mk,
body.noir .cc,body.noir .faq,body.noir .stat{
  border:1px solid var(--line)!important;border-radius:24px;
}
body.noir .mk{background:var(--paper)!important}
body.noir .stat{background:linear-gradient(180deg,var(--peach3),var(--paper))!important}
body.noir .pcard .price,body.noir .cmini .cp b,body.noir .combo-now,body.noir .stat b,body.noir .bs-price{
  background:linear-gradient(120deg,#F1DFAE,#D9B96C)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
body.noir .catc::after{background:linear-gradient(to top,rgba(0,0,0,.86),rgba(0,0,0,.1) 60%)}
body.noir .catc{box-shadow:0 14px 40px rgba(0,0,0,.5),0 0 0 1px var(--line)!important}

/* pill buttons */
body.noir .btn{border-radius:999px;letter-spacing:.08em;font-weight:700}
body.noir .btn-amber,body.noir .pcard-btns .add,body.noir .bs-buy,body.noir .combo-buy{
  background:linear-gradient(180deg,#F1DFAE,#D9B96C 55%,#8C6C2C)!important;color:#150F08!important;box-shadow:0 10px 26px rgba(217,185,108,.28),inset 0 1px 0 rgba(255,255,255,.2)!important}
body.noir .btn-roast{background:linear-gradient(180deg,#1A1613,#0D0B0A);color:var(--roast)}
body.noir .btn-ghost{border-color:var(--amber);color:var(--amber)}
body.noir .btn-ghost:hover{background:var(--amber);color:#150F08}

/* promo / band / about-sec: hardcoded gradients, Noir dark+gold equivalents */
body.noir .promo{background:linear-gradient(135deg,#13100E 0%,#1A1613 60%,#0D0B0A 100%)!important;box-shadow:inset 0 0 0 1px var(--line),0 20px 50px rgba(0,0,0,.6)!important}
body.noir .band.b2b{background:linear-gradient(140deg,#0D0B0A 0%,#13100E 60%,#1A1613 100%)!important;box-shadow:inset 0 0 0 1px var(--line)!important}
body.noir .band.gift{background:linear-gradient(140deg,#1A1613 0%,#13100E 55%,#0D0B0A 100%)!important;box-shadow:inset 0 0 0 1px rgba(217,185,108,.3)!important}
body.noir .about-sec{background:linear-gradient(160deg,#0D0B0A,#1A1613)!important;color:var(--roast)}

/* torn-paper divider: recolour to the Noir ground so it blends between
   sections instead of showing the old cream/peach paper tone */
body.noir .torn svg path,body.noir .torn svg polygon{fill:#0A0A0A!important}

/* #descriptions ("What's Inside") has its own hardcoded ID-selector
   background (higher specificity than a plain class rule), missed in the
   first pass -- caught in review. */
body.noir #descriptions{background:linear-gradient(180deg,#0A0A0A,#050505)!important}

/* --roast is dual-purpose in the live CSS: a TEXT colour (headings, body
   copy) in most places, but a DARK BACKGROUND colour in several small
   components (buttons, avatars, toasts, pill indicators). Redefining
   --roast to a light value for Noir text correctly lightens the former
   but breaks the latter into light-on-light -- each of those needs its
   own explicit dark/gold treatment instead of inheriting the token. */
body.noir .pcard-btns .buy{background:transparent;color:var(--amber);border:1.5px solid var(--amber)!important}
body.noir .pcard-btns .buy:hover{background:var(--amber);color:#150F08}
body.noir .user-avatar{background:linear-gradient(180deg,#1A1613,#0D0B0A);color:var(--amber)}
body.noir .user-avatar:hover{background:var(--amber);color:#150F08}
body.noir .cmini button{background:linear-gradient(180deg,#F1DFAE,#D9B96C 55%,#8C6C2C);color:#150F08}
body.noir .toast{background:linear-gradient(180deg,#1A1613,#0D0B0A);color:var(--roast);box-shadow:var(--shadow)}
body.noir .skip-link{background:#0D0B0A;color:var(--amber)}
body.noir .cc-social a{background:linear-gradient(180deg,#1A1613,#0D0B0A);color:var(--amber)}
body.noir .cc-social a:hover{background:var(--amber);color:#150F08}
body.noir .hdots button{background:rgba(217,185,108,.18)}
body.noir .hdots button.on{background:var(--amber)}

/* size-selector pills: the unselected state is a hardcoded #fff box, not
   a custom property, so it never picked up the Noir repaint. */
body.noir .wts button{background:#0D0B0A;border-color:var(--line)!important;color:var(--roast-soft)}
body.noir .wts button.on{color:#150F08!important}

/* the floating AI-chatbot widget is also light-cream, unconditionally,
   on every load of this page -- same leftover-light-background class of
   bug as #descriptions above. */
body.noir #anrChatPanel{background:#13100E!important}
body.noir #anrChatHead{background:#0D0B0A!important;color:var(--amber)!important}
body.noir #anrChatBody,body.noir #anrChipRow{background:#0A0A0A!important}
body.noir #anrChatFoot{background:#13100E!important;border-top-color:var(--line)!important}
body.noir #anrLangSel{background:#1A1613!important;color:var(--amber)!important}
body.noir .anr-row.bot .anr-bub{background:#1A1613!important;color:var(--roast)!important;border-color:var(--line)!important}
body.noir .anr-row.user .anr-bub{background:var(--amber)!important;color:#150F08!important}

/* announcement strip + festive countdown */
body.noir .annc{background:#050505!important;border-bottom:1px solid var(--line)!important}
body.noir .annc span{color:var(--amber)}
body.noir .festive-cd{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--amber);border-radius:50px;padding:3px 12px;color:var(--amber-dk)!important}

/* footer */
body.noir footer{background:#050505!important;animation:none!important;border-top:1px solid var(--line);color:var(--roast-soft)}
body.noir footer::after{display:none}
body.noir footer h4{color:var(--roast)}
body.noir footer p,body.noir footer ul a{color:var(--roast-soft)}
body.noir footer ul a:hover{color:var(--amber)}
body.noir .foot-bottom{border-top-color:var(--line);color:var(--roast-soft)}

/* mobile nav drawer: dark + gold instead of the saffron diagonal gradient */
body.noir .mobnav{background:linear-gradient(180deg,#13100E,#0A0A0A)!important;animation:none!important;box-shadow:-10px 0 40px rgba(0,0,0,.6)}
body.noir .mn-head{background:#0D0B0A;border-bottom-color:var(--line)}
body.noir .mobnav a{color:var(--roast);border-bottom-color:var(--line)}
body.noir .mn-close{background:rgba(217,185,108,.14);color:var(--amber)}

/* gift-message panel (new Noir-only UI, no backend wiring -- see report) */
body.noir .gift-panel{background:var(--paper);border:1px solid var(--line);border-radius:26px;padding:34px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
@media(max-width:820px){body.noir .gift-panel{grid-template-columns:1fr}}
body.noir .gift-panel label{display:block;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--roast-soft);margin-bottom:6px}
body.noir .gift-panel input[type="text"],body.noir .gift-panel textarea{
  width:100%;background:#0D0B0A;border:1px solid var(--line);border-radius:12px;color:var(--roast);
  font-family:inherit;font-size:15px;padding:11px 14px;margin-bottom:16px;resize:vertical}
body.noir .gift-panel input[type="text"]:focus,body.noir .gift-panel textarea:focus{outline:none;border-color:var(--amber)}
body.noir .gift-char-count{font-size:12px;color:var(--roast-soft);margin-top:-10px;margin-bottom:16px;text-align:right}
body.noir .gift-card-preview{background:linear-gradient(180deg,#1A1613,#0D0B0A);border:1px solid var(--line);border-radius:22px;padding:30px;min-height:220px;display:flex;flex-direction:column;justify-content:center;gap:10px;box-shadow:var(--shadow)}
body.noir .gift-card-preview .gc-to{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--amber)}
body.noir .gift-card-preview .gc-msg{font-size:17px;line-height:1.6;color:var(--roast);font-style:italic;min-height:3.2em}
body.noir .gift-card-preview .gc-from{font-size:13px;color:var(--roast-soft);text-align:right}

@media(prefers-reduced-motion:reduce){
  body.noir *,body.noir *::before,body.noir *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
