/* Black Friday additions on top of the V3 page (hero form, end form, offer strip) */

/* hero: headline left, lead form right */
.dmx-show .copy.bf-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,410px);gap:56px;align-items:center;text-align:left;padding-top:24px;padding-bottom:24px}
.dmx-show .bf-hero h1{margin:0;max-width:none;font-size:clamp(44px,5.6vw,86px)}
.dmx-show .bf-k{margin:0 0 18px;color:#C3CDDD;font:500 15px Inter,sans-serif;text-shadow:0 2px 18px rgba(5,13,24,.9);animation:dmxRise 1.6s cubic-bezier(.22,1,.36,1) .9s both}
.dmx-show .bf-off{display:inline-flex;flex-direction:column;margin:26px 0 0;padding:12px 22px 14px;border-radius:14px;background:linear-gradient(135deg,#0055FF,#0076FF);box-shadow:0 20px 50px -20px rgba(0,118,255,.8);animation:dmxRise 1.6s cubic-bezier(.22,1,.36,1) 1.5s both}
.dmx-show .bf-off b{font:800 clamp(34px,3.6vw,50px)/1 Manrope,Inter,sans-serif;letter-spacing:-.03em;color:#fff}
.dmx-show .bf-off span{margin-top:4px;font:700 14px Manrope,Inter,sans-serif;color:#fff}
.dmx-show .bf-hero .proof,.dmx-show .bf-hero .tiers{justify-content:flex-start}
.dmx-show .bf-hero .proof{margin-top:28px}
.dmx-show .bf-hero .tiers{margin-left:-22px}

/* shade behind the headline so it reads over the moving wall (the wall stays visible on the right) */
.dmx-show .bf-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(5,13,24,.92) 0%,rgba(5,13,24,.78) 34%,rgba(5,13,24,.35) 58%,rgba(5,13,24,.2) 70%,rgba(5,13,24,.55) 100%)}
@media (max-width:640px){.dmx-show .bf-shade{background:linear-gradient(180deg,rgba(5,13,24,.35) 0%,rgba(5,13,24,.82) 22%,rgba(5,13,24,.92) 50%,#06111F 80%)}}

/* forms (hero + end) */
.bf-form{pointer-events:auto;text-align:left}
.dmx-show .bf-form{padding:28px;border-radius:22px;background:rgba(6,17,31,.88);border:1px solid rgba(169,214,255,.18);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 40px 80px -40px rgba(0,0,0,.9);animation:dmxRise 1.6s cubic-bezier(.22,1,.36,1) 1.8s both}
.dmx .bf-form h2{margin:0;font:800 26px/1.12 Manrope,Inter,sans-serif;letter-spacing:-.02em;color:#fff}
.bf-form>p{margin:10px 0 18px;color:#A9BDD3;font-size:14.5px;line-height:1.5}
.bf-f{position:relative;display:block;margin-bottom:10px}
.bf-f input{width:100%;height:52px;padding:0 16px 0 46px;border:1px solid rgba(169,189,211,.3);border-radius:12px;background:#fff;color:#212A40;font:500 16px Inter,sans-serif}
.bf-f input:focus{outline:2px solid #2EA8FF;outline-offset:1px}
.bf-f svg{position:absolute;left:16px;top:50%;width:18px;height:18px;margin-top:-9px;color:#6A7891;pointer-events:none}
.bf-form .btn{width:100%;margin-top:4px}
.bf-form .bf-sec{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 0 0;color:#8592AA;font-size:13px}
.bf-form .bf-sec svg{width:14px;height:14px}

/* end block: the form sits inside V3's dark CTA card */
.dmx-end .cta .bf-form-end{margin-top:26px}
.dmx-end .cta .bf-form-end .bf-sec{color:#B5C2D6}

/* offer strip before the footer */
.bf-strip{background:linear-gradient(135deg,#0055FF,#0076FF);color:#fff}
.bf-strip .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:128px}
.bf-strip p{margin:0}
.bf-strip p b{display:block;font:800 30px/1.1 Manrope,Inter,sans-serif;letter-spacing:-.02em}
.bf-strip p span{display:block;opacity:.9;margin-top:4px}
.bf-strip .big{text-align:right;font:800 54px/1 Manrope,Inter,sans-serif;letter-spacing:-.03em}
.bf-strip .big span{font:600 16px Inter,sans-serif;letter-spacing:0}

@media (max-width:1024px){
  .dmx-show .copy.bf-hero{grid-template-columns:1fr;gap:28px;max-width:640px}
}
@media (max-width:640px){
  .dmx-show .copy.bf-hero{padding-top:0;padding-bottom:0}
  .dmx-show .bf-hero h1{font-size:clamp(40px,11.4vw,52px)}
  .dmx-show .bf-k{font-size:13.5px;margin-bottom:12px}
  .dmx-show .bf-off{margin-top:18px;padding:10px 18px 12px}
  .dmx-show .bf-hero .proof{margin-top:18px}
  .dmx-show .bf-hero .tiers{margin-left:-12px}
  .dmx-show .bf-form{padding:22px}
  .dmx .bf-form h2{font-size:23px}
  .bf-strip .wrap{flex-direction:column;align-items:flex-start;padding:28px 0;gap:12px}
  .bf-strip .big{text-align:left;font-size:42px}
}

/* Black Friday prices: the normal price struck through, then the sale price */
.bf-was{margin-right:.08em;font-weight:600;font-size:.62em;color:#8592AA;text-decoration-thickness:2px;letter-spacing:-.01em}
.dmx .tname small .bf-pct{margin-right:8px;padding:3px 8px;border-radius:6px;background:#0055FF;color:#fff;font-style:normal;font-weight:700}
.dmx-show .tiers s{color:#8592AA;font-weight:500}
#stdView .pr .bf-was{font-size:15px}

/* Premium: the free DMI Atomic G5 bottle sits in the included list as its real photo (dark studio shot, kept uncut) */
.p3-rc li.bf-gift{align-items:center;justify-content:flex-start}
.p3-rc li.bf-gift{gap:14px}
.p3-rc li.bf-gift img{flex:none;width:auto;height:84px;border-radius:8px;border:1px solid rgba(169,214,255,.14)}
.p3-rc li.bf-gift span{flex:1;display:flex;flex-direction:column}
.p3-rc li.bf-gift small{font-size:12.5px;color:#8592AA}
.p3-rc li.bf-gift b{color:#4FB0FF}

/* phones: one tidy column — headline, offer card with both prices, then the form */
@media (max-width:640px){
  .dmx-show .bf-k,.dmx-show .bf-hero .proof{display:none}
  .dmx-show .copy.bf-hero{gap:18px;padding-top:8px}
  .dmx-show .bf-hero h1{font-size:clamp(36px,10.4vw,46px);line-height:1.02}
  .dmx-show .bf-off{display:flex;flex-direction:row;align-items:center;gap:12px;width:100%;margin-top:16px;padding:12px 16px;border-radius:14px 14px 0 0;box-shadow:none}
  .dmx-show .bf-off b{font-size:32px;white-space:nowrap}
  .dmx-show .bf-off span{margin:0;font-size:13px;line-height:1.3}
  .dmx-show .bf-hero .tiers{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid rgba(169,214,255,.18);border-top:0;border-radius:0 0 14px 14px;background:rgba(6,17,31,.7)}
  .dmx-show .bf-hero .tiers a{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:0 8px;padding:10px 16px;font-size:13px}
  .dmx-show .bf-hero .tiers a>span{width:100%}
  .dmx-show .bf-hero .tiers a>s{font-size:13px}
  .dmx-show .bf-hero .tiers b{font-size:18px}
  .dmx-show .bf-form{padding:20px 18px}
  .dmx .bf-form h2{font-size:21px}
  .bf-form>p{margin:6px 0 14px;font-size:14px}
  .bf-f input{height:48px}
  .p3-rc li.bf-gift img{height:72px}
}

/* Standard: one clear reserve button under the inclusions (mock) */
.dmx.std .bf-std-go{display:inline-flex;margin-top:26px}
@media (max-width:640px){.dmx.std .bf-std-go{display:flex;width:100%;justify-content:center}}

/* "Only 10 available" counter (Ed 09/11): text + 10 blocks, filled from /api/spots */
.bf-spots{margin:0 0 18px;animation:dmxRise 1.6s cubic-bezier(.22,1,.36,1) .7s both}
.bf-spots p{margin:0;color:#DCE4F0;font:500 15px Inter,sans-serif;text-shadow:0 2px 18px rgba(5,13,24,.9)}
.bf-spots p b{color:#fff;font-weight:700}
.bf-spots p span{color:#4FB0FF;font-weight:700}
.bf-spots i{display:flex;gap:4px;margin-top:8px;max-width:260px}
.bf-spots i em{flex:1;height:6px;border-radius:2px;background:#0076FF}
.bf-spots i em.x{background:rgba(169,189,211,.25)}
.bf-spots:not(.on) i{display:none}


/* phones: the counter moves into the offer block as its last row (desktop keeps the line above the kicker) */
.bf-spots-m{display:none}
@media (max-width:640px){
  .dmx-show .bf-l>.bf-spots:not(.bf-spots-m){display:none}
  .dmx-show .bf-hero .tiers{border-radius:0}
  .dmx-show .bf-spots-m{display:block;margin:0;padding:11px 16px 13px;border:1px solid rgba(169,214,255,.18);border-top:1px solid rgba(169,214,255,.12);border-radius:0 0 14px 14px;background:rgba(6,17,31,.7);animation:dmxRise 1.6s cubic-bezier(.22,1,.36,1) 2.3s both}
  .bf-spots-m p{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;color:#C3CDDD;text-shadow:none}
  .bf-spots-m p b{font-weight:700;color:#fff}
  .bf-spots-m p span{font-weight:700;color:#4FB0FF}
  .bf-spots-m i{max-width:none;gap:2px;margin-top:8px}
  .bf-spots-m i em{height:3px;border-radius:0}
  .bf-spots-m i em:first-child{border-radius:2px 0 0 2px}
  .bf-spots-m i em:last-child{border-radius:0 2px 2px 0}
}
