/* Product page, shop page and content pages */
.page-head { padding-block: clamp(36px, 4.5vw, 64px) clamp(24px, 3vw, 40px); }
.page-head .h1 { margin-top: 16px; font-size: clamp(36px, 5vw, 64px); }
.page-head .lead { margin-top: 16px; max-width: 56ch; }
.crumbs { padding-block: 20px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs li { display: inline; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }

/* Product layout */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: var(--section-y); }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main { position: relative; display: block; width: 100%; aspect-ratio: 1; background: var(--soft); overflow: hidden; cursor: zoom-in; }
.gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.gallery-img.is-contain { object-fit: contain; padding: 6%; }
.gallery-img.is-active { opacity: 1; transform: none; }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--white); border: 1px solid var(--line); pointer-events: none; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumb { display: block; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); background: var(--soft); opacity: 0.65; overflow: hidden; transition: opacity var(--dur-fast), border-color var(--dur-fast); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-contain img { object-fit: contain; padding: 8%; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--ink); }

.buy-panel .eyebrow { margin-bottom: 14px; }
.buy-title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; }
.buy-short { margin: 16px 0 22px; color: var(--muted); }
.buy-price { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.buy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 16px 0 28px; padding-block: 16px; border-block: 1px solid var(--line); }
.buy-row { display: flex; gap: 12px; }
.buy-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.buy-info { margin-top: 32px; border-top: 1px solid var(--ink); }
.buy-info details { border-bottom: 1px solid var(--line); }
.buy-info summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.buy-info summary::-webkit-details-marker { display: none; }
.buy-info summary::after { content: "+"; font-size: 20px; font-weight: 400; }
.buy-info details[open] summary::after { content: "−"; }
.buy-info details > div { padding: 0 0 20px; color: var(--muted); font-size: 14.5px; }
.buy-info dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; }
.buy-info dt { color: var(--ink); font-weight: 500; }

/* Why / box / specs */
.container--gap { margin-top: clamp(40px, 5vw, 72px); }
.section-head .link-arrow { margin-top: 24px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.why .benefit:first-child { padding-left: 0; }
.box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.box-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.box-item svg { flex: none; width: 34px; height: 34px; color: var(--ink); }
.box-item b { display: block; font-weight: 600; margin-bottom: 8px; }
.box-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); max-width: 70ch; }
.specs { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.specs th, .specs td { padding: 16px 0; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.specs th { width: 38%; font-weight: 500; padding-right: 24px; }
.specs td { color: var(--muted); }
.specs td.tbc { font-style: italic; }
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.info-cols h3 { margin-bottom: 12px; }
.info-cols p { color: var(--muted); }
.info-cols p + p { margin-top: 12px; }

/* Content pages */
.prose { max-width: 720px; padding-block: clamp(28px, 3.5vw, 48px) var(--section-y); }
.prose h2 { margin: 40px 0 12px; font-family: var(--font-display); font-size: 24px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose a { text-decoration: underline; }
.notice { margin-top: 32px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--soft); font-size: 14.5px; color: var(--muted); }

/* Two-column variant of the "why" benefits (products with two confirmed points) */
.why--two { grid-template-columns: repeat(2, 1fr); }
.why--two .benefit:first-child { padding-left: 0; }

/* Recommendation card ("Complete your car care routine"): image left, details right */
.card--wide { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; max-width: 860px; }
.card--wide .card-media { aspect-ratio: 3 / 2; align-self: center; }
.card--wide .card-body { justify-content: center; padding: clamp(20px, 3vw, 36px); }
.card--wide .card-title { font-size: clamp(20px, 2vw, 26px); }
.card--wide .card-foot { flex-wrap: wrap; justify-content: flex-start; gap: 12px 16px; margin-top: 20px; padding-top: 0; }
.card--wide .card-price { font-size: 22px; margin-right: auto; width: 100%; }
@media (max-width: 600px) {
  .why--two { grid-template-columns: 1fr; }
  .card--wide { grid-template-columns: 1fr; }
}


/* Landscape product photo (3:2) shown in full */
.gallery--wide .gallery-main { aspect-ratio: 3 / 2; }


.page-head--compact { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.page-sub { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Usage section: what you can do with it + step-by-step */
.usage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.usage-intro .h2 { margin-bottom: 16px; }
.usage-intro .lead { margin-bottom: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.checklist svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--white); box-sizing: border-box; }
.usage-steps { padding: clamp(24px, 3vw, 36px); background: var(--soft); border-radius: 16px; }
.usage-steps .h3 { margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 15.5px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; font-size: 13px; font-weight: 700; }
.usage-safe { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .usage { grid-template-columns: 1fr; } }


/* Concept products: draft notice, placeholder caption on the gallery, kit contents list */
.draft-note { margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--line); background: var(--soft); font-size: 12.5px; color: var(--muted); }
.gallery-main--static { cursor: default; position: relative; }
.ph-note { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.kit-price-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -6px 0 14px; font-size: 13.5px; color: var(--muted); }
.kit-price-lines[hidden] { display: none; }
.kit-price-lines .kit-save--tag { padding: 4px 9px; background: var(--accent); color: var(--white); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.kit-link { display: grid; grid-template-columns: 34px 72px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px 12px 14px; background: var(--white); border: 1px solid var(--line); transition: border-color var(--dur-fast); }
.kit-link:hover { border-color: var(--ink); }
.kit-link img { width: 72px; height: 72px; object-fit: cover; background: var(--soft); }
.kit-link .kit-num { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.kit-link .kit-name { font-weight: 600; font-size: 15.5px; }
.kit-pp { font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) { .kit-link { grid-template-columns: 56px 1fr auto; } .kit-link .kit-num { display: none; } .kit-link img { width: 56px; height: 56px; } }

/* Shop: filter column on the left (search, category, maximum price), products on the right. Hairlines only, square marks, no boxes. */
.shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); }
.filters-toggle { display: none; }
.filters-title { margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.filters-group { padding: 20px 0; border-top: 1px solid var(--line); }
.filters-label { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.filters-input { width: 100%; height: 42px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color var(--dur-fast); }
.filters-input:focus { border-color: var(--ink); outline: none; }
.filters-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.filters-opt { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; cursor: pointer; font-size: 14px; color: var(--muted); transition: color var(--dur-fast); }
.filters-opt input { position: absolute; opacity: 0; pointer-events: none; }
.filters-mark { width: 16px; height: 16px; border: 1px solid #b9b9b4; background: var(--white); position: relative; transition: border-color var(--dur-fast), background var(--dur-fast); }
.filters-opt input:checked ~ .filters-mark { background: var(--ink); border-color: var(--ink); }
.filters-opt input:checked ~ .filters-mark::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.filters-opt input:checked ~ .filters-opt-text { color: var(--ink); font-weight: 600; }
.filters-opt input:focus-visible ~ .filters-mark { outline: 2px solid var(--ink); outline-offset: 2px; }
.filters-opt:hover { color: var(--ink); }
.filters-opt-n { font-size: 12px; color: #9b9ba0; }
.filters-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.filters-price-row strong { color: var(--ink); font-weight: 600; }
.filters-range { width: 100%; margin: 0; height: 20px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.filters-range::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
.filters-range::-moz-range-track { height: 2px; background: var(--ink); }
.filters-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; background: var(--ink); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--ink); border-radius: 50%; }
.filters-range::-moz-range-thumb { width: 10px; height: 10px; background: var(--ink); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--ink); border-radius: 50%; }
.filters-clear { margin-top: 4px; padding: 0 0 2px; font: inherit; font-size: 13px; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
.filters-clear[hidden] { display: none; }
.shop-count { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.shop-none { margin: 32px 0; color: var(--muted); }
.shop-none[hidden], .card[hidden] { display: none; }
.shop .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .shop .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; }
  .filters-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; cursor: pointer; }
  .filters-toggle::after { content: "+"; font-weight: 400; font-size: 18px; }
  .filters.is-open .filters-toggle::after { content: "\2212"; }
  .filters-panel { display: none; padding: 6px 14px 18px; border: 1px solid var(--line); border-top: 0; }
  .filters.is-open .filters-panel { display: block; }
  .filters-title { display: none; }
  .filters-group:first-of-type { border-top: 0; }
}
@media (max-width: 600px) { .shop .card-grid { grid-template-columns: 1fr; } }
.shop .card-foot { flex-wrap: wrap; gap: 14px; }
.shop .card-actions { width: 100%; }
.shop .card-actions .btn:not(.btn--icon) { flex: 1; }
.shop .card-price { width: 100%; }

/* "More than car care": plain typography, hairline rows, no icons, no cards */
.more-use { padding-top: 0; }
.more-use-grid { padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.more-list { margin: 22px 0 0; max-width: 56ch; border-top: 1px solid var(--line); }
.more-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.more-note { margin: 18px 0 0; max-width: 56ch; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
