@charset "UTF-8";
/* =========================================================
   ЧЁРНАЯ ПЯТНИЦА — Pubg-uc.shop
   Работает только пока на <html> есть класс .bf —
   его ставит assets/js/bf-config.js (там же даты).
   После окончания сайт сам возвращается к обычному виду
   (золотая тема и обычный баннер).
   Чтобы убрать тему совсем — удалите <script> bf-config.js,
   <link> на этот файл и <script> blackfriday.js на страницах.
   ========================================================= */

.bf-only,
.bf-deal-section,
.bf-bar,
.bf-hero,
.bf-tape,
.bf-sticky,
.bf-tag,
.bf-early-only,
.bf-peak-only { display: none; }
html:not(.bf-last) .bf-last-only { display: none !important; }

html.bf {
  --bf-y: #ffe500;
  --bf-red: #ff3b30;
  --bf-ink: #0a0a0a;
  --bf-glow: rgba(255, 229, 0, 0.45);

  /* перекраска золотой темы в чёрный + жёлтый */
  --t-bg: #060606;
  --t-bg2: #0d0d0d;
  --t-card: #121212;
  --t-card2: #1a1a1a;
  --t-line: #242424;
  --t-line2: #333333;
  --t-text: #f6f6f1;
  --t-muted: #9b9b93;
  --t-dim: #74746c;
  --t-acc: #ffe500;
  --t-acc2: #ffe500;
  --t-on-acc: #0a0a0a;
  --t-acc-soft: rgba(255, 229, 0, 0.10);
  --t-acc-line: rgba(255, 229, 0, 0.40);

  /* переменные шаблона */
  --mainBase: 6 6 6;
  --slavBase: 18 18 18;
  --tripBase: 26 26 26;
  --hovrBase: 36 36 36;
  --mainBord: 36 36 36;
  --corpColS: #ffe500;
  --corpColM: #ffd000;
  --corpColE: #e6c200;
  --corpNewColS: 255 229 0;
}
html.bf .bf-only { display: revert; }
html.bf .bf-hide { display: none !important; }
html.bf.bf-early .bf-early-only,
html.bf.bf-peak .bf-peak-only { display: revert; }
html.bf.bf-last .bf-last-hide { display: none !important; }

/* ---------- общее ---------- */
html.bf, html.bf body, html.bf #body { background-color: var(--t-bg) !important; }
html.bf #head, html.bf .head { background: rgba(6, 6, 6, 0.9) !important; }
html.bf .button-new--color-prim:not(.button-new:disabled),
html.bf .button-new--color-prim { box-shadow: 0 8px 22px -10px var(--bf-glow) !important; }
html.bf .button-new--color-prim:hover { background: #fff04a !important; }
html.bf .burger-btn { background: var(--t-card2) !important; }
html.bf .price-new__value--old,
html.bf .price-new__value--old span { text-decoration-color: var(--bf-red) !important; }
html.bf .offer-card-new:hover { border-color: rgba(255, 229, 0, 0.55); box-shadow: 0 18px 40px -22px var(--bf-glow); }
html.bf .age-rating-new { background: var(--bf-y) !important; color: var(--bf-ink) !important; }
html.bf .age-rating-new span { color: var(--bf-ink) !important; }
html.bf .age-rating-new.badge-best { background: var(--bf-y) !important; box-shadow: none !important; }
html.bf .age-rating-new.badge-best span,
html.bf .age-rating-new.badge-best svg,
html.bf .age-rating-new.badge-best i { color: var(--bf-ink) !important; }
html.bf .home-reviews__all:hover { background: rgba(255, 229, 0, 0.06); }

/* обычный баннер (и таймер в нём) на время распродажи скрыт */
html.bf .uc-timer.promo-banner { display: none !important; }
html.bf .sale-tag { display: none !important; }

/* ---------- полоса над шапкой ---------- */
html.bf .bf-bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 8px 12px;
  background: var(--bf-y);
  color: var(--bf-ink) !important;
  text-decoration: none !important;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
}
html.bf .bf-bar::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: bf-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
.bf-bar__tag {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--bf-ink);
  color: var(--bf-y);
}
.bf-bar__text b { font-weight: 800; }
.bf-bar__more { display: none; }

/* ---------- баннер ---------- */
html.bf .bf-hero {
  display: block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 12px 8px;
  padding: 16px 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 229, 0, 0.25);
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(255, 229, 0, 0.16), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(255, 59, 48, 0.10), transparent 70%),
    linear-gradient(160deg, #141414 0%, #0a0a0a 60%, #050505 100%);
  color: var(--t-text);
}
html.bf .bf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 229, 0, 0.07) 0 10px, transparent 10px 22px);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 55%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 55%);
}
.bf-hero__art {
  position: absolute;
  z-index: -1;
  right: -26px;
  top: -14px;
  width: 150px;
  height: auto;
  transform: rotate(-10deg);
  mix-blend-mode: lighten;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  pointer-events: none;
}
.bf-hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bf-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bf-y);
  background: rgba(255, 229, 0, 0.08);
  border: 1px solid rgba(255, 229, 0, 0.3);
}
.bf-hero__kicker i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bf-red);
  animation: bf-pulse 1.6s ease-out infinite;
}
.bf-hero__display {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--bf-y);
  text-shadow: 0 10px 40px rgba(255, 229, 0, 0.25);
}
.bf-hero__display span { display: block; margin-top: 2px; color: #fff; text-shadow: none; }
.bf-hero__title {
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
.bf-hero__title b {
  background: linear-gradient(135deg, #fff04a 0%, #ffd000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html.bf .bf-hero .promo-perks { margin: 0; flex-wrap: wrap; justify-content: flex-start; }
html.bf .bf-hero .promo-perks svg { color: var(--bf-y); }
.bf-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bf-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  color: var(--bf-ink) !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #fff04a 0%, #ffd000 100%);
  box-shadow: 0 14px 30px -12px var(--bf-glow);
}
.bf-hero__cta svg { width: 18px; height: 18px; }
html.bf .bf-hero .promo-reviews { margin-top: 0; border-color: rgba(255, 229, 0, 0.4); background: rgba(255, 229, 0, 0.06); }
.bf-hero__num { display: none; }

/* ---------- бегущая лента ---------- */
html.bf .bf-tape {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 12px 0 4px;
  margin: 0 0 -10px;
}
.bf-tape__band {
  transform: rotate(-2deg);
  margin: 0 -20px;
  background: var(--bf-y);
  border-top: 2px solid var(--bf-ink);
  border-bottom: 2px solid var(--bf-ink);
  box-shadow: 0 10px 30px -14px var(--bf-glow);
}
.bf-tape__track {
  display: flex;
  width: max-content;
  animation: bf-marquee 26s linear infinite;
}
.bf-tape__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px;
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bf-ink);
}
.bf-tape__item i { font-style: normal; color: var(--bf-red); }

/* ---------- заголовок каталога ---------- */
html.bf .bf-title-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 9px;
  border-radius: 8px;
  vertical-align: 0.3em;
  font-size: 0.42em;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bf-y) !important;
  background: #000;
  border: 1px solid rgba(255, 229, 0, 0.45);
}

/* ---------- карточки ---------- */
html.bf .offer-card-new .image-new--aspect { position: relative; }
html.bf .offer-card-new .image-new--aspect::after {
  content: "BLACK FRIDAY";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 4px 0 3px;
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--bf-y);
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 229, 0, 0.25);
  border-radius: 0 0 14px 14px;
  pointer-events: none;
}
html.bf .bf-tag {
  display: block;
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 30px; /* над полосой BLACK FRIDAY, чтобы не перекрывать плашки «ХИТ» / «Выгоднее всего» */
  padding: 4px 8px;
  border-radius: 8px;
  font: 800 12px/1.2 "Unbounded", sans-serif;
  color: #fff;
  background: var(--bf-red);
  box-shadow: 0 6px 16px -6px rgba(255, 59, 48, 0.8);
}

/* страница товара */
html.bf .price-discount {
  background: var(--bf-red) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px -8px rgba(255, 59, 48, 0.8) !important;
}

/* ---------- баннер «Главное предложение» ---------- */
html.bf .bf-deal-section { display: block; padding-top: 0 !important; }
.bf-deal { display: none; }
html.bf .bf-deal.is-ready {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px 14px;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 16px;
  border-radius: 20px;
  background: var(--bf-y);
  color: var(--bf-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 24px 50px -28px var(--bf-glow);
}
html.bf .bf-deal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(-45deg, rgba(10, 10, 10, 0.06) 0 10px, transparent 10px 22px);
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
}
.bf-deal__pct {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 9px;
  font: 800 13px/1 "Unbounded", sans-serif;
  color: #fff;
  background: var(--bf-red);
  transform: rotate(-6deg);
}
.bf-deal__img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid var(--bf-ink);
  background: #1a1a1a;
}
.bf-deal__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bf-deal__kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.25; opacity: 0.7; }
.bf-deal__name { font: 900 22px/1.1 "Unbounded", sans-serif; letter-spacing: -0.02em; }
.bf-deal__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.bf-deal__prices b { font-size: 20px; font-weight: 800; white-space: nowrap; }
.bf-deal__prices s { font-size: 14px; opacity: 0.6; white-space: nowrap; text-decoration-color: var(--bf-red); }
.bf-deal__side { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bf-deal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--bf-y);
  background: var(--bf-ink);
  transition: transform 0.15s ease;
}
.bf-deal__btn svg { width: 18px; height: 18px; flex: none; }
.bf-deal:hover .bf-deal__btn { transform: translateY(-1px); }
.bf-deal:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- нижняя кнопка на телефоне ---------- */
@media (max-width: 767px) {
  html.bf .bf-sticky {
    display: flex;
    position: fixed;
    left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 14px;
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 229, 0, 0.35);
    box-shadow: 0 16px 40px -10px #000;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  html.bf .bf-sticky.is-on { transform: none; opacity: 1; pointer-events: auto; }
}
.bf-sticky__info { flex: 1; min-width: 0; font-size: 12px; line-height: 1.25; color: var(--t-muted); }
.bf-sticky__info b { display: block; font-size: 14px; color: var(--t-text); }
.bf-sticky__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  color: var(--bf-ink) !important;
  background: linear-gradient(135deg, #fff04a 0%, #ffd000 100%);
}

/* ---------- десктоп ---------- */
@media (min-width: 768px) {
  html.bf .bf-bar { font-size: 14px; padding: 9px 16px; }
  html.bf .bf-deal.is-ready { grid-template-columns: 132px 1fr auto; gap: 24px; padding: 22px 32px 22px 22px; }
  .bf-deal__img { width: 132px; height: 132px; }
  .bf-deal__pct { top: 14px; left: 14px; font-size: 15px; }
  .bf-deal__kicker { font-size: 12px; }
  .bf-deal__name { font-size: 34px; }
  .bf-deal__prices b { font-size: 26px; }
  .bf-deal__prices s { font-size: 17px; }
  .bf-deal__side { grid-column: auto; align-items: stretch; text-align: center; }
  .bf-deal__btn { height: 56px; padding: 0 28px; font-size: 16px; }
  .bf-bar__tag { font-size: 12px; }
  html.bf .bf-bar__more { display: inline; }
  html.bf .bf-hero { padding: 26px 36px; margin: 16px 0; }
  .bf-hero__art { width: 300px; right: 40px; top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: 0.6; }
  .bf-hero__display { font-size: 52px; }
  .bf-hero__title { font-size: 22px; }
  .bf-tape__item { font-size: 18px; padding: 11px 12px; gap: 24px; }
  html.bf .offer-card-new .image-new--aspect::after { font-size: 10px; }
}
@media (min-width: 1024px) {
  html.bf .bf-hero__num {
    display: block;
    position: absolute;
    z-index: -1;
    right: 380px;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg);
    font-family: "Unbounded", sans-serif;
    font-weight: 900;
    font-size: 110px;
    line-height: 1;
    letter-spacing: -0.05em;
    color: rgba(255, 229, 0, 0.10);
    pointer-events: none;
    user-select: none;
  }
}

@keyframes bf-shine { 0%, 55% { left: -40%; } 100% { left: 120%; } }
@keyframes bf-marquee { to { transform: translateX(-50%); } }
@keyframes bf-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  100% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
}
@media (prefers-reduced-motion: reduce) {
  html.bf .bf-bar::before { display: none; }
  .bf-tape__track, .bf-hero__kicker i { animation: none !important; }
}

/* ---------- таймер Чёрной пятницы в баннере на главной ---------- */
.bf-timer { display: none; }
html.bf .bf-timer {
  display: flex; flex-direction: column; gap: 8px; margin-top: 4px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(10, 10, 10, 0.55); border: 1px solid rgba(255, 229, 0, 0.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bf-timer__title { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-y); }
.bf-timer__box { display: flex; align-items: center; gap: 6px; }
.bf-timer__box i { font-style: normal; color: var(--bf-y); font-weight: 800; font-size: 16px; margin-top: -12px; opacity: .8; }
.bf-timer__cell {
  width: 54px; height: 54px; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.3));
  border: 1px solid rgba(255, 229, 0, 0.22);
}
.bf-timer__cell b { font: 800 20px/1 "Unbounded", sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.bf-timer__cell span { font-size: 9px; color: var(--t-muted); margin-top: 4px; text-transform: lowercase; }
.bf-timer__cell:first-child b { color: var(--bf-y); }
@media (max-width: 380px) {
  .bf-timer__cell { width: 48px; height: 50px; }
  .bf-timer__cell b { font-size: 17px; }
  .bf-timer__box { gap: 4px; }
}
@media (min-width: 768px) {
  html.bf .bf-hero .bf-hero__body { padding-right: 330px; }
  html.bf .bf-timer {
    position: absolute; right: 36px; top: 50%; transform: translateY(-50%);
    margin: 0; padding: 18px 20px; gap: 12px; align-items: center;
  }
  .bf-timer__title { font-size: 11px; }
  .bf-timer__cell { width: 62px; height: 66px; }
  .bf-timer__cell b { font-size: 24px; }
}
