:root{
  --hpdp-color-background: #f7f1e6;
  --hpdp-color-surface: #e8dcc8;
  --hpdp-color-text: #1e1e1e;
  --hpdp-color-text-muted: #454545;
  --hpdp-color-border: #6b6b6b;
  --hpdp-color-primary: #1f2e4a;
  --hpdp-color-on-primary: #f7f1e6;
  --hpdp-color-accent: #5b2a4b;
  --hpdp-font-display: "Source Serif 4", serif;
  --hpdp-font-body: Atkinson Hyperlegible, sans-serif;
  --hpdp-step-m1: 1rem;
  --hpdp-step-0: 1.25rem;
  --hpdp-step-1: 1.563rem;
  --hpdp-step-2: 1.953rem;
  --hpdp-step-3: 2.441rem;
  --hpdp-step-4: 3.052rem;
  --hpdp-step-5: 3.815rem;
  --hpdp-radius: 8px;
  --hpdp-space: 8px;
}

.hpdp-page{--hpdp-dark-alt:#4f596c}
@font-face{font-family:"HPDP Display";src:url("assets/382475f38242c52d42a3e5ff8dc69b5d73f10d0d21e4550b5fe232984688779a.woff2") format("woff2");font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:"HPDP Body";src:url("assets/d64ba838ef5472bba248620ec4fd8b5aa7cf0db2908e0bb230600caf279ba7bc.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"HPDP Body";src:url("assets/140e2bd25a7315c8a062508391426b0d8c3297400c947b8d847be28f73a199f0.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
:root{--hpdp-font-display:"HPDP Display", "Source Serif 4", serif;--hpdp-font-body:"HPDP Body", Atkinson Hyperlegible, sans-serif}
/* HP07 hero, gallery and buy-box frame. All colour, type, radius and spacing come from the --hpdp-* custom properties the token binder emits.
   Written for a 68-86 year old reader: 19px+ body, high contrast, 52px+ targets, visible focus, no motion beyond a smooth scroll that respects reduced motion. */
.hpdp-hero, .hpdp-hero *, .hpdp-hero *::before, .hpdp-hero *::after { box-sizing: border-box; }
.hpdp-hero {
  background: var(--hpdp-color-background);
  color: var(--hpdp-color-text);
  font-family: var(--hpdp-font-body);
  font-size: var(--hpdp-step-0);
  line-height: 1.55;
  padding: 0 calc(var(--hpdp-space) * 2) calc(var(--hpdp-space) * 6);
  overflow-x: clip;
}
.hpdp-hero :focus-visible { outline: 4px solid var(--hpdp-color-accent); outline-offset: 3px; }

/* benefit ticker: a static band when the hero is rendered on its own. The page shell turns the list into a marquee (`.hpdp-ticker--marquee` inside `.hpdp-marquee`) and draws the band itself,
   so the band rules apply only to the non-marquee list. */
.hpdp-ticker { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 3); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-0); font-weight: 700; letter-spacing: 0.01em; }
.hpdp-ticker:not(.hpdp-ticker--marquee) {
  margin: 0 calc(var(--hpdp-space) * -2) calc(var(--hpdp-space) * 3); padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 2);
  background: var(--hpdp-color-primary); color: var(--hpdp-color-on-primary);
}
.hpdp-ticker__item { overflow-wrap: anywhere; flex: 1 1 13rem; display: flex; gap: calc(var(--hpdp-space) * 1.25); align-items: baseline; min-width: 0; }
.hpdp-ticker__item::before { content: ""; flex: none; width: 0.55em; height: 0.3em; border-left: 0.15em solid currentColor; border-bottom: 0.15em solid currentColor; transform: translateY(-0.18em) rotate(-45deg); }

.hpdp-hero__grid { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: minmax(0, 1fr); max-width: 78rem; margin: 0 auto; padding-top: calc(var(--hpdp-space) * 3); }

/* gallery */
.hpdp-gallery { min-width: 0; }
.hpdp-gallery__stage { position: relative; border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); background: var(--hpdp-color-surface); overflow: hidden; }
.hpdp-gallery__track {
  list-style: none; margin: 0; padding: 0; display: flex; position: relative;
  aspect-ratio: var(--hpdp-ar-m); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hpdp-gallery__track::-webkit-scrollbar { display: none; }
.hpdp-gallery__track:focus-visible { outline-offset: -6px; }
.hpdp-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; background: var(--hpdp-color-surface); }
.hpdp-slide picture { display: block; width: 100%; height: 100%; }
/* HP13k: a slide is letterboxed inside its frame (contain), never cropped; a label panel or a square graphic in a frame of another shape keeps every edge */
.hpdp-slide__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hpdp-enlarge {
  position: absolute; left: calc(var(--hpdp-space) * 1.5); bottom: calc(var(--hpdp-space) * 1.5); display: inline-flex; align-items: center; min-height: 52px; padding: 0 calc(var(--hpdp-space) * 2.5); text-decoration: none;
  font: 700 var(--hpdp-step-0)/1 var(--hpdp-font-body); color: var(--hpdp-color-text); background: var(--hpdp-color-background);
  border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); cursor: zoom-in;
}
.hpdp-enlarge::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.55em; border: 0.14em solid currentColor; border-radius: 50%; vertical-align: -0.05em; }
.hpdp-gallery__nav { display: none; }
.hpdp-gallery.is-enhanced .hpdp-gallery__nav {
  display: block; position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; padding: 0; cursor: pointer;
  background: var(--hpdp-color-background); border: 3px solid var(--hpdp-color-border); border-radius: 50%;
}
.hpdp-gallery__nav::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-top: 4px solid var(--hpdp-color-text); border-right: 4px solid var(--hpdp-color-text); }
.hpdp-gallery__nav--prev { left: calc(var(--hpdp-space) * 1.5); }
.hpdp-gallery__nav--prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.hpdp-gallery__nav--next { right: calc(var(--hpdp-space) * 1.5); }
.hpdp-gallery__nav--next::after { transform: translate(-70%, -50%) rotate(45deg); }
.hpdp-gallery__nav:disabled { opacity: 0.35; cursor: default; }
.hpdp-gallery__count {
  display: none; position: absolute; right: calc(var(--hpdp-space) * 1.5); bottom: calc(var(--hpdp-space) * 1.5); margin: 0; padding: calc(var(--hpdp-space) * 0.75) calc(var(--hpdp-space) * 1.5);
  font-weight: 700; font-size: var(--hpdp-step-m1); color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-radius: var(--hpdp-radius);
}
.hpdp-gallery.is-enhanced .hpdp-gallery__count { display: block; }
.hpdp-gallery__thumbs {
  display: none; list-style: none; margin: calc(var(--hpdp-space) * 1.5) 0 0; padding: 6px; gap: calc(var(--hpdp-space) * 1.25);
  grid-auto-flow: column; grid-auto-columns: 76px; overflow-x: auto; scroll-snap-type: x proximity;
}
.hpdp-gallery.is-enhanced .hpdp-gallery__thumbs { display: grid; }
.hpdp-thumbs__item { scroll-snap-align: start; }
.hpdp-thumb { display: block; width: 100%; aspect-ratio: 1; padding: 0; cursor: pointer; background: var(--hpdp-color-surface); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); overflow: hidden; opacity: 0.8; }
.hpdp-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hpdp-thumb[aria-current="true"] { opacity: 1; border-color: var(--hpdp-color-accent); box-shadow: 0 0 0 3px var(--hpdp-color-accent); }

/* HP13k: the dot strip a phone shows in place of the thumbnail row (the dots are cheap in height, so the buy box stays near the top); each dot is a real button that moves the gallery */
.hpdp-gallery__dots { display: none; list-style: none; margin: calc(var(--hpdp-space) * 0.5) 0 0; padding: 0; justify-content: center; }
.hpdp-gallery.is-enhanced .hpdp-gallery__dots { display: flex; }
.hpdp-dots__item { flex: 1 1 0; min-width: 18px; max-width: 30px; }
.hpdp-dot { position: relative; display: block; width: 100%; height: 32px; padding: 0; cursor: pointer; background: transparent; border: 0; }
.hpdp-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--hpdp-color-border); opacity: 0.55; }
.hpdp-dot[aria-current="true"]::before { background: var(--hpdp-color-primary); opacity: 1; transform: scale(1.3); }
@media (min-width: 900px) { .hpdp-gallery.is-enhanced .hpdp-gallery__dots { display: none; } }

/* lightbox for the label / supplement facts */
.hpdp-lightbox { width: min(96vw, 64rem); max-height: 94vh; padding: 0; border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); background: var(--hpdp-color-background); color: var(--hpdp-color-text); }
.hpdp-lightbox::backdrop { background: rgb(0 0 0 / 0.78); }
.hpdp-lightbox__bar { display: flex; gap: calc(var(--hpdp-space) * 1.5); justify-content: flex-end; padding: calc(var(--hpdp-space) * 1.5); position: sticky; top: 0; background: var(--hpdp-color-background); }
.hpdp-lightbox__btn { min-height: 56px; padding: 0 calc(var(--hpdp-space) * 3); font: 700 var(--hpdp-step-0)/1 var(--hpdp-font-body); color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border: 3px solid var(--hpdp-color-primary); border-radius: var(--hpdp-radius); cursor: pointer; }
.hpdp-lightbox__btn[aria-pressed="true"] { color: var(--hpdp-color-text); background: var(--hpdp-color-surface); border-color: var(--hpdp-color-border); }
.hpdp-lightbox__frame { overflow: auto; max-height: calc(94vh - 90px); padding: 0 calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 1.5); }
.hpdp-lightbox__img { display: block; width: 100%; height: auto; }
.hpdp-lightbox.is-zoomed .hpdp-lightbox__img { width: 200%; max-width: none; }

/* buy-box frame */
.hpdp-buybox { min-width: 0; overflow-wrap: anywhere; }
.hpdp-buybox__card {
  background: var(--hpdp-color-surface); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius);
  box-shadow: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 1) 0 var(--hpdp-color-accent); padding: calc(var(--hpdp-space) * 3);
}
.hpdp-buybox__card::before { content: ""; display: block; width: 4.5rem; height: 0.4rem; margin-bottom: calc(var(--hpdp-space) * 2); background: var(--hpdp-color-accent); border-radius: 0.4rem; }
.hpdp-buybox__headline { margin: 0 0 calc(var(--hpdp-space) * 1.5); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-3); line-height: 1.1; letter-spacing: -0.012em; font-weight: 800; text-wrap: balance; overflow-wrap: anywhere; }
.hpdp-buybox__subhead { overflow-wrap: anywhere; margin: 0 0 calc(var(--hpdp-space) * 2.5); font-size: var(--hpdp-step-1); line-height: 1.4; color: var(--hpdp-color-text-muted); }
.hpdp-buybox__emphasis { margin: 0 0 calc(var(--hpdp-space) * 2); padding-left: calc(var(--hpdp-space) * 2); border-left: 0.5rem solid var(--hpdp-color-accent); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.hpdp-buybox__bullets { list-style: none; margin: 0 0 calc(var(--hpdp-space) * 2.5); padding: 0; display: grid; gap: calc(var(--hpdp-space) * 1.25); }
.hpdp-buybox__bullet { position: relative; min-width: 0; padding-left: 2.1rem; font-size: var(--hpdp-step-0); line-height: 1.4; overflow-wrap: anywhere; }
.hpdp-buybox__bullet::before { content: ""; position: absolute; left: 0.2rem; top: 0.4em; width: 0.9rem; height: 0.5rem; border-left: 0.22rem solid var(--hpdp-color-primary); border-bottom: 0.22rem solid var(--hpdp-color-primary); transform: rotate(-45deg); }
.hpdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 1.5); margin: 0 0 calc(var(--hpdp-space) * 1.5); font-size: var(--hpdp-step-0); }
.hpdp-stars { position: relative; display: inline-block; font-size: var(--hpdp-step-2); line-height: 1; letter-spacing: 0.04em; white-space: nowrap; }
.hpdp-stars__base { color: var(--hpdp-color-border); opacity: 0.45; }
.hpdp-stars__fill { position: absolute; inset: 0 auto 0 0; width: var(--hpdp-fill); overflow: hidden; color: var(--hpdp-color-accent); }
.hpdp-rating__avg { font-weight: 800; font-size: var(--hpdp-step-1); }
.hpdp-rating__label { flex: 1 0 100%; min-width: 0; font-weight: 700; color: var(--hpdp-color-text-muted); }
.hpdp-rating__count { color: var(--hpdp-color-text-muted); }
.hpdp-slot { margin: 0 0 calc(var(--hpdp-space) * 2); }
.hpdp-slot:empty { margin: 0; }
.hpdp-slot--preview { min-height: 64px; margin-bottom: calc(var(--hpdp-space) * 2); border: 2px dashed var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-slot--preview::before { content: attr(data-hpdp-slot); display: block; padding: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 1.5); font-size: var(--hpdp-step-m1); color: var(--hpdp-color-text-muted); }
.hpdp-cta {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 68px; padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 3); text-align: center; text-decoration: none;
  font: 800 var(--hpdp-step-1)/1.2 var(--hpdp-font-display); letter-spacing: 0.01em; color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary);
  border: 3px solid var(--hpdp-color-primary); border-radius: var(--hpdp-radius); box-shadow: 0 calc(var(--hpdp-space) * 0.75) 0 var(--hpdp-color-accent);
}
.hpdp-cta:hover { transform: translateY(2px); box-shadow: 0 calc(var(--hpdp-space) * 0.25) 0 var(--hpdp-color-accent); }
@media (prefers-reduced-motion: no-preference) { .hpdp-cta { transition: transform 120ms ease, box-shadow 120ms ease; } }

/* HP13k: one real review in the buy box, beside the rating */
.hpdp-buybox__review { margin: 0 0 calc(var(--hpdp-space) * 2); padding: calc(var(--hpdp-space) * 1.25) calc(var(--hpdp-space) * 1.75); border-left: 0.5rem solid var(--hpdp-color-accent); background: var(--hpdp-color-background); border-radius: 0 var(--hpdp-radius) var(--hpdp-radius) 0; }
.hpdp-buybox__review .hpdp-sstars { font-size: 1.15rem; margin-bottom: calc(var(--hpdp-space) * 0.5); }
.hpdp-buybox__quote { margin: 0; font-size: var(--hpdp-step-0); line-height: 1.4; overflow-wrap: anywhere; }
.hpdp-buybox__cite { margin: calc(var(--hpdp-space) * 0.75) 0 0; font-style: normal; font-weight: 700; font-size: var(--hpdp-step-m1); color: var(--hpdp-color-text-muted); overflow-wrap: anywhere; }
.hpdp-buybox__cite::before { content: "\2014\00a0"; }

/* HP33: kicker, icon grid, per-slide headline, accordions */
.hpdp-buybox__kicker { margin: 0 0 calc(var(--hpdp-space) * 1); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-0); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hpdp-color-text-muted); overflow-wrap: anywhere; }
.hpdp-buybox__card { container-type: inline-size; }
.hpdp-icons { list-style: none; margin: 0 0 calc(var(--hpdp-space) * 2.5); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--hpdp-space) * 1.5); }
.hpdp-icons__item { display: flex; flex-direction: column; align-items: center; gap: calc(var(--hpdp-space) * 0.75); min-width: 0; padding: calc(var(--hpdp-space) * 1.25) calc(var(--hpdp-space) * 1); text-align: center; font-size: var(--hpdp-step-0); line-height: 1.25; font-weight: 700; background: var(--hpdp-color-background); border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-icons__svg { flex: none; width: 2rem; height: 2rem; color: var(--hpdp-color-primary); }
.hpdp-icons__label { min-width: 0; overflow-wrap: anywhere; word-break: normal; hyphens: manual; }
.hpdp-slide__headline {
  position: absolute; z-index: 1; top: 0; left: 0; right: 0; margin: 0; padding: calc(var(--hpdp-space) * 1.25) calc(var(--hpdp-space) * 2);
  font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-0); line-height: 1.2; font-weight: 800; text-align: center; overflow-wrap: anywhere;
  color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary);
}
.hpdp-slot--payments:empty { display: none; }
.hpdp-accordions { margin: calc(var(--hpdp-space) * 2.5) 0 0; border-top: 2px solid var(--hpdp-color-border); }
.hpdp-acc { border-bottom: 2px solid var(--hpdp-color-border); }
.hpdp-acc__title { position: relative; display: flex; align-items: center; min-height: 56px; padding: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 5) calc(var(--hpdp-space) * 1) 0; cursor: pointer; list-style: none; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.hpdp-acc__title::-webkit-details-marker { display: none; }
.hpdp-acc__title::after { content: ""; position: absolute; right: calc(var(--hpdp-space) * 1.5); top: 50%; width: 0.7rem; height: 0.7rem; margin-top: -0.55rem; border-right: 0.2rem solid currentColor; border-bottom: 0.2rem solid currentColor; transform: rotate(45deg); }
.hpdp-acc[open] > .hpdp-acc__title::after { margin-top: -0.2rem; transform: rotate(-135deg); }
.hpdp-acc__body { padding: 0 0 calc(var(--hpdp-space) * 2); color: var(--hpdp-color-text); }
.hpdp-acc__body p { margin: 0; overflow-wrap: anywhere; }
/* HP13h: the badge grid is chosen by how many badges there are and how wide the card is, never by the viewport: two or four badges sit 2 x 2 (or 4 x 1 on a wide card),
   three, five or six sit in threes once the card can hold a whole word per badge. No badge is left alone on a row that could have held it, and no label breaks inside a word. */
.hpdp-icons__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* a card too narrow to give two badges a whole word each: one badge per row, picture beside the label */
@container (max-width: 18.5rem) {
  .hpdp-icons { grid-template-columns: minmax(0, 1fr); }
  .hpdp-icons__item, .hpdp-icons__item:last-child:nth-child(odd) { grid-column: auto; flex-direction: row; justify-content: flex-start; text-align: left; gap: calc(var(--hpdp-space) * 1.5); padding-inline: calc(var(--hpdp-space) * 1.5); }
}
@container (min-width: 28rem) { .hpdp-icons:not([data-count="2"]):not([data-count="4"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hpdp-icons:not([data-count="2"]):not([data-count="4"]) .hpdp-icons__item:last-child:nth-child(odd) { grid-column: auto; } }
@container (min-width: 40rem) { .hpdp-icons[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (min-width: 900px) {
  .hpdp-hero { padding: 0 calc(var(--hpdp-space) * 5) calc(var(--hpdp-space) * 8); }
  .hpdp-ticker:not(.hpdp-ticker--marquee) { margin: 0 calc(var(--hpdp-space) * -5) calc(var(--hpdp-space) * 4); padding: calc(var(--hpdp-space) * 2) calc(var(--hpdp-space) * 5); justify-content: center; }
  .hpdp-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: calc(var(--hpdp-space) * 6); align-items: start; padding-top: calc(var(--hpdp-space) * 4); }
  .hpdp-gallery { position: sticky; top: calc(var(--hpdp-space) * 3); }
  .hpdp-gallery__track { aspect-ratio: var(--hpdp-ar-d); }
  .hpdp-gallery__thumbs { grid-auto-columns: 92px; }
  .hpdp-buybox__card { padding: calc(var(--hpdp-space) * 4); }
  .hpdp-buybox__headline { font-size: var(--hpdp-step-4); }
}
@media (prefers-reduced-motion: reduce) { .hpdp-gallery__track { scroll-behavior: auto; } }

/* HP13f: the phone gallery frame is a token, 5 / 4 by default (short enough that the price and pack choice sit within about 1.5 screens). A page opts into another frame, for example a
   square one for square slides, by setting `--hpdp-gallery-ar-m: 1 / 1`. The extra class in the selector lets the token win over a shell rule that fixes the ratio. */
@media (max-width: 899px) {
  .hpdp-page .hpdp-gallery .hpdp-gallery__track { aspect-ratio: var(--hpdp-gallery-ar-m, 5 / 4); }
}

/* HP08 proof and body blocks. Same voice as the HP07 hero: heavy display type, 3px ink borders, a hard accent offset instead of soft shadows. Every colour, face,
   size, radius and gap is an --hpdp-* custom property from the token binder; nothing here names a brand. Written for a 68-86 year old reader: body type never
   below the base size, high contrast pairs only (the binder checks them), 52px+ targets, visible focus, no motion beyond a short fold on the FAQ marker. */
.hpdp-body, .hpdp-body *, .hpdp-body *::before, .hpdp-body *::after { box-sizing: border-box; }
.hpdp-body { background: var(--hpdp-color-background); color: var(--hpdp-color-text); font-family: var(--hpdp-font-body); font-size: var(--hpdp-step-0); line-height: 1.55; overflow-x: clip; }
.hpdp-body [hidden] { display: none !important; }
.hpdp-body :focus-visible { outline: 4px solid var(--hpdp-color-accent); outline-offset: 3px; }
.hpdp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* bands: full-bleed backgrounds, content held to 78rem by padding so no wrapper element is needed. Cards take the colour the band is not. */
.hpdp-sp {
  --hpdp-card: var(--hpdp-color-surface);
  padding: calc(var(--hpdp-space) * 7) max(calc(var(--hpdp-space) * 2), calc((100% - 78rem) / 2));
  background: var(--hpdp-color-background);
  min-width: 0;
}
.hpdp-sp:nth-child(even) { --hpdp-card: var(--hpdp-color-background); background: var(--hpdp-color-surface); }
.hpdp-sp__title {
  margin: 0 0 calc(var(--hpdp-space) * 4); max-width: 24ch; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-3); line-height: 1.08; letter-spacing: -0.012em;
  font-weight: 800; text-wrap: balance; overflow-wrap: anywhere;
}
.hpdp-sp__title::after { content: ""; display: block; width: 4.5rem; height: 0.4rem; margin-top: calc(var(--hpdp-space) * 2); background: var(--hpdp-color-accent); border-radius: 0.4rem; }
:where(.hpdp-sp) :where(p) { margin: 0; overflow-wrap: anywhere; }
/* resets sit at zero specificity (:where) so every component rule below can set its own margin and padding */
:where(.hpdp-sp) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.hpdp-sp) :where(li) { min-width: 0; overflow-wrap: anywhere; }

/* verified badge: only ever drawn when HP04 says the purchase is verified */
.hpdp-vbadge {
  display: inline-flex; align-items: center; gap: 0.45em; margin-left: calc(var(--hpdp-space) * 1.25); padding: 0.15em 0.7em; font-size: var(--hpdp-step-0); font-weight: 700; line-height: 1.3;
  color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-radius: var(--hpdp-radius);
}
.hpdp-vbadge::before { content: ""; flex: none; width: 0.55em; height: 0.3em; border-left: 0.16em solid currentColor; border-bottom: 0.16em solid currentColor; transform: translateY(-0.1em) rotate(-45deg); }

/* stars */
.hpdp-rstars { display: flex; align-items: center; gap: calc(var(--hpdp-space) * 1); margin: 0 0 calc(var(--hpdp-space) * 1.5); }
.hpdp-rstars__bar { position: relative; display: inline-block; font-size: var(--hpdp-step-2); line-height: 1; letter-spacing: 0.04em; white-space: nowrap; }
.hpdp-rstars__base { color: var(--hpdp-color-border); opacity: 0.45; }
.hpdp-rstars__fill { position: absolute; inset: 0 auto 0 0; width: var(--hpdp-fill); overflow: hidden; color: var(--hpdp-color-accent); }
.hpdp-rstars--big .hpdp-rstars__bar { font-size: var(--hpdp-step-3); margin: 0; }

/* review wall: row-major grid so "best first" reads left to right, top to bottom */
.hpdp-wall__list { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 700px) { .hpdp-wall__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hpdp-wall__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* display:grid would override the hidden attribute's browser default, so the rule is explicit for EVERY wall list (the featured one hides while a star filter is on) */
.hpdp-wall__list[hidden] { display: none; }
.hpdp-rcard { display: block; }
.hpdp-rcard__in {
  position: relative; height: 100%; background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius);
  box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent); padding: calc(var(--hpdp-space) * 3);
}
.hpdp-rcard__in::before { content: "\201C"; position: absolute; top: calc(var(--hpdp-space) * -2.5); right: calc(var(--hpdp-space) * 2); font: 800 5rem/1 var(--hpdp-font-display); color: var(--hpdp-color-accent); }
.hpdp-rcard__title { margin: 0 0 calc(var(--hpdp-space) * 1); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.hpdp-rcard__quote { margin: 0 0 calc(var(--hpdp-space) * 2); padding: 0; font-size: var(--hpdp-step-0); white-space: pre-line; }
.hpdp-chips { display: flex; flex-wrap: wrap; gap: calc(var(--hpdp-space) * 1); margin: 0 0 calc(var(--hpdp-space) * 2) !important; }
.hpdp-chip { padding: 0.15em 0.75em; font-weight: 700; font-size: var(--hpdp-step-0); background: var(--hpdp-color-background); border: 2px solid var(--hpdp-color-border); border-radius: 999px; }
.hpdp-sp:nth-child(even) .hpdp-chip { background: var(--hpdp-color-surface); }
.hpdp-rcard__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 1.5); margin: 0 0 calc(var(--hpdp-space) * 2); padding-right: calc(var(--hpdp-space) * 5); }
.hpdp-rcard__head .hpdp-sstars { grid-column: 1 / -1; justify-self: start; }
.hpdp-rcard__head > .hpdp-rcard__by:first-child { grid-column: 1 / -1; }
.hpdp-rcard__by { display: flex; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; align-items: center; gap: calc(var(--hpdp-space) * 0.5) 0; color: var(--hpdp-color-text-muted); font-weight: 700; }
.hpdp-rcard__headline { margin: 0 0 calc(var(--hpdp-space) * 1.5) !important; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-2); line-height: 1.18; font-weight: 800; overflow-wrap: anywhere; }
.hpdp-rcard__headline::before { content: "\201C"; }
.hpdp-rcard__headline::after { content: "\201D"; }
.hpdp-rcard__more { margin: 0 0 calc(var(--hpdp-space) * 2); }
.hpdp-rcard__more > .hpdp-rcard__quote { margin-top: calc(var(--hpdp-space) * 1); }
.hpdp-rcard__sum { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--hpdp-space) * 1.5); min-height: 3.25rem; padding: 0 calc(var(--hpdp-space) * 1.5); font-weight: 800; cursor: pointer; border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); list-style: none; }
.hpdp-rcard__sum::-webkit-details-marker { display: none; }
.hpdp-rcard__sum::after { content: "+"; font-size: var(--hpdp-step-2); line-height: 1; }
.hpdp-rcard__more[open] > .hpdp-rcard__sum::after { content: "\2212"; }

/* initials avatar: letters only, decorative (the name sits beside it); never a picture of a person */
.hpdp-avatar { flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--hpdp-color-primary); color: var(--hpdp-color-on-primary); font-family: var(--hpdp-font-display); font-weight: 800; font-size: var(--hpdp-step-0); line-height: 1; letter-spacing: 0.02em; }

/* SVG star row: five stars, a second layer clipped to the rating (fractional for an average) */
.hpdp-sstars { position: relative; display: inline-flex; flex: none; line-height: 0; font-size: 1.5rem; color: var(--hpdp-color-accent); }
.hpdp-sstars__base, .hpdp-sstars__fill { display: inline-flex; }
.hpdp-sstars__base { color: var(--hpdp-color-border); opacity: 0.4; }
.hpdp-sstars__fill { position: absolute; inset: 0 auto 0 0; width: var(--hpdp-fill); overflow: hidden; color: var(--hpdp-color-accent); }
.hpdp-sstars svg { flex: none; width: 1em; height: 1em; }
.hpdp-sstars--big { font-size: 2rem; }

/* review header: average, stars, count and the per-star distribution, all from the bound aggregate */
.hpdp-rhead { display: grid; gap: calc(var(--hpdp-space) * 2); max-width: 36rem; margin: 0 0 calc(var(--hpdp-space) * 4); }
.hpdp-rhead__top { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 2); }
.hpdp-rhead__avg { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-4); line-height: 1; font-weight: 800; }
.hpdp-rhead__count { font-size: var(--hpdp-step-1); font-weight: 700; color: var(--hpdp-color-text-muted); }
.hpdp-rhead--compact { margin-bottom: calc(var(--hpdp-space) * 2); }

/* review strip: compact quotes, stacked on phones and in a row from 720px; never a sideways carousel */
.hpdp-sp--review-strip { padding-top: calc(var(--hpdp-space) * 4); padding-bottom: calc(var(--hpdp-space) * 4); }
.hpdp-rstrip__list { display: grid; gap: calc(var(--hpdp-space) * 2.5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .hpdp-rstrip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--hpdp-space) * 4); } }
.hpdp-rstrip__item { display: grid; align-content: start; gap: calc(var(--hpdp-space) * 1); padding-left: calc(var(--hpdp-space) * 2); border-left: 0.5rem solid var(--hpdp-color-accent); }
.hpdp-rstrip__quote { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }

/* testimonial strip: big pull quotes, stacked on phones, never a sideways carousel */
.hpdp-strip__list { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.hpdp-qcard__in { margin: 0; height: 100%; padding: calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 3.5); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-left: 0.9rem solid var(--hpdp-color-accent); border-radius: var(--hpdp-radius); }
.hpdp-qcard__quote { margin: 0 0 calc(var(--hpdp-space) * 2); padding: 0; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.3; font-weight: 700; white-space: pre-line; }
.hpdp-qcard__by { display: flex; flex-wrap: wrap; align-items: center; color: var(--hpdp-color-text-muted); font-weight: 700; }

/* rating summary */
.hpdp-rsum { display: grid; gap: calc(var(--hpdp-space) * 3); max-width: 40rem; padding: calc(var(--hpdp-space) * 3); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent); }
.hpdp-rsum__headline { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 2); }
.hpdp-rsum__avg { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-5); line-height: 1; font-weight: 800; }
.hpdp-rsum__count { font-size: var(--hpdp-step-1); font-weight: 700; color: var(--hpdp-color-text-muted); }
.hpdp-rsum__caption { font-weight: 700; }
.hpdp-dist { display: grid; gap: calc(var(--hpdp-space) * 1); }
.hpdp-dist__row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 2.5rem; gap: calc(var(--hpdp-space) * 1.5); align-items: center; width: 100%; padding: 0; border: 0; margin: 0; background: none; color: inherit; font: inherit; text-align: left; }
.hpdp-dist__li { list-style: none; }
/* the drill-down affordance shows only on a page whose wall carries star groups (the script marks the header) */
.hpdp-rhead[data-hpdp-dist-filter] .hpdp-dist__row { cursor: pointer; }
.hpdp-rhead[data-hpdp-dist-filter] .hpdp-dist__row:focus-visible { outline: 3px solid var(--hpdp-color-primary); outline-offset: 2px; }
.hpdp-rhead[data-hpdp-dist-filter] .hpdp-dist__row[aria-pressed="true"] .hpdp-dist__track { border-color: var(--hpdp-color-primary); }
.hpdp-rhead[data-hpdp-dist-filter] .hpdp-dist__row[aria-pressed="true"] .hpdp-dist__star { font-weight: 700; }
.hpdp-wall__list--star[hidden] { display: none; } /* superseded by the every-list rule above */
.hpdp-dist__track { display: block; height: 1.1rem; background: var(--hpdp-color-background); border: 2px solid var(--hpdp-color-border); border-radius: 999px; overflow: hidden; }
.hpdp-sp:nth-child(even) .hpdp-dist__track { background: var(--hpdp-color-surface); }
.hpdp-dist__fill { display: block; width: var(--hpdp-w); height: 100%; background: var(--hpdp-color-primary); }
.hpdp-dist__n { text-align: right; font-weight: 700; }

/* customer photo and video wall */
.hpdp-ugc__list { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); align-items: start; }
.hpdp-ugc__fig { margin: 0; background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); overflow: hidden; }
.hpdp-ugc__img { display: block; width: 100%; height: auto; }
.hpdp-ugc__cap { padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 2); font-weight: 700; color: var(--hpdp-color-text-muted); }
.hpdp-ugc__cap .hpdp-vbadge { margin-left: calc(var(--hpdp-space) * 1); }

/* expert card */
.hpdp-expert { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: minmax(0, 1fr); max-width: 52rem; padding: calc(var(--hpdp-space) * 3); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent); }
.hpdp-expert__img { display: block; width: 100%; max-width: 12rem; height: auto; border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-expert__name { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-2); font-weight: 800; line-height: 1.15; }
.hpdp-expert__cred { display: block; margin-bottom: calc(var(--hpdp-space) * 1.5); font-weight: 700; color: var(--hpdp-color-text-muted); overflow-wrap: anywhere; }
.hpdp-expert__intro p + p { margin-top: calc(var(--hpdp-space) * 1.5); }

/* shared figure and pull line */
.hpdp-fig { margin: 0 0 calc(var(--hpdp-space) * 4); max-width: 48rem; border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); overflow: hidden; background: var(--hpdp-card); }
.hpdp-fig__img { display: block; width: 100%; height: auto; }
.hpdp-pull { max-width: 40rem; margin-top: calc(var(--hpdp-space) * 4) !important; padding-left: calc(var(--hpdp-space) * 2.5); border-left: 0.6rem solid var(--hpdp-color-accent); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-2); line-height: 1.25; font-weight: 800; }

/* ingredient cards */
.hpdp-ing__grid { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); counter-reset: ing; }
.hpdp-ing__card { counter-increment: ing; position: relative; padding: calc(var(--hpdp-space) * 3); padding-top: calc(var(--hpdp-space) * 5); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-ing__card::before { content: counter(ing, decimal-leading-zero); position: absolute; top: calc(var(--hpdp-space) * 1.5); left: calc(var(--hpdp-space) * 3); font: 800 var(--hpdp-step-1)/1 var(--hpdp-font-display); letter-spacing: 0.06em; color: var(--hpdp-color-text-muted); }
.hpdp-ing__title { margin: 0 0 calc(var(--hpdp-space) * 1); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-2); line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }

/* mechanism */
.hpdp-mech__body { max-width: 42rem; display: grid; gap: calc(var(--hpdp-space) * 2); font-size: var(--hpdp-step-1); line-height: 1.5; }

/* benefit tabs: stacked panels without JavaScript; a keyboard tablist with it */
.hpdp-tabs__list { display: flex; flex-wrap: wrap; gap: calc(var(--hpdp-space) * 1.5); margin-bottom: calc(var(--hpdp-space) * 3); }
.hpdp-tab { min-height: 56px; padding: 0 calc(var(--hpdp-space) * 3); font: 800 var(--hpdp-step-0)/1.2 var(--hpdp-font-body); color: var(--hpdp-color-text); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); cursor: pointer; overflow-wrap: anywhere; }
.hpdp-tab[aria-selected="true"] { color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-color: var(--hpdp-color-primary); box-shadow: 0 calc(var(--hpdp-space) * 0.75) 0 var(--hpdp-color-accent); }
.hpdp-tabs__panels { display: grid; gap: calc(var(--hpdp-space) * 3); }
.hpdp-tabpanel { max-width: 44rem; padding: calc(var(--hpdp-space) * 3); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-tabpanel__h { margin: 0 0 calc(var(--hpdp-space) * 1.5); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-2); line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.hpdp-tabpanel__body { display: grid; gap: calc(var(--hpdp-space) * 1.5); font-size: var(--hpdp-step-1); line-height: 1.5; }
.hpdp-tabs.is-enhanced .hpdp-tabpanel__h { display: none; }
.hpdp-tabs.is-enhanced .hpdp-tabpanel { box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent); }

/* how to use: big numerals */
.hpdp-steps { display: grid; gap: calc(var(--hpdp-space) * 2.5); counter-reset: step; max-width: 46rem; }
.hpdp-step { counter-increment: step; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: calc(var(--hpdp-space) * 2); align-items: start; padding: calc(var(--hpdp-space) * 2.5); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-step::before { content: counter(step); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; font: 800 var(--hpdp-step-2)/1 var(--hpdp-font-display); color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-radius: 50%; box-shadow: 0.25rem 0.25rem 0 var(--hpdp-color-accent); }
.hpdp-step__text { font-size: var(--hpdp-step-1); line-height: 1.45; padding-top: 0.35rem; }

/* who it is for */
.hpdp-who { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: minmax(0, 1fr); }
.hpdp-who__group { padding: calc(var(--hpdp-space) * 3); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-who__yes { box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent); }
.hpdp-who__h { margin: 0 0 calc(var(--hpdp-space) * 2); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.2; font-weight: 800; }
.hpdp-who__list { display: grid; gap: calc(var(--hpdp-space) * 1.5); font-size: var(--hpdp-step-1); line-height: 1.4; }
.hpdp-who__list li { position: relative; padding-left: 2.1rem; }
.hpdp-who__yes li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.9rem; height: 0.5rem; border-left: 0.22rem solid var(--hpdp-color-primary); border-bottom: 0.22rem solid var(--hpdp-color-primary); transform: rotate(-45deg); }
.hpdp-who__no li::before { content: ""; position: absolute; left: 0.1rem; top: 0.78em; width: 1rem; height: 0.22rem; background: var(--hpdp-color-text-muted); }

/* guarantee: a seal ring and a heavy frame */
.hpdp-sp--guarantee-block .hpdp-sp__title { max-width: none; }
.hpdp-guar__body { position: relative; max-width: 44rem; display: grid; gap: calc(var(--hpdp-space) * 1.5); padding: calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 9); font-size: var(--hpdp-step-1); line-height: 1.5; background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent); }
.hpdp-guar__body::before { content: ""; position: absolute; left: calc(var(--hpdp-space) * 2.5); top: calc(var(--hpdp-space) * 3); width: calc(var(--hpdp-space) * 5); height: calc(var(--hpdp-space) * 5); border: 0.4rem double var(--hpdp-color-primary); border-radius: 50%; }
.hpdp-guar__body::after { content: ""; position: absolute; left: calc(var(--hpdp-space) * 4.2); top: calc(var(--hpdp-space) * 4.4); width: calc(var(--hpdp-space) * 1.8); height: calc(var(--hpdp-space) * 1); border-left: 0.3rem solid var(--hpdp-color-primary); border-bottom: 0.3rem solid var(--hpdp-color-primary); transform: rotate(-45deg); }

/* FAQ: native details without JavaScript, button + aria-expanded with it */
.hpdp-faq { display: grid; gap: calc(var(--hpdp-space) * 2); max-width: 50rem; }
.hpdp-faq__item { background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-faq__sum, .hpdp-faq__btn {
  display: flex; align-items: center; justify-content: space-between; gap: calc(var(--hpdp-space) * 2); width: 100%; min-height: 64px; margin: 0; padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 2.5);
  font: 800 var(--hpdp-step-1)/1.25 var(--hpdp-font-display); text-align: left; color: var(--hpdp-color-text); background: transparent; border: 0; cursor: pointer; list-style: none; overflow-wrap: anywhere;
}
.hpdp-faq__sum::-webkit-details-marker { display: none; }
.hpdp-faq__sum::after, .hpdp-faq__ico { content: ""; flex: none; width: 0.9rem; height: 0.9rem; border-right: 0.28rem solid var(--hpdp-color-text); border-bottom: 0.28rem solid var(--hpdp-color-text); transform: translateY(-0.2rem) rotate(45deg); }
.hpdp-faq__ico { display: block; }
.hpdp-faq__item[open] > .hpdp-faq__sum::after, .hpdp-faq__btn[aria-expanded="true"] .hpdp-faq__ico { transform: translateY(0.2rem) rotate(-135deg); }
@media (prefers-reduced-motion: no-preference) { .hpdp-faq__sum::after, .hpdp-faq__ico { transition: transform 140ms ease; } }
.hpdp-faq__h { margin: 0; font-size: inherit; }
.hpdp-faq__a { display: grid; gap: calc(var(--hpdp-space) * 1.5); margin: 0 calc(var(--hpdp-space) * 2.5); padding: calc(var(--hpdp-space) * 2) 0 calc(var(--hpdp-space) * 2.5); font-size: var(--hpdp-step-0); line-height: 1.55; border-top: 2px solid var(--hpdp-color-border); }

/* results timeline: a vertical rail */
.hpdp-tl { position: relative; display: grid; gap: calc(var(--hpdp-space) * 3); max-width: 46rem; padding-left: calc(var(--hpdp-space) * 6); counter-reset: tl; }
.hpdp-tl::before { content: ""; position: absolute; left: 1.05rem; top: 0.5rem; bottom: 0.5rem; width: 0.3rem; background: var(--hpdp-color-border); border-radius: 0.3rem; }
.hpdp-tl__step { counter-increment: tl; position: relative; padding: calc(var(--hpdp-space) * 2.5); background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-tl__step::before { content: counter(tl); position: absolute; left: calc(var(--hpdp-space) * -6); top: calc(var(--hpdp-space) * 2); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; font: 800 var(--hpdp-step-0)/1 var(--hpdp-font-display); color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-radius: 50%; box-shadow: 0.2rem 0.2rem 0 var(--hpdp-color-accent); }
.hpdp-tl__label { margin: 0 0 calc(var(--hpdp-space) * 0.75); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }

/* comparison: a table on wide screens, one card per row on phones */
.hpdp-cmp { width: 100%; max-width: 62rem; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: var(--hpdp-card); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-cmp th, .hpdp-cmp td { padding: calc(var(--hpdp-space) * 2); text-align: left; vertical-align: top; overflow-wrap: anywhere; border-bottom: 2px solid var(--hpdp-color-border); }
.hpdp-cmp thead th { font-family: var(--hpdp-font-display); font-weight: 800; background: var(--hpdp-color-primary); color: var(--hpdp-color-on-primary); }
.hpdp-cmp tbody th { font-weight: 800; }
.hpdp-cmp tbody tr:last-child > * { border-bottom: 0; }
.hpdp-cmp td:nth-child(2) { font-weight: 700; border-left: 2px solid var(--hpdp-color-border); border-right: 2px solid var(--hpdp-color-border); }
@media (max-width: 699px) {
  .hpdp-cmp, .hpdp-cmp tbody, .hpdp-cmp tr, .hpdp-cmp th, .hpdp-cmp td { display: block; width: 100%; }
  .hpdp-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hpdp-cmp tbody tr { border-bottom: 3px solid var(--hpdp-color-border); }
  .hpdp-cmp tbody tr:last-child { border-bottom: 0; }
  .hpdp-cmp tbody th { border-bottom: 0; padding-bottom: 0; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); }
  .hpdp-cmp td { border: 0 !important; padding-top: calc(var(--hpdp-space) * 1); padding-bottom: calc(var(--hpdp-space) * 1); }
  .hpdp-cmp td::before { content: attr(data-label); display: block; font-size: var(--hpdp-step-0); font-weight: 800; color: var(--hpdp-color-text-muted); }
}
/* HP31: our column is the band (tinted cells, accent cap, a tick), the typical column is muted and draws no mark; customer-voice stages on the timeline rail */
.hpdp-cmp thead .hpdp-cmp__ours { border-top: 0.5rem solid var(--hpdp-color-accent); }
.hpdp-cmp thead .hpdp-cmp__typ { background: var(--hpdp-card); color: var(--hpdp-color-text-muted); }
.hpdp-cmp td.hpdp-cmp__ours { background: color-mix(in srgb, var(--hpdp-color-primary) 10%, var(--hpdp-card)); font-weight: 700; }
.hpdp-cmp td.hpdp-cmp__typ { color: var(--hpdp-color-text-muted); font-weight: 400; }
.hpdp-cmp__cell { display: flex; align-items: flex-start; gap: calc(var(--hpdp-space) * 1); }
.hpdp-cmp__check { flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.1em; color: var(--hpdp-color-primary); }
.hpdp-cmp__txt { min-width: 0; }
.hpdp-tl__fig { margin: 0; display: grid; gap: calc(var(--hpdp-space) * 1.5); }
.hpdp-tl__quote { margin: 0; padding: 0; font-size: var(--hpdp-step-0); line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.hpdp-tl__quote p { margin: 0; }
.hpdp-tl__by { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 1.5); color: var(--hpdp-color-text-muted); font-weight: 700; }
.hpdp-tl__name { min-width: 0; overflow-wrap: anywhere; }

/* ---- HP13b showcase blocks: lighter cards than the older blocks (hairline border, soft shadow), multi-column grids on wide screens, a single column at phone width ---- */
.hpdp-sp__intro { max-width: 44rem; margin: 0 0 calc(var(--hpdp-space) * 4) !important; font-size: var(--hpdp-step-1); line-height: 1.5; color: var(--hpdp-color-text-muted); }
.hpdp-sp__ctawrap { margin: calc(var(--hpdp-space) * 5) 0 0 !important; }
.hpdp-sp__cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 4); max-width: 100%; text-align: center; text-decoration: none; overflow-wrap: anywhere;
  font: 800 var(--hpdp-step-1)/1.2 var(--hpdp-font-display); color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border: 3px solid var(--hpdp-color-primary); border-radius: 999px; box-shadow: 0 calc(var(--hpdp-space) * 0.75) 0 var(--hpdp-color-accent);
}
@media (prefers-reduced-motion: no-preference) { .hpdp-sp__cta { transition: transform 120ms ease, box-shadow 120ms ease; } }
.hpdp-sp__cta:hover { transform: translateY(2px); box-shadow: 0 calc(var(--hpdp-space) * 0.25) 0 var(--hpdp-color-accent); }
/* dark bands take the brand's own primary / on-primary pair (its contrast is checked by the binder) */
.hpdp-sp.hpdp-sp--stat-band, .hpdp-sp.hpdp-sp--product-banner { background: var(--hpdp-color-primary); color: var(--hpdp-color-on-primary); }
.hpdp-sp--stat-band .hpdp-sp__title, .hpdp-sp--product-banner .hpdp-sp__title { color: var(--hpdp-color-on-primary); }
.hpdp-sp--stat-band .hpdp-sp__cta, .hpdp-sp--product-banner .hpdp-sp__cta { color: var(--hpdp-color-primary); background: var(--hpdp-color-on-primary); border-color: var(--hpdp-color-on-primary); }

/* stat band: the composed stat cards (numbers are inside the images) as a row of tiles over a dark band */
.hpdp-stat__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--hpdp-space) * 2); }
.hpdp-stat__item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--hpdp-space)); }
.hpdp-stat__fig { margin: 0; display: grid; gap: calc(var(--hpdp-space) * 1.5); align-content: start; text-align: center; }
.hpdp-stat__img { display: block; width: 100%; height: auto; border-radius: var(--hpdp-radius); box-shadow: 0 0 0 2px color-mix(in srgb, var(--hpdp-color-on-primary) 22%, transparent), 0 14px 30px color-mix(in srgb, var(--hpdp-color-text) 28%, transparent); }
.hpdp-stat__cap { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-0); line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.hpdp-sp--stat-band .hpdp-sp__ctawrap { text-align: center; }

/* benefit ring: items on both sides of the product, an icon each */
.hpdp-ring { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--hpdp-space) * 3); align-items: center; }
.hpdp-ring__hub { position: relative; justify-self: center; align-self: center; width: min(100%, 20rem); height: auto; aspect-ratio: 1 / 1; min-height: 0; border-radius: 50%; background: var(--hpdp-card); box-shadow: 0 0 0 0.35rem var(--hpdp-color-accent), 0 0 0 calc(var(--hpdp-space) * 2.5) var(--hpdp-card); }
/* the packshot is taken out of flow inside a fixed square, so its intrinsic size can never stretch the hub */
.hpdp-ring__img { position: absolute; inset: calc(var(--hpdp-space) * 3); display: block; width: calc(100% - var(--hpdp-space) * 6); height: calc(100% - var(--hpdp-space) * 6); object-fit: contain; }
.hpdp-ring__col { display: grid; gap: calc(var(--hpdp-space) * 2); align-content: center; }
.hpdp-ring__item { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: calc(var(--hpdp-space) * 2); align-items: center; padding: calc(var(--hpdp-space) * 2); background: var(--hpdp-card); border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: 0 10px 24px color-mix(in srgb, var(--hpdp-color-text) 7%, transparent); }
.hpdp-ring__ico { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-radius: 50%; }
.hpdp-ring__ico svg { display: block; width: 1.75rem; height: 1.75rem; }
.hpdp-ring__text { font-size: var(--hpdp-step-0); line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }

/* reasons: a card each, a plate on top when one was delivered */
.hpdp-rsn__list { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: calc(var(--hpdp-space) * 3); counter-reset: rsn; }
.hpdp-rsn__card { counter-increment: rsn; position: relative; min-width: 0; display: flex; flex-direction: column; background: var(--hpdp-card); border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: 0 14px 30px color-mix(in srgb, var(--hpdp-color-text) 9%, transparent); overflow: hidden; }
.hpdp-rsn__plate { aspect-ratio: 4 / 3; background: var(--hpdp-color-surface); overflow: hidden; }
.hpdp-rsn__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hpdp-rsn__in { position: relative; display: grid; gap: calc(var(--hpdp-space) * 1.25); padding: calc(var(--hpdp-space) * 3); padding-top: calc(var(--hpdp-space) * 5); }
.hpdp-rsn__card:not(.hpdp-rsn__card--plate) .hpdp-rsn__in { padding-top: calc(var(--hpdp-space) * 3 + 3.25rem); }
.hpdp-rsn__card:not(.hpdp-rsn__card--plate) .hpdp-rsn__in::before { top: calc(var(--hpdp-space) * 3); }
.hpdp-rsn__in::before { content: counter(rsn); position: absolute; top: calc(var(--hpdp-space) * -2.75); left: calc(var(--hpdp-space) * 3); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; font: 800 var(--hpdp-step-1)/1 var(--hpdp-font-display); color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border: 3px solid var(--hpdp-card); border-radius: 50%; }
.hpdp-rsn__title { margin: 0; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.hpdp-rsn__body { font-size: var(--hpdp-step-0); line-height: 1.5; }

/* product banner: a wide packshot + lifestyle band on the dark ground */
.hpdp-bnr { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--hpdp-space) * 4); align-items: center; }
.hpdp-bnr .hpdp-sp__title { max-width: 20ch; }
.hpdp-bnr .hpdp-sp__title::after { background: var(--hpdp-color-on-primary); }
.hpdp-bnr__sub { max-width: 36rem; font-size: var(--hpdp-step-1); line-height: 1.45; }
.hpdp-bnr__media { position: relative; padding-bottom: calc(var(--hpdp-space) * 4); }
.hpdp-bnr__scene { display: block; width: 100%; height: auto; border-radius: var(--hpdp-radius); box-shadow: 0 18px 40px color-mix(in srgb, var(--hpdp-color-text) 35%, transparent); }
.hpdp-bnr__pack { display: block; width: auto; height: auto; max-width: 100%; margin: 0 auto; }
.hpdp-bnr--both .hpdp-bnr__pack { position: absolute; left: calc(var(--hpdp-space) * -0.5); bottom: 0; max-width: 42%; max-height: 80%; width: auto; filter: drop-shadow(0 16px 20px color-mix(in srgb, var(--hpdp-color-text) 40%, transparent)); }

/* bonus stack: a cover each, name and one line beside it; a grid of covers on wide screens */
.hpdp-bon__list { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: calc(var(--hpdp-space) * 3); }
.hpdp-bon__item { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--hpdp-space) * 2); align-content: start; padding: calc(var(--hpdp-space) * 2.5); background: var(--hpdp-card); border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: 0 14px 30px color-mix(in srgb, var(--hpdp-color-text) 9%, transparent); }
.hpdp-bon__item--cover { grid-template-columns: 7rem minmax(0, 1fr); align-items: start; }
.hpdp-bon__cover { align-self: start; }
.hpdp-bon__img { display: block; width: 100%; height: auto; border-radius: calc(var(--hpdp-radius) * 0.5); box-shadow: 0.35rem 0.5rem 0 var(--hpdp-color-accent); }
.hpdp-bon__in { display: grid; gap: calc(var(--hpdp-space) * 1); min-width: 0; }
.hpdp-bon__name { margin: 0; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.hpdp-bon__body { font-size: var(--hpdp-step-0); line-height: 1.45; }
.hpdp-bon__value { font-weight: 800; color: var(--hpdp-color-primary); overflow-wrap: anywhere; }
.hpdp-bon__vl { color: var(--hpdp-color-text-muted); font-weight: 700; }

@media (min-width: 640px) {
  .hpdp-rsn__list, .hpdp-bon__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hpdp-stat__list { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: calc(var(--hpdp-space) * 3); }
  .hpdp-stat__item:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
  .hpdp-stat__cap { font-size: var(--hpdp-step-1); }
  .hpdp-ring { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 4); }
  .hpdp-ring--hub { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem) minmax(0, 1fr); }
  .hpdp-ring--hub .hpdp-ring__hub { grid-column: 2; grid-row: 1; width: 100%; align-self: center; }
  .hpdp-ring--hub .hpdp-ring__col--a { grid-column: 1; grid-row: 1; }
  .hpdp-ring--hub .hpdp-ring__col--b { grid-column: 3; grid-row: 1; }
  .hpdp-ring--hub .hpdp-ring__col--a .hpdp-ring__item { grid-template-columns: minmax(0, 1fr) 3.5rem; text-align: right; }
  .hpdp-ring--hub .hpdp-ring__col--a .hpdp-ring__ico { order: 2; }
  /* reasons: 3-up; two or four cards stay 2-up so no row is left with a lone card */
  .hpdp-rsn__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpdp-rsn__list:has(> :nth-child(2):last-child), .hpdp-rsn__list:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hpdp-bnr { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: calc(var(--hpdp-space) * 8); }
  .hpdp-bnr:not(.hpdp-bnr--both):not(.hpdp-bnr--one) { grid-template-columns: minmax(0, 1fr); }
  .hpdp-bon__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpdp-bon__item { grid-template-columns: minmax(0, 1fr); }
  .hpdp-bon__item--cover { grid-template-columns: minmax(0, 1fr); }
  .hpdp-bon__cover { width: min(100%, 11rem); justify-self: center; }
}

@media (min-width: 900px) {
  .hpdp-sp { padding-top: calc(var(--hpdp-space) * 10); padding-bottom: calc(var(--hpdp-space) * 10); }
  .hpdp-sp__title { font-size: var(--hpdp-step-4); }
  .hpdp-expert { grid-template-columns: 12rem minmax(0, 1fr); align-items: start; }
  .hpdp-who { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* HP13f: at desktop the narrow blocks use the width. Phones keep the single column above. Bonuses: 4-up (fewer than four keep their own count, never a lone card on a row). */
@media (min-width: 1024px) {
  .hpdp-bon__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hpdp-bon__list:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpdp-bon__list:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hpdp-bon__list:has(> :nth-child(1):last-child) { grid-template-columns: minmax(0, 24rem); justify-content: center; }
  .hpdp-rsn__list:has(> :nth-child(1):last-child) { grid-template-columns: minmax(0, 24rem); justify-content: center; }

  /* heading and intro on the left, the content on the right (guarantee, mechanism); the left column is explicit spans over rows that hold no height of their own */
  .hpdp-sp--guarantee-block, .hpdp-sp--mechanism-explainer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--hpdp-space) * 8); row-gap: 0; align-content: start; }
  .hpdp-sp--guarantee-block > .hpdp-sp__title, .hpdp-sp--mechanism-explainer > .hpdp-sp__title { grid-column: 1; grid-row: 1 / span 6; align-self: start; margin-bottom: 0; }
  .hpdp-sp--guarantee-block > :not(.hpdp-sp__title), .hpdp-sp--mechanism-explainer > :not(.hpdp-sp__title) { grid-column: 2; min-width: 0; margin-bottom: calc(var(--hpdp-space) * 3); }
  .hpdp-sp--guarantee-block > :last-child, .hpdp-sp--mechanism-explainer > :last-child { margin-bottom: 0; }
  .hpdp-guar__body, .hpdp-mech__body { max-width: none; }

  /* how to use: steps side by side, numeral above the text */
  .hpdp-steps { max-width: none; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: calc(var(--hpdp-space) * 3); align-items: stretch; }
  .hpdp-steps:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpdp-step { grid-template-columns: minmax(0, 1fr); gap: calc(var(--hpdp-space) * 2); }
  .hpdp-step__text { padding-top: 0; }

  /* results timeline: a horizontal rail, each step hangs from its numeral */
  .hpdp-tl { max-width: none; padding: 1.25rem 0 0; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: calc(var(--hpdp-space) * 3); align-items: stretch; }
  .hpdp-tl:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpdp-tl::before { left: 0; right: 0; top: calc(1.25rem - 0.15rem); bottom: auto; width: auto; height: 0.3rem; }
  .hpdp-tl:has(> :nth-child(6):last-child)::before { display: none; }
  .hpdp-tl__step { padding-top: calc(var(--hpdp-space) * 2.5 + 1.5rem); }
  .hpdp-tl__step::before { left: calc(var(--hpdp-space) * 2.5); top: -1.25rem; }

  /* FAQ: two columns of questions, each opens on its own */
  .hpdp-faq { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--hpdp-space) * 3); align-items: start; }
  .hpdp-faq:has(> :first-child:last-child) { grid-template-columns: minmax(0, 50rem); }

  /* comparison: the table takes the full container */
  .hpdp-cmp { max-width: none; }
}

/* HP09 commerce UI: pack selector, price, value stack, repeated buy boxes and the sticky bar. Every colour, type size, radius and space comes from the --hpdp-* custom
   properties the token binder emits; no figure is typed here (prices are server-rendered from the offer projection). Same look as the HP07 buy-box frame:
   heavy borders, an accent offset shadow, display-face numerals. Written for a 68-86 year old reader: 19px+ text, 52px+ targets, a selected state that does not
   depend on colour alone (a filled, ticked disc and a doubled border), visible focus. */
.hpdp-commerce, .hpdp-commerce *, .hpdp-commerce *::before, .hpdp-commerce *::after { box-sizing: border-box; }
.hpdp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hpdp-commerce [hidden] { display: none !important; }
.hpdp-commerce :focus-visible { outline: 4px solid var(--hpdp-color-accent); outline-offset: 3px; }

/* pack selector: one link per pack; the script turns the group into a radio group */
.hpdp-packs { container-type: inline-size; display: flex; flex-direction: column; gap: calc(var(--hpdp-space) * 2); margin: 0 0 calc(var(--hpdp-space) * 3.5); }
.hpdp-pack[data-hpdp-o-m="0"] { order: 0; }
.hpdp-pack[data-hpdp-o-m="1"] { order: 1; }
.hpdp-pack[data-hpdp-o-m="2"] { order: 2; }
.hpdp-pack[data-hpdp-o-m="3"] { order: 3; }
.hpdp-pack[data-hpdp-o-m="4"] { order: 4; }
.hpdp-pack[data-hpdp-o-m="5"] { order: 5; }
.hpdp-pack[data-hpdp-o-m="6"] { order: 6; }
.hpdp-pack[data-hpdp-o-m="7"] { order: 7; }
@media (min-width: 900px) {
  .hpdp-pack[data-hpdp-o-d="0"] { order: 0; }
  .hpdp-pack[data-hpdp-o-d="1"] { order: 1; }
  .hpdp-pack[data-hpdp-o-d="2"] { order: 2; }
  .hpdp-pack[data-hpdp-o-d="3"] { order: 3; }
  .hpdp-pack[data-hpdp-o-d="4"] { order: 4; }
  .hpdp-pack[data-hpdp-o-d="5"] { order: 5; }
  .hpdp-pack[data-hpdp-o-d="6"] { order: 6; }
  .hpdp-pack[data-hpdp-o-d="7"] { order: 7; }
}
.hpdp-pack {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: calc(var(--hpdp-space) * 1.5); min-height: 76px;
  padding: calc(var(--hpdp-space) * 1.75) calc(var(--hpdp-space) * 2.25); text-decoration: none; cursor: pointer;
  color: var(--hpdp-color-text); background: var(--hpdp-color-background); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius);
}
.hpdp-pack__lead { display: flex; align-items: center; gap: calc(var(--hpdp-space) * 1); min-width: 0; }
.hpdp-pack__thumb { display: block; flex: none; width: 52px; height: 52px; object-fit: contain; background: var(--hpdp-color-surface); border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-pack__ribbon {
  grid-column: 1 / -1; justify-self: start; max-width: 100%; margin: calc(var(--hpdp-space) * -0.5) 0 0; padding: calc(var(--hpdp-space) * 0.5) calc(var(--hpdp-space) * 1.5);
  font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-m1); font-weight: 800; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; overflow-wrap: anywhere;
  color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-radius: var(--hpdp-radius);
}
@media (min-width: 900px) { .hpdp-pack__thumb { width: 64px; height: 64px; } }
.hpdp-pack:hover { border-color: var(--hpdp-color-primary); }
.hpdp-pack.is-selected { border-color: var(--hpdp-color-primary); box-shadow: inset 0 0 0 2px var(--hpdp-color-primary), calc(var(--hpdp-space) * 0.75) calc(var(--hpdp-space) * 0.75) 0 var(--hpdp-color-accent); }
.hpdp-pack__mark { position: relative; flex: none; width: 32px; height: 32px; border: 3px solid var(--hpdp-color-border); border-radius: 50%; background: var(--hpdp-color-background); }
.hpdp-pack.is-selected .hpdp-pack__mark, .hpdp-value__item.is-on .hpdp-value__mark { background: var(--hpdp-color-primary); border-color: var(--hpdp-color-primary); }
.hpdp-pack.is-selected .hpdp-pack__mark::after, .hpdp-value__item.is-on .hpdp-value__mark::after {
  content: ""; position: absolute; left: 50%; top: 44%; width: 0.3em; height: 0.62em; border-right: 0.16em solid var(--hpdp-color-on-primary); border-bottom: 0.16em solid var(--hpdp-color-on-primary);
  transform: translate(-50%, -50%) rotate(45deg);
}
.hpdp-pack__text { display: flex; flex-direction: column; gap: calc(var(--hpdp-space) * 0.25); min-width: 0; }
.hpdp-pack__label { overflow-wrap: break-word; word-break: normal; hyphens: manual; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); font-weight: 800; line-height: 1.15; }
.hpdp-pack__per { font-size: var(--hpdp-step-0); color: var(--hpdp-color-text-muted); overflow-wrap: break-word; word-break: normal; }
.hpdp-pack__amount { display: flex; flex-direction: column; align-items: flex-end; gap: calc(var(--hpdp-space) * 0.25); text-align: right; }
.hpdp-pack__total { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); font-weight: 800; line-height: 1.15; white-space: nowrap; }
.hpdp-pack__was { font-size: var(--hpdp-step-0); color: var(--hpdp-color-text-muted); white-space: nowrap; }

/* HP13h: a pack row narrower than 26rem (a phone, or the buy box column of a tablet) cannot hold mark + picture + name + price side by side without cutting the name
   inside a word. There the mark and picture stay on the left, and the price stack drops under the name and the per-unit line, on the same side. Wider rows are unchanged. */
@container (max-width: 26rem) {
  .hpdp-pack { grid-template-columns: auto minmax(0, 1fr); column-gap: calc(var(--hpdp-space) * 1.25); row-gap: calc(var(--hpdp-space) * 0.5); padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 1.5); }
  .hpdp-pack__lead { grid-column: 1; grid-row: span 2; gap: calc(var(--hpdp-space) * 0.75); }
  .hpdp-pack__ribbon { grid-row: 1; }
  .hpdp-pack__mark { width: 28px; height: 28px; }
  .hpdp-pack__text { grid-column: 2; }
  .hpdp-pack__amount { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: calc(var(--hpdp-space) * 0.25) calc(var(--hpdp-space) * 1.5); text-align: left; }
}

/* price of the selected pack */
.hpdp-price { margin: 0; }
.hpdp-price__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(var(--hpdp-space) * 0.5) calc(var(--hpdp-space) * 2); }
.hpdp-price__total { margin: 0; font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-4); font-weight: 800; line-height: 1; letter-spacing: -0.012em; }
.hpdp-price__was { margin: 0; font-size: var(--hpdp-step-1); color: var(--hpdp-color-text-muted); }
.hpdp-price__save {
  display: inline-block; margin: calc(var(--hpdp-space) * 1.25) 0 0; padding: calc(var(--hpdp-space) * 0.75) calc(var(--hpdp-space) * 1.5); max-width: 100%;
  font-weight: 800; color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary); border-radius: var(--hpdp-radius); overflow-wrap: anywhere;
}
.hpdp-price__per { margin: calc(var(--hpdp-space) * 1) 0 0; color: var(--hpdp-color-text-muted); overflow-wrap: anywhere; }

/* value stack and bonus tracker */
.hpdp-value { margin: calc(var(--hpdp-space) * 2) 0 0; padding: calc(var(--hpdp-space) * 2); border: 3px dashed var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-value__title { margin: 0 0 calc(var(--hpdp-space) * 1.25); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-0); font-weight: 800; }
.hpdp-value__list { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--hpdp-space) * 1.25); }
.hpdp-value__item { display: flex; align-items: flex-start; gap: calc(var(--hpdp-space) * 1.5); color: var(--hpdp-color-text-muted); }
.hpdp-value__item.is-on { color: var(--hpdp-color-text); font-weight: 700; }
.hpdp-value__mark { position: relative; flex: none; width: 1.5em; height: 1.5em; margin-top: 0.05em; border: 3px solid var(--hpdp-color-border); border-radius: 50%; }
.hpdp-value__cover { display: block; flex: none; width: 48px; height: 48px; object-fit: contain; background: var(--hpdp-color-surface); border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }
.hpdp-value__body { min-width: 0; flex: 1 1 auto; display: grid; gap: calc(var(--hpdp-space) * 0.25); }
.hpdp-value__label { min-width: 0; overflow-wrap: anywhere; }
.hpdp-value__amount { min-width: 0; overflow-wrap: anywhere; font-size: var(--hpdp-step--1, 0.9em); font-weight: 800; color: var(--hpdp-color-primary); }

/* payment-method row: plain names, nothing that reads as a seal or a guarantee */
.hpdp-pay { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--hpdp-space) * 1); margin: calc(var(--hpdp-space) * 1.5) 0 0; padding: 0; }
.hpdp-pay__item { padding: calc(var(--hpdp-space) * 0.5) calc(var(--hpdp-space) * 1.5); font-size: var(--hpdp-step-0); font-weight: 700; color: var(--hpdp-color-text); background: var(--hpdp-color-background); border: 2px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); }

/* the button */
.hpdp-cm-cta {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 68px; padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 3); text-align: center; text-decoration: none; overflow-wrap: anywhere;
  font: 800 var(--hpdp-step-1)/1.2 var(--hpdp-font-display); letter-spacing: 0.01em; color: var(--hpdp-color-on-primary); background: var(--hpdp-color-primary);
  border: 3px solid var(--hpdp-color-primary); border-radius: var(--hpdp-radius); box-shadow: 0 calc(var(--hpdp-space) * 0.75) 0 var(--hpdp-color-accent);
}
.hpdp-cm-cta:hover { transform: translateY(2px); box-shadow: 0 calc(var(--hpdp-space) * 0.25) 0 var(--hpdp-color-accent); }
@media (prefers-reduced-motion: no-preference) { .hpdp-cm-cta { transition: transform 120ms ease, box-shadow 120ms ease; } }

/* repeated buy boxes */
.hpdp-repeat { background: var(--hpdp-color-background); color: var(--hpdp-color-text); font-family: var(--hpdp-font-body); font-size: var(--hpdp-step-0); line-height: 1.55; padding: calc(var(--hpdp-space) * 5) calc(var(--hpdp-space) * 2); overflow-x: clip; }
.hpdp-repeat__card {
  max-width: 46rem; margin: 0 auto; padding: calc(var(--hpdp-space) * 3); min-width: 0;
  background: var(--hpdp-color-surface); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent);
}
.hpdp-repeat__card::before { content: ""; display: block; width: 4.5rem; height: 0.4rem; margin-bottom: calc(var(--hpdp-space) * 2); background: var(--hpdp-color-accent); border-radius: 0.4rem; }
.hpdp-repeat__headline { margin: 0 0 calc(var(--hpdp-space) * 2.5); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-3); font-weight: 800; line-height: 1.1; letter-spacing: -0.012em; text-wrap: balance; overflow-wrap: anywhere; }
.hpdp-repeat__subhead { margin: calc(var(--hpdp-space) * -1) 0 calc(var(--hpdp-space) * 2.5); font-size: var(--hpdp-step-1); line-height: 1.4; color: var(--hpdp-color-text-muted); overflow-wrap: anywhere; }
.hpdp-repeat .hpdp-price { margin-top: calc(var(--hpdp-space) * 2); }
.hpdp-repeat__emphasis { margin: calc(var(--hpdp-space) * -1) 0 calc(var(--hpdp-space) * 2.5); padding-left: calc(var(--hpdp-space) * 2); border-left: 0.5rem solid var(--hpdp-color-accent); font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.hpdp-repeat__bullets { list-style: none; margin: 0 0 calc(var(--hpdp-space) * 2.5); padding: 0; display: grid; gap: calc(var(--hpdp-space) * 1.25); }
.hpdp-repeat__bullet { position: relative; min-width: 0; padding-left: 2.1rem; font-size: var(--hpdp-step-0); line-height: 1.4; overflow-wrap: anywhere; }
.hpdp-repeat__bullet::before { content: ""; position: absolute; left: 0.2rem; top: 0.4em; width: 0.9rem; height: 0.5rem; border-left: 0.22rem solid var(--hpdp-color-primary); border-bottom: 0.22rem solid var(--hpdp-color-primary); transform: rotate(-45deg); }
.hpdp-repeat__cta { margin-top: calc(var(--hpdp-space) * 2.5); }
.hpdp-repeat__cta:empty { margin: 0; }
@media (min-width: 900px) { .hpdp-repeat { padding: calc(var(--hpdp-space) * 8) calc(var(--hpdp-space) * 5); } .hpdp-repeat__card { padding: calc(var(--hpdp-space) * 4); } .hpdp-repeat__headline { font-size: var(--hpdp-step-4); } }

/* sticky bar: hidden until the script shows it, which it does only once the top buy box's button has scrolled out of view and no buy box is on screen (HP33: it never sits on the gallery's first screen, and without JavaScript the page's own buttons do the job) */
.hpdp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--hpdp-color-background); color: var(--hpdp-color-text); font-family: var(--hpdp-font-body); font-size: var(--hpdp-step-0); line-height: 1.3;
  border-top: 3px solid var(--hpdp-color-border); box-shadow: 0 calc(var(--hpdp-space) * -0.75) 0 var(--hpdp-color-accent);
}
.hpdp-sticky__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 2); max-width: 78rem; margin: 0 auto; padding: calc(var(--hpdp-space) * 1.25) calc(var(--hpdp-space) * 2); }
.hpdp-sticky__now { flex: 1 1 8rem; min-width: 0; margin: 0; }
.hpdp-sticky__sel { display: flex; flex-direction: column; min-width: 0; }
.hpdp-sticky__label { font-weight: 700; overflow-wrap: anywhere; }
.hpdp-sticky__total { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); font-weight: 800; }
.hpdp-sticky .hpdp-cm-cta { flex: 1 1 11rem; width: auto; min-height: 60px; }
.hpdp-sticky-spacer { height: 7rem; }
.hpdp-sticky:not(.is-shown) { visibility: hidden; transform: translateY(115%); }
@media (prefers-reduced-motion: no-preference) { .hpdp-sticky.is-enhanced { transition: transform 200ms ease, visibility 0s linear 0s; } .hpdp-sticky.is-enhanced:not(.is-shown) { transition: transform 200ms ease, visibility 0s linear 200ms; } }
@media (min-width: 900px) { .hpdp-sticky__in { justify-content: center; gap: calc(var(--hpdp-space) * 6); padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 5); } .hpdp-sticky .hpdp-cm-cta { flex: 0 1 22rem; } .hpdp-sticky__now { flex: 0 1 auto; } }
html:has(.hpdp-sticky) { scroll-padding-bottom: 8rem; }

/* HP13j: a repeated buy box with the same gallery component the first box has, and the closing box's badge strip. Image sizes are in the markup, so nothing shifts when they load. */
.hpdp-repeat__media { min-width: 0; max-width: 46rem; margin: 0 auto calc(var(--hpdp-space) * 3); }
.hpdp-repeat__strip { display: block; max-width: 100%; margin-top: calc(var(--hpdp-space) * 2.5); }
.hpdp-repeat__strip-img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .hpdp-repeat:has(> .hpdp-repeat__media) { display: grid; grid-template-columns: minmax(0, 36rem) minmax(0, 36rem); justify-content: center; gap: calc(var(--hpdp-space) * 6); align-items: start; }
  .hpdp-repeat:has(> .hpdp-repeat__media) .hpdp-repeat__media { margin: 0; }
  .hpdp-repeat:has(> .hpdp-repeat__media) .hpdp-repeat__card { margin: 0; }
}

/* HP13n: a repeated buy box that carries a gallery, on a desktop (from 900px), is balanced the way the first section is (HP13m). The card gives up its own box (`display: contents`) and is drawn behind
   the right column by the section's ::before; the card's parts stand in that column, except the benefit bullets and the what-comes-with-it list, which are laid in a full-width band under both columns.
   The gallery's column is held to the gallery plus a bounded pin travel (the script publishes --hpdp-media-h and data-hpdp-pin), so the two columns end near each other and the gallery stays pinned for a
   bounded distance. The pinned gallery keeps clear of a host's fixed header: the host sets --hpdp-sticky-top. Markup and phone order never change; without script the gallery simply starts its column.
   Only a repeated box (position "repeat"); the closing box draws no gallery. A closing box that did would keep the plain two-card layout above. */
@media (min-width: 900px) {
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) { position: relative; row-gap: 0; }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media)::before {
    content: ""; position: absolute; inset: 0; grid-column: 2 / 3; grid-row: 1 / 50; z-index: 0; pointer-events: none;
    background: var(--hpdp-color-surface); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: var(--hpdp-space) var(--hpdp-space) 0 var(--hpdp-color-accent);
  }
  .hpdp-page .hpdp-repeat--repeat.hpdp-band--alt:has(> .hpdp-repeat__media)::before { background: var(--hpdp-color-background); }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__media { grid-column: 1; grid-row: 1 / 50; align-self: start; }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__media[data-hpdp-pin] { align-self: stretch; max-height: calc(var(--hpdp-media-h) + var(--hpdp-pin-max, 24rem)); }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__media .hpdp-gallery { position: static; }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__media[data-hpdp-pin] .hpdp-gallery { position: sticky; top: var(--hpdp-sticky-top, calc(var(--hpdp-space) * 3)); }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card { display: contents; }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card > *, .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card::before, .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card::after {
    grid-column: 2; min-width: 0; position: relative; z-index: 1; margin-left: calc(var(--hpdp-space) * 4); margin-right: calc(var(--hpdp-space) * 4);
  }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card::before { margin-top: calc(var(--hpdp-space) * 4); justify-self: start; }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card::after { content: ""; display: block; height: calc(var(--hpdp-space) * 3); }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card > .hpdp-repeat__bullets { grid-column: 1 / -1; grid-row: 50; margin: calc(var(--hpdp-space) * 3) 0 0; }
  .hpdp-repeat--repeat:has(> .hpdp-repeat__media) > .hpdp-repeat__card > .hpdp-value { grid-column: 1 / -1; grid-row: 51; margin: calc(var(--hpdp-space) * 3) 0 0; }
}

/* HP13 / HP13d modular-proof-v1 shell: the page layout. It is bundled AFTER the block stylesheets so it sets the container, the bands, the grid helpers and the marquee
   over them without editing any block partial. Everything is a token (--hpdp-*) or a derived length; nothing here names a brand. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.hpdp-embed { margin: 0; background: var(--hpdp-color-background); color: var(--hpdp-color-text); font-family: var(--hpdp-font-body); }
.hpdp-skip { position: absolute; left: 0; top: 0; padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 2); background: var(--hpdp-color-primary); color: var(--hpdp-color-on-primary); font-family: var(--hpdp-font-body); font-size: var(--hpdp-step-0); transform: translateY(-120%); z-index: 100; }
.hpdp-skip:focus { transform: translateY(0); outline: 4px solid var(--hpdp-color-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .hpdp-skip { transition: transform 0.15s; } }

/* container: bands run edge to edge, their content is held to --hpdp-container and centred by padding, one rhythm for every band */
.hpdp-page {
  --hpdp-container: 75rem;
  --hpdp-gutter: calc(var(--hpdp-space) * 2);
  --hpdp-band-y: calc(var(--hpdp-space) * 6);
  --hpdp-edge: max(var(--hpdp-gutter), calc((100% - var(--hpdp-container)) / 2));
  display: block; min-width: 0;
}
@media (min-width: 900px) { .hpdp-page { --hpdp-gutter: calc(var(--hpdp-space) * 5); --hpdp-band-y: calc(var(--hpdp-space) * 9); } }
.hpdp-page .hpdp-hero { padding-inline: 0; padding-bottom: var(--hpdp-band-y); }
.hpdp-page .hpdp-hero__grid { max-width: none; margin: 0; padding-inline: var(--hpdp-edge); }
.hpdp-page .hpdp-sp, .hpdp-page .hpdp-repeat { padding: var(--hpdp-band-y) var(--hpdp-edge); }

/* bands: tone from the shell's deterministic rule (light / alt alternate, stat band, product banner and the closing box are dark) */
.hpdp-page .hpdp-band--light { background: var(--hpdp-color-background); color: var(--hpdp-color-text); --hpdp-card: var(--hpdp-color-surface); }
.hpdp-page .hpdp-band--alt { background: var(--hpdp-color-surface); color: var(--hpdp-color-text); --hpdp-card: var(--hpdp-color-background); }
.hpdp-page .hpdp-band--dark, .hpdp-page .hpdp-band--dark-alt { background: var(--hpdp-color-primary); color: var(--hpdp-color-on-primary); --hpdp-card: var(--hpdp-color-surface); }
/* a dark band that follows a dark band: the shell computes --hpdp-dark-alt (a shifted primary that differs from it and keeps the text legible) */
.hpdp-page .hpdp-band--dark-alt { background: var(--hpdp-dark-alt, var(--hpdp-color-primary)); }
.hpdp-page .hpdp-band--light .hpdp-chip, .hpdp-page .hpdp-band--light .hpdp-dist__track { background: var(--hpdp-color-background); }
.hpdp-page .hpdp-band--alt .hpdp-chip, .hpdp-page .hpdp-band--alt .hpdp-dist__track { background: var(--hpdp-color-surface); }
.hpdp-page .hpdp-band--alt.hpdp-repeat .hpdp-repeat__card { background: var(--hpdp-color-background); }
.hpdp-page :is(.hpdp-band--dark, .hpdp-band--dark-alt).hpdp-repeat .hpdp-repeat__card { color: var(--hpdp-color-text); }
.hpdp-page :is(.hpdp-band--dark, .hpdp-band--dark-alt) .hpdp-sp__title { color: var(--hpdp-color-on-primary); }
.hpdp-page :is(.hpdp-band--dark, .hpdp-band--dark-alt) .hpdp-sp__title::after { background: var(--hpdp-color-on-primary); }

/* grid helpers: 1-up on a phone, 2-up from 700px, then 2/3/4-up at desktop for the containers the shell marks */
.hpdp-page .hpdp-grid { display: grid; gap: calc(var(--hpdp-space) * 3); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 700px) { .hpdp-page .hpdp-grid--2, .hpdp-page .hpdp-grid--3, .hpdp-page .hpdp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .hpdp-page .hpdp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpdp-page .hpdp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* benefit ticker: a single-line marquee with icons. Static and wrapped unless the visitor has not asked for reduced motion. */
.hpdp-marquee { overflow: hidden; margin: 0 0 calc(var(--hpdp-space) * 2); background: var(--hpdp-color-primary); color: var(--hpdp-color-on-primary); }
.hpdp-page .hpdp-ticker--marquee { margin: 0; padding: calc(var(--hpdp-space) * 1.25) var(--hpdp-gutter); background: transparent; flex-wrap: wrap; justify-content: center; gap: calc(var(--hpdp-space) * 0.5) calc(var(--hpdp-space) * 3); font-size: var(--hpdp-step-m1); line-height: 1.3; }
.hpdp-page .hpdp-ticker--marquee .hpdp-ticker__item { flex: 0 1 auto; align-items: center; gap: calc(var(--hpdp-space) * 1); }
.hpdp-page .hpdp-ticker--marquee .hpdp-ticker__item::before { content: none; }
.hpdp-ticker__ico { flex: none; width: 1.3em; height: 1.3em; }
.hpdp-ticker--dup, .hpdp-ticker__item[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hpdp-marquee__track { display: flex; width: max-content; animation: hpdp-marquee 60s linear infinite; }
  .hpdp-page .hpdp-ticker--marquee { flex: none; flex-wrap: nowrap; justify-content: flex-start; padding-inline: 0 calc(var(--hpdp-space) * 3); gap: calc(var(--hpdp-space) * 3); }
  .hpdp-page .hpdp-ticker--marquee .hpdp-ticker__item { white-space: nowrap; overflow-wrap: normal; }
  .hpdp-page .hpdp-ticker--dup { display: flex; }
  .hpdp-page .hpdp-ticker--marquee .hpdp-ticker__item[aria-hidden="true"] { display: flex; }
  .hpdp-marquee:hover .hpdp-marquee__track, .hpdp-marquee:focus-within .hpdp-marquee__track { animation-play-state: paused; }
}
/* HP13k: with reduced motion the band is one static line (the first item), never every item stacked */
@media (prefers-reduced-motion: reduce) {
  .hpdp-page .hpdp-ticker--marquee { flex-wrap: nowrap; justify-content: center; }
  /* the first item is the visible line; the other ORIGINAL items stay in the accessibility tree, visually hidden; only the marquee's duplicate copies (aria-hidden) are removed */
  .hpdp-page .hpdp-ticker--marquee { position: relative; }
  .hpdp-page .hpdp-ticker--marquee .hpdp-ticker__item:not(:first-child) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .hpdp-page .hpdp-ticker--marquee .hpdp-ticker__item[aria-hidden="true"] { display: none; }
  .hpdp-page .hpdp-ticker--marquee .hpdp-ticker__item { white-space: normal; text-align: center; }
}
@keyframes hpdp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* above the fold on a phone (HP13k): the buy box reads in the order the desktop one does (headline, rating and one real review, the mechanism line, the benefit bullets), then the pack choice and the price lead
   straight to the order button. What sits around the button (the badge grid, the list of what comes with the pack, the accordions) follows it. The gallery is a little shorter and its thumbnail row gives way to a dot strip once
   script runs. Visual order only: the markup order is the one the keyboard and a screen reader follow, and it already has the button before the list. */
@media (max-width: 899px) {
  .hpdp-page .hpdp-hero__grid { gap: calc(var(--hpdp-space) * 1.5); padding-top: calc(var(--hpdp-space) * 2); }
  .hpdp-page .hpdp-gallery__track { aspect-ratio: 5 / 4; }
  /* with script, the dots, the arrows, the counter and a swipe move the gallery, so the thumbnail row (about 96px) gives way to the buy box; without script it stays */
  .hpdp-page .hpdp-gallery.is-enhanced .hpdp-gallery__thumbs { display: none; }
  .hpdp-page .hpdp-buybox__card { display: flex; flex-direction: column; }
  /* the order button wins over the mechanism line: the line stands just below the button (and its payment row); the bullets stay above the packs */
  .hpdp-page .hpdp-buybox__subhead { order: 1; margin: calc(var(--hpdp-space) * 0.5) 0 calc(var(--hpdp-space) * 1.5); }
  .hpdp-page .hpdp-buybox__icons, .hpdp-page .hpdp-icons { order: 2; }
  .hpdp-page .hpdp-slot--value { order: 3; }
  .hpdp-page .hpdp-accordions { order: 4; }
  /* the arrows would sit over the slide's own content; the dots, the counter and a swipe move the gallery on a phone */
  .hpdp-page .hpdp-gallery.is-enhanced .hpdp-gallery__nav { display: none; }
  /* the buy box is set a step tighter on a phone so that, with the review and the mechanism line now above the pack choice, the order button stays as near the top as the content allows */
  .hpdp-page .hpdp-buybox__card { padding: calc(var(--hpdp-space) * 2); }
  .hpdp-page .hpdp-buybox__card::before { margin-bottom: calc(var(--hpdp-space) * 1.25); }
  .hpdp-page .hpdp-buybox__kicker { margin-bottom: calc(var(--hpdp-space) * 0.5); }
  .hpdp-page .hpdp-buybox__headline { margin-bottom: calc(var(--hpdp-space) * 1); font-size: var(--hpdp-step-2); line-height: 1.12; }
  .hpdp-page .hpdp-rating { gap: calc(var(--hpdp-space) * 0.5) calc(var(--hpdp-space) * 1.25); margin-bottom: calc(var(--hpdp-space) * 1); }
  .hpdp-page .hpdp-rating .hpdp-stars { font-size: var(--hpdp-step-0); }
  .hpdp-page .hpdp-rating__label { font-size: var(--hpdp-step-m1); line-height: 1.25; }
  /* the review is one small verbatim quote with its name, directly under the rating: not a card */
  .hpdp-page .hpdp-buybox__review { display: block; margin: 0 0 calc(var(--hpdp-space) * 1.25); padding: 0; border: 0; background: none; border-radius: 0; font-size: var(--hpdp-step-m1); line-height: 1.35; }
  .hpdp-page .hpdp-buybox__review .hpdp-sstars { display: none; }
  .hpdp-page .hpdp-buybox__quote { display: inline; margin: 0; font-size: inherit; line-height: inherit; }
  .hpdp-page .hpdp-buybox__cite { display: inline; margin: 0 0 0 0.4em; font-size: inherit; text-align: left; }
  .hpdp-page .hpdp-buybox__cite::before { content: "\2014\00a0"; }
  .hpdp-page .hpdp-buybox__subhead { font-size: var(--hpdp-step-0); line-height: 1.35; }
  .hpdp-page .hpdp-buybox__emphasis { margin-bottom: calc(var(--hpdp-space) * 1.25); font-size: var(--hpdp-step-0); }
  .hpdp-page .hpdp-buybox__bullets { margin-bottom: calc(var(--hpdp-space) * 1.5); gap: calc(var(--hpdp-space) * 0.75); }
  .hpdp-page .hpdp-buybox__bullet { line-height: 1.3; }
  .hpdp-page .hpdp-packs { gap: calc(var(--hpdp-space) * 1); margin-bottom: calc(var(--hpdp-space) * 2); }
  .hpdp-page .hpdp-pack { min-height: 0; padding-block: calc(var(--hpdp-space) * 1.1); }
  .hpdp-page .hpdp-pack__label { font-size: var(--hpdp-step-0); }
  .hpdp-page .hpdp-pack__total { font-size: var(--hpdp-step-0); }
  .hpdp-page .hpdp-price__total { font-size: var(--hpdp-step-3); }
  .hpdp-page .hpdp-price__pack { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 calc(var(--hpdp-space) * 1.5); }
  .hpdp-page .hpdp-price__main { flex: 0 1 auto; }
  .hpdp-page .hpdp-price__save { margin-top: 0; }
  .hpdp-page .hpdp-price__per { margin-top: 0; flex: 1 0 100%; }
  .hpdp-page .hpdp-slot { margin-bottom: calc(var(--hpdp-space) * 1.5); }
}

/* HP13j (shell layer, so the block stylesheets stay as they are): the images the blocks draw on their rows (an ingredient card, a benefit panel, a step, a ring item, a persona line, a review card) and the figures under a heading.
   Every image has its width and height in the markup, so the box is reserved before it loads; the rules here only size it to its place. */
.hpdp-ing__card--media { padding-top: calc(var(--hpdp-space) * 3); }
.hpdp-ing__card--media::before { display: none; }
.hpdp-ing__img { display: block; width: 100%; height: auto; margin: 0 0 calc(var(--hpdp-space) * 2); border-radius: calc(var(--hpdp-radius) / 2); }
.hpdp-tabpanel__img { display: block; width: 100%; max-width: 32rem; height: auto; margin: 0 0 calc(var(--hpdp-space) * 2); border-radius: calc(var(--hpdp-radius) / 2); }
.hpdp-step--media { position: relative; grid-template-columns: minmax(0, 1fr); gap: calc(var(--hpdp-space) * 2); }
.hpdp-step--media::before { position: absolute; top: calc(var(--hpdp-space) * 4); left: calc(var(--hpdp-space) * 4); z-index: 1; }
.hpdp-step__img { display: block; width: 100%; height: auto; border-radius: calc(var(--hpdp-radius) / 2); }
.hpdp-step--media .hpdp-step__text { padding-top: 0; }
.hpdp-ring__ico--plate { width: 4.5rem; height: 4.5rem; overflow: hidden; background: var(--hpdp-card); }
.hpdp-ring__plate { display: block; width: 100%; height: 100%; object-fit: contain; }
.hpdp-ring__item:has(.hpdp-ring__ico--plate) { grid-template-columns: 4.5rem minmax(0, 1fr); }
.hpdp-sp--reasons-list > .hpdp-fig { max-width: 28rem; margin-inline: auto; }
.hpdp-mech__body + .hpdp-fig { max-width: 32rem; margin: calc(var(--hpdp-space) * 4) 0 0; }
.hpdp-who__img { display: block; width: 100%; max-width: 14rem; height: auto; margin: 0 0 calc(var(--hpdp-space) * 1.5); border-radius: calc(var(--hpdp-radius) / 2); }
.hpdp-qcard--img, .hpdp-rcard--img { position: relative; list-style: none; }
.hpdp-qcard__img, .hpdp-rcard__img { display: block; width: 100%; height: auto; border-radius: var(--hpdp-radius); }
@media (min-width: 900px) {
  .hpdp-ring--hub .hpdp-ring__col--a .hpdp-ring__item:has(.hpdp-ring__ico--plate) { grid-template-columns: minmax(0, 1fr) 4.5rem; }
}

/* HP13k: ONE order-button style for every order CTA (the buy boxes, the sticky bar, the showcase buttons): the display face at the first step above body, weight 800 (the display face is set with separate properties, so a font
   stack the browser cannot parse can never drop the weight back to the body's 400), so each label is visibly heavier than the running text around it. Wording is each block's own. */
:is(.hpdp-cta, .hpdp-cm-cta, .hpdp-sp__cta) { font-family: var(--hpdp-font-display); font-size: var(--hpdp-step-1); font-weight: 800; line-height: 1.2; letter-spacing: 0.01em; }
/* the sticky bar's label stays on one line (its type shrinks to fit, see commerce.js); on a phone the bar gives the button most of the width */
.hpdp-sticky .hpdp-cm-cta { white-space: nowrap; overflow-wrap: normal; padding-inline: calc(var(--hpdp-space) * 1.5); }
@media (max-width: 899px) {
  .hpdp-sticky__in { flex-wrap: nowrap; gap: calc(var(--hpdp-space) * 1.5); }
  .hpdp-sticky__now { flex: 0 1 auto; max-width: 40%; }
  .hpdp-sticky .hpdp-cm-cta { flex: 1 1 0; min-width: 0; }
}

/* HP13k: the footer. Plain and small: the support line the offer record states, and the record's FDA statement string, verbatim, in the page's own text colour family with no ornament. */
.hpdp-footer { padding: calc(var(--hpdp-space) * 3) calc(var(--hpdp-space) * 2) calc(var(--hpdp-space) * 4); background: var(--hpdp-color-background); color: var(--hpdp-color-text-muted); font-family: var(--hpdp-font-body); }
.hpdp-footer p { max-width: 62rem; margin: 0 0 calc(var(--hpdp-space) * 1.5); font-size: var(--hpdp-step-m1); line-height: 1.5; overflow-wrap: break-word; }
.hpdp-footer__support-label { font-weight: 700; }
.hpdp-footer a, .hpdp-faq__support a { color: inherit; text-underline-offset: 0.15em; }
.hpdp-footer .hpdp-footer__fda { font-size: 0.8125rem; opacity: 0.85; }
@media (min-width: 900px) { .hpdp-footer { padding-inline: max(calc(var(--hpdp-space) * 5), calc((100% - 75rem) / 2)); } }
.hpdp-faq__support { margin: calc(var(--hpdp-space) * 2.5) 0 0; font-size: var(--hpdp-step-0); color: var(--hpdp-color-text-muted); overflow-wrap: anywhere; }
.hpdp-faq__support-label { font-weight: 700; }

/* HP13k: a label too long for one line beside the pack summary, even at the smallest type: the summary stands above the button and the button takes the full width */
.hpdp-sticky.is-stacked .hpdp-sticky__in { flex-wrap: wrap; }
.hpdp-sticky.is-stacked .hpdp-sticky__now { flex: 1 1 100%; max-width: 100%; }
.hpdp-sticky.is-stacked .hpdp-sticky__sel { flex-direction: row; align-items: baseline; gap: calc(var(--hpdp-space) * 1.5); }
.hpdp-sticky.is-stacked .hpdp-cm-cta { flex: 1 1 100%; }

/* ---- HP13m (shell only: the standalone hero keeps its own markup and stylesheet byte for byte) ---------------------------------------------------------------------------------
   The gallery's "n / N" counter stands under the image on a shell page (a slide's own banner or caption sits at its edges and the counter hid it); the phone dots are 44 x 44 px buttons
   (the drawn dot stays 12px) and the strip scrolls when they do not all fit; the phone frame follows the first slide's own shape (no letterbox bars), and a page opts into another frame
   with --hpdp-gallery-ar-m, for example `5 / 4`. */
.hpdp-page .hpdp-gallery__count { position: static; display: none; margin: calc(var(--hpdp-space) * 0.75) 0 0; padding: 0; text-align: right; font-size: var(--hpdp-step-m1); line-height: 1.2; color: var(--hpdp-color-text-muted); background: none; border-radius: 0; }
.hpdp-page .hpdp-gallery.is-enhanced .hpdp-gallery__count { display: block; }
.hpdp-page .hpdp-gallery__dots { justify-content: safe center; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.hpdp-page .hpdp-gallery__dots::-webkit-scrollbar { display: none; }
.hpdp-page .hpdp-dots__item { flex: 0 0 44px; min-width: 0; max-width: none; }
.hpdp-page .hpdp-dot { width: 44px; height: 44px; }
@media (max-width: 899px) { .hpdp-page .hpdp-gallery .hpdp-gallery__track { aspect-ratio: var(--hpdp-gallery-ar-m, var(--hpdp-ar-m)); } }

/* The sticky gallery (from 900px). A host storefront whose own header is sticky or fixed sets --hpdp-sticky-top to that header's height (plus any gap it wants), for example
   `:root { --hpdp-sticky-top: calc(73px + 1.5rem); }`, so the pinned gallery never slides under the header. The gallery pins only once the page script has measured it (it sets
   data-hpdp-pin and --hpdp-media-h on the gallery's column), and then the column is held to the gallery plus --hpdp-pin-max (default 24rem), which bounds how far the gallery travels
   while pinned. Without script nothing pins. */
.hpdp-hero__media { min-width: 0; }
@media (min-width: 700px) {
  .hpdp-page .hpdp-hero__media .hpdp-gallery { position: static; }
  .hpdp-page .hpdp-hero__media[data-hpdp-pin] { align-self: stretch; max-height: calc(var(--hpdp-media-h) + var(--hpdp-pin-max, 24rem)); }
  .hpdp-page .hpdp-hero__media[data-hpdp-pin] .hpdp-gallery { position: sticky; top: var(--hpdp-sticky-top, calc(var(--hpdp-space) * 3)); }
}

/* HP13m: DESKTOP-ONLY placement (from 900px, where subgrid is supported). The markup is the phone order and is never changed: the buy box is a subgrid of the hero grid and its card gives up
   its own box (`display: contents`), so each part is a grid item of the hero grid. The decision unit (every part not marked data-hpdp-place="band") stands in the right column on a card drawn by
   the grid's ::before; a marked part is laid in a full-width band in rows 50 and up, under both columns, in its markup order (--hpdp-band-i). The gallery wrapper spans rows 1 to 49, so it is exactly
   as tall as the decision unit. Tab and reading order stay the markup order, which on this layout is also top to bottom (the band follows the decision unit, and the accordions, the only
   controls in the band, are last in both). The section keeps its own box (a subgrid, not `display: contents`) so its landmark and name survive in every browser. Without subgrid support
   nothing here applies and the buy box stays one column. */
@supports (grid-template-columns: subgrid) {
  @media (min-width: 700px) {
    /* the gallery column is the wider one (3fr / 2fr); the decision column never narrower than 27.5rem (about 440px) */
    .hpdp-hero__grid[data-hpdp-placed] { position: relative; row-gap: 0; grid-template-columns: minmax(0, 3fr) minmax(27.5rem, 2fr); }
    /* every slide's thumbnail stays on screen under the image (real media; a second row where one does not hold them) */
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-gallery__thumbs { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, 92px); grid-auto-columns: auto; overflow: visible; }
    .hpdp-hero__grid[data-hpdp-placed]::before {
      content: ""; position: absolute; inset: 0; grid-column: 2 / 3; grid-row: 1 / 50; z-index: 0; pointer-events: none;
      background: var(--hpdp-color-surface); border: 3px solid var(--hpdp-color-border); border-radius: var(--hpdp-radius); box-shadow: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 1) 0 var(--hpdp-color-accent);
    }
    .hpdp-hero__grid[data-hpdp-placed] > .hpdp-hero__media { grid-column: 1; grid-row: 1 / 50; align-self: stretch; }
    .hpdp-hero__grid[data-hpdp-placed] > .hpdp-buybox { display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-column: 1 / -1; grid-row: 1 / 100; pointer-events: none; }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card { display: contents; }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card > *, .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::before, .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::after {
      grid-column: 2; min-width: 0; position: relative; z-index: 1; pointer-events: auto; margin-left: calc(var(--hpdp-space) * 4); margin-right: calc(var(--hpdp-space) * 4);
    }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::before { margin-top: calc(var(--hpdp-space) * 4); justify-self: start; }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::after { content: ""; display: block; height: calc(var(--hpdp-space) * 2); }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card > [data-hpdp-place="band"] {
      grid-column: 1 / -1; grid-row: calc(49 + var(--hpdp-band-i)); margin: calc(var(--hpdp-space) * 3) 0 0; max-width: 100%;
    }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card > [data-hpdp-place="band"]:is(.hpdp-buybox__bullets, .hpdp-icons, .hpdp-accordions, .hpdp-buybox__review) { margin-bottom: 0; }
    /* the card is not a container here (its box is gone), so the badge grid is chosen by how many badges there are, as the card's container rules do on a wide card: two sit as 2, four as 4, any other count in threes */
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-icons[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-icons[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-icons__item:last-child:nth-child(odd) { grid-column: auto; }
    .hpdp-hero__grid[data-hpdp-placed] .hpdp-accordions { border-top: 2px solid var(--hpdp-color-border); }
  }
}

/* ---- HP13n: a tablet (700 to 899px) is laid out as two columns, like a desktop --------------------------------------------------------------------------------------------------
   The stacked tablet layout drew the 730px square gallery first and left the price and the order button about 800px below the first screen. From 700px the first section is now the same two-column
   section as the desktop one (the gallery in a pinned column, the decision unit on the card beside it, the explaining parts in the band under both), with equal columns and the phone's
   tighter card spacing. A phone (under 700px) is unchanged. */
@supports (grid-template-columns: subgrid) {
  @media (min-width: 700px) and (max-width: 899px) {
    .hpdp-page .hpdp-hero__grid[data-hpdp-placed] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(var(--hpdp-space) * 3); padding-top: calc(var(--hpdp-space) * 2); }
    .hpdp-page .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card > *, .hpdp-page .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::before, .hpdp-page .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::after {
      margin-left: calc(var(--hpdp-space) * 2); margin-right: calc(var(--hpdp-space) * 2);
    }
    .hpdp-page .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::before { margin-top: calc(var(--hpdp-space) * 2); margin-bottom: calc(var(--hpdp-space) * 1.25); }
  }
}

/* HP13n: a short desktop window (a laptop, 1024 x 768): the headline steps down one size and the rating, the mechanism line and the card's top give back some room, so that the first pack
   (an order link) and the price sit on the first screen. Nothing is removed. Taller windows are unchanged. */
@media (min-width: 900px) and (max-height: 790px) {
  .hpdp-page .hpdp-hero__grid { padding-top: calc(var(--hpdp-space) * 2); }
  .hpdp-page .hpdp-hero__grid[data-hpdp-placed] .hpdp-buybox__card::before { margin-top: calc(var(--hpdp-space) * 3); margin-bottom: calc(var(--hpdp-space) * 1.25); }
  .hpdp-page .hpdp-buybox__headline { font-size: var(--hpdp-step-3); margin-bottom: calc(var(--hpdp-space) * 1); }
  .hpdp-page .hpdp-rating { margin-bottom: calc(var(--hpdp-space) * 1); }
  .hpdp-page .hpdp-buybox__emphasis { font-size: var(--hpdp-step-0); margin-bottom: calc(var(--hpdp-space) * 1.5); }
}

/* HP-OF1: the offer-first PHONE layout (opt-in: the build appends this file to the bundle and adds the data-hpdp-phone attribute only when asked, so a page built without it is byte-identical to before).
   Below 700px (a phone; from 700px the template's own tablet and desktop layouts apply untouched) the first buy box leads with the decision: title, rating, the pack rows, the order button and the payment marks come first, then the selected pack's price summary, then the
   parts that explain (review, supporting line, bullets, badge grid, the pack's bonus list, accordions) in the order they already stand in. The markup does not move (reading and tab order stay
   the markup order) and no part is added, dropped, hidden or edited: this is `order` on the card's children, a short gallery strip and tighter spacing. From 700px nothing here applies. */
@media (max-width: 699px) {
  .hpdp-page .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-gallery .hpdp-gallery__track { aspect-ratio: var(--hpdp-gallery-ar-m-offer-first, 3 / 1); }
  .hpdp-page .hpdp-hero__grid[data-hpdp-phone="offer-first"] { padding-top: calc(var(--hpdp-space) * 0.5); row-gap: calc(var(--hpdp-space) * 0.75); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-gallery { position: relative; }
  .hpdp-page .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-gallery__count { position: absolute; right: 0; bottom: 12px; margin: 0; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-gallery__dots { margin: calc(var(--hpdp-space) * -1.25) 0; position: relative; z-index: 1; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card { display: flex; flex-direction: column; padding: calc(var(--hpdp-space) * 1.5) calc(var(--hpdp-space) * 2); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > * { order: 20; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card::before { order: 0; margin-bottom: calc(var(--hpdp-space) * 1); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-buybox__kicker { order: 1; margin-bottom: 0; line-height: 1.2; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-buybox__headline { order: 2; font-size: var(--hpdp-step-1); line-height: 1.12; margin-bottom: calc(var(--hpdp-space) * 0.5); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-rating { order: 3; margin-bottom: calc(var(--hpdp-space) * 1); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="pack-selector"] { order: 4; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="cta"] { order: 5; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="payments"] { order: 6; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="price"] { order: 7; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-buybox__review { order: 8; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-buybox__subhead { order: 9; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-buybox__emphasis { order: 10; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-buybox__bullets { order: 11; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-icons { order: 12; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="value"] { order: 13; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-accordions { order: 14; }
  /* pack rows: tight padding and a 52px thumb; each row stays a tap target well over 44px */
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-packs { gap: calc(var(--hpdp-space) * 1); margin-bottom: calc(var(--hpdp-space) * 1.5); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack { min-height: 0; gap: calc(var(--hpdp-space) * 1); padding: calc(var(--hpdp-space) * 0.75) calc(var(--hpdp-space) * 1.5); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__thumb { width: 46px; height: 46px; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__mark { width: 24px; height: 24px; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__ribbon { margin: 0; padding: calc(var(--hpdp-space) * 0.25) calc(var(--hpdp-space) * 1.25); }

  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__text { grid-column: 2; gap: 0; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__amount { grid-column: 3; flex-direction: column; flex-wrap: nowrap; align-items: flex-end; justify-content: flex-start; gap: 0; text-align: right; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="cta"] { margin-bottom: calc(var(--hpdp-space) * 1); }
  /* tighter still, so the decision fits the first screen with the site nav above: one-line pack labels, a compact rating row, a shorter button */
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__label { font-size: var(--hpdp-step-m1); line-height: 1.1; white-space: normal; overflow-wrap: anywhere; min-width: 0; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__per { font-size: var(--hpdp-step-m1); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__total { font-size: var(--hpdp-step-0); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__was { font-size: var(--hpdp-step-m1); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__ribbon { font-size: var(--hpdp-step-m2, 0.7rem); line-height: 1.1; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-rating { gap: 0 calc(var(--hpdp-space) * 1); line-height: 1.2; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="cta"] .hpdp-cm-cta { min-height: 52px; }
  .hpdp-hero:has(.hpdp-hero__grid[data-hpdp-phone="offer-first"]) .hpdp-marquee { margin-bottom: calc(var(--hpdp-space) * 0.5); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card::before { display: none; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card { padding-top: calc(var(--hpdp-space) * 1.25); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="cta"] { margin-bottom: calc(var(--hpdp-space) * 0.75); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack { gap: calc(var(--hpdp-space) * 0.5); padding-inline: calc(var(--hpdp-space) * 1); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-packs { margin: calc(var(--hpdp-space) * 1.25) 0 calc(var(--hpdp-space) * 1); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__ribbon { position: absolute; top: calc(var(--hpdp-space) * -1.25); left: calc(var(--hpdp-space) * 1.5); z-index: 1; margin: 0; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-buybox__headline { font-size: var(--hpdp-step-0); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > .hpdp-rating { margin-bottom: 0; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card > [data-hpdp-slot="cta"] .hpdp-cm-cta { min-height: 0; padding-block: calc(var(--hpdp-space) * 1.25); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack.has-ribbon { padding-top: calc(var(--hpdp-space) * 1.75); }
  .hpdp-page .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-gallery__dots { margin-right: 4.75rem; justify-content: flex-start; }
}
/* the narrowest phones (360px class): the label and the amount shrink a step so the label never runs into the price */
@media (max-width: 389px) {
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__label { font-size: 0.78rem; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__total { font-size: 0.95rem; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__mark { width: 20px; height: 20px; }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack__thumb { width: 46px; height: 46px; }
}

/* round 3: short in-app viewports. The ticker and the gallery strip give back a few more pixels so the first Claim button is fully on screen on a short screen. */
@media (max-width: 699px) {
  .hpdp-hero:has(.hpdp-hero__grid[data-hpdp-phone="offer-first"]) .hpdp-ticker--marquee { padding-block: calc(var(--hpdp-space) * 0.75); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack { padding-block: calc(var(--hpdp-space) * 0.5); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-packs { gap: calc(var(--hpdp-space) * 0.75); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-buybox__card { padding-top: calc(var(--hpdp-space) * 1); }
  .hpdp-hero__grid[data-hpdp-phone="offer-first"] .hpdp-pack.has-ribbon { padding-top: calc(var(--hpdp-space) * 1.5); }
}

/* the sticky Claim bar on phones: about 72px, the pack summary on ONE line, real clearance around the label. It is shown from page load by hero-offer-first.js whenever no in-page Claim button is fully in view. */
@media (max-width: 699px) {
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky.hpdp-of-shown { visibility: visible; transform: none; }
  /* the phone controller owns the bar: whatever the legacy logic says (it watches only the buy boxes' buttons), the bar is hidden unless hpdp-of-shown */
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky:not(.hpdp-of-shown) { visibility: hidden; transform: translateY(115%); }
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky__in { flex-wrap: nowrap; gap: calc(var(--hpdp-space) * 1.25); padding: calc(var(--hpdp-space) * 1) calc(var(--hpdp-space) * 1.5); }
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky__now { flex: 1 1 0; min-width: 0; }
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky__sel { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: calc(var(--hpdp-space) * 0.75); line-height: 1.15; }
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky__label { font-size: 0.72rem; }
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky__total { font-size: 0.92rem; }
  html:has([data-hpdp-phone="offer-first"]) .hpdp-sticky .hpdp-cm-cta { flex: 0 1 auto; width: auto; min-width: 0; min-height: 48px; padding: calc(var(--hpdp-space) * 0.75) calc(var(--hpdp-space) * 1.5); font-size: 0.95rem; line-height: 1.15; overflow-wrap: normal; }
  /* the repeated buy boxes' buttons: one line from 360px (type and padding only) */
  html:has([data-hpdp-phone="offer-first"]) .hpdp-repeat__cta .hpdp-cm-cta { font-size: min(var(--hpdp-step-1), 4.6vw); padding-inline: calc(var(--hpdp-space) * 1.25); }
}
