/* Furnace-sign treatment, scoped to the two sale surfaces only.
   Fire is composited with transform/opacity; prices remain server-owned. */
.fire-sale,
.unlock-sign.fire-sale {
  --sale-cream: #fff0cd;
  --sale-amber: #ffbb58;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  border: 1px solid #e37836;
  border-radius: 16px;
  background: linear-gradient(115deg, #361a14, #241510 65%, #512013);
  color: var(--sale-cream);
  text-align: left;
  text-decoration: none;
  animation: none;
  box-shadow: inset 0 1px 0 #ffcd6c40, 0 8px 28px #1b0d1738;
}
.fire-sale::before,
.fire-sale::after,
.unlock-sign.fire-sale::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
}
.fire-sale::before {
  background:
    radial-gradient(ellipse at 9% 115%, #ffd26a 0, #ff7928b3 13%, transparent 38%),
    radial-gradient(ellipse at 86% 130%, #ffb044 0, #e7461b80 22%, transparent 52%);
  opacity: .38;
  transform-origin: bottom;
  animation: sale-fire-pulse 2.6s ease-in-out infinite;
}
.fire-sale::after,
.unlock-sign.fire-sale::after {
  background:
    radial-gradient(ellipse at 20% 100%, #ffb84499, transparent 32%),
    radial-gradient(ellipse at 70% 120%, #f46b2d99, transparent 40%);
  opacity: .32;
  transform-origin: bottom;
  animation: sale-fire-pulse 1.7s ease-in-out -.8s infinite reverse;
}
@keyframes sale-fire-pulse {
  0%, 100% { transform: translateY(12%) scale(1, .86); opacity: .3; }
  48% { transform: translateY(-6%) scale(1.06, 1.24); opacity: .7; }
  70% { transform: translateY(3%) scale(1.02, 1.07); opacity: .46; }
}
.fire-sale__flame {
  flex: 0 0 56px;
  width: 56px;
  height: 74px;
  color: var(--sale-amber);
  animation: sale-flame 1.8s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.fire-sale__flame svg { display: block; width: 100%; height: 100%; }
.fire-sale__flame .fire-sale__tongue,
.fire-sale__flame .fire-sale__core {
  transform-origin: 28px 70px;
  animation: sale-flame-flicker 1.1s ease-in-out -.3s infinite;
}
.fire-sale__flame .fire-sale__core { animation-duration: 1.4s; animation-delay: -.8s; }
.fire-sale__flame .fire-sale__embers { animation: sale-flame-embers 2.2s ease-in-out -.6s infinite; }
@keyframes sale-flame-flicker {
  0%, 100% { transform: scale(1, 1); opacity: 1; }
  38% { transform: skewX(-2deg) scale(.97, 1.035); opacity: .88; }
  72% { transform: skewX(1.5deg) scale(1.025, .98); opacity: .97; }
}
@keyframes sale-flame-embers {
  0%, 100% { transform: translateY(1px); opacity: .65; }
  55% { transform: translate(1px, -2px); opacity: 1; }
}
@keyframes sale-flame {
  0%, 100% { transform: scale(.94, 1) rotate(-3deg); }
  50% { transform: scale(1.06, 1.1) rotate(3deg); }
}
.fire-sale__copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fire-sale__kicker {
  color: var(--sale-amber);
  font: 800 .66rem/1.4 system-ui, sans-serif;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.fire-sale__title {
  margin: 0;
  color: var(--sale-cream);
  font: 900 clamp(1.25rem, 2.5vw, 2.15rem)/1.12 'Orbitron', system-ui, sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.fire-sale__title b { color: var(--sale-amber); }
.fire-sale__note {
  margin: 0;
  color: #f1cfb8;
  font: 500 .78rem/1.6 system-ui, sans-serif;
}
.fire-sale__cta {
  flex: none;
  margin-left: auto;
  padding: 11px 15px;
  border-radius: 7px;
  background: #ffc074;
  color: #391d13;
  font: 800 .75rem/1.2 system-ui, sans-serif;
  white-space: nowrap;
}
.unlock-sign.fire-sale {
  max-width: 700px;
  margin: 25px 0 8px;
  padding: 19px 21px;
  gap: 15px;
  transition: transform .18s ease;
}
.unlock-sign.fire-sale .fire-sale__title { font-size: clamp(1rem, 1.7vw, 1.32rem); }
.unlock-sign.fire-sale .fire-sale__flame { flex-basis: 38px; width: 38px; height: 54px; }
.unlock-sign.fire-sale:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #ffcd6c40, 0 8px 28px #1b0d1738; }
.unlock-sign.fire-sale:focus-visible { outline: 3px solid #ffce86; outline-offset: 4px; }
.fire-sale--shop { margin: 0 0 28px; }
.shop-sale-exclusion {
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 13px;
  border: 1px solid #b087604d;
  border-radius: 6px;
  background: #36271d;
  color: #f3d9bb;
  font: 600 .8rem/1.5 system-ui, sans-serif;
}
@media (max-width: 767px) {
  .fire-sale, .unlock-sign.fire-sale { gap: 13px; padding: 20px 16px; }
  .fire-sale__flame { flex-basis: 36px; width: 36px; height: 50px; }
  .unlock-sign.fire-sale { display: grid; grid-template-columns: 36px minmax(0, 1fr); }
  .unlock-sign.fire-sale .fire-sale__copy { flex: 1; }
  .fire-sale__cta { grid-column: 2; justify-self: start; margin: 0; }
  .fire-sale__kicker { font-size: .59rem; letter-spacing: .12em; }
  .fire-sale__note { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fire-sale::before, .fire-sale::after,
  .unlock-sign.fire-sale::after, .fire-sale__flame { animation: none; transform: none; }
  .fire-sale__flame .fire-sale__tongue,
  .fire-sale__flame .fire-sale__core,
  .fire-sale__flame .fire-sale__embers { animation: none; transform: none; }
  .unlock-sign.fire-sale { transition: none; }
  .unlock-sign.fire-sale:hover { transform: none; }
  .unlock-sign.fire-sale::after { display: block; }
}
