/* Tema de evento: ativado somente com WEB_THEME=black_friday. */
body.theme-black_friday {
  --bg: #090909;
  --surface: #161616;
  --surface-raised: #242016;
  --line: #3c3424;
  --yellow: #ffd332;
  --yellow-hover: #ffe582;
  --muted: #c1bbad;
  background: #090909;
}

.theme-black_friday .site-header,
.theme-black_friday .site-footer {
  background: #0d0c0a;
}

.theme-black_friday .site-header {
  border-bottom-color: #4b3b19;
}

.theme-black_friday .header-nav {
  border-top-color: #30291d;
}

.theme-black_friday .header-search,
.theme-black_friday .mobile-search form {
  background: #201d18;
  border-color: #695638;
}

.bf-ticker {
  overflow: hidden;
  background: linear-gradient(90deg, #f8b51d, #ffe27a 45%, #f8b51d);
  color: #201607;
  border-block: 1px solid #ffe891;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.bf-ticker-track,
.bf-ticker-group {
  display: flex;
  width: max-content;
  align-items: center;
}

.bf-ticker-track {
  animation: bf-scroll 32s linear infinite;
}

.bf-ticker-group {
  flex: none;
  gap: 28px;
  padding: 11px 28px 11px 0;
  white-space: nowrap;
}

.bf-ticker:hover .bf-ticker-track {
  animation-play-state: paused;
}

@keyframes bf-scroll {
  to { transform: translateX(-50%); }
}

.theme-black_friday .bf-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 45%, #694712 0, #30200f 20%, transparent 48%),
    linear-gradient(115deg, #0c0c0c 0%, #14110b 58%, #0b0a08 100%);
  border-bottom: 1px solid #6e511e;
}

.theme-black_friday .bf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image: repeating-linear-gradient(125deg, transparent 0 42px, #ffd332 43px, transparent 44px 96px);
  pointer-events: none;
}

.theme-black_friday .bf-hero::after {
  content: "BLACK FRIDAY";
  position: absolute;
  right: -10px;
  bottom: -22px;
  z-index: -1;
  color: #ffd332;
  opacity: .055;
  font-size: clamp(70px, 12vw, 185px);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.theme-black_friday .bf-hero .hero-grid {
  min-height: 420px;
  padding-block: 46px;
}

.theme-black_friday .bf-kicker {
  display: inline-block;
  padding: 7px 11px;
  color: #ffd332;
  background: #49320e;
  border: 1px solid #aa7522;
  border-radius: 4px;
  letter-spacing: .13em;
}

.theme-black_friday .bf-hero h1 {
  max-width: 690px;
  text-shadow: 0 4px 24px #0008;
}

.theme-black_friday .bf-hero h1 em {
  color: #ffd332;
}

.theme-black_friday .bf-hero p {
  color: #f0e9dd;
}

.theme-black_friday .bf-hero small {
  color: #c9bead;
}

.theme-black_friday .bf-hero .button-primary {
  background: #ffd332;
  color: #1b1306;
  box-shadow: 0 8px 28px #ffbf2638;
}

.theme-black_friday .bf-hero-visual {
  padding: 28px;
  border: 1px solid #8f641b;
  border-radius: 24px;
  background: radial-gradient(circle, #6c4a12 0%, #231a0d 65%, #11100c 100%);
  box-shadow: 0 25px 70px #000a, inset 0 0 0 6px #ffd3320d;
}

.theme-black_friday .bf-hero-visual img {
  filter: drop-shadow(0 14px 20px #0008);
}

.theme-black_friday .offer-card:hover,
.theme-black_friday .facet-card:hover {
  border-color: #d7aa3b;
}

@media (max-width: 760px) {
  .theme-black_friday .bf-hero .hero-grid {
    min-height: 0;
    padding-block: 34px;
  }

  .theme-black_friday .bf-hero-visual {
    padding: 16px;
    max-width: 370px;
    margin-inline: auto;
  }

  .theme-black_friday .bf-hero::after {
    font-size: 76px;
    bottom: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-ticker-track {
    animation: none;
  }
}
