/* Black Friday 2026 landing page – product/blackfriday */
.bf {
  --bf-bg: #07070b;
  --bf-surface: #111118;
  --bf-surface-2: #181822;
  --bf-line: rgba(255,255,255,.09);
  --bf-text: #f5f5f7;
  --bf-muted: #a1a1b3;
  --bf-hot: #ff2d55;
  --bf-amber: #ffb800;
  --bf-grad: linear-gradient(100deg, #ff2d55 0%, #ff6a2b 45%, #ffb800 100%);
  --bf-radius: 16px;
  --bf-display: 'Unbounded', 'Open Sans', Arial, sans-serif;
  background: var(--bf-bg);
  color: var(--bf-text);
  font-family: 'Open Sans', Arial, sans-serif;
  overflow-x: clip; /* not "hidden": that would break the sticky category nav */
  position: relative;
}
.bf *, .bf *::before, .bf *::after { box-sizing: border-box; }
.bf a { color: inherit; }
.bf a:hover, .bf a:focus { text-decoration: none; }
.bf-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }

/* ---------- hero ---------- */
.bf-hero { position: relative; padding: 56px 0 48px; isolation: isolate; }
.bf-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 380px at 12% 20%, rgba(255,45,85,.28), transparent 70%),
    radial-gradient(700px 420px at 92% 10%, rgba(255,184,0,.18), transparent 70%),
    radial-gradient(500px 300px at 60% 110%, rgba(255,106,43,.22), transparent 70%);
}
.bf-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
          mask-image: linear-gradient(180deg, #000 30%, transparent);
  animation: bf-stripes 18s linear infinite;
}
@keyframes bf-stripes { to { background-position: 440px 0; } }

.bf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.bf-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bf-amber); border: 1px solid rgba(255,184,0,.35); border-radius: 999px; padding: 7px 14px;
  background: rgba(255,184,0,.06);
}
.bf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bf-hot); box-shadow: 0 0 0 0 rgba(255,45,85,.7); animation: bf-pulse 1.6s infinite; }
@keyframes bf-pulse { 70% { box-shadow: 0 0 0 10px rgba(255,45,85,0); } 100% { box-shadow: 0 0 0 0 rgba(255,45,85,0); } }

.bf-title {
  font-family: var(--bf-display); font-weight: 900; line-height: .92; letter-spacing: -.02em;
  font-size: clamp(46px, 8.4vw, 104px); margin: 22px 0 18px; color: var(--bf-text); text-transform: uppercase;
}
.bf-title span { display: block; background: var(--bf-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-lead { font-size: 19px; line-height: 1.5; color: #d6d6e0; max-width: 560px; margin: 0 0 26px; }
.bf-lead b { color: #fff; }

.bf-count-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-muted); margin-bottom: 10px; font-weight: 700; }
.bf-count { display: flex; gap: 10px; margin-bottom: 28px; }
.bf-count-box {
  min-width: 82px; text-align: center; padding: 12px 8px 10px; border-radius: 14px;
  background: linear-gradient(180deg, #1d1d28, #121219); border: 1px solid var(--bf-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.35);
}
.bf-count-box b { display: block; font-family: var(--bf-display); font-size: 36px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bf-count-box small { display: block; margin-top: 6px; font-size: 11px; color: var(--bf-muted); text-transform: uppercase; letter-spacing: .1em; }

.bf-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: .02em;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; line-height: 1.1;
}
.bf-btn:active { transform: translateY(1px); }
.bf-btn-primary { background: var(--bf-grad); color: #12060a !important; box-shadow: 0 10px 34px rgba(255,45,85,.35); }
.bf-btn-primary:hover { box-shadow: 0 14px 44px rgba(255,106,43,.5); transform: translateY(-1px); }
.bf-btn-ghost { background: rgba(255,255,255,.04); color: #fff !important; border: 1px solid rgba(255,255,255,.22); }
.bf-btn-ghost:hover { background: rgba(255,255,255,.1); }

.bf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf-stat {
  border-radius: var(--bf-radius); padding: 22px 20px; background: var(--bf-surface);
  border: 1px solid var(--bf-line); position: relative; overflow: hidden;
}
.bf-stat-big { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(255,45,85,.18), rgba(255,184,0,.08)), var(--bf-surface); border-color: rgba(255,106,43,.35); }
.bf-stat b { display: block; font-family: var(--bf-display); font-weight: 900; font-size: 30px; line-height: 1.05; }
.bf-stat-big b { font-size: clamp(52px, 6vw, 76px); background: var(--bf-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-stat span { display: block; margin-top: 6px; color: var(--bf-muted); font-size: 14px; line-height: 1.35; }

/* ---------- category nav ---------- */
.bf-nav { position: sticky; top: 0; z-index: 30; background: rgba(7,7,11,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--bf-line); border-bottom: 1px solid var(--bf-line); }
.bf-nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.bf-nav ul::-webkit-scrollbar { display: none; }
.bf-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #e6e6ee;
  background: var(--bf-surface-2); border: 1px solid var(--bf-line); transition: all .15s ease;
}
.bf-nav a em { font-style: normal; font-size: 12px; color: var(--bf-muted); font-weight: 600; }
.bf-nav a:hover, .bf-nav a.is-active { background: #fff; color: #0b0b10; border-color: #fff; }
.bf-nav a:hover em, .bf-nav a.is-active em { color: #55556a; }

/* ---------- sections ---------- */
.bf-section { padding: 56px 0 8px; scroll-margin-top: 70px; }
.bf-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.bf-section-head h2 {
  font-family: var(--bf-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05;
  margin: 0; color: #fff; text-transform: none; display: flex; align-items: baseline; gap: 14px;
}
.bf-section-head h2 i { font-style: normal; font-size: .5em; font-weight: 700; color: var(--bf-hot); letter-spacing: .05em; }
.bf-section-head p { margin: 8px 0 0; color: var(--bf-muted); font-size: 15px; }
.bf-section-tag { font-size: 13px; font-weight: 700; color: var(--bf-amber); border: 1px solid rgba(255,184,0,.3); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

.bf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bf-more-grid { margin-top: 18px; }
.bf-more-grid[hidden] { display: none; }

/* ---------- card ---------- */
.bf-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--bf-surface); border: 1px solid var(--bf-line); border-radius: var(--bf-radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bf-card:hover { transform: translateY(-4px); border-color: rgba(255,106,43,.55); box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,106,43,.25); }
.bf-card-media { position: relative; display: block; aspect-ratio: 1 / .78; background: #fff; overflow: hidden; }
.bf-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s ease; }
.bf-card:hover .bf-card-media img { transform: scale(1.05); }
.bf-card-media.is-art { background: radial-gradient(120% 90% at 50% 0%, #262634, #14141c); display: flex; align-items: center; justify-content: center; }
.bf-card-media.is-art svg { width: 58%; height: auto; opacity: .95; }
.bf-card-media.is-art::after { content: 'Снимка скоро'; position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 11px; color: #6f6f82; letter-spacing: .08em; text-transform: uppercase; }

.bf-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--bf-display); font-weight: 900; font-size: 20px; line-height: 1;
  padding: 9px 11px 8px; border-radius: 10px; color: #fff; background: var(--bf-hot);
  box-shadow: 0 8px 20px rgba(255,45,85,.45); transform: rotate(-4deg);
}
.bf-hot {
  position: absolute; top: 14px; right: 12px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  padding: 6px 9px; border-radius: 999px; color: #1b0f00; background: var(--bf-amber);
}
.bf-card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.bf-grade { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-muted); }
.bf-card-title { font-size: 17px; font-weight: 800; line-height: 1.25; margin: 0; color: #fff; min-height: 2.5em; }
.bf-card-title a:hover { color: var(--bf-amber); }
.bf-specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bf-specs li { font-size: 12px; line-height: 1; padding: 6px 8px; border-radius: 7px; background: var(--bf-surface-2); color: #d3d3de; border: 1px solid var(--bf-line); }

.bf-price { margin-top: auto; padding-top: 6px; }
.bf-price-old { font-size: 14px; color: var(--bf-muted); text-decoration: line-through; text-decoration-color: var(--bf-hot); }
.bf-price-new { display: block; font-family: var(--bf-display); font-weight: 900; font-size: 30px; line-height: 1.1; color: var(--bf-amber); letter-spacing: -.01em; }
.bf-price-save { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #4ade80; }
.bf-price.is-locked .bf-price-new { color: transparent; text-shadow: 0 0 14px rgba(255,184,0,.9); user-select: none; }
.bf-price.is-locked .bf-lock { display: block; font-size: 13px; color: var(--bf-muted); margin-top: 6px; }

.bf-stock { font-size: 13px; font-weight: 700; color: #ff8a8a; display: flex; align-items: center; gap: 6px; }
.bf-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--bf-hot); animation: bf-pulse 1.6s infinite; }

.bf-actions { display: flex; gap: 8px; }
.bf-add {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 12px; font-weight: 800; font-size: 14px; cursor: pointer;
  background: #fff; color: #0b0b10; transition: background .15s ease, color .15s ease, transform .1s ease;
}
.bf-add:hover { background: var(--bf-grad); color: #12060a; }
.bf-add:disabled { background: #2a2a36; color: #8b8b9c; cursor: not-allowed; }
.bf-add.is-done { background: #22c55e; color: #fff; }
.bf-details { display: inline-flex; align-items: center; justify-content: center; width: 46px; border-radius: 12px; border: 1px solid var(--bf-line); color: #fff; background: var(--bf-surface-2); }
.bf-details:hover { border-color: #fff; color: #fff; }

.bf-card.is-sold .bf-card-media::before {
  content: 'РАЗПРОДАДЕНО'; position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  background: rgba(7,7,11,.72); color: #fff; font-family: var(--bf-display); font-weight: 800; letter-spacing: .08em; font-size: 18px;
}
.bf-card.is-sold { opacity: .7; }

.bf-more { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- strip / footer ---------- */
.bf-perks { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; padding: 56px 0 64px; }
.bf-perk { padding: 20px; border-radius: var(--bf-radius); background: var(--bf-surface); border: 1px solid var(--bf-line); }
.bf-perk b { display: block; font-size: 16px; color: #fff; margin-bottom: 4px; }
.bf-perk span { color: var(--bf-muted); font-size: 14px; line-height: 1.4; }
.bf-perk .fa { font-size: 22px; color: var(--bf-amber); margin-bottom: 10px; display: block; }

.bf-preview-bar { background: #ffb800; color: #1b0f00; text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }
.bf-ended { padding: 40px 0 80px; text-align: center; }

/* ---------- toast ---------- */
.bf-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 9999; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  background: #fff; color: #0b0b10; padding: 14px 16px 14px 18px; border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45); transition: transform .3s cubic-bezier(.2,.9,.3,1.2); font-size: 14px;
}
.bf-toast.is-on { transform: translate(-50%, 0); }
.bf-toast a { white-space: nowrap; font-weight: 800; padding: 9px 14px; border-radius: 10px; background: #0b0b10; color: #fff !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bf-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .bf-perks { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .bf-hero { padding: 36px 0 32px; }
  .bf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bf-card-body { padding: 12px; gap: 8px; }
  .bf-card-title { font-size: 15px; }
  .bf-specs li:nth-child(n+4) { display: none; }
  .bf-price-new { font-size: 24px; }
  .bf-badge { font-size: 16px; top: 8px; left: 8px; }
  .bf-hot { top: 8px; right: 8px; font-size: 10px; }
  .bf-count-box { min-width: 0; flex: 1; }
  .bf-count-box b { font-size: 28px; }
  .bf-details { display: none; }
  .bf-add { font-size: 13px; padding: 12px 8px; }
  .bf-lead { font-size: 16px; }
  .bf-section { padding-top: 40px; }
}
@media (max-width: 420px) {
  .bf-perks { grid-template-columns: 1fr; }
  .bf-stats { grid-template-columns: 1fr 1fr; }
  .bf-stat { padding: 16px 14px; }
  .bf-stat b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-hero::after, .bf-dot, .bf-stock::before { animation: none; }
  .bf-card, .bf-card-media img { transition: none; }
}
/* theme overrides on this page only */
body.bf-page .breadcrumb, body.bf-page #container > .container > .row > .feature-box { display: none; }

/* beat the theme's "#container h1/h2/h3" rules (ID specificity + inline <style> after this file) */
#container .bf .bf-title { font-family: var(--bf-display); font-weight: 900; font-size: clamp(46px, 8.4vw, 104px); line-height: .92; letter-spacing: -.02em; color: var(--bf-text); text-transform: uppercase; margin: 22px 0 18px; padding: 0; border: 0; }
#container .bf .bf-section-head h2 { font-family: var(--bf-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; color: #fff; text-transform: none; margin: 0; padding: 0; border: 0; }
#container .bf .bf-card-title { font-family: 'Open Sans', Arial, sans-serif; font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; text-transform: none; margin: 0; padding: 0; border: 0; }
#container .bf .bf-card-title a { color: #fff; }
#container .bf .bf-card-title a:hover { color: var(--bf-amber); }
@media (max-width: 760px) { #container .bf .bf-card-title { font-size: 15px; } }
