/* ==========================================================================
   Black Friday mode (utils/blackFriday.js, Admin → Setări → Teme sezoniere)
   Loaded while the campaign is in teaser or live phase (html[data-bf]) and on /black-friday.
   html.bf-mode = live. Dark theme becomes neutral black + one accent (signal yellow);
   light theme stays calm: only the top bar, the hero, the landing header and the badges go black.
   Contrast: #FFD400 on #0a0a0b 14:1; white on #E11D48 4.7:1; #FF4D67 on #0a0a0b 6:1.
   ========================================================================== */

:root {
  --tb-bf-bg: #0a0a0b;
  --tb-bf-surface: #151517;
  --tb-bf-stage: #1c1c20;
  --tb-bf-line: rgba(255, 255, 255, 0.10);
  --tb-bf-ink: #ffffff;
  --tb-bf-ink-2: #c9c9d1;
  --tb-bf-ink-3: #9a9aa4;
  --tb-bf-accent: #FFD400;
  --tb-bf-accent-ink: #0a0a0b;
  --tb-bf-hot: #FF4D67;
  --tb-bf-hot-fill: #E11D48;
}

/* ---------- Dark theme during the campaign: black canvas, yellow accent ---------- */
html.bf-mode:not(.light-mode) {
  --tb-canvas: #0a0a0b;
  --tb-surface: #141416;
  --tb-surface-2: #1b1b1f;
  --tb-stage: #1c1c21;
  --tb-ink: #f5f5f7;
  --tb-ink-2: #c8c8d0;
  --tb-ink-3: #93939d;
  --tb-line: rgba(255, 255, 255, 0.08);
  --tb-line-strong: rgba(255, 255, 255, 0.15);
  --tb-brand: var(--tb-bf-accent);
  --tb-brand-ink: var(--tb-bf-accent-ink);
  --tb-brand-text: var(--tb-bf-accent);
  --tb-brand-soft: color-mix(in srgb, var(--tb-bf-accent) 14%, transparent);
  --tb-shadow-2: 0 14px 34px -14px rgba(0, 0, 0, 0.8);
  /* Legacy store.css tokens (account pages, footer, drawers) */
  --bg-dark: #0a0a0b;
  --bg-darker: #050506;
  --bg-card: #141416;
  --header-bg: #0a0a0b;
  --bg-footer: #0a0a0b;
  --border-color: rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}
html.bf-mode:not(.light-mode),
html.bf-mode:not(.light-mode) body { background: #0a0a0b; }
html.bf-mode:not(.light-mode) body::before { display: none; }
html.bf-mode:not(.light-mode) .store-header { background: #0a0a0b; border-bottom-color: rgba(255, 255, 255, 0.08); }
html.bf-mode:not(.light-mode) .tb-btn--primary:hover { background: color-mix(in srgb, var(--tb-bf-accent) 86%, #fff); }
/* Cutouts on near-black stages: a faint rim light instead of a dark drop shadow */
html.bf-mode:not(.light-mode) .tb-stage {
  background:
    radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--tb-tint) 22%, transparent) 0%, transparent 70%),
    radial-gradient(70% 60% at 50% 38%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
    var(--tb-stage);
}
html.bf-mode:not(.light-mode) .tb-stage > img,
html.bf-mode:not(.light-mode) .tb-pcard--cutout .tb-pcard__media > .tb-pcard__img { filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.05)); }

/* ---------- Top bar (views/partials/bf-topbar.ejs), under the fixed header, scrolls away ---------- */
.tb-bfbar {
  position: relative;
  background: var(--tb-bf-bg);
  color: var(--tb-bf-ink);
  border-bottom: 1px solid var(--tb-bf-line);
  font-size: 0.875rem;
  line-height: 1.2;
}
html.light-mode .tb-bfbar { border-bottom-color: transparent; }
html.bf-bar-closed .tb-bfbar { display: none; }
.tb-bfbar__inner {
  display: flex; align-items: center; gap: 12px 18px;
  min-height: 44px; padding-top: 6px; padding-bottom: 6px;
  box-sizing: border-box;
}
.tb-bfbar__mark {
  flex: none;
  font-family: var(--tb-font-display); font-weight: 800; font-size: 0.875rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-bf-accent);
}
.tb-bfbar__text { margin: 0; color: var(--tb-bf-ink-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Tablets: the description would wrap to 3 lines next to the countdown and the button */
@media (max-width: 1023px) { .tb-bfbar__text { display: none; } }
.tb-bfbar__count { display: inline-flex; align-items: baseline; gap: 6px; color: var(--tb-bf-ink); white-space: nowrap; }
.tb-bfbar__count time,
.tb-bf-count {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  font-weight: 700; color: var(--tb-bf-ink);
  display: inline-block; min-width: 8.6ch; text-align: left;
}
.tb-bfbar__cta {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--tb-bf-accent); color: var(--tb-bf-accent-ink);
  font-weight: 700; font-size: 0.8125rem; text-decoration: none; white-space: nowrap;
}
.tb-bfbar__cta:hover { color: var(--tb-bf-accent-ink); background: color-mix(in srgb, var(--tb-bf-accent) 86%, #fff); text-decoration: none; }
.tb-bfbar__cta:focus-visible, .tb-bfbar__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tb-bfbar__close {
  flex: none; margin: 0 -8px 0 -6px;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--tb-bf-ink-3); cursor: pointer;
}
.tb-bfbar__close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.tb-bfbar__long { display: inline; }
.tb-bfbar__short { display: none; }
.tb-bfbar__ico { display: none; color: var(--tb-bf-accent); font-size: 0.8125rem; }
@media (max-width: 767px) {
  .tb-bfbar { font-size: 0.8125rem; }
  .tb-bfbar__inner { gap: 10px; min-height: 44px; }
  .tb-bfbar__text { display: none; }
  .tb-bfbar__long { display: none; }
  .tb-bfbar__short { display: inline; }
  .tb-bfbar__cta { height: 30px; padding: 0 12px; }
}
@media (max-width: 420px) {
  .tb-bfbar__inner { gap: 8px; }
  .tb-bfbar__lbl { display: none; }
  .tb-bfbar__ico { display: inline; }
  .tb-bfbar__mark { font-size: 0.75rem; letter-spacing: 0.05em; }
  .tb-bfbar__cta { padding: 0 10px; }
}

/* ---------- Header nav item + mobile drawer row ---------- */
.nav-link.nav-bf-link { gap: 8px; font-weight: 700; }
.nav-bf-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--tb-bf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tb-bf-accent) 28%, transparent);
}
html.light-mode .nav-bf-dot { background: #0a0a0b; box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.9); }
/* The extra "Black Friday" item needs ~120px of the header: up to 1365px drop the two text links that repeat other
   entries (Cumpără = the type menus, Contact = footer), as store.css already does below 1280px without the campaign */
@media (min-width: 1025px) and (max-width: 1365px) {
  html[data-bf] .header-nav-cta .nav-buy-btn,
  html[data-bf] .header-nav-cta .nav-contact-link { display: none; }
}
/* Small laptops (1025–1179px): the item shrinks to its dot (name kept for screen readers and as a tooltip); the top bar
   and the home hero carry the campaign */
@media (min-width: 1025px) and (max-width: 1179px) {
  html[data-bf] .nav-link.nav-bf-link { padding: 0 12px; }
  html[data-bf] .nav-bf-link .nav-bf-text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
.mobile-nav-row.mobile-nav-bf { font-weight: 700; }
.mobile-nav-row.mobile-nav-bf .nav-bf-dot { margin-right: 4px; }
/* store.css sizes every drawer row icon (.mobile-nav-row > span > i { width: 18px }): keep the dot round */
.mobile-nav-row > span > i.nav-bf-dot { width: 8px; height: 8px; min-width: 8px; flex: none; margin: 0 5px; }

/* ---------- Black Friday hero (views/partials/bf-hero.ejs) ---------- */
.tb-bfhero { padding: 16px 0 8px; }
.tb-bfhero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 24px; align-items: center;
  padding: 28px 20px 20px;
  border-radius: var(--tb-r-xl);
  background: var(--tb-bf-bg); color: var(--tb-bf-ink);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tb-bfhero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 70% at 82% 58%, color-mix(in srgb, var(--tb-bf-accent) 16%, transparent) 0%, transparent 70%),
    radial-gradient(40% 50% at 8% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}
.tb-bfhero__copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.tb-bfhero__eyebrow {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: 0.8125rem; color: var(--tb-bf-ink-2);
}
.tb-bfhero__logo { display: inline-flex; height: 34px; color: #fff; }
.tb-bfhero__logo svg { height: 100%; width: auto; }
.tb-bfhero__mark {
  font-family: var(--tb-font-display); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tb-bf-accent); font-size: 0.875rem;
}
.tb-bfhero__title {
  margin: 0; color: #fff; max-width: 18ch;
  font-family: var(--tb-font-display); font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.02; letter-spacing: -0.02em;
}
.tb-bfhero__lead { margin: 0; color: var(--tb-bf-ink-2); font-size: var(--tb-fs-md); line-height: 1.55; max-width: 46ch; }
.tb-bfhero__stats { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tb-bfhero__stats li {
  display: inline-flex; align-items: baseline; gap: 6px; height: 34px; align-items: center; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--tb-bf-line); color: var(--tb-bf-ink-2); font-size: 0.875rem;
}
.tb-bfhero__stats strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.tb-bfhero__stats .is-hot strong { color: var(--tb-bf-accent); }
.tb-bfhero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tb-bfhero .tb-btn--primary { background: var(--tb-bf-accent); color: var(--tb-bf-accent-ink); }
.tb-bfhero .tb-btn--primary:hover { background: color-mix(in srgb, var(--tb-bf-accent) 86%, #fff); color: var(--tb-bf-accent-ink); }
.tb-bfhero .tb-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.24); background: transparent; }
.tb-bfhero .tb-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: rgba(255, 255, 255, 0.04); }
.tb-bfhero :focus-visible { outline-color: var(--tb-bf-accent); }
.tb-bfhero__ends {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.875rem; color: var(--tb-bf-ink-2);
}
.tb-bfhero__ends .tb-bf-count { font-size: 1.125rem; color: #fff; min-width: 9ch; }
.tb-bfhero__fine { margin: 0; font-size: 0.75rem; color: var(--tb-bf-ink-3); line-height: 1.5; }
.tb-bfhero__fine a { color: var(--tb-bf-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.tb-bfhero__fine a:hover { color: #fff; }

.tb-bfhero__deals { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.tb-bfhero__deals[data-count="1"] { grid-template-columns: minmax(0, 260px); justify-content: center; }
.tb-bfhero__deals[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tb-bfhero__deal {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; align-content: start; gap: 8px; height: 100%; padding: 8px 8px 12px;
  border-radius: var(--tb-r-lg); background: var(--tb-bf-surface); border: 1px solid var(--tb-bf-line);
  color: #fff; text-decoration: none; transition: border-color .2s var(--tb-ease), transform .2s var(--tb-ease);
}
.tb-bfhero__deal:hover { color: #fff; text-decoration: none; border-color: color-mix(in srgb, var(--tb-bf-accent) 55%, transparent); }
.tb-bfhero__stage {
  --tb-tint: var(--tb-bf-stage);
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--tb-r-md);
  /* A soft light pool behind the cut-out keeps black finishes (Jet Black watch, Titanium Black) readable on the dark tile */
  background:
    radial-gradient(58% 52% at 50% 50%, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.05) 55%, transparent 76%),
    radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--tb-tint) 30%, transparent) 0%, transparent 72%),
    var(--tb-bf-stage);
}
/* Pinned to the tile: height:100% does not resolve inside the aspect-ratio grid cell, so the image used to overflow and get cut */
.tb-bfhero__stage > img {
  position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box;
  object-fit: contain; padding: 10%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.55));
}
/* Room for the BLACK FRIDAY / −X% chips above the product */
.tb-bfhero__stage:has(.tb-bfhero__flags) > img { padding: 19% 10% 6%; }
.tb-bfhero__stage--photo > img { padding: 0; object-fit: cover; filter: none; }
/* Round BF badge (partials/bf-badge.ejs) top-right; the product shrinks and sits bottom-left, out of its corner.
   Tiles are kept >= ~100px (phones: a 2-up scroller below) so the badge stays >= 38px and the amount readable. */
.tb-bfhero__stage > img.tb-bfbadge.tb-bfbadge--hero {
  inset: 4px 4px auto auto; width: clamp(38px, 38%, 96px); height: auto; padding: 0; box-sizing: border-box;
  object-fit: contain; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
.tb-bfhero__stage--bfbadge > img:not(.tb-bfbadge) { padding: 30% 28% 5% 5%; object-position: 30% 100%; }
.tb-bfhero__stage--bfbadge.tb-bfhero__stage--photo > img:not(.tb-bfbadge) { padding: 0; }
.tb-bfhero__flags { position: absolute; left: 8px; top: 8px; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.tb-bfhero__flags .tb-chip { height: 22px; padding: 0 7px; font-size: 11px; }
.tb-bfhero .tb-chip.tb-chip--bf { color: var(--tb-bf-accent-ink); background: var(--tb-bf-accent); }
.tb-bfhero__name { font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: #fff; padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-bfhero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 0 4px; font-variant-numeric: proportional-nums; }
.tb-bfhero__price b { font-family: var(--tb-font-display); font-size: 1.0625rem; font-weight: 800; color: #fff; }
.tb-bfhero__price s { font-size: 0.75rem; color: var(--tb-bf-ink-3); }
.tb-bfhero__price span { font-size: 0.75rem; color: var(--tb-bf-ink-2); }

@media (min-width: 900px) {
  .tb-bfhero { padding-top: 24px; }
  .tb-bfhero__panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; padding: 48px 44px; }
}
/* Laptop / small desktop: more room for the deal tiles so the round badge reads (>= 56px) */
@media (min-width: 900px) and (max-width: 1199px) {
  .tb-bfhero__panel { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px; padding: 40px 28px; }
  .tb-bfhero__stage > img.tb-bfbadge.tb-bfbadge--hero { width: clamp(56px, 38%, 96px); }
}
@media (max-width: 639px) {
  .tb-bfhero__panel { padding: 22px 16px 16px; border-radius: var(--tb-r-lg); }
  .tb-bfhero__deals { gap: 8px; }
  .tb-bfhero__deal { padding: 6px 6px 10px; }
  /* Three tiles in one row would be ~65px wide on a 320px phone: a 2-up snap scroller (the third peeks) instead */
  .tb-bfhero__deals:not([data-count="1"]) {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2.2);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tb-bfhero__deals[data-count="2"] { grid-auto-columns: calc((100% - 8px) / 2); }
  .tb-bfhero__deals::-webkit-scrollbar { display: none; }
  .tb-bfhero__deals > li { scroll-snap-align: start; min-width: 0; }
  .tb-bfhero__name { font-size: 0.8125rem; }
  .tb-bfhero__price b { font-size: 0.9375rem; }
  .tb-bfhero__actions .tb-btn { flex: 1 1 auto; }
}

/* ---------- Product card badges ---------- */
.tb-chip.tb-chip--bf {
  color: var(--tb-bf-accent); background: var(--tb-bf-bg); border-color: transparent;
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
html.bf-mode:not(.light-mode) .tb-chip.tb-chip--bf { color: var(--tb-bf-accent-ink); background: var(--tb-bf-accent); }
.tb-chip.tb-chip--off { color: #fff; background: var(--tb-bf-hot-fill); border-color: transparent; font-weight: 800; font-variant-numeric: tabular-nums; }
.tb-pcard.tb-pcard--bf.product-card { border-color: color-mix(in srgb, var(--tb-bf-accent) 45%, var(--tb-line)); }
html.light-mode .tb-pcard.tb-pcard--bf.product-card { border-color: #0a0a0b; }
html.bf-mode:not(.light-mode) .tb-pcard--bf .tb-price__save { color: var(--tb-bf-hot); }

/* ---------- Product page strip ---------- */
/* One 32px line above the price (chips + countdown), so the add-to-cart button stays above the fold at 1440×900 */
.pdp-bf {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  min-height: 28px; margin: 0 0 2px; padding: 0;
  color: var(--tb-ink-2); font-size: 0.8125rem;
}
/* The strip and the 30-day line add ~50px: the price box gives back some of its own spacing */
.pdp-price:has(> .pdp-bf) { margin-top: 12px; padding-top: 12px; }
.pdp-price:has(> .pdp-bf) .tb-price__ref { margin-top: 4px; }
.pdp-bf .tb-chip--bf { color: var(--tb-bf-accent-ink); background: var(--tb-bf-accent); }
html.light-mode .pdp-bf .tb-chip--bf { color: #FFD400; background: #0a0a0b; }
.pdp-bf__ends { display: inline-flex; align-items: baseline; gap: 5px; margin-left: auto; white-space: nowrap; }
.pdp-bf__ends .tb-bf-count { color: var(--tb-ink); font-weight: 700; }
@media (max-width: 479px) { .pdp-bf__ends { margin-left: 0; } }

/* ---------- Landing /black-friday ---------- */
.tb-bfland { padding-bottom: 48px; }
.tb-bfland__band {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 12px 0 20px; padding: 28px 20px; border-radius: var(--tb-r-xl);
  background: var(--tb-bf-bg); color: #fff; border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid; gap: 12px;
}
.tb-bfland__band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 90% at 92% 50%, color-mix(in srgb, var(--tb-bf-accent) 16%, transparent) 0%, transparent 70%);
}
.tb-bfland__band .tb-bfhero__mark { font-size: 0.8125rem; }
.tb-bfland__band .tb-btn--primary { background: var(--tb-bf-accent); color: var(--tb-bf-accent-ink); }
.tb-bfland__band .tb-btn--primary:hover { background: color-mix(in srgb, var(--tb-bf-accent) 86%, #fff); color: var(--tb-bf-accent-ink); }
.tb-bfland__band :focus-visible { outline-color: var(--tb-bf-accent); }
.tb-bfland__title { margin: 0; color: #fff; font-family: var(--tb-font-display); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.tb-bfland__lead { margin: 0; color: var(--tb-bf-ink-2); max-width: 60ch; line-height: 1.55; }
.tb-bfland__meta { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tb-bfland__meta li { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--tb-bf-line); color: var(--tb-bf-ink-2); font-size: 0.8125rem; }
.tb-bfland__meta strong { color: #fff; font-variant-numeric: tabular-nums; }
.tb-bfland__meta .is-hot strong { color: var(--tb-bf-accent); }
@media (min-width: 900px) { .tb-bfland__band { padding: 36px 40px; } }

.tb-bfland__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; }
.tb-bfland__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tb-bfland__chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--tb-line-strong); background: var(--tb-surface); color: var(--tb-ink-2);
  font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.tb-bfland__chip small { color: var(--tb-ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.tb-bfland__chip:hover { color: var(--tb-ink); border-color: var(--tb-ink-3); text-decoration: none; }
.tb-bfland__chip[aria-current="true"] { background: var(--tb-ink); color: var(--tb-canvas); border-color: var(--tb-ink); }
.tb-bfland__chip[aria-current="true"] small { color: inherit; opacity: .7; }
.tb-bfland__group { display: grid; gap: 8px; margin: 0 0 14px; }
.tb-bfland__group-label { font-size: var(--tb-fs-xs); font-weight: 600; color: var(--tb-ink-3); text-transform: uppercase; letter-spacing: .06em; }
.tb-bfland__sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: var(--tb-fs-sm); color: var(--tb-ink-3); }
.tb-bfland__sort select { min-width: 190px; }
.tb-bfland__count { margin: 0; font-size: var(--tb-fs-sm); color: var(--tb-ink-3); }
.tb-bfland__legal { margin: 28px 0 0; font-size: 0.8125rem; color: var(--tb-ink-3); line-height: 1.6; max-width: 80ch; }
.tb-bfland__legal a { color: var(--tb-ink-2); }
@media (max-width: 639px) {
  .tb-bfland__band { padding: 22px 16px; border-radius: var(--tb-r-lg); }
  .tb-bfland__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .tb-bfland__filters::-webkit-scrollbar { display: none; }
  .tb-bfland__sort { margin-left: 0; width: 100%; }
  .tb-bfland__sort select { flex: 1; min-width: 0; }
}

/* Rules page */
.tb-bfrules { max-width: 760px; padding: 24px 0 56px; }
.tb-bfrules__kicker { font-family: var(--tb-font-display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8125rem; color: var(--tb-ink-3); }
.tb-bfrules h1 { font-size: var(--tb-fs-3xl); margin: 8px 0 16px; color: var(--tb-ink); }
.tb-bfrules h2 { font-size: var(--tb-fs-lg); margin: 24px 0 8px; color: var(--tb-ink); }
.tb-bfrules p, .tb-bfrules li { color: var(--tb-ink-2); line-height: 1.65; }

@media (prefers-reduced-motion: reduce) {
  .tb-bfhero__deal { transition: none; }
}
