/* ============================================================
   Sale campaign strip (config.js -> CAMPAIGN), e.g. Black Friday.
   Sits at the top of the sticky header, so it stays visible while scrolling.
   Only transform/opacity are animated.
   ============================================================ */

.bf-strip {
  --bf-hot: #e879f9;
  --bf-edge: rgba(232, 121, 249, .28);
  position: relative; overflow: hidden;
  background: #000; border-bottom: 1px solid var(--bf-edge);
  font-size: 13px; color: var(--text);
}
.bf-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(124, 58, 237, .35), transparent 30%, transparent 70%, rgba(217, 70, 239, .3));
}
.bf-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232, 121, 249, .14), transparent);
  transform: translateX(-100%); animation: bf-shine 6s ease-in-out infinite;
}
@keyframes bf-shine { 60%, 100% { transform: translateX(400%); } }

.bf-inner {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 7px 32px;
  display: flex; align-items: center; justify-content: center; gap: 10px 22px; flex-wrap: wrap;
}

.bf-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #fff;
}
.bf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bf-hot); box-shadow: 0 0 8px var(--bf-hot); animation: bf-pulse 1.4s ease-in-out infinite; }
@keyframes bf-pulse { 50% { opacity: .35; transform: scale(.7); } }

.bf-deal { color: var(--soft); white-space: nowrap; }
.bf-deal b { font-family: var(--font-display); font-size: 16px; letter-spacing: .02em; color: #c084fc; text-shadow: 0 0 12px rgba(192, 132, 252, .55); }

.bf-code {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 4px 3px 10px; cursor: pointer;
  border-radius: 7px; border: 1px dashed var(--bf-hot); background: rgba(232, 121, 249, .08); color: #fff;
  font: inherit; transition: transform .2s ease;
}
.bf-code:hover { transform: translateY(-1px); border-style: solid; }
.bf-code b { font-family: var(--font-display); letter-spacing: .14em; }
.bf-code em { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 2px 7px; border-radius: 5px; background: var(--bf-hot); color: #0b0412; }

.bf-ends { display: inline-flex; align-items: center; gap: 10px; color: var(--soft-2); }
.bf-ends-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.bf-clock { display: inline-flex; gap: 6px; }
.bf-u { display: inline-flex; align-items: baseline; gap: 2px; }
.bf-u b { font-family: var(--font-display); font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.bf-u em { font-style: normal; font-size: 10px; text-transform: uppercase; color: var(--soft-2); }

.bf-shop { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--bf-hot); white-space: nowrap; }
.bf-shop .arrow { display: inline-block; transition: transform .2s ease; }
.bf-shop:hover .arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .bf-deal-text, .bf-ends-label, .bf-shop { display: none; }
}
@media (max-width: 560px) {
  .bf-inner { padding: 6px 12px; gap: 6px 12px; }
  .bf-tag { font-size: 11px; letter-spacing: .16em; }
  .bf-u em { display: none; }
  .bf-u + .bf-u::before { content: ':'; color: var(--soft-2); margin-right: 4px; }
}

/* Promo bar stacked below the strip inside the sticky header: keep it to one slim line */
.header .promo-inner { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 560px) {
  .header .promo-text, .header .promo-time { display: none; }
  .header .promo-inner { padding: 5px 40px 5px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .bf-strip::after, .bf-dot { animation: none; }
}
