/* SHODIRA deals layer: top/bottom button on every page, sale prices, and the Black Friday look
   (black and gold) that switches on while a sale is coming up or on (html.bf-on, set by assets/js/deals.js). */
:root { --gold: #ffcf5a; --gold-2: #f5a623; --gold-3: #fff1c2; --deal: #ff4d6d; }

/* ---------- top / bottom button ---------- */
.jump-nav {
  position: fixed; right: 16px; bottom: 20px; z-index: 80;
  display: flex; flex-direction: column; border-radius: 999px; overflow: hidden;
  background: rgba(8, 14, 28, .96); border: 1px solid var(--line-strong); /* no backdrop blur: it redraws on every scroll */
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 22px rgba(42,140,255,.25);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.jump-nav.is-on { opacity: 1; transform: none; pointer-events: auto; }
.jump-btn {
  width: 48px; height: 46px; display: grid; place-items: center; border: 0; background: transparent;
  color: var(--text); cursor: pointer; transition: background .2s, color .2s;
}
.jump-btn + .jump-btn { border-top: 1px solid var(--line); }
.jump-btn svg { width: 22px; height: 22px; }
.jump-btn:hover, .jump-btn:focus-visible { background: rgba(42,140,255,.18); color: #fff; outline: none; }
.jump-btn:focus-visible { box-shadow: inset 0 0 0 2px var(--cyan); }
.jump-btn[hidden] { display: none; }
.jump-nav.is-single .jump-btn { height: 48px; }
.bf-on .jump-nav { border-color: rgba(255,207,90,.45); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 22px rgba(255,190,70,.22); }
.bf-on .jump-btn:hover, .bf-on .jump-btn:focus-visible { background: rgba(255,207,90,.16); }
@media (max-width: 600px) { .jump-nav { right: 12px; bottom: 14px; } .jump-btn { width: 44px; height: 42px; } }
@media print { .jump-nav { display: none; } }

/* ---------- sale prices (any sale) ---------- */
.price-was { color: var(--muted); font-size: .86em; font-weight: 500; text-decoration-thickness: 1.5px; text-decoration-color: rgba(255,77,109,.8); margin-left: 4px; white-space: nowrap; }
.product-card .price-was { font-size: .9rem; }
.pd-price-box .price-was { font-size: 1.05rem; margin-left: 10px; }
.deal-pct {
  display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; vertical-align: middle;
  font: 700 .82rem/1.2 var(--font-display); color: #1a1000; background: linear-gradient(135deg, var(--gold-3), var(--gold) 45%, var(--gold-2));
}
.pill-deal {
  border: 0 !important; color: #1a1000 !important; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--gold-3), var(--gold) 45%, var(--gold-2)) !important;
  box-shadow: 0 4px 14px rgba(255,190,70,.35);
}
.product-card.is-deal, .product-card.is-deal-soon { border-color: rgba(255,207,90,.4); }
.product-card.is-deal:hover { box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,207,90,.55), 0 0 30px rgba(255,190,70,.2); }

/* ---------- Black Friday bar (under the status bar on every page) ---------- */
.bf-bar {
  display: block; position: relative; overflow: hidden; color: #fff; text-decoration: none;
  background: linear-gradient(90deg, #000 0%, #120d02 30%, #1d1404 50%, #120d02 70%, #000 100%);
  border-bottom: 1px solid rgba(255,207,90,.35);
}
.bf-bar::after { /* moving shine */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255,220,130,.16) 50%, transparent 65%);
  transform: translateX(-100%); animation: bf-shine 5s ease-in-out infinite;
}
.bf-bar-in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 9px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; font-size: .9rem; }
.bf-word { font: 800 1rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2), var(--gold)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bf-gold 6s linear infinite; }
.bf-lead { color: #f5e9cc; }
.bf-count { display: inline-flex; gap: 6px; }
.bf-unit { display: inline-flex; align-items: baseline; gap: 2px; padding: 2px 7px; border-radius: 6px; background: rgba(255,207,90,.12); border: 1px solid rgba(255,207,90,.28); }
.bf-unit b { font: 700 .95rem/1.2 var(--font-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.bf-unit small { font-size: .68rem; color: #d9c79c; }
.bf-cta { font-weight: 700; color: var(--gold); }
.bf-bundle { padding: 2px 10px; border-radius: 999px; border: 1px dashed rgba(255,207,90,.5); color: var(--gold-3); font-size: .85em; }
@media (max-width: 600px) { .bf-bundle { flex-basis: 100%; text-align: center; border: 0; padding: 0; } }
/* bundle bonus in the cart and checkout summaries */
.bundle-row { color: var(--gold); font-weight: 600; }
.bundle-hint { margin: 6px 0 10px; padding: 8px 12px; border-radius: 10px; font-size: .86rem; color: var(--gold-3); background: rgba(255,207,90,.08); border: 1px dashed rgba(255,207,90,.4); }
.bf-bar:hover .bf-cta { text-decoration: underline; }
@media (max-width: 600px) { .bf-bar-in { font-size: .8rem; gap: 4px 10px; padding: 8px 12px; } .bf-unit small { display: none; } .bf-cta { flex-basis: 100%; text-align: center; } }
@keyframes bf-shine { 0%, 40% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
@keyframes bf-gold { to { background-position: 200% 0; } }

/* ---------- home hero during the campaign ---------- */
.bf-hero-tag {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 16px; padding: 7px 14px 7px 7px;
  border-radius: 999px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,207,90,.45); color: #f5e9cc; font-size: .9rem; text-decoration: none;
  box-shadow: 0 0 30px rgba(255,190,70,.18);
}
.bf-hero-word { padding: 5px 12px; border-radius: 999px; font: 800 .78rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: #1a1000; background: linear-gradient(135deg, var(--gold-3), var(--gold) 45%, var(--gold-2)); }
.bf-hero-tag:hover { border-color: var(--gold); color: #fff; }
.btn-bf { color: #1a1000; font-weight: 700; background: linear-gradient(135deg, var(--gold-3), var(--gold) 40%, var(--gold-2)); box-shadow: 0 8px 26px rgba(255,190,70,.35); border: 0; }
.btn-bf:hover { color: #000; filter: brightness(1.06); }
.bf-on .hero-shop { background-image: radial-gradient(60% 50% at 80% 30%, rgba(255,190,70,.10), transparent 70%); }

/* ---------- home deals rail ---------- */
.bf-rail-sec { position: relative; background: radial-gradient(80% 120% at 50% 0%, rgba(255,190,70,.09), transparent 60%), linear-gradient(180deg, #050403, transparent); border-top: 1px solid rgba(255,207,90,.22); border-bottom: 1px solid rgba(255,207,90,.12); }
.bf-rail-sec .eyebrow { color: var(--gold); }
.bf-rail-sec h2 .bf-word { font-size: inherit; letter-spacing: .04em; }
.bf-rail-sec .rail-nav button:hover { border-color: var(--gold); }

/* ---------- deals page ---------- */
.deals-hero { position: relative; overflow: hidden; text-align: center; padding: 56px 0 44px; background: radial-gradient(70% 90% at 50% 0%, rgba(255,190,70,.16), transparent 65%), #020202; border-bottom: 1px solid rgba(255,207,90,.25); }
.deals-hero::before { /* gold sparkles */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 12% 30%, var(--gold) 50%, transparent 51%), radial-gradient(1px 1px at 28% 70%, var(--gold-3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 18%, var(--gold-2) 50%, transparent 51%), radial-gradient(1px 1px at 63% 62%, var(--gold) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 26%, var(--gold-3) 50%, transparent 51%), radial-gradient(1px 1px at 90% 74%, var(--gold) 50%, transparent 51%);
  animation: bf-twinkle 4s ease-in-out infinite alternate;
}
.deals-hero .container { position: relative; }
.deals-word { display: block; font: 800 clamp(2.4rem, 8vw, 5.2rem)/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; margin: 8px 0 14px; background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2), var(--gold), var(--gold-3)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bf-gold 6s linear infinite; text-shadow: 0 0 40px rgba(255,190,70,.15); }
.deals-sub { color: #f0e3c2; max-width: 620px; margin: 0 auto 22px; font-size: 1.05rem; }
.deals-when { display: block; color: #d9c79c; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.deals-count { display: inline-flex; gap: 10px; }
.deals-count .bf-unit { flex-direction: column; align-items: center; min-width: 70px; padding: 10px 8px; border-radius: 12px; background: rgba(255,207,90,.08); }
.deals-count .bf-unit b { font-size: 2rem; }
.deals-count .bf-unit small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 600px) { .deals-count .bf-unit { min-width: 58px; } .deals-count .bf-unit b { font-size: 1.5rem; } }
.deals-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.deals-filters .chip { border: 1px solid var(--line-strong); background: transparent; color: var(--text); padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .88rem; }
.deals-filters .chip.is-on, .deals-filters .chip:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,207,90,.08); }
.deals-empty { text-align: center; padding: 48px 0; }
@media (max-width: 600px) { [data-deals-grid] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@keyframes bf-twinkle { from { opacity: .25; } to { opacity: .7; } }

/* ---------- perf-overrides: smoother scrolling on laptops ----------
   Background blur redraws everything behind it on every scroll step, so these use a near-solid colour instead,
   and moving decorations rest while the page is being scrolled (html.is-scrolling, set by deals.js). */
.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4, 6, 12, .95); }
.btn-ghost, .hero-trust li, .orbit-count { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.is-scrolling *, html.is-scrolling *::before, html.is-scrolling *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .bf-bar::after, .bf-word, .deals-word, .deals-hero::before { animation: none; }
  .jump-nav { transition: none; }
}
