/* ==========================================================================
   The product page (shop-product.php), light edition. Builds on home-light.css (tokens, header, footer, buttons, FAQ,
   .section bands) and shop-light.css (.crumbs, .pcard). The class names the scripts read (product_zoom_*, color-swatch,
   price-row, #selection-summary ...) are unchanged: car-mat-configurator.js, product-light.js and pattern-drawer.js find
   the page by them.
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pp-crumbs { padding-top: clamp(14px, 1.8vw, 22px); }
.pp-crumbs .crumbs { margin-bottom: clamp(10px, 1.4vw, 18px); }

/* the one swap region: pattern-drawer.js fades it out and in */
/* a pattern swap changes the page in one go once the new photo is ready: nothing fades, so nothing flashes */
#ez-product-swap.is-swapping { pointer-events: none; }
/* While the next pattern loads, the photo says so: it dims and a spinner appears, but only if it takes longer than a blink. */
#ez-product-swap.is-swapping .product_zoom_container { cursor: progress; }
#ez-product-swap.is-swapping .product_zoom_container img { opacity: .6; transition: opacity .25s .14s; }
#ez-product-swap.is-swapping .product_zoom_container::after {
  content: ""; position: absolute; z-index: 3; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 3px solid rgba(21, 17, 13, .2); border-top-color: var(--ink); animation: pp-spin .8s linear infinite, pp-appear .2s .14s both;
}
@keyframes pp-appear { from { opacity: 0; } to { opacity: 1; } }
#ez-product-swap.is-swapping .ez-pattern-grid { cursor: progress; }

/* ---------- the two columns ---------- */
.pp { padding-bottom: clamp(34px, 4vw, 60px); }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 56px); align-items: start; }

/* ---------- photos ---------- */
.pp-media { position: sticky; top: calc(var(--head-h) + 18px); min-width: 0; }
.product_zoom_container { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--stone); aspect-ratio: 3 / 2; cursor: zoom-in; }
.product_zoom_container.is-swapping { cursor: progress; }
.product_zoom_container.is-swapping::after {
  content: ""; position: absolute; z-index: 3; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 3px solid rgba(21, 17, 13, .2); border-top-color: var(--ink); animation: pp-spin .8s linear infinite;
}
@keyframes pp-spin { to { transform: rotate(360deg); } }
.product_zoom_info { display: none; height: 100%; }
.product_zoom_info.selected { display: block; }
.product_image_zoom { position: relative; height: 100%; overflow: hidden; }
.product_image_zoom img { width: 100%; height: 100%; object-fit: cover; }
.ez-photo-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 11px; border-radius: var(--r-pill);
  background: rgba(21, 17, 13, .72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; pointer-events: none;
}
.ez-photo-count:empty { display: none; }
.product_zoom_button_group { display: flex; gap: 8px; margin-top: 12px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.product_zoom_button { flex: none; width: 92px; }
.product_zoom_button a {
  display: block; aspect-ratio: 3 / 2; border-radius: 12px; border: 2px solid transparent; opacity: .7;
  background-size: cover; background-position: center; background-color: var(--stone); transition: opacity .2s, border-color .2s;
}
.product_zoom_button a:hover { opacity: 1; }
.product_zoom_button a.selected { opacity: 1; border-color: var(--ink); }
.ez-sample-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted-2); }

/* ---------- the head of the panel ---------- */
.pp-head { margin-bottom: clamp(16px, 2vw, 22px); }
.product_series { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.product_title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.045em; }
.product_rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.product_rating .star { color: #c98a00; }
.product_rating_score { color: var(--ink); font-weight: 700; }
.product_price_head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; }
.product_price_head__from { font-size: 14px; color: var(--muted); }
.product_price_head__now { font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.product_price_head__was { font-size: 16px; color: var(--muted-2); }
.offer-badge { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: var(--r-pill); background: var(--green-bg); color: var(--green); font-size: 12.5px; font-weight: 700; line-height: 1.3; align-self: center; }

/* ---------- the card: steps, then the money ---------- */
.pp-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; }
.pp-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--line); }
.pp-tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 9px; row-gap: 0; min-width: 0;
  padding: 14px 12px 12px 14px; text-align: left; color: var(--muted); transition: color .2s, background-color .2s;
}
.pp-tab:hover { background: rgba(21, 17, 13, .03); }
.pp-tab .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 12.5px; font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.pp-tab .t { font-size: 14.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pp-tab .v { grid-column: 1 / -1; margin-top: 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.25; color: var(--muted-2); }
.pp-tab .v.is-pending { color: var(--red); font-weight: 600; }
.pp-tab[aria-selected="true"] { color: var(--ink); }
.pp-tab[aria-selected="true"] .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.pp-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--red); border-radius: 2px; }

.pp-step { padding: 22px 22px 18px; }
.pp-h { margin: 0 0 4px; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.3; }
.step-lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.step-note { margin: 4px 0 0; font-size: 13px; color: var(--muted-2); }
#pattern-crop-note { margin: 0 0 12px; }

/* what the three colours of the Top Layer step are: a real photo with the parts numbered, the same numbers as the headings */
.tl-guide { display: grid; grid-template-columns: minmax(0, 210px) 1fr; gap: 16px; align-items: center; margin: 0 0 22px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.tl-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: var(--stone); }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-pin, .tl-n { display: inline-grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; line-height: 1; }
.tl-pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid #fff; font-size: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.tl-n { flex: none; width: 20px; height: 20px; margin-right: 8px; font-size: 12px; vertical-align: 1px; }
.tl-guide figcaption p { margin-bottom: 8px; font-size: 13.5px; color: var(--muted); }
.tl-guide ol { display: grid; gap: 7px; }
.tl-guide li { display: flex; align-items: flex-start; gap: 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.tl-guide li .tl-n { margin-top: 1px; }
.tl-guide li b { color: var(--ink); }
.pp-next { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 4px; font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--ink); border-radius: 0; }
.pp-next .bi { font-size: 12px; transition: transform .25s var(--ease); }
.pp-next:hover .bi { transform: translateX(4px); }

/* the small WhatsApp help links: quiet text, never a button */
.ez-ask { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; line-height: 1.4; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.ez-ask:hover { color: var(--ink); text-decoration-color: var(--ink); }
.ez-ask .bi { color: var(--green); font-size: 14px; }
.ez-ask--inline { margin-left: 4px; }
.vehicle-selector-section .ez-ask, .ez-pattern-grid + .ez-ask { margin-top: 12px; }
.ez-colours-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 1. car ---------- */
.sel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sel-make { grid-column: 1 / -1; }
.selected-vehicle-card, .selected-additional-info-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: var(--paper);
  border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 14px;
}
.vehicle-model { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.25; }
.vehicle-brand { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; color: var(--muted); }
.brand-logo { width: 22px; height: 22px; object-fit: contain; }
.btn-edit-vehicle, .btn-edit-additional-info { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.btn-edit-vehicle:hover, .btn-edit-additional-info:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.vehicle-selection-display, .additional-info-display { margin-bottom: 4px; }
.additional-info-section { margin-top: 18px; }
.selected-additional-info-card { margin-top: 12px; }
.trim-image { width: 64px; height: 44px; object-fit: contain; flex: none; }
.trim-info { flex: 1; min-width: 0; }
.trim-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.trim-name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.info-options-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.info-option-card { position: relative; }
.info-option-card input { position: absolute; opacity: 0; inset: 0; }
.info-option-card label { display: block; padding: 10px; text-align: center; font-size: 13px; font-weight: 600; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.info-option-card label img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 6px; }
.info-option-card input:checked + label { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.info-option-card input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the car selects (ez-select.js builds .ez-select around each <select data-ez-select>) */
.ez-select { position: relative; width: 100%; }
.ez-select > select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ez-select__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; text-align: left; transition: border-color .18s, box-shadow .18s;
}
.ez-select__trigger:hover:not(:disabled) { border-color: var(--ink); }
.ez-select__trigger:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 17, 13, .14); }
.ez-select.is-placeholder .ez-select__value { color: var(--muted-2); font-weight: 500; }
.ez-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ez-select__caret { flex: none; font-size: 13px; color: var(--muted); transition: transform .2s; }
.ez-select.is-open .ez-select__caret { transform: rotate(180deg); color: var(--ink); }
.ez-select.is-disabled .ez-select__trigger { background: var(--paper); border-style: dashed; cursor: not-allowed; }
.ez-select.is-disabled .ez-select__value { color: var(--muted-2); }
.ez-select__panel {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; display: none; flex-direction: column; max-height: min(460px, 68vh); padding: 6px;
  border-radius: 14px; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 18px 46px -12px rgba(21, 17, 13, .3); overflow: hidden;
}
.ez-select.is-open .ez-select__panel { display: flex; }
.ez-select.is-up .ez-select__panel { top: auto; bottom: calc(100% + 6px); }
.ez-select__search { padding: 4px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.ez-select__search input { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-size: 14px; }
.ez-select__search input::placeholder { color: var(--muted-2); }
.ez-select__search input:focus { outline: none; border-color: var(--ink); }
/* On a phone the list is a bottom sheet, above the buy bar and the keyboard-free half of the screen: about nine options in view
   instead of three, with the page dimmed behind it. */
@media (max-width: 640px) {
  .ez-select.is-open::before { content: ""; position: fixed; inset: 0; z-index: 79; background: rgba(21, 17, 13, .5); }
  .ez-select__panel, .ez-select.is-up .ez-select__panel {
    position: fixed; z-index: 80; top: auto; left: 0; right: 0; bottom: 0; max-height: 72vh; max-height: 72dvh;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -16px 50px rgba(21, 17, 13, .35);
  }
  .ez-select__option { padding: 14px 14px; font-size: 16px; }
  .ez-select__search input { height: 46px; font-size: 16px; }
}
.ez-select__list { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.ez-select__option { position: relative; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; line-height: 1.4; color: var(--ink); cursor: pointer; transition: background-color .14s; }
.ez-select__option:hover, .ez-select__option.is-active { background: var(--paper); }
.ez-select__option.is-selected { padding-right: 34px; font-weight: 700; background: var(--stone); }
.ez-select__option.is-selected::after { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--red); }
.ez-select__option.is-disabled { opacity: .4; cursor: not-allowed; }
.ez-select__empty { padding: 16px 12px; text-align: center; font-size: 14px; color: var(--muted-2); }

/* ---------- 2. pattern ---------- */
.ez-pattern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ez-pattern-card { position: relative; display: block; overflow: hidden; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; transition: transform .3s var(--ease), border-color .2s, box-shadow .3s var(--ease); }
a.ez-pattern-card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.ez-pattern-card.is-current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ez-pattern-card.is-loading { opacity: .55; }
/* On a phone the photo is above the screen when a pattern is pressed, so the loading is shown on the card itself */
.ez-pattern-card.is-loading .ez-pattern-card__media { position: relative; }
.ez-pattern-card.is-loading .ez-pattern-card__media::after {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 3px solid rgba(255, 255, 255, .6); border-top-color: var(--ink); animation: pp-spin .8s linear infinite, pp-appear .2s .1s both;
}
.ez-pattern-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--stone); }   /* a close-up of the stitching, square */
.ez-pattern-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ez-pattern-card__badge { position: absolute; left: 7px; top: 7px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ez-pattern-card__name { display: block; padding: 8px 10px 10px; font-size: 13px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }

/* ---------- 3. colour ---------- */
/* the colour wall of the home page: tiles of one recoloured photograph, five across, the picked one ringed in red; the family rows are
   flattened (the colours are already in that order), and the name is read in the heading, which also follows the pointer */
.pp-read { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
/* the colour the photos are in, while the picked colour has no photos of its own */
.pp-shown { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: var(--r-pill); background: #fbf1d4; border: 1px solid #ecd48a; color: #6b4e00; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.pp-shown i, .ez-shown-chip i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1px solid rgba(21, 17, 13, .3); }
.pp-shown b, .ez-shown-chip b { font-weight: 700; }
.pp-shown[hidden], .ez-shown-chip[hidden] { display: none; }
.product_zoom { position: relative; }
.ez-shown-chip { position: absolute; z-index: 4; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); box-shadow: 0 4px 16px rgba(21, 17, 13, .22); color: var(--ink); font-size: 12.5px; font-weight: 600; pointer-events: none; }
.color-selected-name { font-size: 15px; font-weight: 700; color: var(--red); }
.color-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.color-family, .color-family__swatches { display: contents; }
.color-family__label { display: none; }
.color-swatch { padding: 3px; border-radius: 14px; border: 2px solid transparent; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.color-swatch:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-card); }
.color-swatch.selected { border-color: var(--red); }
.color-swatch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.color-block { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; }
.color-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.color-no-preview { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line-2); font-size: 13.5px; }
.color-no-preview strong { color: var(--ink); font-size: 14px; }
.color-no-preview p { margin-top: 2px; line-height: 1.5; }
.color-no-preview__chip { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1px solid rgba(21, 17, 13, .22); }

/* ---------- 4. top layer ---------- */
.pp-opt-group { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.pp-opt-group legend { padding: 0; float: left; width: 100%; }
.pp-opt-group legend + * { clear: both; }
.pp-opt-name { margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pp-opt-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 12px 2px; }
.pp-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; cursor: pointer; text-align: center; }
.pp-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pp-opt-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--c); border: 1px solid rgba(21, 17, 13, .22); transition: box-shadow .2s, transform .2s var(--ease); }
.pp-opt:hover .pp-opt-dot { transform: scale(1.06); }
.pp-opt input:checked + .pp-opt-dot { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.pp-opt input:focus-visible + .pp-opt-dot { outline: 2px solid var(--ink); outline-offset: 6px; }
.pp-opt-label { font-size: 12px; line-height: 1.2; color: var(--muted); }
.pp-opt input:checked ~ .pp-opt-label { color: var(--ink); font-weight: 700; }

/* ---------- the money ---------- */
.price-summary-section { padding: 20px 22px 22px; background: var(--paper); border-top: 1px solid var(--line); }
.selection-summary { margin-bottom: 14px; }
.selection-summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.selection-summary__label { flex: none; color: var(--muted); }
/* The top layer is a group: its heading row has no value, and its three colours sit indented under it. */
.selection-summary__row--group { border-bottom: 0; padding-bottom: 2px; }
.selection-summary__row--group .selection-summary__label { color: var(--ink); font-weight: 600; }
.selection-summary__row--sub .selection-summary__label { padding-left: 14px; }
.selection-summary__value { min-width: 0; text-align: right; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.selection-summary__value.is-pending { color: var(--red); font-weight: 500; }
.price-breakdown { margin-bottom: 4px; }
.price-row { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 14.5px; color: var(--muted); }
.price-row.offer-row { color: var(--green); }
.price-row.offer-row .offer-badge { margin-left: 6px; }
.price-row.total-row { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); align-items: baseline; font-size: 15px; font-weight: 700; color: var(--ink); }
.total-row #total-price { font-size: 28px; font-weight: 700; letter-spacing: -.045em; }
.payment-info { margin: 10px 0 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.action-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action-buttons .btn { padding: 16px 12px; font-size: 15.5px; }
.action-buttons .btn.is-incomplete { opacity: .55; }
.action-buttons .btn.is-incomplete:hover { transform: none; }
.pp-help { display: flex; justify-content: center; margin-top: 14px; }
.ez-assurance { display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--muted); }
.ez-assurance li { display: flex; align-items: flex-start; gap: 10px; }
.ez-assurance .bi { flex: none; margin-top: 2px; color: var(--red); font-size: 14px; }

/* ---------- the bar that follows the page (product-light.js) ---------- */
.ez-buybar {
  position: fixed; z-index: 55; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 14px; width: min(660px, calc(100% - 24px)); padding: 10px 10px 10px 12px;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--shadow-dock); transform: translate(-50%, 140%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
}
.ez-buybar.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.ez-buybar__thumb { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--stone); }
.ez-buybar__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ez-buybar__name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ez-buybar__name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.ez-buybar__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--muted); }
.ez-buybar__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.ez-buybar__label { font-size: 12px; color: var(--muted); }
.ez-buybar__label s { margin-left: 4px; color: var(--muted-2); }
.ez-buybar__price strong { font-size: 19px; letter-spacing: -.03em; }
.ez-buybar__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--r-pill); background: var(--red); color: #fff; font-size: 14.5px; font-weight: 700; transition: background-color .2s; }
.ez-buybar__btn:hover { background: var(--red-hover); }

/* ---------- the long sections ---------- */
.sec-nav { position: sticky; top: var(--head-h); z-index: 40; background: rgba(246, 243, 238, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.sec-nav-in { display: flex; justify-content: center; gap: clamp(4px, 1.2vw, 18px); overflow-x: auto; scrollbar-width: none; }
.sec-nav-in::-webkit-scrollbar { display: none; }
.sec-nav a { flex: none; padding: 15px 12px 13px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.sec-nav a:hover { color: var(--ink); }
.sec-nav a.is-active { color: var(--ink); border-bottom-color: var(--red); }

.pp-info { padding-bottom: clamp(10px, 2vw, 26px); }
.info-sec { padding: clamp(40px, 5.2vw, 76px) 0; border-top: 1px solid var(--line); scroll-margin-top: 56px; }   /* the page's scroll-padding (the header) comes on top: the section lands just under the nav */
.pp-page #faq { scroll-margin-top: 56px; }
.info-sec:first-child { border-top: 0; }
.info-sec .sec-head { max-width: 820px; margin-inline: auto; text-align: center; }
.info-sec .sec-title { font-size: clamp(28px, 3.8vw, 50px); }
.info-sec .sec-desc { margin-inline: auto; }
.info-sec .fine { margin-top: 18px; max-width: 78ch; font: 400 13px/1.55 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted-2); }
.info-sec .sec-head + .fine, .info-sec .fine.center { margin-inline: auto; }
.info-sec .fine a, .claim a, .pp-facts a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.spec-table { border-top: 2px solid var(--ink); }
.spec-table > div { display: grid; grid-template-columns: minmax(130px, 230px) 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.spec-table dd { font-size: 15.5px; line-height: 1.6; color: var(--ink); max-width: 70ch; }
.spec-table dd small { color: var(--muted-2); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.about-p { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.6; letter-spacing: -.01em; color: var(--ink); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; background: var(--stone); }
.about-photos img:first-child:nth-last-child(3) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.fit-card { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.fit-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--stone); }
.fit-card figcaption { padding: 20px 22px 24px; }
.fit-card strong { display: block; margin-bottom: 12px; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.fit-card li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.fit-card li .ic { width: 18px; height: 18px; margin-top: 2px; }
.fit-bad .ic { color: var(--red); }
.fit-good .ic { color: var(--green); }

.build-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(22px, 3.6vw, 52px); align-items: center; }
.build-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.build-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 38% 55%; border-radius: 18px; background: var(--stone); }
.build-photos figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.feats { display: grid; gap: 12px; }
.feats li { display: flex; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.feats .ic { margin-top: 2px; color: var(--red); }
.feats strong { display: block; font-size: 16px; letter-spacing: -.015em; color: var(--ink); }
.feats span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cover-note { max-width: 780px; margin: 26px auto 0; padding: 16px 20px; background: var(--stone); border-radius: 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }

.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.certs li { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.certs strong { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.certs p { font-size: 14px; line-height: 1.55; }
.certs small { margin-top: auto; padding-top: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); }

.care { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.care li { padding-top: 16px; border-top: 1px solid var(--ink); }
.care .n { display: block; margin-bottom: 8px; font-size: 46px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.care h3 { margin-bottom: 6px; font-size: 17px; letter-spacing: -.02em; }
.care p { font-size: 14.5px; line-height: 1.6; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.ptable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.ptable th, .ptable td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.ptable th small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted-2); }
.ptable td { text-align: right; white-space: nowrap; }
.ptable td s { margin-right: 6px; color: var(--muted-2); font-weight: 400; }
.pp-facts { border-top: 2px solid var(--ink); }
.pp-facts li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pp-facts .ic { margin-top: 3px; color: var(--ink); }
.pp-facts h3 { margin-bottom: 4px; font-size: 17px; letter-spacing: -.02em; }
.pp-facts p { font-size: 14.5px; line-height: 1.6; }

.warr { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.warr article { padding-top: 18px; border-top: 2px solid var(--ink); }
.warr .ic { margin-bottom: 10px; }
.warr h3 { margin-bottom: 8px; font-size: 20px; letter-spacing: -.025em; }
.warr p { font-size: 14.5px; line-height: 1.65; }
.warr .fine { margin-top: 12px; font-size: 12.5px; }
.claim { margin-top: clamp(30px, 4vw, 52px); }
.claim h3 { margin-bottom: 16px; font-size: 20px; letter-spacing: -.025em; }
.claim-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.claim-steps li { padding-top: 14px; border-top: 1px solid var(--line-2); }
.claim-steps .n { display: block; margin-bottom: 6px; font-size: 26px; font-weight: 300; line-height: 1; color: var(--ink); }
.claim-steps p { font-size: 14.5px; line-height: 1.6; }
.claim-steps b { color: var(--ink); }
.claim .fine { margin-top: 18px; }

.more-sec .pcard { flex-basis: calc((100% - 3 * var(--gap)) / 4); }
.more-sec .pcard-name { font-size: clamp(16px, 1.4vw, 19px); }
.more-sec .pcard-price b { font-size: clamp(19px, 1.7vw, 24px); }
.more-sec .sec-head { margin-bottom: clamp(22px, 3vw, 38px); }
.more-all { margin-top: clamp(22px, 3vw, 36px); text-align: center; }
.more-all .bi { font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .certs, .care { grid-template-columns: repeat(2, 1fr); }
  .build-grid { grid-template-columns: 1fr; }
}
@media (max-width: 959px) {
  .pp-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-media { position: static; }
  .product_zoom_button { width: 78px; }
  .about-grid, .fit-grid, .two-col { grid-template-columns: 1fr; }
  .warr, .claim-steps { grid-template-columns: 1fr; gap: 22px; }
  .spec-table > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .more-sec .pcard { flex-basis: calc((100% - var(--gap)) / 2); }
  .sec-nav-in { justify-content: flex-start; }
  body.ez-buybar-on { padding-bottom: 84px; }
}
@media (max-width: 560px) {
  .product_zoom_container { border-radius: 20px; }
  .product_zoom_button { width: 68px; }
  .product_title { font-size: clamp(28px, 8.4vw, 34px); }
  .pp-steps { grid-auto-columns: minmax(0, 1fr); }
  .pp-tab { grid-template-columns: 1fr; justify-items: center; row-gap: 3px; padding: 12px 3px 11px; text-align: center; }
  .pp-tab .n { width: 24px; height: 24px; }
  .pp-tab .t { font-size: 13px; }
  .pp-tab .v { grid-column: 1; margin-top: 0; max-width: 100%; font-size: 12px; }
  .pp-tab[aria-selected="true"]::after { left: 6px; right: 6px; }
  .pp-step { padding: 18px 16px 14px; }
  .price-summary-section { padding: 18px 16px 20px; }
  .ez-pattern-grid { gap: 8px; }
  .ez-pattern-card__name { padding: 7px 8px 9px; font-size: 12.5px; }
  .color-swatches { gap: 6px; }
  .color-swatch { padding: 2px; border-radius: 12px; }
  .color-block { border-radius: 8px; }
  .pp-opt-row { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px 2px; }
  .pp-opt-dot { width: 30px; height: 30px; }
  .pp-opt-label { font-size: 12px; }
  .tl-guide { grid-template-columns: 1fr; }
  .certs, .care { grid-template-columns: 1fr; }
  .ez-buybar { bottom: 0; width: 100%; border-radius: 0; border-inline: 0; border-bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; transform: translate(-50%, 110%); }
  .ez-buybar__name { display: none; }
  .ez-buybar__price { flex: 1; align-items: flex-start; }
  .ez-buybar__btn { padding: 13px 20px; }
  .build-photos img { aspect-ratio: 1 / 1; }
  .more-sec .pcard-go { display: none; }
}
@media (max-width: 380px) {
  .pp-tab .t { font-size: 12.5px; }
  .action-buttons { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ez-buybar, .ez-pattern-card, .color-swatch, .pp-opt-dot, .pp-next .bi { transition: none; }
}
