/* =========================================================
   /lineup/generic/  v4 — FULL-BLEED, REFERENCE-CUT BUILD
   - All measurements in vw / clamp for true fluidity
   - Hero & every section span 100% viewport width
   - Device images are crops from the reference JPG
   - Brand: dark #0a0a0a / lime #C8FF00
   ========================================================= */

:root{
  --pp4-bg:        #ffffff;
  --pp4-bg-soft:   #f4f4f5;
  --pp4-bg-dark:   #0a0a0a;
  --pp4-ink:       #111114;
  --pp4-ink-soft:  #4a4a52;
  --pp4-ink-faint: #b6b6bd;
  --pp4-line:      #e8e8ec;
  --pp4-lime:      #C8FF00;
  --pp4-lime-ink:  #0a0a0a;
}

/* page reset for product pages — kill any inherited center constraints */
body.pp4-page{
  background: var(--pp4-bg);
  color: var(--pp4-ink);
  font-family: 'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
/* defensive: pp4 elements must not inherit white text from any global rule */
.pp4, .pp4 *,
.pp4-drawer, .pp4-drawer *,
.pp4-subnav, .pp4-subnav *{ }
.pp4-drawer{ color: var(--pp4-ink); }
.pp4-page.pp4-lock{ overflow: hidden; }

.pp4{ width: 100%; }
.pp4 *{ box-sizing: border-box; }
.pp4 img{ max-width: 100%; height: auto; display: block; }

/* push the page below the fixed canonical nav */
.pp4-hero{ padding-top: 80px; }

/* =========================================================
   STICKY SUB-NAV
   ========================================================= */
.pp4-subnav{
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--pp4-line);
}
.pp4-subnav__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 28px);
  padding: 10px clamp(16px, 4vw, 56px);
}
.pp4-subnav__group{
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  flex: 1;
}
.pp4-subnav__name{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--pp4-ink);
  text-decoration: none;
}
.pp4-subnav__links{
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  list-style: none;
  margin: 0; padding: 0;
}
.pp4-subnav__link{
  font-size: 13px;
  color: var(--pp4-ink-soft);
  text-decoration: none;
  transition: color .15s;
}
.pp4-subnav__link:hover{ color: var(--pp4-ink); }
.pp4-subnav__buy{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--pp4-lime);
  color: var(--pp4-lime-ink);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border: 0;
  cursor: pointer;
}

/* =========================================================
   SHARED HELPERS
   ========================================================= */
.pp4-grad-pink,
.pp4-grad-orange{
  color: #C8FF00;
  font-style: italic;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
}

/* =========================================================
   1. HERO  — full-bleed white
   ========================================================= */
.pp4-hero{
  width: 100%;
  background: #fff;
  padding: clamp(40px, 8vw, 120px) clamp(20px, 4vw, 80px) 0;
  text-align: center;
}
.pp4-hero__copy{
  width: min(100%, 1400px);
  margin: 0 auto;
}
.pp4-hero__eyebrow{
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pp4-ink-soft);
  margin: 0 auto clamp(10px, 1.2vw, 18px);
  max-width: none;
}
.pp4-hero__title{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 130px);
  line-height: .98;
  letter-spacing: -0.025em;
  color: var(--pp4-ink);
  margin: 0;
}
.pp4-hero__tag{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 3vw, 44px);
  color: var(--pp4-lime);
  margin: clamp(4px, .6vw, 10px) 0 0;
  letter-spacing: -0.01em;
  line-height: 1;
}
.pp4-hero__price-row{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: clamp(14px, 1.8vw, 28px) 0 0;
}
.pp4-hero__price{
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--pp4-ink-soft);
}
.pp4-hero__price strong{
  color: var(--pp4-ink);
  font-weight: 600;
}
.pp4-hero__buy{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--pp4-lime);
  color: var(--pp4-lime-ink);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.pp4-hero__art{
  width: 100%;
  margin: clamp(20px, 3vw, 48px) auto 0;
  /* image spans the viewport at any size */
}
.pp4-hero__art img{
  width: min(96%, 1500px);
  margin: 0 auto;
  height: auto;
}

/* ===========================================================
   HERO FAN — on-load entrance animation
   Concept: hand+iPads ease up, fan-side wipes open left→right,
   slight rotate-down settle. Pure CSS, no video.
   =========================================================== */
.pp4-hero__art--fan{
  overflow: visible;
  perspective: 2200px;
  transform-style: preserve-3d;
}
.pp4-hero__fan-img{
  /* origin = bottom-left (the hand) so the fan opens up from there */
  transform-origin: 22% 88%;
  animation: fanIntro 1400ms cubic-bezier(.18, .85, .26, 1) both;
  will-change: transform, opacity, clip-path;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.08));
}

@keyframes fanIntro{
  0%{
    opacity: 0;
    transform: translateY(28px) scale(.92) rotate(-6deg);
  }
  60%{
    opacity: 1;
    transform: translateY(6px) scale(1.01) rotate(.6deg);
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .pp4-hero__fan-img{
    animation: none;
    clip-path: none;
  }
}

/* =========================================================
   2. ATTITUDE  — light gray full-bleed
   ========================================================= */
.pp4-attitude{
  width: 100%;
  background: var(--pp4-bg-soft);
  padding: clamp(60px, 8vw, 130px) clamp(20px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pp4-attitude__copy{
  width: min(100%, 980px);
}
.pp4-attitude__title{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 130px);
  line-height: .98;
  letter-spacing: -0.025em;
  color: var(--pp4-ink);
  margin: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
  text-wrap: balance;
}
.pp4-attitude__body{
  margin: clamp(18px, 2vw, 30px) auto 0;
  max-width: 580px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  color: var(--pp4-ink-soft);
}
.pp4-attitude__body strong{
  color: var(--pp4-ink);
  font-weight: 700;
}

/* Spec callouts — stacked under iPad, supporting detail */
.pp4-att-specs{
  list-style: none;
  margin: clamp(28px, 4vw, 56px) 0 0;
  padding: 0;
  display: flex;
  gap: clamp(48px, 8vw, 120px);
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}
.pp4-att-spec{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.pp4-att-spec__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--pp4-lime);
}
.pp4-att-spec__icon svg{
  width: 100%;
  height: 100%;
}
.pp4-att-spec__h{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--pp4-ink);
  margin: 0;
  line-height: 1;
  letter-spacing: -.01em;
}
.pp4-att-spec__s{
  font-size: clamp(11px, .85vw, 13px);
  color: var(--pp4-ink-soft);
  margin: 0;
  line-height: 1.3;
  letter-spacing: .02em;
}
.pp4-attitude__art{
  /* full-bleed: escape the section's horizontal padding */
  margin: clamp(36px, 5vw, 80px) calc(50% - 50vw) clamp(8px, 1.5vw, 24px);
  width: 100vw;
  display: block;
  position: relative;
}
.pp4-attitude__art img{
  /* iPad center sits at ~30% of asset width.
     We want iPad center at 50vw AND arm end at 100vw.
     Distance iPad-center → arm-end = 70% of asset.
     So asset width = 50vw / 70% ≈ 71.4vw.
     iPad left edge sits at 28.6vw, arm end at 100vw. */
  width: 71.4vw;
  margin-left: 28.6vw;
  margin-right: 0;
  height: auto;
  display: block;
}

/* =========================================================
   3. SCENE DARK  — full-bleed black, generous vertical breathing room
   ========================================================= */
.pp4-scene{
  width: 100%;
  background: #000;
  color: #fff;
  padding: clamp(60px, 7vw, 110px) clamp(20px, 6vw, 96px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.pp4-scene__copy{
  width: min(100%, 1100px);
}
.pp4-scene__title{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
}
.pp4-scene__body-col{
  margin: clamp(20px, 2.5vw, 36px) auto 0;
  max-width: 520px;
}
.pp4-scene__body{
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.pp4-scene__body + .pp4-scene__body{ margin-top: 14px; }
.pp4-scene__body strong{
  color: #fff;
  font-weight: 700;
}
.pp4-scene__link{
  display: inline-block;
  margin-top: 14px;
  color: #C8FF00;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
.pp4-scene__link:hover{
  color: #fff;
  text-decoration: underline;
}

.pp4-scene__art{
  width: 100%;
  margin-top: clamp(36px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 96px);
  display: flex;
  justify-content: center;
}
.pp4-scene__art img{
  width: min(96%, 1500px);
  height: auto;
  display: block;
}

/* =========================================================
   4. UPGRADE  — white split
   ========================================================= */
.pp4-upgrade{
  width: 100%;
  background: #fff;
  padding: clamp(80px, 10vw, 160px) clamp(20px, 6vw, 96px);
  display: flex;
  justify-content: center;
}
.pp4-upgrade__inner{
  width: 100%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.pp4-upgrade__copy{
  max-width: 540px;
  justify-self: end;
}
.pp4-upgrade__eyebrow{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pp4-ink-soft);
  margin: 0 0 12px;
}
.pp4-upgrade__title{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--pp4-ink);
}
.pp4-upgrade__sub{
  margin: 6px 0 0;
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--pp4-ink-soft);
}
.pp4-upgrade__body{
  margin: clamp(16px, 1.8vw, 24px) 0 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--pp4-ink-soft);
}
.pp4-upgrade__body strong{
  color: var(--pp4-ink);
  font-weight: 700;
}
.pp4-upgrade__features{
  list-style: none;
  margin: clamp(20px, 2.5vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.pp4-feat{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid var(--pp4-line);
  padding-top: 14px;
}
.pp4-feat__icon{
  flex: 0 0 28px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  color: #ff6ec7;
}
.pp4-feat__icon svg{ width: 22px; height: 22px; }
.pp4-feat__h{
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--pp4-ink);
}
.pp4-feat__s{
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--pp4-ink-soft);
}
.pp4-upgrade__cta{
  display: inline-block;
  margin-top: clamp(20px, 2.5vw, 36px);
  padding: 10px 22px;
  border: 1.5px solid var(--pp4-ink);
  background: transparent;
  color: var(--pp4-ink);
  border-radius: 999px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s;
}
.pp4-upgrade__cta:hover{
  background: var(--pp4-ink);
  color: #fff;
}
.pp4-upgrade__art{
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Social section — center title + note within centered text-align */
.social__title,
.social__note{ margin-left: auto; margin-right: auto; }

/* Clean video card — no iPad frame */
.pp4-upgrade__video{
  width: min(100%, 420px);
  aspect-ratio: 796 / 1036;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22), 0 8px 18px rgba(0,0,0,0.10);
  background: #000;
  display: block;
}

/* =========================================================
   5. AR CARD  — soft gray bg with rounded white card
   ========================================================= */
.pp4-ar-wrap{
  width: 100%;
  background: var(--pp4-bg-soft);
  padding: clamp(40px, 5vw, 90px) clamp(20px, 5vw, 80px);
}
.pp4-ar{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  background: #fff;
  border-radius: clamp(20px, 2vw, 32px);
  padding: clamp(36px, 5vw, 70px) clamp(28px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.pp4-ar__copy{ text-align: center; justify-self: center; max-width: 360px; }
.pp4-ar__icon{
  display: inline-block;
  width: 28px; height: 28px;
  color: var(--pp4-ink);
  margin: 0 0 14px;
}
.pp4-ar__icon svg{ width: 100%; height: 100%; }
.pp4-ar__title{
  margin: 0;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pp4-ink);
}
.pp4-ar__sub{
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--pp4-ink-soft);
}
.pp4-ar__art{
  display: flex;
  justify-content: center;
}
.pp4-ar__art img{
  width: min(100%, 340px);
  height: auto;
}

/* =========================================================
   6. PORTFOLIO
   ========================================================= */
.pp4-port{
  width: 100%;
  background: var(--pp4-bg-soft);
  padding: clamp(48px, 6vw, 96px) clamp(20px, 5vw, 80px);
  text-align: center;
}
.pp4-port__eyebrow{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--pp4-ink-soft);
  margin: 0 0 14px;
}
.pp4-port__title{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--pp4-ink);
  text-wrap: balance;
}
.pp4-port__kicker{
  margin: clamp(14px, 1.6vw, 22px) auto clamp(28px, 3.5vw, 44px);
  max-width: 640px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--pp4-ink-soft);
}
.pp4-port__kicker strong{
  color: var(--pp4-ink);
  font-weight: 700;
}
.pp4-port__toggle{
  display: inline-flex;
  gap: 6px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid var(--pp4-line);
  flex-wrap: wrap;
  max-width: 100%;
}
.pp4-chip{
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--pp4-ink-soft);
  cursor: pointer;
  white-space: nowrap;
}
.pp4-chip.is-on{
  background: var(--pp4-ink);
  color: #fff;
}
.pp4-port__sizeNote{
  max-width: 560px;
  margin: 0 auto clamp(28px, 3.5vw, 48px);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  color: var(--pp4-ink-soft);
}
.pp4-port__sizeNote strong{
  color: var(--pp4-ink);
  font-weight: 700;
}
/* Hide non-active grids — [hidden] alone is overridden by display: grid */
.pp4-port__grid[hidden]{ display: none !important; }
.pp4-port__empty[hidden]{ display: none !important; }
/* Empty-state for ratios with no portfolio yet */
.pp4-port__empty{
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  color: var(--pp4-ink-soft);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
}
.pp4-port__empty strong{
  display: block;
  color: var(--pp4-ink);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  margin-bottom: 8px;
}

.pp4-port__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.1vw, 16px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.pp4-pf{
  margin: 0;
  border-radius: clamp(8px, 1vw, 14px);
  overflow: hidden;
  background: #2a2a2e;
  position: relative;
  cursor: pointer;
}
.pp4-pf img,
.pp4-pf video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .25s ease;
}
.pp4-pf:hover img,
.pp4-pf:hover video{ transform: scale(1.03); filter: brightness(.62); }
.pp4-pf__use{
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translate(-50%, 12px);
  background: var(--pp4-lime);
  color: var(--pp4-lime-ink);
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, transform .25s;
  white-space: nowrap;
}
.pp4-pf:hover .pp4-pf__use,
.pp4-pf:focus-within .pp4-pf__use{
  opacity: 1;
  transform: translate(-50%, 0);
}
.pp4-pf.is-on{
  outline: 3px solid var(--pp4-lime);
  outline-offset: 0;
}
.pp4-pf.is-on .pp4-pf__use{ opacity: 1; transform: translate(-50%, 0); background: #fff; }
/* aspect ratios */
.pp4-port__grid[data-ratio="1-1"] .pp4-pf{ aspect-ratio: 1/1; }
.pp4-port__grid[data-ratio="4-5"] .pp4-pf{ aspect-ratio: 4/5; }
.pp4-port__grid[data-ratio="9-16"] .pp4-pf{ aspect-ratio: 9/16; }

/* =========================================================
   7. CTA + MARQUEE
   ========================================================= */
.pp4-cta{
  width: 100%;
  background: var(--pp4-bg-dark);
  color: #fff;
  padding: clamp(70px, 9vw, 140px) clamp(20px, 5vw, 80px) clamp(40px, 5vw, 80px);
  text-align: center;
}
.pp4-cta__title{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 110px);
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
}
.pp4-cta__sub{
  margin: 14px 0 clamp(20px, 2.5vw, 32px);
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.pp4-cta__btn{
  display: inline-block;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--pp4-lime);
  color: var(--pp4-lime-ink);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.pp4-cta__foot{
  margin: 22px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pp4-marquee{
  width: 100%;
  background: var(--pp4-bg-dark);
  color: rgba(255,255,255,.5);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
}
.pp4-marquee__track{
  display: flex;
  gap: 28px;
  animation: pp4-mq 38s linear infinite;
  white-space: nowrap;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .16em;
}
.pp4-marquee__track .d{ opacity: .35; }
@keyframes pp4-mq{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* =========================================================
   DRAWER  — slide-in from right
   ========================================================= */
.pp4-scrim{
  position: fixed;
  inset: 0;
  background: rgba(8,8,12,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}
.pp4-scrim.is-on{ opacity: 1; pointer-events: auto; }

.pp4-drawer{
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(440px, 96vw);
  background: #fff;
  z-index: 100;
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 60px rgba(0,0,0,.18);
}
.pp4-drawer.is-open{ transform: translateX(0); }
.pp4-drawer__close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px; height: 32px;
  border: 1px solid var(--pp4-line);
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.pp4-drawer__head{
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--pp4-line);
}
.pp4-drawer__eyebrow{
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--pp4-ink-soft);
  text-transform: uppercase;
}
.pp4-drawer__title{
  margin: 6px 0 0;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pp4-ink);
}
.pp4-drawer__title span{
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--pp4-lime);
  margin-top: 4px;
  letter-spacing: 0;
}
.pp4-drawer__body{
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}
.pp4-drawer__price{
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pp4-drawer__pNum{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  color: var(--pp4-ink);
}
.pp4-drawer__pNote{
  font-size: 12px;
  color: var(--pp4-ink-soft);
}
.pp4-drawer__feat{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pp4-drawer__feat li{
  font-size: 13px;
  padding-left: 18px;
  position: relative;
  color: var(--pp4-ink);
}
.pp4-drawer__feat li::before{
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pp4-lime);
}

.pp4-drawer__group{
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--pp4-line);
}
.pp4-drawer__lbl{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--pp4-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pp4-drawer__lbl span{
  font-size: 11px;
  color: var(--pp4-ink-soft);
  font-weight: 400;
}
.pp4-drawer__hint{
  margin: 8px 0 12px;
  font-size: 12px;
  color: var(--pp4-ink-soft);
}
.pp4-drawer__sizes{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.pp4-size{
  border: 1px solid var(--pp4-line);
  background: #fff;
  color: var(--pp4-ink);
  border-radius: 12px;
  padding: 12px 6px 10px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.pp4-size svg{ stroke: currentColor; }
.pp4-size.is-on{
  background: var(--pp4-ink);
  border-color: var(--pp4-ink);
  color: #fff;
}
.pp4-size__icon{
  display: block;
  width: 24px; height: 24px;
  margin: 0 auto 6px;
}
.pp4-size__icon svg{ width: 100%; height: 100%; }
.pp4-size__r{
  display: block;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.pp4-size__t{
  display: block;
  font-size: 9px;
  letter-spacing: .1em;
  opacity: .7;
  margin-top: 2px;
}
.pp4-drawer__refs{
  margin-top: 10px;
}
.pp4-drawer__empty{
  font-size: 12px;
  color: var(--pp4-ink-faint);
  margin: 0;
}
.pp4-refs__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pp4-refs__chip{
  position: relative;
  width: 64px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}
.pp4-refs__chip img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp4-refs__chip button{
  position: absolute;
  top: 2px; right: 2px;
  width: 18px; height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.pp4-add{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  cursor: pointer;
}
.pp4-add input{ position: absolute; opacity: 0; }
.pp4-add__box{
  width: 20px; height: 20px;
  border: 1.5px solid var(--pp4-line);
  border-radius: 6px;
  flex: 0 0 20px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  transition: all .15s;
}
.pp4-add input:checked + .pp4-add__box{
  background: var(--pp4-lime);
  border-color: var(--pp4-lime);
}
.pp4-add input:checked + .pp4-add__box::after{
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid var(--pp4-ink);
  border-bottom: 2px solid var(--pp4-ink);
  transform: rotate(-45deg) translate(1px,-1px);
}
.pp4-add__h{
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp4-ink);
}
.pp4-add__h em{
  font-style: normal;
  color: var(--pp4-lime);
  font-weight: 700;
  margin-left: 6px;
}
.pp4-add__s{
  display: block;
  font-size: 12px;
  color: var(--pp4-ink-soft);
  margin-top: 2px;
}

.pp4-drawer__foot{
  border-top: 1px solid var(--pp4-line);
  padding: 18px 28px 22px;
  background: #fafafa;
}
.pp4-drawer__total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pp4-drawer__totalLbl{
  font-size: 13px;
  color: var(--pp4-ink-soft);
}
.pp4-drawer__totalNum{
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--pp4-ink);
}
.pp4-drawer__balance{
  font-size: 12px;
  color: var(--pp4-ink-soft);
  margin: 4px 0 14px;
}
.pp4-drawer__checkout{
  display: block;
  text-align: center;
  background: var(--pp4-lime);
  color: var(--pp4-lime-ink);
  padding: 14px;
  border-radius: 12px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.pp4-drawer__checkout:hover{
  filter: brightness(.97);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px){
  .pp4-port__grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px){
  .pp4-upgrade__inner,
  .pp4-ar{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pp4-upgrade__copy{ justify-self: center; }
  .pp4-upgrade__art{ justify-content: center; }
  .pp4-upgrade__features{ text-align: left; max-width: 360px; margin-left: auto; margin-right: auto; }
  .pp4-port__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px){
  .pp4-port__grid{ grid-template-columns: repeat(2, 1fr); }
  .pp4-hero{ padding-top: 56px; }
  .pp4-hero__title{ font-size: clamp(40px, 14vw, 64px); }
  .pp4-hero__tag{ font-size: clamp(18px, 5.5vw, 28px); }
}

/* Load More button — portfolio pagination */
.pp4-port__more {
  display: block;
  margin: 32px auto 0;
  padding: 14px 32px;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(10,10,10,.15);
  border-radius: 999px;
  font: 600 14px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.pp4-port__more:hover {
  background: #C8FF00;
  color: #0a0a0a;
  transform: translateY(-1px);
}
.pp4-port__more[hidden] { display: none !important; }

/* ============================================================
   BUY MODAL — Apple iPad-style popup
   ============================================================ */
.bm-scrim {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 100000; /* above page nav (9999) and search overlay (10000) */
}
.bm-scrim.is-on { opacity: 1; visibility: visible; }

.bm-modal {
  position: fixed;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  background: #f5f5f7;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(20px) scale(.985); visibility: hidden;
  transition: opacity .26s ease, transform .26s cubic-bezier(.2,.7,.2,1), visibility .26s ease;
  z-index: 100001; /* above scrim */
  display: flex; flex-direction: column;
  overflow: hidden;
  color: #1d1d1f;
  font-family: 'Satoshi', system-ui, sans-serif;
}
.bm-modal.is-open { opacity: 1; transform: none; visibility: visible; }

.bm-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #1d1d1f;
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  transition: background .15s ease;
}
.bm-close:hover { background: rgba(0,0,0,.12); }
.bm-close svg { width: 18px; height: 18px; display: block; }

/* TOPBAR */
.bm-topbar {
  flex: 0 0 auto;
  padding: 22px 28px 18px;
  text-align: center;
  border-bottom: 1px solid #e3e3e7;
  background: #f5f5f7;
}
.bm-topbar__eyebrow {
  font: 600 11px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  color: #6e6e73; margin: 0 0 6px;
}
.bm-topbar__title {
  font: 700 26px/1.1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: -.01em; color: #1d1d1f; margin: 0;
}
.bm-topbar__sub { margin: 6px 0 0; font-size: 14px; color: #6e6e73; }
.bm-topbar__sub strong { color: #1d1d1f; font-weight: 600; }

/* SHELL — sticky-left + scrolling-right */
.bm-shell {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 0;
  position: relative;
}

/* LEFT — slider on the left, cross-sell beside it (side-by-side) */
.bm-left {
  background: #f5f5f7;
  border-right: 1px solid #e3e3e7;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 28px;
}
.bm-left::-webkit-scrollbar { width: 0; height: 0; }
.bm-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.bm-slider__track {
  width: 100%;
  display: flex;
  align-items: stretch;
  transition: transform .32s cubic-bezier(.4,.0,.2,1);
  will-change: transform;
}
.bm-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  display: block;
  position: relative;
}
.bm-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.bm-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 38px 14px 14px;
  font-size: 12px;
  color: #fff;
  letter-spacing: .01em;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  border-radius: 0 0 14px 14px;
  pointer-events: none;
  z-index: 1;
}
.bm-slider__dots {
  display: flex; justify-content: center; gap: 8px;
  position: absolute;
  top: 12px; left: 0; right: 0;
  z-index: 3;
}
.bm-dot {
  box-shadow: 0 0 0 2px rgba(255,255,255,.35);
  background: rgba(255,255,255,.4) !important;
}
.bm-dot.is-on { background: #fff !important; transform: scale(1.25); }
.bm-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,.2); border: 0; cursor: pointer; padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.bm-dot.is-on { background: #1d1d1f; transform: scale(1.15); }
.bm-dot:hover { background: rgba(0,0,0,.45); }

/* RIGHT — scrolling config */
.bm-right {
  background: #ffffff;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 56px 120px;
  scroll-behavior: smooth;
}

.bm-sec {
  padding: 28px 0;
  border-bottom: 1px solid #e3e3e7;
}
.bm-sec:last-child { border-bottom: 0; }
.bm-sec__num {
  font: 600 11px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  color: #6e6e73; margin: 0 0 10px;
}
.bm-sec__h {
  font: 700 22px/1.2 'Cabinet Grotesk', system-ui, sans-serif;
  color: #1d1d1f; margin: 0 0 8px;
  letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.bm-sec__count {
  font: 500 12px/1 'Satoshi', system-ui, sans-serif;
  color: #6e6e73; background: #f5f5f7;
  padding: 6px 10px; border-radius: 999px;
  letter-spacing: 0;
}
.bm-sec__p {
  font-size: 14px; line-height: 1.55; color: #6e6e73;
  margin: 0 0 16px;
}
.bm-sec__p strong { color: #1d1d1f; font-weight: 600; }

/* PLAN feature list */
.bm-feat {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.bm-feat li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #1d1d1f;
}
.bm-feat__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #C8FF00; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(200,255,0,.18);
}

/* SIZE picker */
.bm-sizes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.bm-size {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px;
  padding: 16px 14px;
  background: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font: inherit; color: inherit;
  text-align: left;
  transition: background .15s ease, border-color .15s ease;
}
.bm-size:hover { background: #ebebef; }
.bm-size.is-on { background: #fff; border-color: #1d1d1f; }
.bm-size__icon { width: 22px; height: 22px; color: #1d1d1f; }
.bm-size__icon svg { width: 100%; height: 100%; }
.bm-size__r {
  font: 700 16px/1 'Cabinet Grotesk', system-ui, sans-serif;
  color: #1d1d1f;
}
.bm-size__t { font-size: 11px; color: #6e6e73; letter-spacing: .01em; }
.bm-size__hint {
  font-size: 10px; font-weight: 600;
  color: #6e6e73; text-transform: uppercase; letter-spacing: .1em;
}
.bm-size.is-on .bm-size__hint { color: #1d1d1f; }

/* REFERENCES */
.bm-refs {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 14px;
  min-height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.bm-refs__empty {
  margin: 0; font-size: 13px; color: #6e6e73; text-align: center;
}
.bm-refs__chips {
  display: flex; gap: 10px; flex-wrap: wrap; width: 100%;
}
.bm-refs__chip {
  position: relative;
  width: 64px; height: 80px;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.bm-refs__chip img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.bm-refs__chip button {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #1d1d1f; color: #fff;
  border: 2px solid #fff; cursor: pointer;
  font-size: 12px; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
}

/* ADD-ON checkboxes */
/* ===== ADD-ON CARDS (Apple Configurator style) ===== */
.bm-addgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bm-add {
  display: block;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.bm-add__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}
.bm-add__card {
  display: block;
  padding: 24px 24px 26px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
  height: 100%;
  box-sizing: border-box;
}
.bm-add:hover .bm-add__card {
  border-color: #86868b;
}
.bm-add__input:focus-visible + .bm-add__card {
  border-color: #1d1d1f;
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}
.bm-add__input:checked + .bm-add__card {
  border-color: #1d1d1f;
  box-shadow: 0 0 0 1px #1d1d1f inset;
}

/* Row: title left, price right — same line, same size */
.bm-add__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.bm-add__title {
  font: 600 18px/1.2 'Satoshi', system-ui, sans-serif;
  color: #1d1d1f;
  letter-spacing: -.012em;
}
.bm-add__price {
  font: 600 18px/1.2 'Satoshi', system-ui, sans-serif;
  color: #1d1d1f;
  letter-spacing: -.012em;
  white-space: nowrap;
  flex-shrink: 0;
}
.bm-add__desc {
  display: block;
  font: 400 14px/1.45 'Satoshi', system-ui, sans-serif;
  color: #6e6e73;
  letter-spacing: -.003em;
}

@media (max-width: 720px){
  .bm-addgrid { grid-template-columns: 1fr; gap: 12px; }
  .bm-add__card { padding: 20px 20px 22px; }
  .bm-add__title, .bm-add__price { font-size: 17px; }
}

/* UPGRADE cards */
.bm-upcards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.bm-upcard {
  display: block;
  padding: 18px;
  background: #f5f5f7;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  border: 1.5px solid transparent;
  transition: all .15s ease;
}
.bm-upcard:hover {
  background: #fff;
  border-color: #1d1d1f;
  transform: translateY(-2px);
}
.bm-upcard--star {
  background: #1d1d1f; color: #fff;
}
.bm-upcard--star:hover {
  background: #0a0a0a;
  border-color: #C8FF00;
}
.bm-upcard__eyebrow {
  font: 600 11px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6e6e73; margin: 0 0 8px;
}
.bm-upcard--star .bm-upcard__eyebrow { color: #C8FF00; }
.bm-upcard__price {
  font: 700 24px/1 'Cabinet Grotesk', system-ui, sans-serif;
  color: #1d1d1f; margin: 0 0 8px;
}
.bm-upcard--star .bm-upcard__price { color: #fff; }
.bm-upcard__desc {
  font-size: 12px; color: #6e6e73; margin: 0; line-height: 1.5;
}
.bm-upcard--star .bm-upcard__desc { color: rgba(255,255,255,.7); }
.bm-upcard__arrow {
  position: absolute; top: 16px; right: 16px;
  font-size: 18px; color: #6e6e73;
}
.bm-upcard--star .bm-upcard__arrow { color: #C8FF00; }

/* FIELDS */
.bm-fieldgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.bm-field { display: flex; flex-direction: column; gap: 6px; }
.bm-field--full { grid-column: 1 / -1; }
.bm-field__lbl {
  font: 600 11px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
  color: #6e6e73;
}
.bm-field input {
  padding: 12px 14px;
  background: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: 500 14px/1 'Satoshi', system-ui, sans-serif;
  color: #1d1d1f;
  transition: background .15s ease, border-color .15s ease;
}
.bm-field input:focus {
  outline: none;
  background: #fff;
  border-color: #1d1d1f;
}
.bm-field input::placeholder { color: #a1a1a6; }

/* SUMMARY */
.bm-sec--summary { padding-bottom: 0; border-bottom: 0; }
.bm-lines {
  list-style: none; padding: 0; margin: 0;
  background: #f5f5f7;
  border-radius: 12px;
  padding: 14px 16px;
}
.bm-lines li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  font-size: 14px; color: #1d1d1f;
  border-bottom: 1px solid #e3e3e7;
}
.bm-lines li:last-child { border-bottom: 0; }
.bm-totalRow {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 4px 8px;
  font-size: 14px; color: #6e6e73;
}
.bm-totalNum {
  font: 700 28px/1 'Cabinet Grotesk', system-ui, sans-serif;
  color: #1d1d1f;
}
.bm-finePrint {
  font-size: 11px; color: #6e6e73; line-height: 1.5;
  margin: 8px 0 0;
}

/* SCROLL-SPY */
.bm-spy {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
  z-index: 3;
}
.bm-spy__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0,0,0,.2);
  display: block;
  transition: all .2s ease;
}
.bm-spy__dot:hover { background: rgba(0,0,0,.5); }
.bm-spy__dot.is-on { background: #1d1d1f; transform: scale(1.4); }

/* FOOT — sticky CTA bar */
.bm-foot {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(245,245,247,.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid #e3e3e7;
}
.bm-foot__sum { display: flex; flex-direction: column; gap: 2px; }
.bm-foot__lbl {
  font: 600 10px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6e6e73;
}
.bm-foot__num {
  font: 700 22px/1 'Cabinet Grotesk', system-ui, sans-serif;
  color: #1d1d1f;
}
.bm-foot__cta {
  padding: 14px 28px;
  background: #C8FF00;
  color: #0a0a0a;
  border: 0; border-radius: 999px;
  font: 700 14px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.bm-foot__cta:hover {
  background: #D7FF40;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(200,255,0,.4);
}

/* Body lock when modal open — freeze the page completely so popup feels detached */
body.pp4-lock,
html:has(body.pp4-lock) { overflow: hidden !important; }
body.pp4-lock { height: 100vh; }

/* TABLET */
@media (max-width: 1024px){
  .bm-modal { top: 16px; left: 16px; right: 16px; bottom: 16px; }
  .bm-shell { grid-template-columns: 48% 52%; }
  .bm-right { padding: 32px 40px 120px; }
  .bm-left { padding: 24px; }
  .bm-spy { right: 6px; }
}

/* MOBILE — full-screen takeover, single scroll, slider at top */
@media (max-width: 767px){
  .bm-modal {
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 0;
    display: flex; flex-direction: column;
  }
  .bm-topbar {
    padding: 18px 20px 14px;
    position: sticky; top: 0; z-index: 4;
    background: rgba(245,245,247,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .bm-topbar__title { font-size: 22px; }
  .bm-shell {
    display: block;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .bm-left {
    position: relative;
    border-right: 0;
    border-bottom: 1px solid #e3e3e7;
    padding: 20px 20px 18px;
    overflow: hidden;
    width: 100%;
    display: flex; flex-direction: column; align-items: stretch;
    gap: 18px;
  }
  .bm-slider { max-width: 280px; margin: 0 auto; width: 100%; }
  .bm-slide img { aspect-ratio: 4/5; }
  .bm-slide figcaption { font-size: 12px; text-align: center; }
  .bm-right {
    padding: 8px 20px 32px;
    overflow: visible;
    width: 100%;
  }
  .bm-sec { padding: 22px 0; }
  .bm-sec__h { font-size: 19px; }
  .bm-sizes { grid-template-columns: 1fr; }
  .bm-upcards { grid-template-columns: 1fr; }
  .bm-fieldgrid { grid-template-columns: 1fr; }
  .bm-spy { display: none; }
  .bm-close { top: 10px; right: 10px; }
  .bm-foot { padding: 12px 16px; }
  .bm-foot__cta { padding: 12px 20px; font-size: 13px; }
  .bm-foot__num { font-size: 18px; }
}

/* ============================================================
   BUY MODAL v2 — additions
   ============================================================ */

/* CROSS-SELL strip — sits beside slider on desktop */
.bm-cw {
  width: 100%;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3e3e7;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  align-self: center;
}
.bm-cw__lbl {
  font: 600 11px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6e6e73; margin: 0 0 10px;
}
.bm-cw__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.bm-cw__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "desc desc";
  align-items: baseline;
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f5f7;
  transition: background .15s ease, color .15s ease;
  cursor: default;
}
.bm-cw__row:hover { background: #1d1d1f; color: #fff; }
.bm-cw__row:hover .bm-cw__price,
.bm-cw__row:hover .bm-cw__desc { color: rgba(255,255,255,.78); }
.bm-cw__row:hover .bm-cw__name { color: #fff; }
.bm-cw__row--star { background: #1d1d1f; color: #fff; }
.bm-cw__row--star .bm-cw__price { color: #C8FF00; font-weight: 700; }
.bm-cw__row--star .bm-cw__desc { color: rgba(255,255,255,.7); }
.bm-cw__row--star em { font-style: normal; }
.bm-cw__row--star:hover { background: #0a0a0a; }
.bm-cw__name {
  grid-area: name;
  font: 600 14px/1.2 'Satoshi', system-ui, sans-serif;
  color: inherit;
}
.bm-cw__price {
  grid-area: price;
  font: 700 14px/1 'Cabinet Grotesk', system-ui, sans-serif;
  color: #1d1d1f;
}
.bm-cw__desc {
  grid-area: desc;
  font-size: 11.5px; color: #6e6e73; line-height: 1.4;
}
.bm-cw__cta {
  display: inline-flex; margin-top: 10px;
  font: 600 12px/1 'Satoshi', system-ui, sans-serif;
  color: #1d1d1f; text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid #1d1d1f;
}
.bm-cw__cta:hover { color: #C8FF00; border-bottom-color: #C8FF00; }

/* SIZE picker — 2-column with text-label placeholders */
.bm-sizes--two { grid-template-columns: 1fr 1fr !important; gap: 12px; }
.bm-size {
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 14px !important;
  padding: 14px !important;
}
.bm-size__thumb {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #1d1d1f;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.bm-size[data-size="4-5"] .bm-size__thumb { aspect-ratio: 4/5; }
.bm-size[data-size="9-16"] .bm-size__thumb { aspect-ratio: 9/16; width: 52px; }
.bm-size__thumbLbl {
  font: 700 14px/1 'Cabinet Grotesk', system-ui, sans-serif;
  letter-spacing: .02em;
  color: #fff;
}
.bm-size.is-on .bm-size__thumb { background: #1d1d1f; }
.bm-size__meta {
  display: flex; flex-direction: column; gap: 4px;
  justify-content: center;
  text-align: left; flex: 1;
}

/* STYLE NOTES textarea */
.bm-field--notes textarea {
  padding: 12px 14px;
  background: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: 500 14px/1.5 'Satoshi', system-ui, sans-serif;
  color: #1d1d1f;
  width: 100%;
  min-height: 88px;
  resize: vertical;
  transition: background .15s ease, border-color .15s ease;
}
.bm-field--notes textarea:focus {
  outline: none;
  background: #fff;
  border-color: #1d1d1f;
}
.bm-field--notes textarea::placeholder { color: #a1a1a6; }

/* SUBMIT shake on validation fail */
@keyframes bmShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.bm-foot__cta.is-shake { animation: bmShake .42s ease; }

/* SUCCESS overlay (sits inside modal) */
.bm-success {
  position: absolute; inset: 0;
  background: rgba(245,245,247,.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 50;
  padding: 24px;
}
.bm-success.is-on { display: flex; }
.bm-success__card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  max-width: 420px; width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.bm-success__check {
  width: 56px; height: 56px; border-radius: 50%;
  background: #C8FF00;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.bm-success__check svg { width: 28px; height: 28px; display: block; }
.bm-success__h {
  font: 700 22px/1.2 'Cabinet Grotesk', system-ui, sans-serif;
  color: #1d1d1f; margin: 0 0 8px;
}
.bm-success__p {
  font-size: 14px; color: #6e6e73; line-height: 1.5;
  margin: 0 0 22px;
}
.bm-success__p strong { color: #1d1d1f; font-weight: 600; }
.bm-success__btn {
  display: inline-block;
  padding: 12px 28px; border-radius: 999px;
  background: #1d1d1f; color: #fff;
  border: 0; cursor: pointer;
  font: 600 13px/1 'Satoshi', system-ui, sans-serif;
  letter-spacing: .02em;
  transition: background .15s ease, transform .15s ease;
}
.bm-success__btn:hover { background: #000; transform: translateY(-1px); }

/* MOBILE refinements for new elements */
@media (max-width: 767px){
  .bm-cw { max-width: 100%; margin-top: 0; }
  .bm-sizes--two { grid-template-columns: 1fr !important; }
  .bm-size__thumb { width: 56px; }
  .bm-size[data-size="9-16"] .bm-size__thumb { width: 44px; }
  .bm-success__card { padding: 28px 22px; }
}

/* ===== SECTION LOCK / UNLOCK ===== */
.bm-sec{ position: relative; transition: opacity .25s ease; }
.bm-sec.is-locked{ opacity: .38; }
.bm-sec.is-locked > *:not(.bm-sec__lock){ pointer-events: none; user-select: none; }
/* Hide the lock overlay entirely — dimmed opacity is enough */
.bm-sec__lock{ display: none !important; }

/* ===== REQUIRED ASTERISK ===== */
.bm-req{
  color: #ff5470;
  font-weight: 700;
  font-style: normal;
  margin-left: 3px;
  font-size: .95em;
}

/* ===== PROMO CODE ===== */
.bm-promo{
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.bm-promo__input{
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  outline: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: border-color .15s ease, background .15s ease;
}
.bm-promo__input::placeholder{
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
  text-transform: none;
}
.bm-promo__input:focus{
  border-color: #C8FF00;
  background: rgba(255,255,255,.09);
}
.bm-promo__btn{
  flex-shrink: 0;
  padding: 0 22px;
  height: 44px;
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #0a0a0a;
  background: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
}
.bm-promo__btn:hover{ background: #C8FF00; }
.bm-promo__btn:active{ transform: scale(.97); }
.bm-promo__msg{
  margin: 8px 0 0;
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .01em;
}
.bm-promo__msg.is-ok{ color: #C8FF00; }
.bm-promo__msg.is-err{ color: #ff5470; }

@media (max-width: 540px){
  .bm-promo{ flex-direction: column; }
  .bm-promo__btn{ width: 100%; }
}


/* === Tier slider: video support === */
.bm-slide video {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  background: #0a0a0a;
}

.bm-slide img,
.bm-slide video { aspect-ratio: 9/16; }
@media (max-width: 720px) { .bm-slide img, .bm-slide video { aspect-ratio: 9/16; } }
/* Single size grid */
.bm-sizes--one { display: grid; grid-template-columns: 1fr; gap: 12px; }
