/* Bodyfirst Black Friday vault (homepage hero). Same design as the mock (theme-lab store.css). */
/* ---------- Black Friday VIP vault (homepage hero) ---------- */
.bfv-slot { min-width: 0; }
.bfv {
  position: relative; overflow: hidden; display: grid; gap: 22px; padding: 28px; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 18% 22%, rgba(5, 171, 239, 0.28), transparent 52%), linear-gradient(160deg, #0A2540 0%, #071a2e 100%);
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.35);
}
.bfv::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 300px; height: 300px; border: 36px solid rgba(255, 255, 255, 0.04); border-radius: 50%; pointer-events: none; }
.bfv.is-unlocked { background: radial-gradient(circle at 18% 22%, rgba(166, 255, 0, 0.22), transparent 55%), linear-gradient(160deg, #0A2540 0%, #071a2e 100%); }
.bfv > * { position: relative; z-index: 1; }
.bfv .bfv-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.bfv .bfv-eyebrow { display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: #A6FF00; color: #111; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.bfv .bfv-head h2 { margin: 0 0 8px; color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.1; }
.bfv .bfv-head p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 15px; line-height: 1.55; }
.bfv .bfv-head strong { color: #fff; overflow-wrap: anywhere; }

/* The door: a steel leaf that swings open to show the lime-lit inside */
.bfv .bfv-door { position: relative; width: 150px; height: 150px; flex: none; perspective: 380px; }
.bfv .bfv-inside {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, #A6FF00 0%, #6fb800 45%, #1d3a0a 100%); box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.55), 0 0 0 6px #10304f;
}
.bfv .bfv-inside span { color: #111; font-size: 28px; font-weight: 800; letter-spacing: 0.04em; }
.bfv .bfv-leaf {
  position: absolute; inset: 0; border-radius: 50%; transform-origin: 0% 50%; transition: transform 0.9s cubic-bezier(0.6, 0, 0.25, 1), opacity 0.9s ease;
  background: radial-gradient(circle at 35% 30%, #4d7ea8 0%, #23506f 40%, #12314d 100%);
  box-shadow: 0 0 0 6px #10304f, 0 0 0 8px rgba(255, 255, 255, 0.12), inset 0 -8px 18px rgba(0, 0, 0, 0.4), inset 0 6px 14px rgba(255, 255, 255, 0.18);
}
.bfv .bfv-ring { position: absolute; inset: 16px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.12); }
.bfv .bfv-bolt { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #9fb7cc; box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.35); transform: rotate(var(--a)) translateY(-62px); }
.bfv .bfv-wheel { position: absolute; inset: 42px; border-radius: 50%; border: 5px solid #A6FF00; transition: transform 0.6s ease; }
.bfv .bfv-wheel b { position: absolute; left: 50%; top: 50%; width: 5px; height: 100%; margin: -50% 0 0 -2.5px; border-radius: 3px; background: #A6FF00; }
.bfv .bfv-wheel b:nth-child(2) { transform: rotate(60deg); }
.bfv .bfv-wheel b:nth-child(3) { transform: rotate(120deg); }
.bfv .bfv-wheel span { position: absolute; inset: 30%; border-radius: 50%; background: #12314d; border: 4px solid #A6FF00; }
.bfv .bfv-door.is-open .bfv-leaf { transform: rotateY(-80deg); opacity: 0; }
.bfv .bfv-door.is-open .bfv-inside { box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.45), 0 0 0 6px #10304f, 0 0 34px rgba(166, 255, 0, 0.45); }
.bfv .bfv-door.is-opening .bfv-wheel { animation: bfv-spin 0.45s ease forwards; }
.bfv .bfv-door.is-opening .bfv-inside { animation: bfv-glow 1s ease forwards; }
.bfv .bfv-door.is-opening .bfv-leaf { animation: bfv-swing 1s cubic-bezier(0.5, 0, 0.3, 1) forwards; }
@keyframes bfv-spin { to { transform: rotate(-180deg); } }
@keyframes bfv-swing { 0%, 35% { transform: none; opacity: 1; } 80% { opacity: 1; } 100% { transform: rotateY(-80deg); opacity: 0; } }
@keyframes bfv-glow { 0%, 35% { transform: scale(0.9); } 100% { transform: scale(1); } }


/* Forms */
.bfv .bfv-form { display: grid; gap: 12px; }
.bfv .bfv-label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.bfv .bfv-row { display: flex; gap: 10px; }
.bfv .bfv-row input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-size: 16px; }
.bfv .bfv-row input::placeholder { color: rgba(255, 255, 255, 0.5); }
.bfv .bfv-row input:focus, .bfv .bfv-digits input:focus { outline: 0; border-color: #A6FF00; box-shadow: 0 0 0 3px rgba(166, 255, 0, 0.25); }
.bfv .bfv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease; }
.bfv .bfv-btn svg { width: 18px; height: 18px; }
.bfv .bfv-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.bfv .bfv-btn-lime { background: #A6FF00; color: #111; }
.bfv .bfv-btn-wide { width: 100%; }
.bfv .bfv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, 0.85); cursor: pointer; }
.bfv .bfv-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #A6FF00; }
.bfv .bfv-fine { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.bfv .bfv-fine a { color: #fff; text-decoration: underline; }
.bfv .bfv-error { margin: 0; min-height: 0; color: #FFB4A8; font-size: 14px; font-weight: 600; }
.bfv .bfv-error:empty { display: none; }
.bfv .bfv-digits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bfv .bfv-digits input {
  height: 72px; min-width: 0; padding: 0; border: 2px solid rgba(255, 255, 255, 0.22); border-radius: 16px; background: rgba(0, 0, 0, 0.25);
  color: #A6FF00; font: inherit; font-size: 34px; font-weight: 800; text-align: center; caret-color: #A6FF00;
}
.bfv .bfv-digits.is-wrong { animation: bfv-shake 0.4s ease; }
.bfv .bfv-digits.is-wrong input { border-color: #FF7A66; }
@keyframes bfv-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.bfv .bfv-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.bfv .bfv-link { padding: 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.bfv .bfv-link:disabled { color: rgba(255, 255, 255, 0.5); text-decoration: none; cursor: default; }


@media (max-width: 600px) {
  .bfv { padding: 22px 18px; gap: 18px; }
  .bfv .bfv-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .bfv .bfv-door { width: 120px; height: 120px; }
  .bfv .bfv-bolt { transform: rotate(var(--a)) translateY(-49px); }
  .bfv .bfv-wheel { inset: 33px; }
  .bfv .bfv-row { flex-direction: column; }
  .bfv .bfv-digits input { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .bfv .bfv-leaf, .bfv .bfv-wheel { transition: none; }
  .bfv .bfv-door.is-opening .bfv-leaf, .bfv .bfv-door.is-opening .bfv-wheel, .bfv .bfv-door.is-opening .bfv-inside, .bfv .bfv-digits.is-wrong { animation: none; }
}


/* Live extras */
.bfv-slot { min-width: 0; }
.bfv, .bfv * { box-sizing: border-box; }
.bfv h2 { font-family: inherit; letter-spacing: normal; }
.bfv .bfv-head p, .bfv .bfv-fine, .bfv .bfv-error, .bfv .bfv-links { font-family: inherit; }
.bfv .bfv-btn.is-busy { opacity: 0.6; cursor: progress; }
.bfv .bfv-btn:disabled { cursor: progress; }
.bfv a.bfv-btn, .bfv a.bfv-btn:hover { color: #111; text-decoration: none; }
.bfv .bfv-preview { margin: 0; padding: 8px 12px; border: 1px dashed rgba(166, 255, 0, 0.6); border-radius: 10px; color: #A6FF00; font-size: 13px; font-weight: 600; }
.bfv .bfv-fine a { color: #fff; }
/* VIP list: "You're on the list" */
.bfv .bfv-listed { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(166, 255, 0, 0.12); color: #fff; font-size: 15px; font-weight: 600; }
.bfv .bfv-listed svg { width: 28px; height: 28px; flex: none; padding: 5px; border-radius: 50%; background: #A6FF00; color: #111; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* The theme fixes snippet sets every box to 16px on iPhone (to stop zooming); the code digits stay big. */
.bfv .bfv-digits input { font-size: 34px !important; }