.helix-offer {
  /* Neodent's logo plum and the Helix GM Narrow brochure magenta. */
  --helix-brand: #833178;
  --helix-magenta: #d956c8;
  --helix-ink: #301c33;
  --helix-deep: #3a193c;
  --helix-muted: #634f65;
  --helix-line: #d8bad3;
  --helix-wash: #f7eaf6;
  --helix-pale: #f0dcef;
  --helix-gift: #ffc1f2;
  color: var(--helix-ink);
}

.helix-offer [hidden] { display: none; }
.helix-offer a { color: var(--helix-brand); }
.helix-offer :focus-visible { outline-color: var(--helix-brand); }
.helix-offer ::selection { background: var(--helix-gift); color: var(--helix-ink); }
.helix-offer-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.helix-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3.6vw, 56px);
  padding: clamp(20px, 4.25vw, 62px);
  border-radius: 16px;
  background: radial-gradient(ellipse at 91% 90%, var(--helix-brand), transparent 68%), var(--helix-deep);
  color: #fffafd;
}
.helix-hero h1 {
  font-size: clamp(36px, 4.6vw, 72px);
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: initial;
}
.helix-hero h1 span { display: block; }
.helix-hero-copy > p { max-width: 42ch; color: var(--helix-pale); }
.helix-hero-copy .helix-hero-gift {
  margin-block: 14px;
  color: var(--helix-gift);
  font-size: clamp(23px, 2.55vw, 38px);
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.helix-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 17px; margin-top: 21px; }
.helix-hero-actions .price { margin: 0; font-size: clamp(18px, 1.55vw, 23px); }
.helix-offer .helix-button { min-height: 48px; padding-inline: 18px; font-weight: 650; }
.helix-hero .helix-button { color: var(--helix-ink); background: #f6d9f2; border-color: #f6d9f2; }
.helix-hero .helix-button:hover { background: #fff0fb; border-color: #fff0fb; }
.helix-hero :focus-visible, .helix-progress :focus-visible { outline-color: var(--helix-gift); }

.helix-hero-products { display: grid; grid-template-columns: minmax(0, .66fr) minmax(0, 1fr); gap: 8px; }
.helix-hero-products figure {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  margin: 0;
  min-width: 0;
  min-height: clamp(166px, 24vw, 330px);
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #fcf8fb, #e7dbe8);
  color: var(--helix-ink);
}
.helix-hero-products .helix-hero-kit { background: linear-gradient(135deg, #fff5fc, #edc5e7); }
.helix-hero-products img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.helix-hero-implant img { transform: scale(1.36); }
.helix-hero-kit img { transform: scale(1.13); }
.helix-hero-products figcaption {
  position: relative;
  width: 100%;
  padding: 8px 12px 10px;
  background: #fffbffdf;
  font-size: clamp(12px, 1.15vw, 16px);
  line-height: 1.2;
  font-weight: 650;
}
.helix-hero-products figcaption:only-child { grid-row: 2; }

.helix-offer-assemble { margin-top: clamp(28px, 4vw, 56px); }
.helix-offer-assemble h2 { font-size: clamp(28px, 3.3vw, 44px); }
.helix-offer-assemble > p { color: var(--helix-muted); margin-bottom: 15px; }
.helix-offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(246px, .45fr);
  grid-template-areas: "options progress";
  align-items: start;
  gap: 18px;
}
.helix-offer-options { grid-area: options; display: grid; gap: 14px; }
.helix-progress[hidden] + .helix-offer-options { grid-column: 1 / -1; }

.helix-offer-sizes {
  min-inline-size: 0;
  margin: 0;
  padding: 4px 12px 12px;
  background: #fff;
  border: 1px solid #d7ccd9;
  border-radius: 13px;
}
.helix-offer-sizes legend {
  margin-left: 2px;
  padding: 0 8px;
  color: var(--helix-brand);
  font-size: 19px;
  font-weight: 700;
}
.helix-offer-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr));
  gap: 6px;
}
.helix-offer-variant {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 8px;
  border-top: 1px solid #e7dce8;
  border-radius: 4px;
}
.helix-offer-variant[data-selected] { background: var(--helix-wash); }
.helix-offer-variant label { gap: 0; line-height: 1.25; }
.helix-offer-variant label strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.helix-offer-variant label span:not(.helix-offer-sr) { color: var(--helix-muted); overflow-wrap: anywhere; }
.helix-offer-variant small { color: var(--helix-muted); font-size: 13px; }
.helix-offer-variant .errorlist { color: #8f292f; padding-inline-start: 14px; }
.helix-offer-quantity {
  display: flex;
  justify-content: space-between;
  border: 1px solid #92778f;
  border-radius: 7px;
  background: #fff;
  margin-top: 3px;
}
.helix-offer-quantity button {
  min-width: 32px;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--helix-brand);
  font-size: 20px;
  line-height: 1;
}
.helix-offer-quantity button:hover { background: var(--helix-wash); }
.helix-offer-quantity button[aria-disabled="true"] { color: #6c596e; background: transparent; cursor: default; }
.helix-offer .helix-offer-quantity input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 2px 1px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
  -moz-appearance: textfield;
}
.helix-offer-quantity input::-webkit-inner-spin-button { appearance: none; }
.helix-offer-quantity :focus-visible { position: relative; z-index: 1; outline-offset: -2px; }

.helix-progress {
  position: sticky;
  z-index: 2;
  top: 12px;
  grid-area: progress;
  min-width: 0;
  padding: clamp(13px, 1.6vw, 22px);
  border-radius: 14px;
  background: var(--helix-deep);
  color: #fffafd;
}
.helix-progress-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.helix-progress-heading h3 { font-size: clamp(17px, 1.65vw, 22px); }
.helix-progress-heading span { white-space: nowrap; color: var(--helix-pale); font-variant-numeric: tabular-nums; }
.helix-progress-heading strong { color: #fffafd; font-size: 24px; }
.helix-progress[data-over] .helix-progress-heading strong { color: var(--helix-gift); }
.helix-track { display: grid; gap: 6px; margin: 9px 0 13px; }
.helix-track-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.helix-track-cell {
  position: relative;
  min-height: 17px;
  border: 1px solid #9b7397;
  border-radius: 4px;
  background: #492449;
}
.helix-track-cell > span {
  position: absolute;
  inset: -1px;
  border: 1px solid #e8b0df;
  border-radius: inherit;
  background: linear-gradient(165deg, #f6d9f2, #ca85c3);
  opacity: 0;
  transform: scaleY(.5);
  transform-origin: bottom;
}
.helix-track-cell[data-filled] > span { opacity: 1; transform: none; }

.helix-reward { border-top: 1px solid #795073; padding-top: 11px; }
.helix-reward-copy { display: grid; gap: 2px; }
.helix-reward-copy strong { color: var(--helix-gift); font-size: 17px; }
.helix-reward-copy > span { color: var(--helix-pale); font-size: 14px; }
.helix-reward .helix-reward-copy a { color: var(--helix-gift); font-size: 14px; width: fit-content; }
.helix-reward-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100px;
  margin-top: 9px;
  border: 1px dashed #b888ae;
  border-radius: 8px;
  overflow: hidden;
  background: #4c274a;
}
.helix-reward-media img { max-width: 100%; width: 100%; height: clamp(100px, 11vw, 158px); object-fit: contain; transform: scale(1.18); mix-blend-mode: multiply; visibility: hidden; }
.helix-reward-tag { position: absolute; color: var(--helix-pale); font-size: 20px; font-weight: 700; }
.helix-reward[data-ready] .helix-reward-media { border-style: solid; border-color: var(--helix-magenta); background: #fae0f4; }
.helix-reward[data-ready] img { visibility: visible; }
.helix-reward[data-ready] .helix-reward-tag { color: var(--helix-ink); font-size: 14px; inset: 6px 7px auto auto; }

.helix-offer-checkout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 20px;
  margin-top: 20px;
  padding: clamp(15px, 2vw, 28px);
  border: 1px solid var(--helix-line);
  border-radius: 14px;
  background: var(--helix-wash);
}
.helix-offer-checkout h3 { font-size: 17px; }
.helix-offer-checkout p { margin-block: 4px 0; }
.helix-offer-checkout .price { font-size: clamp(24px, 3.5vw, 39px); white-space: normal; }
.helix-offer-checkout .helix-button { color: #fff; background: var(--helix-brand); border-color: var(--helix-brand); }
.helix-offer-checkout .helix-button:hover { background: #64255b; border-color: #64255b; }
.helix-offer-error { color: #8f292f; }
.helix-offer-terms { grid-column: 1 / -1; padding: 9px 0 0; border-color: var(--helix-line); font-size: 14px; }
.helix-offer-terms summary { color: var(--helix-brand); width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.helix-offer-terms p { max-width: 70ch; }
.helix-offer-unavailable { margin-top: 20px; }

.axiom-offer {
  --helix-brand: #314772;
  --helix-magenta: #f5787e;
  --helix-ink: #233758;
  --helix-deep: #1c2e50;
  --helix-muted: #51617b;
  --helix-line: #bdc9db;
  --helix-wash: #eef2f8;
  --helix-pale: #dce5f4;
  --helix-gift: #ffaba8;
  --axiom-coral: #ab3945;
  --axiom-coral-hover: #902d39;
  --axiom-product-surface: #f9f3ee;
}
.axiom-offer .helix-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--helix-deep);
}
.axiom-offer .helix-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--helix-brand);
  clip-path: polygon(79% 0, 100% 0, 100% 100%, 54% 100%);
  content: '';
}
.axiom-offer .helix-hero h1 {
  font-size: clamp(31px, 3.6vw, 55px);
  line-height: 1.05;
}
.axiom-offer .helix-hero h1 span {
  margin-top: 4px;
  font-size: 1.35em;
}
.axiom-offer .helix-hero-gift { text-wrap: pretty; }
.axiom-offer .helix-hero-products {
  gap: 10px;
  padding: clamp(12px, 1.8vw, 26px);
  border-radius: 12px;
  background: var(--axiom-product-surface);
}
.axiom-offer .helix-hero-products figure {
  min-height: 0;
  place-items: center start;
  border-radius: 0;
  background: transparent;
}
.axiom-offer .helix-hero-products figure:only-of-type { grid-column: 1 / -1; }
.axiom-offer .helix-hero-products figure img {
  height: clamp(105px, 22vw, 288px);
  transform: none;
}
.axiom-offer .helix-hero-products .helix-hero-implant img { transform: scale(1.52); }
.axiom-offer .helix-hero-products figcaption {
  align-self: stretch;
  padding: 8px 0 0;
  border-top: 1px solid var(--helix-line);
  background: var(--axiom-product-surface);
  overflow-wrap: anywhere;
}
.axiom-offer .helix-hero-products :focus-visible { outline-color: var(--helix-brand); }
.axiom-offer .helix-button { border-radius: 24px; }
.axiom-offer .helix-hero .helix-button {
  color: var(--helix-deep);
  background: var(--helix-gift);
  border-color: var(--helix-gift);
}
.axiom-offer .helix-hero .helix-button:hover { background: #ffd1ce; border-color: #ffd1ce; }
.axiom-offer .helix-offer-checkout .helix-button { background: var(--axiom-coral); border-color: var(--axiom-coral); }
.axiom-offer .helix-offer-checkout .helix-button:hover { background: var(--axiom-coral-hover); border-color: var(--axiom-coral-hover); }
.axiom-offer .helix-offer-sizes,
.axiom-offer .helix-offer-variant { border-color: var(--helix-line); }
.axiom-offer .helix-offer-quantity { border-color: #7889a3; }
.axiom-offer .helix-offer-quantity button[aria-disabled="true"] { color: var(--helix-muted); }
.axiom-offer .helix-track-cell,
.axiom-offer .helix-reward-media { background: var(--helix-brand); border-color: #8296b8; }
.axiom-offer .helix-reward { border-color: #8296b8; }
.axiom-offer .helix-track-cell > span { background: var(--helix-gift); border-color: var(--helix-gift); }
.axiom-offer .helix-reward[data-ready] .helix-reward-media { background: var(--axiom-product-surface); }

@media (max-width: 780px) {
  .axiom-offer .helix-hero::before { clip-path: polygon(100% 34%, 100% 100%, 35% 100%); }
  .axiom-offer .helix-hero h1 { font-size: clamp(29px, 6.5vw, 46px); }
  .axiom-offer .helix-hero-products figure img { height: clamp(105px, 35vw, 232px); }
}

@media (max-width: 920px) {
  .helix-offer-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "progress" "options"; gap: 13px; }
  .helix-progress { top: 0; padding: 8px 10px 10px; }
  .helix-progress-heading strong { font-size: 20px; }
  .helix-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; margin: 4px 0 6px; }
  .helix-track-cell { min-height: 10px; border-radius: 2px; }
  .helix-reward { display: grid; grid-template-columns: minmax(0, 1fr) 108px; align-items: center; gap: 6px; padding-top: 5px; }
  .helix-reward-copy { gap: 0; line-height: 1.18; }
  .helix-reward-copy strong { font-size: 15px; }
  .helix-reward-copy > span { font-size: 12px; }
  .helix-reward-media { min-height: 36px; margin-top: 0; }
  .helix-reward-media img { height: 45px; transform: scale(1.55); }
  .helix-reward-tag { font-size: 15px; }
  .helix-reward[data-ready] .helix-reward-tag { inset: 3px 4px auto auto; font-size: 12px; }
  .helix-offer-quantity :is(input, button) { scroll-margin-top: 160px; }
}

@media (max-width: 780px) {
  .helix-hero { grid-template-columns: minmax(0, 1fr); }
  .helix-hero h1 { font-size: clamp(35px, 8vw, 57px); }
  .helix-hero-products figure { min-height: 0; }
  .helix-hero-products img { height: clamp(85px, 29vw, 205px); }
  .helix-hero-implant img { transform: scale(1.15); }
}

@media (max-width: 520px) {
  .helix-offer-variants { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .helix-offer-sizes { padding-inline: 8px; }
  .helix-offer-variant { padding-inline: 5px; }
  .helix-offer-quantity button { min-width: 38px; }
  .helix-offer-checkout { grid-template-columns: minmax(0, 1fr); }
  .helix-checkout-action button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .helix-track-row--sweep::after { animation: none; }
}
@media (forced-colors: active) {
  .helix-track-cell[data-filled], .helix-reward[data-ready] .helix-reward-media { border-color: Highlight; }
}
