/* ======================================================================
   BLACK NOVEMBER: blackout hero theme (black + navy, gold foil, ivory).
   Shown when <body> has .theme-black, set by js/home.js from 1 November.
   Remove this file and the [data-bn] section after the campaign.
   ====================================================================== */
:root { --gold: #d9a635; --gold-light: #f6d77a; --gold-deep: #9c6f12; --night: #05070f; --ivory: #f8f1e1; }

/* top bar goes black + gold for the campaign */
.theme-black .topbar { background: #000; border-bottom: 1px solid rgba(217, 166, 53, .45); }
.theme-black .topbar h2 { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.theme-black .topbar h2 span { color: var(--gold-light); }
.theme-black .slider { display: none; }

.bn[hidden] { display: none; }
.bn {
  position: relative; overflow: hidden; color: var(--ivory); isolation: isolate;
  background: radial-gradient(120% 90% at 75% 40%, #0d1638 0%, #070b1d 45%, var(--night) 100%);
  min-height: 620px; display: flex; align-items: center; padding: 70px 0;
}
.bn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background: repeating-linear-gradient(135deg, var(--gold) 0 1px, transparent 1px 26px);
}
.bn-glow {
  position: absolute; z-index: -1; width: 720px; height: 720px; right: -120px; top: 50%; margin-top: -360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 166, 53, .22), transparent 62%); animation: bnGlow 7s ease-in-out infinite alternate;
}
@keyframes bnGlow { to { transform: translate(-60px, 20px) scale(1.1); opacity: .7; } }

/* corner ribbons */
.bn-ribbon {
  position: absolute; z-index: 2; width: 460px; height: 92px; display: grid; place-items: center; pointer-events: none;
  background: linear-gradient(180deg, #151515, #000 60%, #111); border-block: 4px solid var(--gold);
  box-shadow: 0 0 0 1px #000, 0 14px 30px rgba(0, 0, 0, .6);
}
.bn-ribbon span { display: flex; flex-direction: column; align-items: center; font: 900 30px/.95 var(--sans); text-transform: uppercase; color: #fff; }
.bn-ribbon b { font-weight: 800; font-size: 20px; color: var(--gold-light); letter-spacing: .08em; }
.bn-ribbon--tl { top: 62px; left: -118px; transform: rotate(-38deg); animation: bnRibbonTL 1.1s .2s var(--ease) both; }
.bn-ribbon--br { bottom: 62px; right: -118px; transform: rotate(-38deg); animation: bnRibbonBR 1.1s .4s var(--ease) both; }
@keyframes bnRibbonTL { from { transform: translate(-220px, -180px) rotate(-38deg); } }
@keyframes bnRibbonBR { from { transform: translate(220px, 180px) rotate(-38deg); } }

.bn-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.bn-copy { text-align: center; display: grid; justify-items: center; gap: 18px; }
.bn-kicker { margin: 0; display: flex; align-items: center; gap: 14px; font: 600 13px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light); }
.bn-kicker i { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.bn-kicker i:last-child { transform: scaleX(-1); }

.bn-title { display: grid; text-transform: uppercase; }
.bn-title span { font: 900 clamp(54px, 8.2vw, 112px)/.92 var(--sans); color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); animation: bnRise 1s var(--ease) both; }
.bn-title span.gold {
  font-size: clamp(40px, 6.1vw, 84px); letter-spacing: .03em; text-shadow: none;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 22%, var(--gold-light) 40%, #fff6d6 50%, var(--gold-light) 60%, var(--gold) 78%, var(--gold-deep) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: bnRise 1s .12s var(--ease) both, bnFoil 6s 1.2s linear infinite;
}
@keyframes bnFoil { to { background-position: -250% 0; } }
@keyframes bnRise { from { opacity: 0; transform: translateY(40px); } }
.bn-lede { margin: 0; max-width: 46ch; font-size: 16px; color: rgba(248, 241, 225, .78); animation: bnRise 1s .25s var(--ease) both; }

/* opening-day card */
.bn-event {
  display: flex; align-items: center; gap: 18px; padding: 14px 26px 14px 16px; border: 1px solid var(--gold); border-radius: 18px; text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 10px 30px rgba(0, 0, 0, .35); animation: bnRise 1s .35s var(--ease) both;
}
.bn-event[hidden] { display: none; }
.bn-event small { display: block; font: 700 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.bn-event b { display: block; font: 800 20px/1.3 var(--sans); text-transform: uppercase; color: #fff; margin-top: 4px; }
.bn-event span { font: 900 26px/1.1 var(--sans); color: #fff; }
.bn-event em { font-style: normal; font-size: 14px; color: var(--gold-light); border-block: 1px solid var(--gold); padding: 0 4px; margin: 0 6px; vertical-align: middle; }
.bn-clock {
  position: relative; width: 58px; height: 58px; flex: none; border-radius: 50%; background: var(--ivory);
  box-shadow: 0 0 0 3px #000, 0 0 0 6px var(--gold), 0 6px 14px rgba(0, 0, 0, .5);
}
.bn-clock i { position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #000; transform-origin: 50% 100%; }
.bn-clock .h { height: 15px; transform: rotate(270deg); }
.bn-clock .m { height: 21px; width: 2px; margin-left: -1px; animation: bnTick 60s steps(60) infinite; }
@keyframes bnTick { to { transform: rotate(360deg); } }

/* countdown */
.bn-count { display: grid; gap: 10px; justify-items: center; animation: bnRise 1s .45s var(--ease) both; }
.bn-count p { margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(248, 241, 225, .7); }
.bn-cells { display: grid; grid-template-columns: repeat(4, 84px); gap: 10px; }
.bn-cells div {
  display: grid; justify-items: center; gap: 6px; padding: 12px 0 10px; border-radius: 12px;
  background: linear-gradient(180deg, #11183a, #060914); border: 1px solid rgba(217, 166, 53, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.bn-cells b { font: 800 34px/1 var(--sans); color: var(--gold-light); font-variant-numeric: tabular-nums; }
.bn-cells b.flip { animation: bnFlip .45s var(--ease); }
@keyframes bnFlip { 0% { transform: translateY(-8px); opacity: .2; } }
.bn-cells span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(248, 241, 225, .6); }
.bn-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; animation: bnRise 1s .55s var(--ease) both; }
.btn--gold { background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: #0a0d1c; font-weight: 700; box-shadow: 0 8px 24px rgba(217, 166, 53, .3); }
.btn--gold:hover { background: #fff; color: #0a0d1c; }

/* product stage: rotating real pieces inside a spinning gold ring */
.bn-stage { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; animation: bnRise 1.1s .3s var(--ease) both; }
.bn-frame {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold-deep), var(--gold-light), var(--gold), #fff3c4, var(--gold-deep));
  animation: bnSpin 14s linear infinite;
}
.bn-frame::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #000; }
@keyframes bnSpin { to { transform: rotate(360deg); } }
.bn-shot { position: absolute; inset: 14px; z-index: 1; border-radius: 50%; overflow: hidden; opacity: 0; transition: opacity 1s; }
.bn-shot.is-on { opacity: 1; }
.bn-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 5s linear; }
.bn-shot.is-on img { transform: scale(1); }
.bn-shot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)); }
.bn-tag {
  position: absolute; z-index: 2; left: 50%; bottom: -6px; transform: translateX(-50%); min-width: 74%; padding: 12px 22px; border-radius: 100px;
  text-align: center; background: #000; border: 1px solid var(--gold); box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
}
.bn-tag small { display: block; font: 700 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.bn-tag a { display: block; margin-top: 4px; font: 600 15px/1.3 var(--sans); text-transform: uppercase; color: #fff; }
.bn-tag a:hover { color: var(--gold-light); }

@media (max-width: 991px) {
  .bn { padding: 90px 0 70px; }
  .bn-grid { grid-template-columns: 1fr; gap: 40px; }
  .bn-stage { max-width: 360px; }
  .bn-ribbon { width: 360px; height: 74px; }
  .bn-ribbon span { font-size: 22px; } .bn-ribbon b { font-size: 15px; }
  .bn-ribbon--tl { top: 40px; left: -112px; } .bn-ribbon--br { bottom: 40px; right: -112px; }
}
@media (max-width: 600px) {
  .bn { padding: 96px 0 80px; min-height: 0; }
  .bn-ribbon { width: 300px; height: 62px; border-width: 3px; }
  .bn-ribbon span { font-size: 18px; } .bn-ribbon b { font-size: 12px; }
  .bn-ribbon--tl { top: 26px; left: -104px; } .bn-ribbon--br { bottom: 26px; right: -104px; }
  .bn-kicker { letter-spacing: .2em; font-size: 11px; } .bn-kicker i { width: 28px; }
  .bn-event { padding: 12px 16px 12px 12px; gap: 14px; }
  .bn-event b { font-size: 15px; } .bn-event span { font-size: 20px; }
  .bn-clock { width: 46px; height: 46px; }
  .bn-cells { grid-template-columns: repeat(4, 1fr); width: 100%; gap: 8px; }
  .bn-cells b { font-size: 26px; }
  .bn-stage { max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-frame, .bn-title span.gold, .bn-glow, .bn-clock .m { animation: none !important; }
}

/* ======================================================================
   DEALS (any theme): badges, struck-through prices, deal box
   ====================================================================== */
.card-badges { align-items: flex-start; }
.fine-print { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(248, 241, 225, .62); }
.fine-print i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.bn-fine { animation: bnRise 1s .65s var(--ease) both; }
.addon-title .fine-print { margin-top: 10px; }
.deal-box .fine-print { justify-content: flex-start; font-size: 10px; letter-spacing: .1em; }
body:not(.theme-black) .addon-title .fine-print { color: var(--grey); }
.badge--deal { background: #000; color: var(--gold-light); border: 1px solid var(--gold); font-weight: 600; }
.badge--off { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #0a0d1c; font-weight: 800; }
.badge--sold { background: #c0392b; color: #fff; font-weight: 600; }
.card-price del, .opt del, .pd-price del, .bn-tag-price del { color: #9a9ca6; font-weight: 400; font-size: .85em; margin-right: 2px; }
.deal-box { display: grid; gap: 6px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(135deg, #0d1638, #05070f); border: 1px solid var(--gold); color: #fff; }
.deal-box .pd-price { color: var(--gold-light); }
.deal-tag { justify-self: start; padding: 2px 12px; border-radius: 100px; background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #0a0d1c; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.deal-save { font-size: 13px; color: #8be0a8; font-weight: 600; }
.deal-sold { font-size: 13px; color: #ff9b8f; font-weight: 600; }
.bn-tag-price { display: block; margin-top: 2px; font-weight: 800; color: var(--gold-light); font-size: 16px; }

/* ======================================================================
   SITE-WIDE BLACK NOVEMBER THEME (body.theme-black)
   Black + deep navy surfaces, gold accents, ivory text — every page.
   ====================================================================== */
.theme-black {
  --navy: #f6d77a;           /* accents (links, active states, prices) become gold */
  --navy-dark: #d9a635;
  --yellow: #d9a635;
  --ink: #f8f1e1; --text: #f8f1e1; --grey: #a3a6b4;
  --line: rgba(217, 166, 53, .22); --soft: #0d1226;
  --surface: #0b1022; --surface-2: #10173a;
  background: var(--night); color: var(--ivory);
}
.theme-black ::selection { background: var(--gold); color: #000; }

/* header: black glass with gold rule; round gold-ringed logo like the poster */
.theme-black .header { background: rgba(5, 7, 15, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(217,166,53,.35); }
.theme-black .header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.6); }
.theme-black .logo-round { height: 88px; width: 88px; border-radius: 50%; box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--gold), 0 6px 20px rgba(217,166,53,.25); transition: height .3s, width .3s; }
.theme-black .header.is-scrolled .logo-round { height: 62px; width: 62px; }
.theme-black .tool { color: var(--ivory); }
.theme-black .tool:hover { background: rgba(255,255,255,.08); color: var(--gold-light); }
.theme-black .tool .count { background: var(--gold); color: #000; }
.theme-black .tl-nav { background: rgba(255,255,255,.05); border-color: rgba(217,166,53,.3); box-shadow: 0 6px 22px rgba(0,0,0,.4); }
.theme-black .tl-item { color: rgba(248,241,225,.78); }
.theme-black .tl-item:hover, .theme-black .tl-item.is-active { color: var(--gold-light); }
.theme-black .tl-lamp { background: rgba(217,166,53,.1); }
.theme-black .tl-lamp::before { background: var(--gold-light); box-shadow: 0 0 12px 2px rgba(246,215,122,.7); }
.theme-black .tl-lamp::after { background: rgba(217,166,53,.35); }
.theme-black .tl-dock .tl-nav { background: rgba(5,7,15,.88); }
.theme-black .dd-menu, .theme-black .search-panel, .theme-black .mnav { background: var(--surface); }
.theme-black .dd-menu a:hover { background: var(--surface-2); }
.theme-black .mnav a, .theme-black .mnav-title { border-color: var(--line); }

/* buttons: gold primary */
.theme-black .btn { background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: #0a0d1c; font-weight: 600; }
.theme-black .btn:hover { background: #fff; color: #0a0d1c; }
.theme-black .btn--ghost { background: transparent; color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold); }
.theme-black .btn--ghost:hover { background: var(--gold); color: #000; }
.theme-black .btn--light { background: transparent; color: #fff; }

/* sections */
.theme-black .section--yellow { background: linear-gradient(180deg, #0a0f24, #05070f); border-block: 1px solid rgba(217,166,53,.25); }
.theme-black .addon-title h2 { color: #fff; }
.theme-black .addon-title p, .theme-black .muted { color: var(--grey); }
.theme-black .script { color: var(--gold-light); }
.theme-black .divider { background: linear-gradient(90deg, var(--gold), transparent); }
.theme-black .deals-section { background: radial-gradient(90% 70% at 50% 0%, #10183d, #05070f 70%); }
.theme-black .deals-section .addon-title h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-light) 45%, #fff6d6 50%, var(--gold-light) 55%, var(--gold-deep)); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: bnFoil 6s linear infinite; }
.theme-black .brand { background: #fff; border-radius: 12px; }
.theme-black .banner::before { opacity: .65; }
.theme-black .breadcrumb-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.theme-black .crumbs a { color: var(--ivory); }
.theme-black .page-banner::before { background: rgba(0,0,0,.55); }

/* cards */
.theme-black .card { background: var(--surface); border-color: rgba(217,166,53,.18); }
.theme-black .card:hover { border-color: rgba(217,166,53,.55); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(217,166,53,.2); }
.theme-black .card-media { background: #fff; }
.theme-black .card-name { color: var(--ivory); }
.theme-black .card-fav, .theme-black .card-qv { background: rgba(5,7,15,.85); color: var(--ivory); }
.theme-black .card-fav:hover, .theme-black .card-qv:hover { background: var(--gold); color: #000; }
.theme-black .card-fav.is-on { background: var(--gold); color: #000; }
.theme-black .badge { background: rgba(5,7,15,.85); color: var(--ivory); }
.theme-black .badge--deal { background: #000; color: var(--gold-light); }
.theme-black .badge--off { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #0a0d1c; }
.theme-black .badge--sold { background: #c0392b; color: #fff; }
.theme-black .carousel-nav { background: var(--surface-2); color: var(--ivory); }
.theme-black .bt-item { background: var(--surface); }
.theme-black .bt-total { background: #000; border: 1px solid var(--gold); }

/* forms, filters, inputs */
.theme-black input, .theme-black select, .theme-black textarea { color-scheme: dark; }
.theme-black .search input, .theme-black .select, .theme-black .field input, .theme-black .field textarea, .theme-black .field select,
.theme-black .newsletter input, .theme-black .budget input, .theme-black .search-panel input {
  background-color: var(--surface); color: var(--ivory); border-color: rgba(217,166,53,.3); }
.theme-black .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23f6d77a' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
.theme-black .newsletter button, .theme-black .search-panel button { background: var(--gold); color: #000; }
.theme-black .f-group h6 { border-color: var(--gold); }
.theme-black .f-opt { color: rgba(248,241,225,.8); }
.theme-black .filters { background: transparent; }
@media (max-width: 991px) { .theme-black .filters { background: var(--surface); } }
.theme-black .result-count b { color: #fff; }
.theme-black .active-filters button { background: var(--gold); color: #000; }
@media (max-width: 1199px) {
  .theme-black .logo-round, .theme-black .header.is-scrolled .logo-round { height: 58px; width: 58px; }
}
@media (max-width: 600px) {
  .card-badges { right: 48px; }
  .card-badges .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
}
.theme-black .active-filters button::after { color: #000; }

/* product page, options, quick view, drawer */
.theme-black .pd-zoom { background: #fff; border-color: var(--line); }
.theme-black .pd-title { color: #fff; }
.theme-black .opt { background: var(--surface); border-color: rgba(217,166,53,.25); }
.theme-black .opt.is-on { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--gold); border-color: var(--gold); }
.theme-black .pd-actions .fav { border-color: rgba(217,166,53,.4); }
.theme-black .pd-actions .fav.is-on { background: var(--gold); color: #000; }
.theme-black .qty { border-color: rgba(217,166,53,.35); }
.theme-black .qty button:hover { background: var(--surface-2); }
.theme-black .assure, .theme-black .chip { background: var(--surface); }
.theme-black .stock { color: #8be0a8; }
.theme-black .modal-panel, .theme-black .drawer { background: var(--surface); }
.theme-black .modal-media { background: #fff; }
.theme-black .modal-close { background: rgba(5,7,15,.85); color: var(--ivory); }
.theme-black .drawer-head { background: #000; border-bottom: 1px solid var(--gold); }
.theme-black .drawer-head h3 { color: var(--gold-light); }
.theme-black .drawer-foot { background: #070a17; }
.theme-black .line-item img { background: #fff; }
.theme-black .toast { background: #000; border: 1px solid var(--gold); }
.theme-black .icon-btn:hover { background: rgba(255,255,255,.08); }

/* room builder */
.theme-black .rb-pick { background: var(--surface); }
.theme-black .rb-pick img { background: #fff; }
.theme-black .rb-pick.is-on::after { background: var(--gold); color: #000; }
.theme-black .rb-rooms button { border-color: var(--gold); color: var(--gold-light); }
.theme-black .rb-rooms button.is-on, .theme-black .rb-rooms button:hover { background: var(--gold); color: #000; }
.theme-black .rb-slot-head h3 span { background: var(--gold); color: #000; }
.theme-black .rb-summary { background: var(--surface); }
.theme-black .rb-summary .rb-head { background: #000; border-bottom: 1px solid var(--gold); }
.theme-black .rb-bar { background: #1a2140; }
.theme-black .rb-bar i { background: var(--gold); }

/* contact / map / footer */
.theme-black .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.theme-black .contact-lines h3 { color: var(--ivory); }
.theme-black .footer { background: #000; border-top: 1px solid var(--gold); }
.theme-black .footer h4 { color: #fff; }
.theme-black .copyright { border-color: var(--line); color: var(--grey); }
