/* airsoft.ro · bara Black Friday 2026 (numărătoare inversă).
   Culori și fonturi din tema magazinului: --a26-* vin din customCSS-ul Journal3 (fallback-urile sunt aceleași valori).
   Totul sub .a26-bf: Journal3 pune !important pe culoarea linkurilor, deci unde e nevoie îl folosim și noi. */

.a26-bf {
  --bf-ink: #141416;
  --bf-plate: #2a2b2e;
  --bf-plate-hi: #3a393e;
  --bf-yellow: var(--a26-yellow, #fbd21e);
  --bf-yellow-hover: #ffe15c;
  --bf-text: #ffffff;
  --bf-muted: #a6a6ad;
  --bf-h: 44px;
  --bf-display: var(--a26-font-display, Oswald, "Arial Narrow", Arial, sans-serif);
  --bf-body: var(--a26-font-body, "Open Sans", Arial, sans-serif);
  --bf-ease: cubic-bezier(0.23, 1, 0.32, 1);

  display: block;
  position: relative;
  box-sizing: border-box;
  height: var(--bf-h);
  overflow: hidden;
  background-color: var(--bf-ink);
  /* dungi diagonale foarte fine, ca marcajul de pe echipament; sub 4% ca să nu concureze cu textul */
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 10px);
  box-shadow: inset 0 -1px 0 rgba(251, 210, 30, 0.45);
  color: var(--bf-text) !important;
  font-family: var(--bf-body);
  font-size: 14px;
  line-height: 1;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

.a26-bf[hidden] { display: none; }

.a26-bf *, .a26-bf *::before, .a26-bf *::after { box-sizing: border-box; }

.a26-bf__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  max-width: var(--a26-content, 1280px);
  margin: 0 auto;
  padding: 0 16px;
  white-space: nowrap;
}

/* ---------- faze ---------- */
.a26-bf[data-phase="teaser"] .a26-bf__msg--live,
.a26-bf[data-phase="teaser"] .a26-bf__sep { display: none; }
.a26-bf[data-phase="live"] .a26-bf__msg--teaser { display: none; }

/* ---------- text ---------- */
.a26-bf__brand {
  font-family: var(--bf-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bf-yellow);
}

.a26-bf__msg {
  font-weight: 600;
  color: var(--bf-text);
}

.a26-bf__short { display: none; }

.a26-bf__sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
}

.a26-bf__ends {
  color: var(--bf-muted);
  font-weight: 400;
}

/* ---------- numărătoarea ---------- */
.a26-bf__clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.a26-bf__u {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.a26-bf__n {
  display: inline-block;
  min-width: 30px;
  padding: 6px 4px 5px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bf-plate);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 0 rgba(0, 0, 0, 0.5);
  color: var(--bf-text);
  font-family: var(--bf-display);
  font-weight: 500;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-align: center;
}

.a26-bf__l {
  font-style: normal;
  font-size: 12px;
  color: var(--bf-muted);
}

.a26-bf__ls { display: none; }

/* ---------- buton ---------- */
/* fără link (categoria nu există încă) butonul n-are sens */
.a26-bf:not(a) .a26-bf__cta { display: none; }

.a26-bf__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 8px 12px 7px 14px;
  border-radius: 3px;
  background: var(--bf-yellow);
  color: #202020;
  font-family: var(--bf-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 150ms ease, transform 120ms var(--bf-ease);
}

.a26-bf__chev {
  flex: none;
  transition: transform 180ms var(--bf-ease);
}

a.a26-bf:active .a26-bf__cta { transform: scale(0.97); }

a.a26-bf:focus-visible {
  outline: 3px solid var(--bf-yellow);
  outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
  a.a26-bf:hover .a26-bf__cta { background: var(--bf-yellow-hover); }
  a.a26-bf:hover .a26-bf__chev { transform: translateX(3px); }
  a.a26-bf:hover { background-color: #1a1a1d; }
}

@media (prefers-reduced-motion: reduce) {
  .a26-bf__chev, .a26-bf__cta { transition: background-color 150ms ease; }
  a.a26-bf:active .a26-bf__cta { transform: none; }
  a.a26-bf:hover .a26-bf__chev { transform: none; }
}

/* ---------- tabletă îngustă ---------- */
@media (max-width: 991px) {
  .a26-bf__in { gap: 10px; }
  .a26-bf__ends { display: none; }
}

/* ---------- telefon: o singură linie, „BLACK FRIDAY −50% · 16z 12:04:33 ›” ---------- */
@media (max-width: 767px) {
  .a26-bf { --bf-h: 40px; font-size: 13px; }
  .a26-bf__in { gap: 8px; padding: 0 12px; justify-content: center; }
  .a26-bf__brand { font-size: 15px; }
  .a26-bf__full { display: none; }
  .a26-bf__short { display: inline; color: var(--bf-yellow); font-family: var(--bf-display); font-weight: 600; font-size: 15px; }
  .a26-bf__msg--teaser { font-size: 12px; font-weight: 400; color: var(--bf-muted); }
  .a26-bf__sep, .a26-bf[data-phase="live"] .a26-bf__sep, .a26-bf__ends, .a26-bf__cta-t { display: none !important; }
  .a26-bf__clock { gap: 0; }
  .a26-bf__u { gap: 0; }
  .a26-bf__u + .a26-bf__u::before { content: ":"; padding: 0 2px; color: var(--bf-muted); font-family: var(--bf-display); font-size: 15px; }
  .a26-bf__u--d + .a26-bf__u::before { content: none; }
  .a26-bf__u--d { margin-right: 6px; }
  .a26-bf__n { min-width: 0; padding: 4px 3px 3px; font-size: 15px; background: var(--bf-plate); }
  .a26-bf__u--d .a26-bf__n { background: transparent; box-shadow: none; padding-right: 0; }
  .a26-bf__lf { display: none; }
  .a26-bf__ls { display: inline; color: var(--bf-muted); font-family: var(--bf-display); font-size: 15px; }
  .a26-bf__cta { margin: 0; padding: 0; background: none; color: var(--bf-yellow); }
}

@media (max-width: 359px) {
  .a26-bf__in { gap: 6px; padding: 0 8px; }
  .a26-bf__brand, .a26-bf__short { font-size: 14px; }
}

@media print { .a26-bf { display: none; } }
