/* Black Friday 2026 — stiluri comune pentru index.html și preturi.html.
   Logica (date, bară, secțiunea de oferte) e în /assets/js/blackfriday.js.
   Starea e pe <html data-bf="soon|live|off">. */

/* ── Prețuri „înainte / acum" din paginile existente ── */
html:not([data-bf="live"]) .bf-now { display: none; }
html[data-bf="live"] .bf-was {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: .55;
  font-weight: 500;
  font-size: .85em;
  margin-right: 8px;
}
html[data-bf="live"] .price-row-val .bf-was { font-size: .95em; }
html[data-bf="live"] .bf-was,
.bf-row-was { font-family: var(--fb, sans-serif); font-style: normal; font-weight: 400; }
html[data-bf="live"] .price-size-val .bf-was { display: block; margin: 0 0 2px; }
html[data-bf="live"] .bf-now { color: var(--or-tx, var(--or)); }
/* elemente vizibile doar în perioada ofertei (își păstrează display-ul propriu) */
html:not([data-bf="live"]) .bf-only { display: none; }

/* ── Bara de sus ── */
.bf-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 36px;
  display: none; align-items: center; justify-content: center; gap: 12px;
  padding: 0 14px;
  background: #c44000; color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
  text-decoration: none;
  font-family: var(--fb, sans-serif);
}
a.bf-bar:hover { background: #a83400; }
.bf-bar:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
html[data-bf="soon"] .bf-bar,
html[data-bf="live"] .bf-bar { display: flex; }
.bf-bar-tag { font-family: var(--fd, sans-serif); font-style: italic; font-weight: 900; font-size: 15px; letter-spacing: .08em; }
.bf-bar-msg, .bf-bar-time { display: none; opacity: .92; }
.bf-bar-time { font-variant-numeric: tabular-nums; }
.bf-bar-go { border-bottom: 1px solid rgba(255,255,255,.6); }
@media (min-width: 560px) { .bf-bar-time { display: inline; } }
@media (min-width: 900px) { .bf-bar-msg { display: inline; } }

/* header-ul fix și conținutul coboară sub bară */
html[data-bf="soon"] body,
html[data-bf="live"] body { padding-top: 36px; }
html[data-bf="soon"] .hdr,
html[data-bf="live"] .hdr { top: 36px; }
html[data-bf="soon"] .sec,
html[data-bf="live"] .sec { scroll-margin-top: 110px; }

/* ── Secțiunea cu oferte ── */
.bf-sec { display: none; background: var(--bg3); border-top: 3px solid var(--or); }
html[data-bf="live"] .bf-sec { display: block; }
.bf-grid { display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: 32px; }
@media (min-width: 700px) { .bf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bf-grid { grid-template-columns: repeat(3, 1fr); } }
.bf-card { background: var(--bg2); border: 1px solid var(--bdr); padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.bf-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bf-card-ttl { font-family: var(--fd, sans-serif); font-size: 21px; font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1.05; color: var(--tx); }
/* Aceeași scriere ca butoanele site-ului (DM Sans, majuscule, spațiere) — mai ușor de citit decât Barlow Black pe portocaliu */
.bf-badge {
  flex-shrink: 0; padding: 6px 11px;
  background: var(--or-btn, #c44000); color: #fff;
  font-family: var(--fb, sans-serif); font-size: 12px; font-weight: 600; font-style: normal;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  text-align: center;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.bf-rows { border-top: 1px solid var(--bdr); padding-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.bf-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.bf-row-l { color: var(--tx3); }
.bf-row-v { font-family: var(--fd, sans-serif); font-style: italic; font-weight: 700; color: var(--tx); white-space: nowrap; }
.bf-row-was { opacity: .55; font-size: .85em; margin-right: 8px; text-decoration: line-through; }
.bf-row-now { color: var(--or-tx, var(--or)); font-weight: 900; font-size: 1.12em; }
.bf-card-note { font-size: 11.5px; color: var(--tx3); line-height: 1.5; margin-top: auto; }
.bf-terms { list-style: none; margin: 28px 0 0; padding: 0; max-width: 720px; display: flex; flex-direction: column; gap: 6px; }
.bf-terms li { position: relative; padding-left: 14px; font-size: 13px; line-height: 1.6; color: var(--tx2); }
.bf-terms li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--or); }
.bf-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
