/* ==========================================================================
   FOGAWAY — product2
   New product-page design, mobile-first. Loaded AFTER site.css, which keeps
   owning the buy sheet, the Stripe field styling and the intent popup.
   Everything here is scoped to .p2 — the page deliberately does NOT use the
   .product-page class, so none of the old product layout rules apply.
   ========================================================================== */

.p2 {
  --ink: #0b0b0c;
  --ink-2: #45454b;
  --ink-3: #74747c;
  --paper: #ffffff;
  --card: #f4f4f3;
  --card-2: #ebebe9;
  --line: rgba(11, 11, 12, .11);
  --line-2: rgba(11, 11, 12, .06);
  --stock: #12a45c;
  /* buy actions are green; 5.4:1 on white text, so it passes AA */
  --cta: #0a7a44;
  --cta-press: #086437;
  --amber: #f5a524;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-cta: 0 6px 18px -8px rgba(11, 11, 12, .55);
  --shadow-bar: 0 -8px 28px -20px rgba(11, 11, 12, .6);

  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.p2 *:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.p2 img, .p2 video { max-width: 100%; height: auto; display: block; }
.p2 button { cursor: pointer; font: inherit; }
.p2 h1, .p2 h2, .p2 h3 { margin: 0; font-weight: 700; letter-spacing: -.028em; line-height: 1.08; }
.p2 p { margin: 0; }

/* the closed sheet must leave the layout and the tab order — site.css gives
   .buy-sheet display:flex, which otherwise beats the [hidden] UA rule */
.p2 .buy-sheet[hidden],
.p2 .pay-sheet-backdrop[hidden] { display: none !important; }

/* English-only page: the auto-Hebrew engine is not loaded here, and this
   keeps the layout LTR even if a browser or extension tries to flip it. */
.p2 { direction: ltr; }

.p2 .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.p2 .p2-head {
  position: sticky; top: 0; z-index: 70;
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.p2 .p2-burger {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: none; color: var(--ink); border-radius: 12px;
}
.p2 .p2-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.p2 .p2-mark {
  justify-self: center;
  font-size: 15px; font-weight: 700; letter-spacing: .3em; text-indent: .3em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.p2 .p2-mark::after { display: none; }
.p2 .header-buy {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 15px;
  border: 0; border-radius: 999px; background: var(--cta); color: #fff;
  font-size: 13.5px; font-weight: 650; white-space: nowrap;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.p2.is-scrolled .header-buy { opacity: 1; transform: none; pointer-events: auto; }
.p2 .header-buy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* slide-down menu */
.p2 .p2-menu {
  position: fixed; left: 0; right: 0; top: 0; z-index: 69;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  /* clears the 60px header when open, and fully leaves the screen when not */
  padding: 66px 12px 14px;
  transform: translateY(-104%);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 20px 40px -28px rgba(11, 11, 12, .5);
}
.p2 .p2-menu.is-open { transform: none; }
.p2 .p2-menu a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 50px; padding: 0 8px;
  color: var(--ink); text-decoration: none;
  font-size: 16px; font-weight: 600;
  border-bottom: 1px solid var(--line-2);
}
.p2 .p2-menu a:last-child { border-bottom: 0; }
.p2 .p2-menu a span { font-size: 13px; font-weight: 500; color: var(--ink-3); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.p2 .product-gallery { background: var(--paper); overflow: visible; padding: 0; }
.p2 .product-gallery-stage {
  position: relative;
  /* landscape on phones so the price and the Buy button clear the fold */
  aspect-ratio: 6 / 5; height: auto;
  background: var(--card);
  border-radius: 0;
  overflow: hidden;
  touch-action: pan-y;
}
.p2 .product-gallery-stage > img,
.p2 .product-gallery-stage > video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .4s ease;
}
.p2 .product-gallery-stage > .is-active { opacity: 1; }
/* the kit film is a produced clip with its own framing and titles — cropping
   it to fill would cut the text off, so it is letterboxed on its own dark
   ground instead of covered */
.p2 .product-gallery-stage > video { object-fit: contain; background: #0b0b0c; }
.p2 .gallery-fog { display: none; }
.p2 .product-gallery-stage .gallery-status {
  position: absolute; left: 14px; top: 14px; right: auto; bottom: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  font-size: 11.5px; font-weight: 650; color: var(--ink);
}
.p2 .product-gallery-stage .gallery-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--stock); }

.p2 .g-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 10px rgba(11, 11, 12, .13);
  color: var(--ink); z-index: 2;
  transition: transform .16s ease, opacity .16s ease;
}
.p2 .g-arrow:active { transform: translateY(-50%) scale(.9); }
.p2 .g-arrow[data-dir="prev"] { left: 12px; }
.p2 .g-arrow[data-dir="next"] { right: 12px; }
.p2 .g-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.p2 .gallery-picker {
  display: flex; gap: 8px; justify-content: center;
  padding: 10px 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.p2 .gallery-picker::-webkit-scrollbar { display: none; }
.p2 .gallery-picker button {
  position: relative; flex: 0 0 auto;
  width: 62px; height: 62px; padding: 0;
  border: 1.5px solid transparent; border-radius: 12px;
  background: var(--card); overflow: hidden;
  transition: border-color .18s ease;
}
.p2 .gallery-picker button img { width: 100%; height: 100%; object-fit: cover; }
.p2 .gallery-picker button.is-selected { border-color: var(--ink); }

/* ==========================================================================
   BUY PANEL — the page's centre of gravity
   ========================================================================== */
.p2 .p2-buy { padding: 20px 16px 26px; scroll-margin-top: 68px; }

/* product name — a quiet label, not a headline */
.p2 .p2-name {
  font-size: 13px; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}

/* price and quantity share one line: the two things the buyer is deciding */
.p2 .p2-pricerow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 16px;
}
.p2 .p2-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  margin-top: 12px;
}
.p2 .p2-qty-note { font-size: 12.5px; color: var(--ink-3); }
.p2 .p2-eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--ink-3);
}

.p2 .product-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px;
  min-width: 0; margin: 0; padding: 0; border: 0; background: none;
}
.p2 .product-price small { display: none; }
.p2 .product-price strong {
  font-size: clamp(27px, 7.4vw, 33px); font-weight: 700; letter-spacing: -.032em; line-height: 1;
}
.p2 .product-price > span { font-size: 13px; font-weight: 550; color: var(--ink-3); }

.p2 .p2-stock {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  border-radius: 999px; background: rgba(18, 164, 92, .1);
  font-size: 12.5px; font-weight: 650; color: #0a7a44;
}
.p2 .p2-stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--stock); }

/* quantity */
.p2 .quantity-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 20px;
}
.p2 .quantity-row .lbl strong { display: block; font-size: 14.5px; font-weight: 650; }
.p2 .quantity-row .lbl span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.p2 .quantity-control {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  padding: 3px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
}
.p2 .quantity-control button {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--card); color: var(--ink);
  font-size: 20px; font-weight: 600; line-height: 1;
  transition: transform .15s ease, opacity .15s ease;
}
.p2 .quantity-control button:disabled { opacity: .3; background: transparent; }
.p2 .quantity-control button:not(:disabled):active { transform: scale(.9); }
.p2 .quantity-control output {
  min-width: 34px; text-align: center;
  font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* extra cartridge upsell */
.p2 .installation-picker { border: 0; margin: 18px 0 0; padding: 0; }
.p2 #extraLabel {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start;
  padding: 14px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.p2 #extraLabel.is-selected { border-color: var(--ink); background: #fafaf9; }
.p2 #extraLabel input { position: absolute; opacity: 0; width: 0; height: 0; }
.p2 #extraLabel > .tx { grid-column: 2; }
.p2 #extraLabel strong { display: block; font-size: 14px; font-weight: 650; }
.p2 #extraLabel small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.p2 #extraLabel i {
  grid-column: 1; grid-row: 1; position: relative;
  width: 22px; height: 22px; margin-top: 1px;
  border-radius: 7px; border: 1.6px solid rgba(11, 11, 12, .26); background: var(--paper);
  transition: background .16s ease, border-color .16s ease;
}
.p2 #extraLabel.is-selected i { background: var(--ink); border-color: var(--ink); }
.p2 #extraLabel.is-selected i::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
.p2 #extraLabel .tag {
  grid-column: 3; grid-row: 1;
  padding: 4px 8px; border-radius: 7px;
  background: var(--card-2); color: var(--ink-2);
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}

/* ---- THE BUY BUTTON: given room, weight and nothing to compete with ---- */
.p2 .p2-cta-stage { margin-top: 22px; }
.p2 .p2-cta {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; min-height: 60px;
  border: 0; border-radius: 999px;
  background: var(--cta); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: -.012em;
  box-shadow: 0 6px 18px -8px rgba(10, 122, 68, .75);
  transition: transform .16s ease, box-shadow .16s ease;
}
.p2 .p2-cta:active { transform: scale(.982); background: var(--cta-press); box-shadow: 0 3px 10px -6px rgba(10, 122, 68, .7); }
.p2 .p2-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.p2 .p2-cta-note {
  display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12.5px; font-weight: 550; color: var(--ink-3);
}
.p2 .p2-cta-note svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.p2 .p2-cta-note b {
  padding: 3px 7px; border-radius: 5px; background: var(--card);
  font-size: 10.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em;
}
.p2 #bnplNote { display: none; }
/* the instalment sentence is long enough to wrap, so the icon anchors to the
   first line instead of centring on its own row above the text */
.p2 #bnplNote.is-on {
  display: flex; flex-wrap: nowrap; align-items: flex-start;
  justify-content: center; gap: 8px;
  max-width: 34em; margin-inline: auto;
  text-align: left; line-height: 1.45;
}
.p2 #bnplNote svg { margin-top: 2px; }

/* ==========================================================================
   TRUST ROW
   ========================================================================== */
.p2 .p2-trust {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line-2);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.p2 .p2-trust div {
  display: flex; align-items: center; gap: 11px;
  padding: 16px 14px; background: var(--paper);
}
.p2 .p2-trust svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.p2 .p2-trust b { display: block; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.p2 .p2-trust span { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-3); }
/* On phones the four cells are only ~180px wide — the second line wraps into
   an unreadable stack, so the label carries the meaning on its own there. */
@media (max-width: 599px) {
  .p2 .p2-trust span { display: none; }
  .p2 .p2-trust div { padding: 15px 12px; gap: 9px; }
  .p2 .p2-trust svg { width: 21px; height: 21px; }
  .p2 .p2-trust b { font-size: 12.5px; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.p2 .p2-sec { padding: 16px; }
.p2 .p2-card {
  border-radius: var(--r-xl);
  background: var(--card);
  overflow: hidden;
}

/* complete kit */
.p2 .p2-kit { padding: 26px 20px 20px; }
.p2 .p2-kit h2 { font-size: clamp(25px, 7vw, 30px); }
.p2 .p2-kit p.sub { margin-top: 9px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.p2 .p2-kit img { margin: 16px auto 0; width: 100%; max-width: 520px; }
.p2 .p2-kit-list {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(11, 11, 12, .09);
  font-size: 12.5px; color: var(--ink-2);
}
.p2 .p2-kit-list span { display: inline-flex; align-items: center; }
.p2 .p2-kit-list span:not(:last-child)::after {
  content: ""; width: 1px; height: 12px; margin: 0 10px;
  background: rgba(11, 11, 12, .18);
}

/* three feature cards */
.p2 .p2-features { display: grid; gap: 12px; margin-top: 12px; }
.p2 .p2-feat { padding: 20px; display: flex; flex-direction: column; }
.p2 .p2-feat img { border-radius: var(--r-md); width: 100%; }
.p2 .p2-feat .tx { margin-top: 16px; }
.p2 .p2-feat h3 { font-size: 19px; }
.p2 .p2-feat h3 em { font-style: normal; display: block; font-size: 27px; margin-top: 2px; }
.p2 .p2-feat p { margin-top: 7px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.p2 .p2-ways { display: grid; gap: 10px; margin-top: 14px; }
.p2 .p2-ways div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.p2 .p2-ways svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* eight seconds band */
.p2 .p2-eight {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: #0b0b0c; color: #fff;
}
.p2 .p2-eight video, .p2 .p2-eight > img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: .62;
}
.p2 .p2-eight-tx {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(11, 11, 12, .86) 62%);
}
.p2 .p2-eight-tx h2 { color: #fff; font-size: clamp(24px, 7vw, 30px); text-wrap: balance; }
.p2 .p2-eight-stamps {
  position: absolute; left: 14px; right: 14px; top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .92);
}
.p2 .p2-eight-stamps span {
  padding: 5px 10px; border-radius: 8px;
  background: rgba(11, 11, 12, .55); backdrop-filter: blur(6px);
}
.p2 .p2-eight-stamps span:last-child { color: var(--amber); }
.p2 .p2-eight-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
  transition: transform .18s ease, opacity .18s ease;
}
.p2 .p2-eight-play::after {
  content: ""; margin-left: 4px;
  border-left: 17px solid var(--ink);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.p2 .p2-eight-play:active { transform: translate(-50%, -50%) scale(.92); }
.p2 .p2-eight.is-playing .p2-eight-play { opacity: 0; pointer-events: none; }
.p2 .p2-eight.is-playing video { opacity: 1; }

/* safety cards */
.p2 .p2-safety { display: grid; gap: 10px; margin-top: 12px; }
.p2 .p2-safe { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px 16px; }
.p2 .p2-safe .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; }
.p2 .p2-safe svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p2 .p2-safe strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.p2 .p2-safe p { margin-top: 5px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* manual */
.p2 .manual-card {
  display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px;
  padding: 16px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.p2 .manual-card .m-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--card); display: grid; place-items: center; }
.p2 .manual-card svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p2 .manual-card strong { display: block; font-size: 14.5px; font-weight: 650; }
.p2 .manual-card small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.p2 .manual-card .m-arr { font-size: 17px; color: var(--ink-3); }

/* FAQ */
.p2 .product-details { padding: 26px 16px 8px; }
.p2 .product-details h2 { font-size: clamp(25px, 7vw, 30px); }
.p2 .product-detail-list { margin-top: 16px; border-top: 1px solid var(--line); }
.p2 .product-detail-list article { border-bottom: 1px solid var(--line); }
.p2 .product-detail-list button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 58px; padding: 15px 2px;
  border: 0; background: none; color: var(--ink);
  font-size: 15px; font-weight: 600; letter-spacing: -.012em; text-align: left;
}
.p2 .product-detail-list button i { position: relative; flex: none; width: 18px; height: 18px; }
.p2 .product-detail-list button i::before,
.p2 .product-detail-list button i::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .26s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.p2 .product-detail-list button i::before { width: 14px; height: 1.7px; }
.p2 .product-detail-list button i::after { width: 1.7px; height: 14px; }
.p2 .product-detail-list .is-open button i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.p2 .product-detail-list article > div {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4, 0, .2, 1);
}
.p2 .product-detail-list article.is-open > div { grid-template-rows: 1fr; }
.p2 .product-detail-list article > div > p {
  overflow: hidden; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); padding-right: 18px;
}
.p2 .product-detail-list article.is-open > div > p { padding-bottom: 17px; }

/* help band */
.p2 .p2-help {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 20px; border-radius: var(--r-xl); background: var(--card);
}
.p2 .p2-help .ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.p2 .p2-help svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.p2 .p2-help .tx { flex: 1 1 180px; }
.p2 .p2-help strong { display: block; font-size: 17px; font-weight: 700; }
.p2 .p2-help p { margin-top: 3px; font-size: 13.5px; color: var(--ink-2); }
.p2 .p2-help button {
  flex: 0 0 auto; min-height: 46px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-size: 14.5px; font-weight: 650;
}

/* final CTA */
.p2 .p2-closer { padding: 40px 16px 30px; text-align: center; }
.p2 .p2-closer h2 { font-size: clamp(25px, 7.4vw, 32px); text-wrap: balance; }
.p2 .p2-closer p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.p2 .p2-closer .p2-cta { margin-top: 20px; }

/* footer */
.p2 .p2-foot {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center;
  padding: 24px 16px calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2);
}
.p2 .p2-foot a { font-size: 12.5px; color: var(--ink-3); text-decoration: none; }

/* ==========================================================================
   STICKY BUY BAR — the Buy button is never more than a thumb away
   ========================================================================== */
.p2 .product-buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: block;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-bar);
  transform: translateY(120%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}
.p2.is-cta-off .product-buy-bar { transform: none; }
.p2 .product-buy-bar > .pbb-main { display: flex; align-items: center; gap: 12px; }
.p2 .pbb-main > .pbb-total { flex: none; min-width: 84px; }
.p2 .product-buy-bar small {
  display: block; font-size: 10px; font-weight: 650; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-3);
}
.p2 .product-buy-bar strong {
  display: block; margin-top: 2px;
  font-size: 20px; font-weight: 700; letter-spacing: -.03em; line-height: 1;
}
.p2 .product-buy-bar .commerce-black-button {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--cta); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: -.012em;
  transition: transform .16s ease;
}
.p2 .product-buy-bar .commerce-black-button:active { transform: scale(.985); }
.p2 .product-buy-bar .commerce-black-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p2 .product-buy-bar > .pbb-trust {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px; font-size: 10.5px; font-weight: 600; color: var(--ink-3);
  white-space: nowrap; overflow: hidden;
}
.p2 .pbb-trust span { display: inline-flex; align-items: center; gap: 4px; }
.p2 .pbb-trust svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.p2 .pbb-trust i { width: 3px; height: 3px; border-radius: 50%; background: rgba(11, 11, 12, .22); }

/* leave room for the bar only while it is up */
.p2.is-cta-off { padding-bottom: 96px; }

/* the sheet's Pay button is the same action as Buy now — keep it one colour */
.p2 .pay-sheet-pay { background: var(--cta); }
.p2 .pay-sheet-pay:active { background: var(--cta-press); }

/* discount badge (discount.js) */
.p2 .fa-disc-price-strike { text-decoration: line-through; opacity: .4; font-weight: 600; margin-right: 8px; }
.p2 .fa-disc-badge {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  padding: 3px 7px; border-radius: 6px;
  background: var(--card-2); color: var(--ink);
  font-size: 11px; font-weight: 700;
}

/* reveals */
.p2 [data-commerce-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s cubic-bezier(.22, .8, .3, 1), transform .5s cubic-bezier(.22, .8, .3, 1);
}
.p2 [data-commerce-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .p2 *, .p2 *::before, .p2 *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
  }
  .p2 [data-commerce-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   ≥ 600px
   ========================================================================== */
@media (min-width: 600px) {
  .p2 .p2-sec { padding: 20px 24px; }
  .p2 .p2-buy { padding: 26px 24px 30px; }
  .p2 .gallery-picker { padding: 12px 24px 0; }
  .p2 .product-gallery-stage { aspect-ratio: 4 / 3; }
  .p2 .p2-trust { grid-template-columns: repeat(4, 1fr); }
  .p2 .p2-trust div { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; }
  .p2 .p2-safety { grid-template-columns: repeat(3, 1fr); }
  .p2 .p2-cta { max-width: 460px; }
  .p2 .p2-cta-note { justify-content: flex-start; }
  .p2 .p2-closer .p2-cta { margin-inline: auto; }
}

/* ==========================================================================
   ≥ 900px — the two-column product layout from the concept
   ========================================================================== */
@media (min-width: 900px) {
  .p2 .p2-inner { max-width: 1180px; margin: 0 auto; }
  .p2 .p2-top {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 48px; align-items: start;
    max-width: 1180px; margin: 0 auto; padding: 28px 32px 8px;
  }
  .p2 .p2-top .product-gallery-stage { border-radius: var(--r-xl); aspect-ratio: 1 / 1; }
  .p2 .p2-top .gallery-picker { padding: 12px 0 0; }
  .p2 .p2-buy { padding: 0; position: sticky; top: 84px; }
  .p2 .p2-name { text-align: left; }
  .p2 .p2-sec { padding: 20px 32px; }
  .p2 .p2-features { grid-template-columns: repeat(3, 1fr); }
  .p2 .p2-kit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px; }
  .p2 .p2-kit img { margin: 0; grid-row: 1 / span 3; grid-column: 2; }
  .p2 .p2-kit h2, .p2 .p2-kit p.sub { grid-column: 1; }
  .p2 .p2-kit-list { grid-column: 1 / -1; }
  .p2 .p2-eight video, .p2 .p2-eight > img { aspect-ratio: 21 / 8; }
  .p2 .product-details { max-width: 900px; margin: 0 auto; padding-inline: 32px; }
  .p2 .p2-foot { padding-bottom: 34px; }
  .p2 .product-buy-bar { padding-inline: 32px; }
  .p2 .product-buy-bar > .pbb-main { max-width: 1180px; margin: 0 auto; }
  .p2 .product-buy-bar .commerce-black-button { flex: 0 0 auto; min-width: 280px; margin-left: auto; }
  .p2 .product-buy-bar > .pbb-trust { max-width: 1180px; margin: 6px auto 0; justify-content: flex-start; }
}
