/* ═══════════════════════════════════════════════════════════════════════════
   Tema Black Friday 2026 — Varianta C „Contrast” (+ bannerul din Varianta B)
   Se incarca DOAR cu BF_THEME=1 (vezi base_mpa.html), dupa style.css.
   Nu modifica style.css: totul de aici doar suprascrie. Adminul nu o incarca.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. Paleta: variabilele din style.css ──────────────────────────────── */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0f0d0c;
  --surface2: #141110;
  --surface3: #1c1816;
  --border: #262120;
  --border-soft: #1f1a18;
  --text: #fff;
  --text-2: #b3aaa3;
  --text-3: #8a817b;
  --orange: #ff5a0a;
  --orange-l: #ff7a33;
  --orange-bg: #2a1407;
  --orange-border: #5a2a10;
  --green: #7ee2a3;
  --green-bg: #0d1f14;
  --green-border: #1f4a30;
  --accent-line: #ff5a0a;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.6);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.6);
  --shadow-md: 0 6px 20px rgba(0,0,0,.6);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.7);
  --shadow-orange: 0 4px 18px rgba(255,90,10,.25);
  --bf-input: #141110;
  --bf-input-line: #3a3330;
  --bf-red: #ff8a80;
  --bf-red-bg: #2a0d0d;
  --bf-red-line: #5a1d1d;
  --bf-banner: #e44c04;            /* portocaliul fotografiei banner-bf */
}
body.bf-theme { background: #000; color: #fff; }

/* Reguli din style.css care folosesc var(--text) ca FUNDAL (ar deveni albe) */
.bf-theme .hero-banner { background: #000; }
.bf-theme footer { background: #000; border-top: 1px solid var(--border); color: rgba(255,255,255,.8); }
.bf-theme .nl-box { background: var(--surface); border: 1px solid var(--border); }
.bf-theme .toast { background: var(--surface3); border: 1px solid var(--bf-input-line); }
.bf-theme .cookie-banner { background: var(--surface); border-top: 1px solid var(--border); }

/* ─── 2. Navigare, logo, meniu ──────────────────────────────────────────── */
.bf-theme nav { background: #000; border-bottom-color: var(--border-soft); }
.bf-theme .mob-nav { background: #000; border-top-color: var(--border-soft); }
.bf-theme .mnb.act { background: var(--orange-bg); }
.bf-theme .mnb-bf, .bf-theme .mnb-bf:hover { color: var(--orange); }
.bf-theme .nav-link-btn.nav-bf { color: var(--orange); }
.bf-theme .nav-link-btn.nav-bf:hover { color: var(--orange-l); background: var(--orange-bg); }

.bf-theme .bf-logo { width: 38px; height: auto; display: block; flex-shrink: 0;
  filter: drop-shadow(0 0 1.5px rgba(255,255,255,.6)) drop-shadow(0 0 6px rgba(255,255,255,.2)); }
/* „NIRUS” / „RETAIL” au culori inline in base_mpa.html */
.bf-theme .logo span[style*="#1C1917"] { color: #fff !important; }
.bf-theme .logo span[style*="#999"] { color: var(--text-2) !important; }

.bf-theme .cat-dropdown-btn:hover,
.bf-theme .cat-dropdown-btn.open { background: var(--surface2); }
.bf-theme .cat-dropdown-menu { background: var(--surface); border-color: var(--border); }

/* Butoane portocalii: text negru pe #ff5a0a (ca in macheta C) */
.bf-theme .cart-btn, .bf-theme .btn-primary, .bf-theme .checkout-btn,
.bf-theme .place-order-btn, .bf-theme .wd-btn, .bf-theme .disc-accept-btn,
.bf-theme .cookie-accept, .bf-theme .hb-slide-cta, .bf-theme .float-cart,
.bf-theme .pcard-disc, .bf-theme .wd-num, .bf-theme .mnb .mc,
.bf-theme .legal-tab.active, .bf-theme .acc-tab.active,
.bf-theme .pagination .current-page { color: #000; }
.bf-theme .cart-badge { background: #000; color: var(--orange); }

/* ─── 3. Carduri, produs, stari ─────────────────────────────────────────── */
.bf-theme .pcard:hover { border-color: var(--bf-input-line); }
.bf-theme .btn-outline, .bf-theme .add-to-cart, .bf-theme .wd-btn-sec { background: transparent; color: var(--text); }
.bf-theme .ftag { background: var(--surface); }
.bf-theme .wish-btn { background: rgba(15,13,12,.92); }
.bf-theme .wish-btn.wished,
.bf-theme .d-fav:hover, .bf-theme .d-fav.wished { background: #2a0d14; border-color: #5a1d2a; color: #ff6b81; }

.bf-theme .pcard-cond, .bf-theme .d-cond, .bf-theme .ci-cond { color: #7ee2a3; }
.bf-theme .green-dot { background: #7ee2a3; }
.bf-theme .pcard-cond.is-defect { color: var(--bf-red); }
.bf-theme .pcard-cond.is-defect .green-dot { background: var(--bf-red); }
.bf-theme .d-cond.is-defect, .bf-theme .d-defect-note, .bf-theme .wd-msg {
  background: var(--bf-red-bg); border-color: var(--bf-red-line); color: var(--bf-red); }
.bf-theme .d-shipping { background: #0d1626; border-color: #1e3a5f; color: #8cc4ff; }
.bf-theme .stock-low { background: #2a1f05; border-color: #5a4310; color: #fbbf24; }
.bf-theme .stock-out { background: var(--bf-red-bg); border-color: var(--bf-red-line); color: var(--bf-red); }
.bf-theme .ci-remove { border-color: var(--bf-red-line); color: var(--bf-red); }
.bf-theme .ci-remove:hover { background: var(--bf-red-bg); border-color: var(--bf-red); }

.bf-theme .mobile-checkout-bar { background: rgba(0,0,0,.97); }
.bf-theme .disclaimer-card { background: var(--surface); border: 1px solid var(--border); }
.bf-theme .disc-point-icon[style*="#eff6ff"] { background: #0d1626 !important; border-color: #1e3a5f !important; }

/* Mesaje de eroare cu rosu inchis inline (cos, comanda) */
.bf-theme [style*="color:#b91c1c"],
.bf-theme [style*="rgb(185, 28, 28)"] { color: var(--bf-red) !important; }   /* setat din JS (el.style.color) */
.bf-theme #checkoutError { background: var(--bf-red-bg) !important; border-color: var(--bf-red-line) !important; color: var(--bf-red) !important; }

/* ─── 4. Formulare: cos, date comanda, retragere, cautare, sortare ──────── */
.bf-theme input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]),
.bf-theme select,
.bf-theme textarea,
.bf-theme .form-group input, .bf-theme .form-group select, .bf-theme .form-group textarea,
.bf-theme .auth-page .form-group input,
.bf-theme .account-page .form-group input, .bf-theme .account-page .form-group select,
.bf-theme .search-full, .bf-theme .sort-select, .bf-theme .coupon-input, .bf-theme .nl-input {
  background: var(--bf-input);
  color: #fff;
  border: 1.5px solid var(--bf-input-line);
}
.bf-theme input:focus, .bf-theme select:focus, .bf-theme textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,90,10,.25);
}
.bf-theme input::placeholder, .bf-theme textarea::placeholder { color: var(--text-3); opacity: 1; }
.bf-theme select option, .bf-theme .sort-select option,
.bf-theme .form-group select option, .bf-theme .account-page .form-group select option { background: var(--bf-input); color: #fff; }
.bf-theme input:-webkit-autofill, .bf-theme textarea:-webkit-autofill, .bf-theme select:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px var(--bf-input) inset;
  caret-color: #fff;
}
.bf-theme input[type="checkbox"], .bf-theme input[type="radio"] { accent-color: var(--orange); }
.bf-theme .coupon-btn { background: var(--surface2); }

/* ─── 5. Banda de anunt (ticker) ────────────────────────────────────────── */
.bf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bf-strip { position: relative; background: #ff5a0a; color: #000; font-family: 'Montserrat', sans-serif;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; white-space: nowrap; line-height: 1.2; }
.bf-strip p { margin: 0; }
.bf-strip-run { display: inline-flex; padding: 9px 0; animation: bf-run 40s linear infinite; will-change: transform; }
/* margin (nu gap) ca -50% sa cada exact la inceputul repetitiei */
.bf-strip-run span { margin-right: 34px; }
.bf-strip-run span::before { content: "●"; margin-right: 12px; font-size: .8em; vertical-align: .1em; }
@keyframes bf-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .bf-strip { white-space: normal; }
  .bf-strip-run { animation: none; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 4px; width: 100%; padding: 8px 12px; }
  .bf-strip-run span { margin: 0 12px; }
  .bf-strip-run span:nth-child(n+5) { display: none; }
}

/* ─── 6. Slide-ul Black Friday (bannerul din Varianta B) ────────────────── */
.bf-theme .hero-banner .hb-slide.bf-slide {
  cursor: default; justify-content: flex-start; align-items: center;
  min-height: clamp(420px, 42.86vw, 640px); background: var(--bf-banner); color: #0e0c0b;
}
.bf-slide picture { position: absolute; inset: 0; z-index: 0; }
.bf-slide .bf-slide-bg { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.bf-slide-shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(228,76,4,.55) 0%, rgba(228,76,4,0) 55%); }
.bf-slide-txt { position: relative; z-index: 2; width: 100%; max-width: 1300px; margin: 0 auto;
  padding: 40px 5%; display: flex; flex-direction: column; gap: 12px; }
.bf-slide-txt > * { max-width: 600px; }
.bf-eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #0e0c0b; }
.bf-title { margin: 0; font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; font-weight: 400;
  font-size: clamp(54px, 8vw, 96px); line-height: .92; letter-spacing: .01em; color: #0e0c0b; }
.bf-title em { font-style: normal; color: #fff; display: block; font-size: .5em; letter-spacing: .03em; margin-top: 6px; }
.bf-desc { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.55; max-width: 46ch; color: #1c1917; }
.bf-weeks { list-style: none; margin: 8px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.bf-wk { border-radius: 9px; padding: 8px 10px; font-size: 11.5px; font-weight: 700; line-height: 1.3;
  background: rgba(255,255,255,.18); color: #1c1917; border: 1px solid rgba(14,12,11,.25); min-width: 0; }
.bf-wk b { display: block; font-size: 13px; }
.bf-wk { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }   /* nume lungi de categorie */
.bf-cta { align-self: flex-start; background: #0e0c0b; color: #fff; font-weight: 800; font-size: 15px;
  padding: 13px 22px; border-radius: 10px; margin-top: 4px; text-decoration: none; transition: transform .18s, background .18s; }
.bf-cta:hover { background: #000; color: #fff; transform: translateY(-2px); }
.bf-cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Ecrane medii: etichetele negre ajung sub text → umbra portocalie mai puternica */
@media (min-width: 761px) and (max-width: 1199px) {
  .bf-slide-shade { background: linear-gradient(90deg, rgba(228,76,4,.92) 0%, rgba(228,76,4,.75) 50%, rgba(228,76,4,0) 75%); }
}

/* Telefon: imaginea 4:5 sus, textul jos peste o umbra portocalie */
@media (max-width: 760px) {
  .bf-theme .hero-banner .hb-slide.bf-slide { min-height: 0; align-items: flex-end; padding-top: 72vw; }
  .bf-slide picture { bottom: auto; height: 125vw; }
  .bf-slide .bf-slide-bg { object-position: center top; }
  .bf-slide-shade { display: none; }
  .bf-slide-txt { padding: 96px 18px 26px;
    background: linear-gradient(180deg, rgba(228,76,4,0) 0, rgba(228,76,4,.88) 80px, var(--bf-banner) 140px); }
  .bf-title { font-size: clamp(48px, 15vw, 64px); }
  .bf-desc { font-size: 15px; }
  .bf-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─── 7. Preturi Black Friday (varianta C) ─────────────────────────────────
   bf_on / bf_locked vin din bf_pricing.effective_price (server). */
.bf-theme .pcard.pcard-bf { border-color: #ff5a0a; }
.bf-theme .pcard-img { position: relative; }
.bf-theme .pcard-bf-ribbon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: #ff5a0a; color: #000; text-align: center; padding: 6px 4px;
  font-size: 12.5px; font-weight: 900; letter-spacing: .06em; line-height: 1.2; white-space: nowrap; }
.bf-theme .pcard-bf-ribbon b { font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; font-weight: 400;
  font-size: 16px; margin-left: 6px; letter-spacing: .02em; }
.bf-theme .pcard-price-bf { align-items: center; gap: 8px; }
.bf-theme .pcard-price-bf .now { background: #ff5a0a; color: #000; padding: 1px 8px; border-radius: 6px;
  font-size: 1.3rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.bf-theme .pcard-price-bf .was { font-size: .82rem; font-weight: 600; color: #8a817b;
  text-decoration: line-through; text-decoration-thickness: 1.5px; }
.bf-theme .pcard-bf-soon { font-size: .7rem; font-weight: 700; color: var(--text-2); margin: -4px 0 8px; line-height: 1.3; }
.bf-theme .pcard-bf-soon::before { content: "🔒 "; }
@media (max-width: 700px) {
  .bf-theme .pcard-bf-ribbon { font-size: 10px; letter-spacing: .03em; padding: 5px 4px; }
  .bf-theme .pcard-bf-ribbon b { font-size: 13px; margin-left: 4px; }
  .bf-theme .pcard-price-bf .now { font-size: 1.1rem; }
}

/* Pagina de produs */
.bf-theme .d-price-wrap.d-price-bf { background: #0f0d0c; border: 2px solid #ff5a0a; }
.bf-theme .d-bf-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bf-theme .d-price-bf .d-price-big { background: #ff5a0a; color: #000; padding: 1px 10px; border-radius: 8px;
  font-size: 2.1rem; font-variant-numeric: tabular-nums; }
.bf-theme .d-price-bf .d-price-was { margin-left: 0; font-size: 1rem; font-weight: 600; color: #8a817b;
  text-decoration-thickness: 1.5px; }
.bf-theme .d-bf-save { margin-top: 8px; font-size: .86rem; font-weight: 700; color: #7ee2a3; }
.bf-theme .d-bf-soon { margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--text-2); }
.bf-theme .d-bf-soon::before { content: "🔒 "; }

/* /black-friday fara nimic deblocat */
.bf-theme .bf-empty-title { font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05; color: #ff5a0a; margin-bottom: .6rem; }
