/* Black Week 2026 · shared urgency UI for every Black Week page.
   Load AFTER the page's own CSS. Pairs with /assets/js/black-week.js (prices, links, countdown).
   Components: .bw-bar (sticky top bar) · .bw-eyebrow · .bw-price-line · .bw-countdown/.bw-seg ·
   .bw-ribbon (small "25% off" chip) · .bw-ended (sale over overlay). */

:root { --bw-bar-h: 0px; --bw-black: #0b0b0d; }

/* ---- sticky Black Week bar ---- */
.bw-bar { position: sticky; top: 0; z-index: 200; background: var(--bw-black); color: #fff;
  text-align: center; padding: 9px 16px; }
.bw-bar .bwb-inner { display: flex; align-items: center; justify-content: center; gap: 8px 18px;
  flex-wrap: wrap; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.bw-bar .bwb-tag { display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700; color: #fff; }
.bw-bar .bwb-tag b { color: #fff; font-weight: 700; }
.bw-bar .bwb-clock { font-variant-numeric: tabular-nums; background: rgba(255,255,255,.1);
  border-radius: 7px; padding: 3px 10px; font-weight: 700; letter-spacing: .02em; }
.bw-bar .bwb-cta { display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em;
  padding: 6px 15px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.bw-bar .bwb-cta svg { width: 13px; height: 13px; }
.bw-bar .bwb-cta:hover { transform: translateY(-1px); box-shadow: 0 7px 18px -7px rgba(224,40,23,.7); }
#offer { scroll-margin-top: calc(var(--bw-bar-h, 44px) + 18px); }

/* ---- hero treatment ---- */
.bw-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #fff !important;
  background: var(--bw-black); padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  text-transform: uppercase; letter-spacing: .08em; }
.bw-eyebrow b { color: var(--red-bright, #ff3b26); }
.bw-price-line { display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin: 30px auto 0; font-family: var(--font-head); }
.bw-price-line .was { text-decoration: line-through; color: #6b7078; font-size: 1.5rem; font-weight: 600; }
.bw-price-line .now { color: var(--red); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.bw-price-line .save, .bw-ribbon { background: #fdecea; color: #b3170a; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .05em; padding: 6px 12px; border-radius: 999px; font-family: var(--font-head); }

/* ---- countdown (days · hours · min · sec) ---- */
.bw-countdown { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 20px auto 0; flex-wrap: wrap; }
.bw-countdown .lab { font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .08em;
  text-transform: uppercase; color: #4a4f57; width: 100%; text-align: center; margin-bottom: 2px; }
.bw-seg { background: var(--bw-black); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-variant-numeric: tabular-nums; font-size: 1.55rem; padding: 10px 12px; border-radius: 10px;
  min-width: 58px; text-align: center; line-height: 1; }
.bw-seg small { display: block; font-size: .5rem; letter-spacing: .12em; color: var(--red-bright, #ff3b26); margin-top: 6px; font-weight: 600; }
.bw-colon { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--bw-black); align-self: flex-start; margin-top: 10px; }
.darkbox .bw-countdown .lab, .or-right .bw-countdown .lab { color: #c2c6cc; }
.darkbox .bw-seg, .or-right .bw-seg { background: #000; }
.darkbox .bw-colon, .or-right .bw-colon { color: #fff; }
.orp-row.bw { color: #ff6a55; font-weight: 600; }
.orp-row.bw .strike { color: #ff6a55; text-decoration: none; }

/* ---- sale over overlay ---- */
.bw-ended { position: fixed; inset: 0; z-index: 9999; background: rgba(10,10,12,.95); color: #fff;
  display: none; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.bw-ended.show { display: flex; }
.bw-ended .bwe-card { max-width: 480px; }
.bw-ended .bwe-tag { color: var(--red-bright, #ff3b26); font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 14px; }
.bw-ended h2 { color: #fff; font-size: 1.9rem; }
.bw-ended p { color: #c2c6cc; margin-top: 12px; font-size: 1.05rem; }

@media (max-width: 560px) {
  .bw-bar .bwb-inner { font-size: .8rem; gap: 5px 10px; }
  .bw-price-line .now { font-size: 2.2rem; }
  .bw-seg { font-size: 1.3rem; min-width: 50px; padding: 9px; }
}
