/* Filterence premium commerce direction */
:root {
  color-scheme: light;
  --ink-950: #13211c;
  --ink-925: #182923;
  --ink-900: #20332c;
  --ink-850: #294039;
  --ink-800: #355149;
  --ink-750: #45635a;
  --line: rgba(26, 48, 40, 0.12);
  --line-strong: rgba(26, 48, 40, 0.22);
  --paper: #fffefa;
  --text: #17231f;
  --text-soft: #52615b;
  --text-muted: #5f6c65;
  /* Stable aliases used by older shared components. Keeping them defined
     prevents an invalid color declaration from silently inheriting. */
  --ink: var(--text);
  --ink-soft: var(--text-soft);
  --muted: var(--text-muted);
  --navy-text: #17231f;
  --aqua: #237a66;
  --aqua-light: #2f927a;
  --aqua-deep: #176451;
  --coral: #e36f52;
  --coral-light: #ef8e74;
  --amber: #c79035;
  --green: #287c5c;
  --brand-dark: #0d4d3e;
  --accent: #4fc7a7;
  --mint-wash: rgba(35, 122, 102, 0.09);
  --coral-wash: rgba(227, 111, 82, 0.1);
  --amber-wash: rgba(199, 144, 53, 0.08);
  --shadow-sm: 0 8px 28px rgba(30, 48, 40, 0.07);
  --shadow-md: 0 24px 70px rgba(30, 48, 40, 0.13);
  --shadow-glow: 0 0 0 1px rgba(35, 122, 102, 0.08), 0 22px 60px rgba(35, 122, 102, 0.1);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.35rem;
  --radius-xl: 1.75rem;
  --container: 80rem;
  --container-wide: 92rem;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  background: #f5f4ef;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 122, 102, 0.09), transparent 30rem),
    radial-gradient(circle at 92% 24%, rgba(227, 111, 82, 0.055), transparent 32rem),
    linear-gradient(180deg, #fbfaf6 0%, #f5f4ef 48%, #f8f7f2 100%);
  color: var(--text);
  font-size: 1rem;
}

.footer-privacy-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-privacy-button:hover,
.footer-privacy-button:focus-visible {
  color: var(--aqua-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.consent-panel {
  position: fixed;
  z-index: 1000;
  left: max(0.75rem, env(safe-area-inset-left));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  width: auto;
  max-width: 46rem;
  margin-left: auto;
  padding: 1.25rem;
  border: 1px solid rgba(35, 122, 102, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 24px 80px rgba(20, 44, 36, 0.22);
  backdrop-filter: blur(20px) saturate(140%);
  animation: consent-in 260ms ease-out both;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.menu-open .consent-panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
}

.consent-panel__copy strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 1.05rem;
}

.consent-panel__copy p {
  margin: 0 0 0.45rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.consent-panel__copy a {
  font-size: 0.9rem;
  font-weight: 700;
}

.consent-panel__actions {
  display: grid;
  align-items: center;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(9rem, 1fr));
}

.consent-panel__choice {
  width: 100%;
  min-height: 2.85rem;
  justify-content: center;
  text-align: center;
}

@keyframes consent-in {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 50rem) {
  .consent-panel {
    grid-template-columns: 1fr;
  }

  .consent-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .consent-panel__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-panel { animation: none; }
}

body::before {
  background-image:
    radial-gradient(rgba(35, 122, 102, 0.13) 0.65px, transparent 0.7px),
    repeating-linear-gradient(135deg, rgba(26, 48, 40, 0.018) 0 1px, transparent 1px 13px);
  background-size: 24px 24px, auto;
  opacity: 0.32;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.55) 46%, transparent 88%);
}

a {
  color: var(--aqua-deep);
}

a:hover {
  color: #0d5141;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 19ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.45rem, 4.4vw, 3.85rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.section {
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
}

.section--paper {
  border-block: 1px solid rgba(26, 48, 40, 0.08);
  background:
    radial-gradient(circle at 10% 12%, rgba(35, 122, 102, 0.07), transparent 24rem),
    radial-gradient(circle at 92% 78%, rgba(227, 111, 82, 0.055), transparent 26rem),
    linear-gradient(180deg, #eff4ef, #eaf0eb);
}

.section--paper > .container > .eyebrow,
.eyebrow {
  color: var(--aqua);
}

.lead {
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

/* Header */
.site-header {
  border-color: rgba(26, 48, 40, 0.1);
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 7px 30px rgba(30, 48, 40, 0.045);
  backdrop-filter: blur(18px) saturate(145%);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(26, 48, 40, 0.14);
  background: rgba(255, 254, 250, 0.97);
  box-shadow: 0 12px 36px rgba(30, 48, 40, 0.09);
}

.brand span {
  color: var(--text);
  font-weight: 820;
  letter-spacing: -0.025em;
}

.nav-link,
.nav-trigger {
  color: #4f5f58;
  font-size: 0.88rem;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  border-color: rgba(35, 122, 102, 0.14);
  background: #edf4f0;
  color: var(--text);
}

.nav-dropdown {
  display: grid;
  width: min(42rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100svh - var(--header-height) - 1.25rem));
  overflow-y: auto;
  border-color: rgba(26, 48, 40, 0.13);
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 24px 65px rgba(30, 48, 40, 0.14);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overscroll-behavior: contain;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item--dropdown::after {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    left: 0;
    height: 0.8rem;
    content: "";
  }
}

/* Visual system 2026-08-29: stronger hierarchy, richer commerce and calmer density */
:root {
  --brand-green: #0d4d3e;
  --brand-green-2: #16735d;
  --brand-mint: #4fc7a7;
  --brand-coral: #ef7959;
  --brand-amber: #f1b24d;
  --surface-warm: #fffdf8;
  --surface-mint: #edf7f2;
  --surface-peach: #fff2ea;
  --line-strong: rgba(18, 65, 52, 0.16);
  --shadow-card: 0 1rem 2.8rem rgba(25, 49, 41, 0.09);
  --shadow-card-hover: 0 1.4rem 3.8rem rgba(25, 49, 41, 0.14);
}

body {
  background:
    radial-gradient(circle at 8% 10%, rgba(53, 171, 137, 0.06), transparent 26rem),
    radial-gradient(circle at 92% 28%, rgba(239, 121, 89, 0.045), transparent 30rem),
    linear-gradient(180deg, #fbfaf6 0%, #f7f6f1 55%, #fbfaf7 100%);
}

body::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(18, 65, 52, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 65, 52, 0.022) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent 48rem);
}

.site-header::after {
  position: absolute;
  right: auto;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-green-2), var(--brand-mint), var(--brand-coral));
  box-shadow: 0 0 12px rgba(79, 199, 167, 0.5);
  content: "";
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  transition: transform 80ms linear;
}

.brand img {
  filter: drop-shadow(0 0.35rem 0.65rem rgba(24, 113, 89, 0.2));
}

.nav-link,
.nav-trigger {
  border-radius: 999px;
}

.nav-link:first-child {
  color: var(--brand-green);
}

.language-switcher {
  box-shadow: 0 0.35rem 1rem rgba(24, 54, 45, 0.055);
}

.hero--commerce {
  padding-block: clamp(3.8rem, 6.4vw, 6.8rem) clamp(4.5rem, 7vw, 7.5rem);
  background:
    radial-gradient(circle at 8% 18%, rgba(48, 167, 132, 0.2), transparent 24rem),
    radial-gradient(circle at 94% 10%, rgba(239, 121, 89, 0.2), transparent 28rem),
    radial-gradient(circle at 68% 96%, rgba(241, 178, 77, 0.11), transparent 24rem),
    linear-gradient(132deg, #e9f6f0 0%, #fffdf8 49%, #fff0e8 100%);
}

.hero--commerce::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -7rem;
  display: block;
  width: clamp(17rem, 30vw, 33rem);
  aspect-ratio: 1;
  border: 1px solid rgba(22, 115, 93, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 43%, rgba(79, 199, 167, 0.06) 44%, transparent 45%);
  content: "";
  animation: orbit-soft 18s linear infinite;
}

@keyframes orbit-soft {
  to { transform: rotate(1turn); }
}

.hero--commerce .hero-grid {
  align-items: center;
  gap: clamp(3rem, 6.5vw, 7rem);
}

.hero--commerce .hero-copy {
  position: relative;
}

.hero--commerce .hero-copy::before {
  position: absolute;
  top: -1.45rem;
  left: -1.25rem;
  width: 4.8rem;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-mint), var(--brand-coral));
  content: "";
}

.hero--commerce .hero-copy h1 {
  max-width: 14ch;
  color: #10251e;
  font-size: clamp(2.85rem, 4.65vw, 4.45rem);
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero--commerce .hero-copy .lead {
  max-width: 44rem;
  color: #53645d;
  font-size: clamp(1rem, 1.35vw, 1.17rem);
}

.finder-panel--model {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 1.5vw, 1.35rem);
  border: 1px solid rgba(18, 77, 62, 0.18);
  border-radius: 1.35rem;
  background: rgba(255, 254, 250, 0.93);
  box-shadow: 0 1.4rem 3.8rem rgba(20, 69, 55, 0.13);
}

.finder-panel--model::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green-2), var(--brand-mint) 46%, var(--brand-coral));
  content: "";
}

.finder-panel__head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(18, 65, 52, 0.1);
}

.finder-panel__head strong {
  font-size: 1.08rem;
}

.finder-control > span {
  color: #344b42;
  font-size: 0.7rem;
  letter-spacing: 0.01em;
}

.finder-control {
  --finder-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m4 7 6 6 6-6' stroke='%2353685f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --finder-chevron-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m4 7 6 6 6-6' stroke='%239ba69f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.finder-control select {
  border-radius: 0.78rem;
  background-color: #f4f8f4;
}

.finder-control select:not(:disabled):hover {
  border-color: rgba(22, 115, 93, 0.42);
  background-color: #fff;
}

.finder-submit {
  min-height: 3.55rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
}

.reference-search {
  margin-top: 0.9rem;
  border: 1px solid rgba(18, 77, 62, 0.14);
  border-radius: 1.05rem;
  background: rgba(255, 254, 250, 0.78);
  box-shadow: 0 0.7rem 2rem rgba(20, 69, 55, 0.06);
  overflow: visible;
}

.reference-search > summary {
  display: grid;
  width: 100%;
  min-height: 4.25rem;
  padding: 0.8rem 0.9rem;
  border-radius: inherit;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  color: var(--text);
  list-style: none;
  transition: background 180ms ease, color 180ms ease;
}

.reference-search > summary::-webkit-details-marker {
  display: none;
}

.reference-search > summary:hover,
.reference-search > summary:focus-visible {
  background: var(--surface-mint);
  outline: none;
}

.reference-search__copy {
  display: grid;
  gap: 0.18rem;
}

.reference-search__copy strong {
  color: var(--brand-green);
  font-size: 0.86rem;
}

.reference-search__copy small {
  color: var(--text-muted);
  font-size: 0.71rem;
  font-weight: 550;
}

.reference-search__badge {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(22, 115, 93, 0.18);
  border-radius: 999px;
  background: #e6f5ee;
  color: var(--brand-green-2);
  font-size: 0.68rem;
  font-weight: 820;
  white-space: nowrap;
}

.reference-search__arrow {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  place-items: center;
  background: var(--brand-green);
  color: #fff;
  transition: transform 200ms ease;
}

.reference-search[open] > summary {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(18, 65, 52, 0.1);
  border-radius: 1.05rem 1.05rem 0 0;
}

.reference-search[open] .reference-search__arrow {
  transform: rotate(180deg);
}

.reference-search .search-panel {
  padding: 0.9rem;
  border: 0;
  border-radius: 0 0 1.05rem 1.05rem;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: none;
}

.search-panel--reference .search-help {
  margin-bottom: 0;
}

.search-icon svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
}

.hero--commerce .hero-visual {
  position: relative;
  border: 1px solid rgba(18, 77, 62, 0.16);
  border-radius: 2rem;
  box-shadow: 0 2.2rem 5.5rem rgba(28, 71, 58, 0.2), 1rem 1rem 0 rgba(239, 121, 89, 0.13);
}

.hero--commerce .hero-visual::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 32%);
  content: "";
  pointer-events: none;
}

.hero-match,
.hero-source {
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(15, 42, 34, 0.86);
  color: #fff;
  box-shadow: 0 0.8rem 2.5rem rgba(8, 26, 20, 0.22);
  backdrop-filter: blur(12px) saturate(135%);
}

.hero-match small,
.hero-source {
  color: rgba(255, 255, 255, 0.74);
}

.hero-match-icon {
  background: var(--brand-mint);
  color: #0b392e;
}

.parts-band {
  background:
    linear-gradient(90deg, rgba(79, 199, 167, 0.08), transparent 20%, rgba(239, 121, 89, 0.08) 82%, transparent),
    #12382e;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), inset 0 -1px rgba(0, 0, 0, 0.1);
}

.part-family-shortcut {
  position: relative;
  transition: background 180ms ease, color 180ms ease;
}

.part-family-shortcut:hover,
.part-family-shortcut:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.parts-band__inner b {
  display: grid;
  min-width: 1.65rem;
  height: 1.65rem;
  padding-inline: 0.35rem;
  border: 1px solid rgba(143, 224, 199, 0.26);
  border-radius: 999px;
  place-items: center;
  background: rgba(143, 224, 199, 0.08);
}

.section {
  position: relative;
}

.section-heading {
  margin-bottom: clamp(1.65rem, 3vw, 2.6rem);
}

.section-heading h2 {
  color: #112920;
  letter-spacing: -0.045em;
}

.section-heading--compact {
  margin-top: clamp(2.5rem, 5vw, 4.6rem);
  margin-bottom: 1.25rem;
}

.section--featured-parts {
  background:
    radial-gradient(circle at 94% 6%, rgba(239, 121, 89, 0.075), transparent 27rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(247, 246, 240, 0.82));
}

.commerce-part-grid {
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.commerce-part-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: rgba(255, 254, 250, 0.98);
  box-shadow: var(--shadow-card);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.commerce-part-card::after,
.model-card::after,
.part-card::after,
.guide-card::after,
.model-part-result::after,
.compatibility-item::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(79, 199, 167, 0.11), transparent 34%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.commerce-part-card:hover,
.model-card:hover,
.part-card:hover,
.guide-card:hover {
  border-color: rgba(22, 115, 93, 0.32);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.commerce-part-card:hover::after,
.model-card:hover::after,
.part-card:hover::after,
.guide-card:hover::after,
.model-part-result:hover::after,
.compatibility-item:hover::after {
  opacity: 1;
}

.commerce-part-card__media {
  border-radius: 1.2rem 1.2rem 0 0;
}

.commerce-part-card__body {
  position: relative;
  z-index: 1;
}

.commerce-part-card__brand {
  color: var(--brand-green-2);
  letter-spacing: 0.08em;
}

.commerce-part-card__actions {
  gap: 0.6rem;
}

.commerce-part-card__actions > .button--secondary {
  min-height: 2.8rem;
}

.commerce-part-card__merchant .button--merchant {
  min-height: 3rem;
}

.section--catalog {
  border-block: 1px solid rgba(18, 65, 52, 0.08);
  background:
    radial-gradient(circle at 5% 22%, rgba(79, 199, 167, 0.1), transparent 24rem),
    radial-gradient(circle at 98% 84%, rgba(241, 178, 77, 0.1), transparent 25rem),
    #edf4ef;
}

.category-grid {
  gap: clamp(0.9rem, 1.8vw, 1.45rem);
}

.category-card {
  position: relative;
  min-height: 13.5rem;
  padding: 1.5rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(255, 254, 250, 0.93);
  box-shadow: 0 1rem 2.5rem rgba(25, 48, 40, 0.07);
}

.category-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, var(--brand-green-2)), transparent 85%);
  content: "";
}

.category-card:nth-child(3n + 2) { --card-accent: var(--brand-coral); }
.category-card:nth-child(3n + 3) { --card-accent: var(--brand-amber); }

.category-card__index {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--brand-green-2)) 24%, transparent);
  background: color-mix(in srgb, var(--card-accent, var(--brand-green-2)) 11%, white);
  color: color-mix(in srgb, var(--card-accent, var(--brand-green-2)) 78%, #10251e);
}

.category-card h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
}

.category-card .card-link span {
  transition: transform 180ms ease;
}

.category-card:hover .card-link span {
  transform: translateX(0.22rem);
}

.section--process {
  overflow: hidden;
  border-block: 0;
  background:
    radial-gradient(circle at 86% 14%, rgba(79, 199, 167, 0.2), transparent 27rem),
    radial-gradient(circle at 8% 100%, rgba(239, 121, 89, 0.1), transparent 23rem),
    linear-gradient(135deg, #0d3027, #174b3e 58%, #1b5a49);
}

.section--process::after {
  position: absolute;
  top: -11rem;
  right: -7rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.018), 0 0 0 8rem rgba(255, 255, 255, 0.012);
  content: "";
}

.process-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: -0.05em;
}

.process-list {
  position: relative;
  z-index: 1;
  padding: 0.35rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(5, 29, 23, 0.28);
  box-shadow: 0 1.5rem 4rem rgba(4, 20, 16, 0.16);
  backdrop-filter: blur(8px);
}

.process-list li {
  grid-template-columns: 3.1rem minmax(0, 1fr);
}

.process-list li > span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(143, 224, 199, 0.24);
  border-radius: 0.75rem;
  place-items: center;
  background: rgba(143, 224, 199, 0.09);
}

.section--brands {
  background:
    radial-gradient(circle at 12% 100%, rgba(79, 199, 167, 0.06), transparent 25rem),
    rgba(255, 254, 250, 0.9);
}

.section--brands > .container {
  padding: clamp(1.4rem, 3.2vw, 2.6rem);
  border: 1px solid rgba(18, 65, 52, 0.13);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 94% 0%, rgba(79, 199, 167, 0.09), transparent 22rem),
    linear-gradient(145deg, #fffefa, #f2f7f3);
  box-shadow: var(--shadow-card);
}

.brand-selector-list button {
  border-radius: 999px;
  background: #fff;
}

.brand-selector-list button::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--brand-mint);
  content: "";
}

.category-brand-links {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 1rem 0 clamp(1.8rem, 4vw, 3.4rem);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(18, 65, 52, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 254, 250, 0.76);
  box-shadow: 0 0.55rem 1.5rem rgba(25, 48, 40, 0.045);
  flex-wrap: wrap;
}

.category-brand-links strong {
  color: var(--ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-brand-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.category-brand-links a:hover,
.category-brand-links a:focus-visible {
  color: var(--brand-green);
}

.category-brand-links a span {
  transition: transform 160ms ease;
}

.category-brand-links a:hover span,
.category-brand-links a:focus-visible span {
  transform: translateX(0.18rem);
}

.section--paper {
  background:
    radial-gradient(circle at 0% 0%, rgba(79, 199, 167, 0.1), transparent 25rem),
    radial-gradient(circle at 100% 100%, rgba(239, 121, 89, 0.07), transparent 28rem),
    linear-gradient(180deg, #eaf3ed, #eff3ee);
}

.guide-grid {
  gap: clamp(0.9rem, 1.7vw, 1.4rem);
}

.guide-card,
.model-card,
.part-card {
  position: relative;
  border: 1px solid rgba(18, 65, 52, 0.12);
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 0.8rem 2rem rgba(25, 48, 40, 0.065);
}

.guide-card > :not(.guide-media),
.model-card > :not(.model-media),
.part-card > :not(.part-media) {
  position: relative;
  z-index: 1;
}

.guide-card .card-link,
.model-card .card-link,
.part-card .card-link {
  color: var(--brand-green-2);
}

.page-header {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(18, 65, 52, 0.08);
  background:
    radial-gradient(circle at 8% 22%, rgba(79, 199, 167, 0.14), transparent 25rem),
    radial-gradient(circle at 92% 20%, rgba(239, 121, 89, 0.12), transparent 27rem),
    linear-gradient(135deg, #eef7f2, #fffdf8 52%, #fff1e9);
}

.page-header::after {
  position: absolute;
  top: -8rem;
  right: -5rem;
  width: 21rem;
  height: 21rem;
  border: 1px solid rgba(22, 115, 93, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(22, 115, 93, 0.025), 0 0 0 7rem rgba(239, 121, 89, 0.018);
  content: "";
  pointer-events: none;
}

.page-header > .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  max-width: 24ch;
  color: #10251e;
  letter-spacing: -0.052em;
}

.entity-header-media,
.part-hero-media {
  box-shadow: 0 1.35rem 3.2rem rgba(25, 48, 40, 0.15);
}

.model-page-header .page-header-grid,
.guide-page-header .page-header-grid {
  gap: clamp(2rem, 5vw, 5rem);
}

.model-page-header .entity-header-media,
.guide-page-header .entity-header-media {
  border: 1px solid rgba(18, 65, 52, 0.12);
  border-radius: 1.25rem;
}

.category-page-section .search-panel--directory {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, #fffefa, #edf6f1);
}

.model-grid,
.part-grid {
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}

.model-card,
.part-card {
  padding: 1rem;
}

.model-card .model-media,
.part-card .part-media {
  border-radius: 0.8rem;
}

.model-catalog-section,
.part-detail-section,
.guide-detail-section,
.help-index-section {
  background:
    radial-gradient(circle at 4% 8%, rgba(79, 199, 167, 0.045), transparent 24rem),
    radial-gradient(circle at 96% 44%, rgba(239, 121, 89, 0.04), transparent 28rem);
}

.model-parts-panel,
.model-support-grid,
.model-help-panel,
.detail-panel,
.spec-panel,
.guide-content > section,
.guide-toc {
  border-color: rgba(18, 65, 52, 0.13);
  box-shadow: var(--shadow-card);
}

.model-catalog__heading {
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 95% 0%, rgba(79, 199, 167, 0.1), transparent 18rem),
    rgba(255, 254, 250, 0.96);
}

.model-part-result {
  position: relative;
  border-color: rgba(18, 65, 52, 0.14);
  box-shadow: 0 1rem 2.8rem rgba(25, 48, 40, 0.08);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.model-part-result:hover {
  border-color: rgba(22, 115, 93, 0.32);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.model-part-result__body {
  position: relative;
  z-index: 1;
}

.model-support-grid,
.model-help-panel {
  border-radius: 1.2rem;
}

.part-hero {
  border: 1px solid rgba(18, 65, 52, 0.14);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 92% 0%, rgba(239, 121, 89, 0.08), transparent 22rem),
    radial-gradient(circle at 0% 100%, rgba(79, 199, 167, 0.08), transparent 22rem),
    rgba(255, 254, 250, 0.94);
  box-shadow: 0 1.6rem 4.2rem rgba(25, 48, 40, 0.11);
}

.part-hero-commerce .button--merchant {
  min-height: 3.5rem;
  font-size: 0.94rem;
}

.detail-layout {
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.content-stack {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.detail-panel,
.spec-panel {
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 199, 167, 0.06), transparent 15rem),
    rgba(255, 254, 250, 0.97);
}

.compatibility-list {
  gap: 0.65rem;
}

.compatibility-item {
  position: relative;
  overflow: hidden;
  border-color: rgba(18, 65, 52, 0.12);
  border-radius: 0.9rem;
  background: #f8faf7;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.compatibility-item:hover {
  border-color: rgba(22, 115, 93, 0.3);
  background: #f1f8f4;
  transform: translateX(2px);
}

.compatibility-item > * {
  position: relative;
  z-index: 1;
}

.detail-sidebar {
  position: sticky;
}

.spec-panel {
  border-top: 4px solid var(--brand-mint);
}

.guide-page-header .status-badge {
  border-color: rgba(22, 115, 93, 0.2);
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-green-2);
}

.guide-content {
  gap: 1rem;
}

.guide-content > section {
  padding: clamp(1.15rem, 2.3vw, 1.8rem);
  border: 1px solid rgba(18, 65, 52, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 254, 250, 0.97);
}

.guide-content > section:nth-child(3n + 2) {
  background: linear-gradient(145deg, #fffefa, #edf7f2);
}

.guide-step {
  border-radius: 0.9rem;
}

.guide-toc {
  border-top: 4px solid var(--brand-coral);
  border-radius: 1.05rem;
  background: rgba(255, 254, 250, 0.95);
}

.help-index-section .guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(79, 199, 167, 0.13), transparent 24rem),
    radial-gradient(circle at 94% 100%, rgba(239, 121, 89, 0.08), transparent 28rem),
    #102d25;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-mint), var(--brand-coral), var(--brand-amber));
  content: "";
}

.footer-main {
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-heading {
  color: #d9eee6;
}

.footer-links {
  gap: 0.55rem;
}

.footer-links a,
.footer-links .footer-privacy-button {
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-links .footer-privacy-button:hover {
  transform: translateX(2px);
}

@media (max-width: 70rem) {
  .hero--commerce .hero-copy h1 {
    max-width: 17ch;
  }

  .hero--commerce .hero-visual {
    box-shadow: 0 1.6rem 4rem rgba(28, 71, 58, 0.16), 0.7rem 0.7rem 0 rgba(239, 121, 89, 0.11);
  }

  .help-index-section .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 52rem) {
  .site-header::after {
    height: 2px;
  }

  .reference-search > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .reference-search__badge {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .reference-search__arrow {
    grid-column: 2;
    grid-row: 1;
  }

  .process-list {
    padding-inline: 1rem;
  }

  .model-page-header .page-header-grid,
  .guide-page-header .page-header-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 40rem) {
  .hero--commerce {
    padding-block: 3rem 3.6rem;
  }

  .hero--commerce .hero-copy::before {
    top: -1rem;
    left: 0;
    width: 3.5rem;
  }

  .hero--commerce .hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(2.25rem, 10.6vw, 3.05rem);
    line-height: 1.01;
  }

  .finder-panel--model {
    border-radius: 1.05rem;
  }

  .finder-panel__head {
    gap: 0.55rem;
  }

  .reference-search > summary {
    min-height: 4.6rem;
    padding: 0.75rem;
  }

  .reference-search__copy small {
    display: none;
  }

  .search-panel--reference .search-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .search-panel--reference .search-submit {
    width: 100%;
  }

  .hero--commerce .hero-visual {
    border-radius: 1.35rem;
    box-shadow: 0 1.25rem 3rem rgba(28, 71, 58, 0.15), 0.4rem 0.4rem 0 rgba(239, 121, 89, 0.11);
  }

  .parts-band__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-card {
    min-height: 0;
    padding: 1.15rem;
  }

  .process-list {
    border-radius: 1rem;
  }

  .process-list li {
    padding-block: 1.1rem;
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .process-list li > span {
    width: 2rem;
    height: 2rem;
  }

  .section--brands > .container {
    padding: 1rem;
    border-radius: 1.05rem;
  }

  .brand-selector-list {
    gap: 0.45rem;
  }

  .brand-selector-list button {
    min-height: 2.5rem;
    padding: 0.55rem 0.75rem;
  }

  .page-header::after {
    opacity: 0.65;
  }

  .part-hero {
    border-radius: 1rem;
  }

  .help-index-section .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 23.5rem) {
  .parts-band__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .reference-search__badge {
    max-width: 100%;
    white-space: normal;
  }
}

@media (min-width: 110rem) {
  .hero--commerce .hero-copy h1 {
    font-size: 4.65rem;
  }

  .commerce-part-grid,
  .help-index-section .guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--commerce::before,
  .site-header::after {
    animation: none;
    transition: none;
  }

  .commerce-part-card,
  .model-card,
  .part-card,
  .guide-card,
  .model-part-result,
  .compatibility-item {
    transform: none !important;
  }
}

/* Exact-model commerce homepage */
.hero--commerce {
  min-height: auto;
  padding-block: clamp(3.75rem, 7vw, 6.75rem);
}

.hero--commerce .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.92fr);
  gap: clamp(3rem, 6vw, 6.5rem);
}

.hero--commerce .hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.55rem, 3.7vw, 3.8rem);
  letter-spacing: -0.055em;
}

.hero--commerce .hero-copy .lead {
  max-width: 44rem;
  font-size: clamp(1.02rem, 1.25vw, 1.17rem);
}

.finder-panel--model {
  padding: clamp(1rem, 1.6vw, 1.35rem);
  border: 1px solid rgba(35, 122, 102, 0.2);
  border-radius: 1.45rem;
  background: rgba(255, 254, 250, 0.97);
  box-shadow: 0 26px 70px rgba(24, 48, 39, 0.13), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.finder-panel__head {
  display: flex;
  margin-bottom: 0.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.finder-panel__head > div {
  display: grid;
  gap: 0.12rem;
}

.finder-panel__head strong {
  color: var(--text);
  font-size: 1.02rem;
}

.finder-kicker {
  color: var(--aqua-deep);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finder-assurance {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 720;
}

.finder-assurance span[aria-hidden="true"] {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  place-items: center;
  background: rgba(35, 122, 102, 0.11);
  color: var(--aqua-deep);
}

.finder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: end;
  gap: 0.65rem;
}

.finder-control {
  display: grid;
  min-width: 0;
  gap: 0.38rem;
}

.finder-control > span {
  color: #53635c;
  font-size: 0.72rem;
  font-weight: 780;
}

.finder-control select {
  width: 100%;
  min-width: 0;
  height: 3.35rem;
  padding: 0 3rem 0 0.9rem;
  border: 1px solid rgba(26, 48, 40, 0.16);
  border-radius: 0.82rem;
  appearance: none;
  background: var(--finder-chevron) right .85rem center / 1.125rem 1.125rem no-repeat #f6f8f5;
  color: var(--text);
  font: inherit;
  font-size: 0.91rem;
  font-weight: 700;
  outline: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.finder-control input[data-finder-reference] {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid #c8d4ce;
  border-radius: 14px;
  background: #f5f7f4;
  color: #183f32;
  font: inherit;
}
.finder-control select:not([hidden]) + input[data-finder-reference]:not([hidden]) { margin-top: 8px; }
.finder-control input[data-finder-reference][hidden] { display: none; }
.finder-control select[hidden] { display: none; }
.finder-control input[data-finder-reference]:focus-visible,
.finder-control select:focus-visible {
  border-color: rgba(35, 122, 102, 0.7);
  box-shadow: 0 0 0 4px rgba(35, 122, 102, 0.11);
  background-color: #fff;
}

.finder-control select:disabled {
  background-image: var(--finder-chevron-disabled);
  color: #89938e;
  cursor: not-allowed;
}

@media (forced-colors: active) {
  .finder-control select,
  .finder-control select:disabled {
    appearance: auto;
    background-image: none;
  }
}

.finder-submit {
  grid-column: 1 / -1;
  min-height: 3.35rem;
  padding-inline: 1rem;
  gap: 0.65rem;
  white-space: nowrap;
}

.finder-submit > span[aria-hidden="true"] {
  transition: transform 180ms ease;
}

.finder-submit:hover > span[aria-hidden="true"] {
  transform: translateX(0.18rem);
}

.finder-submit:disabled {
  opacity: 0.47;
  box-shadow: none;
  cursor: not-allowed;
}

.finder-status {
  min-height: 1.2rem;
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.reference-search {
  margin-top: 0.8rem;
}

.reference-search > summary {
  width: 100%;
  color: var(--aqua-deep);
  font-size: 0.82rem;
  font-weight: 780;
  cursor: pointer;
  list-style-position: outside;
}

.reference-search[open] > summary {
  margin-bottom: 0.7rem;
}

.reference-search .search-panel {
  box-shadow: var(--shadow-sm);
}

.hero--commerce .hero-visual {
  aspect-ratio: 1.18 / 1;
  border-radius: 1.7rem;
  background-image:
    linear-gradient(180deg, transparent 48%, rgba(13, 31, 24, 0.23)),
    url("/assets/appliance-parts-hero-v2.f9d31852b0b35fd55824.webp");
  background-position: calc(50% + var(--hero-x, 0px)) calc(50% + var(--hero-y, 0px));
  background-size: cover;
}

.hero--commerce .hero-match {
  top: auto;
  bottom: 6%;
  left: 5%;
}

.hero--commerce .hero-source {
  top: 5%;
  right: 5%;
  bottom: auto;
}

.parts-band {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: #17352d;
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.parts-band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.parts-band__layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 3fr);
}

.parts-band__heading {
  display: flex;
  min-width: 0;
  padding: 1rem 1.15rem 1rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: center;
  flex-direction: column;
  gap: 0.2rem;
}

.parts-band__heading strong {
  color: #fff;
  font-size: 0.86rem;
}

.parts-band__heading span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.69rem;
  line-height: 1.45;
}

.part-family-shortcut {
  display: flex;
  min-height: 3.75rem;
  padding: 0.9rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 680;
  text-align: left;
}

.part-family-shortcut span {
  min-width: 0;
  flex: 1;
}

.part-family-shortcut i {
  color: #8fe0c7;
  font-size: 0.82rem;
  font-style: normal;
  opacity: 0;
  transform: translateX(-0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.part-family-shortcut:hover i,
.part-family-shortcut:focus-visible i {
  opacity: 1;
  transform: translateX(0);
}

.parts-band__inner b {
  color: #8fe0c7;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.section-heading {
  display: flex;
  max-width: 55rem;
  margin-bottom: 2rem;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading--inline {
  max-width: none;
  align-items: end;
}

.section-heading h2,
.process-copy h2 {
  max-width: 23ch;
}

.section-heading .lead {
  max-width: 46rem;
  margin-bottom: 0;
}

.section-heading--inline > p {
  max-width: 28rem;
  margin: 0;
  color: var(--text-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  display: grid;
  min-height: 14.5rem;
  padding: 1.35rem;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  border-color: rgba(26, 48, 40, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 246, 240, 0.96)),
    var(--paper);
  box-shadow: 0 12px 35px rgba(25, 48, 40, 0.06);
}

.category-card:hover {
  border-color: rgba(35, 122, 102, 0.3);
  box-shadow: 0 20px 48px rgba(25, 48, 40, 0.1);
  transform: translateY(-3px);
}

.category-card__index {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  place-items: center;
  background: rgba(35, 122, 102, 0.1);
  color: var(--aqua-deep);
  font-size: 0.68rem;
  font-weight: 850;
}

.category-card h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.category-card p {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.category-card .card-link {
  display: inline-flex;
  gap: 0.45rem;
}

.section--process {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(76, 174, 143, 0.18), transparent 25rem),
    linear-gradient(135deg, #142a24, #1c3d34);
  color: #fff;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(28rem, 1.15fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.process-copy .eyebrow {
  color: #8fe0c7;
}

.process-copy h2 {
  color: #fff;
}

.process-copy > p:last-child {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list li > span {
  color: #8fe0c7;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.process-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.section--brands {
  background: rgba(255, 255, 255, 0.38);
}

.brand-selector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.brand-selector-list button {
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(26, 48, 40, 0.13);
  border-radius: 0.8rem;
  background: rgba(255, 254, 250, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 170ms ease, color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.brand-selector-list button:hover,
.brand-selector-list button:focus-visible {
  border-color: rgba(35, 122, 102, 0.45);
  box-shadow: 0 10px 24px rgba(25, 48, 40, 0.08);
  color: var(--aqua-deep);
  outline: none;
  transform: translateY(-2px);
}

@media (max-width: 70rem) {
  .hero--commerce .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--commerce .hero-copy {
    max-width: 54rem;
  }

  .hero--commerce .hero-visual {
    width: min(100%, 54rem);
    aspect-ratio: 1.55 / 1;
    justify-self: start;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 52rem) {
  .finder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-submit {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .parts-band__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .parts-band__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .parts-band__heading {
    padding: 0.9rem 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 40rem) {
  .hero--commerce {
    padding-block: 2.75rem 3.25rem;
  }

  .hero--commerce .hero-copy h1 {
    max-width: 16ch;
    font-size: clamp(2.15rem, 10.2vw, 3.05rem);
  }

  .finder-panel__head,
  .section-heading,
  .section-heading--inline {
    display: grid;
    align-items: start;
  }

  .finder-assurance {
    justify-self: start;
  }

  .finder-grid,
  .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--commerce .hero-visual {
    aspect-ratio: 4 / 3;
    background-position: 56% center;
  }

  .hero--commerce .hero-match {
    width: 90%;
  }

  .hero--commerce .hero-source {
    top: 4%;
  }

  .parts-band__inner {
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(3.35rem, auto));
    grid-auto-columns: minmax(10rem, calc(50vw - 1.4rem));
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-color: rgba(143, 224, 199, 0.45) transparent;
  }

  .part-family-shortcut {
    min-height: 3.2rem;
    padding-block: 0.7rem;
    scroll-snap-align: start;
  }

  .part-family-shortcut i {
    opacity: 0.72;
    transform: none;
  }

  .category-card {
    min-height: 0;
  }

  .process-grid {
    gap: 2rem;
  }
}

@media (min-width: 110rem) {
  .hero--commerce .hero-copy h1 {
    font-size: 4.1rem;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .parts-band__inner {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 74.01rem) and (max-width: 109.99rem) {
  .parts-band__inner {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .brand-selector-list button,
  .finder-submit span {
    transition: none;
    transform: none !important;
  }
}

/* Brand directories and exhaustive model results */
.brand-hub-links {
  display: flex;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 48, 40, 0.1);
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.brand-hub-links strong {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.brand-hub-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--aqua-deep);
  font-size: 0.78rem;
  font-weight: 780;
  text-decoration: none;
}

.brand-hub-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.brand-facts {
  display: flex;
  margin-top: 1.15rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.brand-facts span,
.result-total,
.fit-badge {
  display: inline-flex;
  min-height: 1.9rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(26, 48, 40, 0.11);
  border-radius: 999px;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 780;
}

.fit-badge--official {
  border-color: rgba(35, 122, 102, 0.22);
  background: rgba(35, 122, 102, 0.1);
  color: var(--aqua-deep);
}

.fit-badge--verified-compatible {
  border-color: rgba(199, 144, 53, 0.26);
  background: rgba(199, 144, 53, 0.1);
  color: #76500f;
}

.fit-badge--review {
  border-color: rgba(199, 144, 53, 0.34);
  background: #fff5dc;
  color: #6d4907;
}

.panel-heading {
  display: flex;
  margin-bottom: 1rem;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.panel-heading h2 {
  margin-bottom: 0;
}

.panel-heading .eyebrow {
  margin-bottom: 0.3rem;
}

.result-total {
  flex: 0 0 auto;
}

.model-summary {
  max-width: 55rem;
  color: var(--text-soft);
}

.appliance-context {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0.45rem 0 0.85rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(35, 122, 102, 0.18);
  border-radius: 999px;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.appliance-context strong {
  color: var(--text);
}

.model-profile {
  max-width: 64ch;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.model-part-results {
  display: grid;
  margin-top: 1.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.model-part-results > :only-child {
  grid-column: 1 / -1;
}

.model-part-result {
  display: flex;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgba(26, 48, 40, 0.11);
  border-radius: 1rem;
  flex-direction: column;
  background: linear-gradient(145deg, #fffefa, #f7f7f2);
  box-shadow: 0 10px 26px rgba(25, 48, 40, 0.045);
}

.model-part-result__head {
  display: flex;
  margin-bottom: 0.85rem;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.model-part-result__head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.model-part-result h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.model-part-result > p {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.part-result-facts {
  display: grid;
  margin: auto 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(26, 48, 40, 0.09);
  gap: 0.45rem;
}

.part-result-facts div {
  display: grid;
  grid-template-columns: minmax(5rem, 0.4fr) minmax(0, 1fr);
  gap: 0.55rem;
}

.part-result-facts dt {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 760;
  text-transform: uppercase;
}

.part-result-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 0.73rem;
  font-weight: 680;
}

.part-result-actions {
  display: flex;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.model-part-merchant {
  display: grid;
  margin-top: 0.75rem;
  gap: 0.42rem;
}

.model-part-merchant small {
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.button--merchant {
  width: 100%;
  border-color: #253b32;
  justify-content: space-between;
  background: #1a2d25;
  color: #fff;
}

.button--merchant:hover,
.button--merchant:focus-visible {
  border-color: #d59a35;
  background: #263f35;
  color: #fff;
}

.text-link {
  color: var(--aqua-deep);
  font-size: 0.76rem;
  font-weight: 760;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sidebar-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 48, 40, 0.1);
  color: var(--text-muted);
  font-size: 0.76rem;
}

@media (max-width: 64rem) {
  .model-part-results {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 40rem) {
  .panel-heading,
  .brand-hub-links {
    align-items: start;
  }

  .panel-heading {
    display: grid;
  }

  .model-part-result {
    padding: 1rem;
  }

  .part-result-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.12rem;
  }
}

.dropdown-link {
  color: var(--text);
}

.dropdown-link:hover,
.dropdown-link[aria-current="page"] {
  background: #edf4f0;
  color: var(--text);
}

.dropdown-link small {
  color: var(--text-muted);
}

.language-switcher,
.nav-toggle {
  border-color: rgba(26, 48, 40, 0.15);
  background: #fff;
}

.language-switcher a {
  color: #53635b;
}

.language-switcher a[aria-current="true"] {
  color: #fff;
}

.nav-toggle span:not(.visually-hidden) {
  background: var(--text);
}

/* Buttons */
.button,
.btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-950), #24483c);
  color: #fff;
  box-shadow: 0 10px 28px rgba(19, 33, 28, 0.14);
}

.button:hover,
.btn:hover {
  background: linear-gradient(135deg, #203b32, #2b5d4d);
  color: #fff;
  box-shadow: 0 14px 34px rgba(19, 33, 28, 0.18);
}

.button--secondary,
.btn--secondary {
  border-color: rgba(26, 48, 40, 0.18);
  background: #fff;
  color: var(--text);
}

.button::after,
.btn::after {
  position: absolute;
  inset: -70% auto -70% -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg) translateX(-240%);
  transition: transform 520ms ease;
}

.button:hover::after,
.btn:hover::after {
  transform: skewX(-18deg) translateX(620%);
}

.button--secondary:hover,
.btn--secondary:hover {
  border-color: rgba(35, 122, 102, 0.34);
  background: #edf4f0;
  color: var(--text);
}

.section--paper > .container > p > .button--secondary {
  border-color: var(--ink-950);
  background: var(--ink-950);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: auto;
  padding-block: clamp(4rem, 7vw, 6.5rem);
  border-bottom: 1px solid rgba(26, 48, 40, 0.08);
  background:
    radial-gradient(circle at 12% 24%, rgba(35, 122, 102, 0.14), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(227, 111, 82, 0.17), transparent 26rem),
    radial-gradient(circle at 54% 95%, rgba(199, 144, 53, 0.07), transparent 22rem),
    linear-gradient(135deg, #eef5f0 0%, #fffdf8 48%, #f8eee8 100%);
}

.hero::before {
  display: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  background-image:
    linear-gradient(rgba(35, 122, 102, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 122, 102, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 46%, rgba(0, 0, 0, 0.18));
  opacity: 0.32;
}

.hero-grid {
  position: relative;
  z-index: 1;
  gap: clamp(2.75rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 0.98fr) minmax(24rem, 1.02fr);
}

.hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.75rem, 4.35vw, 3.95rem);
}

.hero-copy .lead {
  max-width: 38rem;
  margin-bottom: 1.65rem;
}

.search-panel,
.finder-panel {
  padding: 1.1rem;
  border-color: rgba(26, 48, 40, 0.13);
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 20px 55px rgba(30, 48, 40, 0.09), 0 0 0 1px rgba(35, 122, 102, 0.035);
}

.search-label {
  color: #48574f;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.search-box,
.search-field {
  border-color: rgba(26, 48, 40, 0.14);
  background: #f5f7f3;
  box-shadow: none;
}

.search-box input,
.search-field input {
  color: var(--text);
}

.search-box input::placeholder,
.search-field input::placeholder {
  color: var(--text-muted);
}

.search-box:focus-within,
.search-field:focus-within {
  border-color: rgba(35, 122, 102, 0.65);
  box-shadow: 0 0 0 4px rgba(35, 122, 102, 0.11);
}

.search-submit {
  flex: 0 0 auto;
  background: var(--aqua);
  color: #fff;
  box-shadow: none;
}

.search-submit:hover {
  background: var(--aqua-deep);
}

.search-help {
  color: var(--text-muted);
}

.autocomplete,
.autocomplete-results {
  border-color: rgba(26, 48, 40, 0.14);
  background: #fffefa;
  box-shadow: 0 22px 60px rgba(30, 48, 40, 0.16);
}

.autocomplete-item,
.autocomplete a,
.autocomplete button,
.autocomplete-results .search-option {
  color: var(--text);
}

.autocomplete-item:hover,
.autocomplete-item[aria-selected="true"],
.autocomplete a:hover,
.autocomplete button:hover,
.autocomplete-results .search-option:hover,
.autocomplete-results .search-option[aria-selected="true"],
.autocomplete-results .search-option.is-active {
  background: #e9f3ee;
  color: var(--text);
}

.hero-visual {
  isolation: isolate;
  min-height: 0;
  aspect-ratio: 1.34 / 1;
  border: 1px solid rgba(26, 48, 40, 0.1);
  border-radius: 1.6rem;
  background-image:
    linear-gradient(145deg, rgba(35, 122, 102, 0.16), rgba(255, 254, 250, 0.7) 48%, rgba(227, 111, 82, 0.12));
  background-position: calc(50% + var(--hero-x, 0px)) calc(50% + var(--hero-y, 0px));
  background-size: cover;
  box-shadow: 0 28px 75px rgba(40, 52, 45, 0.14);
  transition: background-position 220ms ease-out, transform 260ms ease-out, box-shadow 260ms ease-out;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, transparent 68%, rgba(16, 39, 31, 0.08));
  content: "";
  pointer-events: none;
}

.hero-visual:hover {
  box-shadow: 0 34px 90px rgba(40, 52, 45, 0.18);
}

.hero-match {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 6%;
  display: flex;
  width: min(78%, 21rem);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(26, 48, 40, 0.13);
  border-radius: 1rem;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 254, 250, 0.91);
  box-shadow: 0 16px 38px rgba(30, 48, 40, 0.14);
  color: var(--text);
  backdrop-filter: blur(14px);
  transform: translate(var(--card-x, 0), var(--card-y, 0));
  transition: transform 220ms ease-out;
}

.hero-match-icon {
  position: relative;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 50%;
  place-items: center;
  background: var(--aqua);
  box-shadow: 0 0 0 7px rgba(35, 122, 102, 0.1);
  color: #fff;
  font-weight: 850;
}

.hero-match strong,
.hero-match small {
  display: block;
}

.hero-match strong {
  font-size: 0.93rem;
}

.hero-match small {
  margin-top: 0.12rem;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.hero-source {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 5%;
  display: flex;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(26, 48, 40, 0.12);
  border-radius: 999px;
  align-items: center;
  gap: 0.48rem;
  background: rgba(19, 33, 28, 0.88);
  box-shadow: 0 12px 30px rgba(19, 33, 28, 0.2);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 760;
  backdrop-filter: blur(12px);
}

.hero-source span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #71d4b8;
  box-shadow: 0 0 0 5px rgba(113, 212, 184, 0.13);
  animation: source-pulse 2.4s ease-in-out infinite;
}

@keyframes hero-orbit {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-2rem, 1.5rem, 0) rotate(7deg); }
}

@keyframes hero-scan {
  0%, 20% { transform: translateY(-40%) rotate(-5deg); opacity: 0; }
  35% { opacity: 0.5; }
  72% { opacity: 0.4; }
  88%, 100% { transform: translateY(590%) rotate(-5deg); opacity: 0; }
}

@keyframes source-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(113, 212, 184, 0.11); }
  50% { box-shadow: 0 0 0 8px rgba(113, 212, 184, 0.02); }
}

@keyframes texture-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 24px 12px, -18px 9px; }
}

.trust-badge,
.evidence-badge,
.status-badge,
.badge {
  border-color: rgba(26, 48, 40, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #4f6159;
}

.status-badge--verified,
.badge--verified,
.status--verified {
  border-color: rgba(35, 122, 102, 0.2);
  background: #e9f3ee;
  color: #176451;
}

/* Cards and content surfaces */
.card,
.model-card,
.part-card,
.guide-card,
.result-card,
.panel,
.detail-panel,
.spec-panel,
.compatibility-panel,
.toc {
  border-color: rgba(26, 48, 40, 0.1);
  background:
    radial-gradient(circle at var(--pointer-x, 92%) var(--pointer-y, 8%), rgba(35, 122, 102, 0.095), transparent 12rem),
    radial-gradient(circle at 4% 102%, rgba(227, 111, 82, 0.045), transparent 10rem),
    rgba(255, 254, 250, 0.97);
  box-shadow: var(--shadow-sm);
}

.card::before,
.model-card::before,
.part-card::before,
.guide-card::before,
.result-card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), rgba(227, 111, 82, 0.55), transparent 80%);
  opacity: 0.8;
}

.card:hover,
.model-card:hover,
.part-card:hover,
.guide-card:hover,
.result-card:hover {
  border-color: rgba(35, 122, 102, 0.24);
  box-shadow: 0 20px 55px rgba(30, 48, 40, 0.12);
  transform: translateY(-4px);
}

.card-header {
  flex-wrap: wrap;
}

.card-header > * {
  max-width: 100%;
}

.card p,
.model-card p,
.part-card p,
.guide-card p,
.article p,
.article li,
.guide-content p,
.guide-content li {
  color: var(--text-soft);
}

.card-link {
  color: var(--aqua-deep);
}

.card-icon,
.category-icon,
.model-monogram,
.part-monogram {
  border-color: rgba(35, 122, 102, 0.16);
  background: #e9f3ee;
  color: var(--aqua-deep);
}

.page-header {
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
  border-color: rgba(26, 48, 40, 0.09);
  background:
    radial-gradient(circle at 12% 20%, rgba(35, 122, 102, 0.08), transparent 22rem),
    radial-gradient(circle at 88% 0%, rgba(227, 111, 82, 0.075), transparent 24rem),
    linear-gradient(135deg, rgba(238, 243, 237, 0.9), rgba(250, 248, 242, 0.82));
}

.page-header h1 {
  max-width: 24ch;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
}

.breadcrumbs {
  border-color: rgba(26, 48, 40, 0.08);
  background: rgba(255, 254, 250, 0.74);
}

.breadcrumbs li,
.breadcrumbs a {
  color: #5f6c65;
}

.breadcrumbs a:hover {
  color: var(--aqua-deep);
}

.breadcrumbs li:not(:last-child)::after {
  color: #9ca7a2;
}

.compatibility-item,
.part-item,
.seller-item,
.guide-step,
.steps > li {
  border-color: rgba(26, 48, 40, 0.1);
  background: #f7f8f5;
}

.compatibility-item strong,
.part-item strong,
.seller-item strong,
.guide-step strong,
.steps > li strong,
.fact-list dd,
.spec-list dd {
  color: var(--text);
}

.compatibility-mark {
  background: #e4f2e9;
  color: #287c5c;
}

.compatibility-mark--review {
  border: 1px solid rgba(199, 144, 53, 0.28);
  background: #fff1cf;
  color: #76500f;
}

.relation-review-note {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  border-left: 3px solid #d69a32;
  border-radius: 0 0.65rem 0.65rem 0;
  background: #fff8e8;
  color: #5f4a20;
  font-size: 0.86rem;
  line-height: 1.55;
}

.compatibility-item .fit-badge--review {
  margin-top: 0.45rem;
}

.source-box {
  border-color: rgba(35, 122, 102, 0.16);
  background: #edf5f1;
}

.part-hero {
  border-color: rgba(26, 48, 40, 0.1);
  background: linear-gradient(135deg, #edf4ef, #fffefa 52%, #f8eee8);
  box-shadow: var(--shadow-sm);
}

.part-reference {
  border-color: rgba(26, 48, 40, 0.16);
  background: #f2f5f1;
  color: var(--text);
}

.diagnostic-box {
  border-color: rgba(227, 111, 82, 0.17);
  background: linear-gradient(140deg, #fff6f1, #fffefa 60%);
}

.diagnostic-option {
  border-color: rgba(26, 48, 40, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-soft);
}

.notice,
.callout,
.evidence-note {
  border-color: rgba(35, 122, 102, 0.18);
  border-left-color: var(--aqua);
  background: #edf5f1;
  color: var(--text-soft);
}

.notice--warning,
.callout--warning {
  border-color: rgba(199, 144, 53, 0.22);
  border-left-color: var(--amber);
  background: #fbf4e6;
}

.notice--danger,
.callout--danger {
  border-color: rgba(227, 111, 82, 0.22);
  border-left-color: var(--coral);
  background: #fff0eb;
}

.guide-content h2 {
  margin-top: 2.3rem;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.guide-content .diagnostic-box h2,
.guide-content .notice h2,
.source-box h2 {
  margin-top: 0;
}

.guide-decision {
  margin-top: 2.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(26, 48, 40, 0.12);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(35, 122, 102, 0.12), transparent 16rem),
    linear-gradient(145deg, #f4f8f4, #fffefa 55%, #fbf3ed);
  box-shadow: var(--shadow-sm);
}

.guide-decision__heading {
  max-width: 48rem;
}

.guide-decision__heading h2 {
  margin: 0.3rem 0 0.65rem;
}

.guide-decision__grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "repair part"
    "professional part";
  gap: 0.9rem;
  margin-top: 1.25rem;
}

/* No-JS fallback for guide HTML generated before the direct 01 -> 02 -> 03
   structure. With JavaScript enabled, app.js removes this legacy wrapper. */
.guide-decision__support {
  display: contents;
}

.decision-card {
  min-width: 0;
  padding: 1.05rem;
  border: 1px solid rgba(26, 48, 40, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
}

.decision-card--repair {
  grid-area: repair;
  border-top: 3px solid #2e9475;
}

.decision-card--part {
  grid-area: part;
  border-top: 3px solid #c99535;
}

.decision-card--professional {
  grid-area: professional;
  border-top: 3px solid #d96d50;
}

.decision-card__number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: #e9f3ee;
  color: var(--aqua-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.decision-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.decision-card > p {
  margin: 0;
}

.decision-card__empty,
.decision-card__stop-count {
  margin-top: 0.85rem !important;
  padding: 0.72rem;
  border-radius: 0.7rem;
  background: #f5f4ef;
  font-size: 0.86rem;
}

.decision-card--professional .button {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}

.decision-card__merchant-note,
.guide-part-result__note {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

.guide-part-results {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.guide-part-result {
  overflow: hidden;
  border: 1px solid rgba(26, 48, 40, 0.11);
  border-radius: 0.85rem;
  background: #fffefa;
}

.guide-part-result__media {
  height: 8rem;
  margin: 0;
  background: #eef2ed;
}

.guide-part-result__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.7rem;
}

.guide-part-result__body {
  padding: 0.85rem;
}

.guide-part-result__top,
.guide-part-result__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.guide-part-result h4 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1rem;
}

.guide-part-result p {
  margin: 0;
  font-size: 0.86rem;
}

.guide-part-result__actions {
  margin-top: 0.8rem;
}

.guide-part-result__actions .button {
  flex: 1 1 9rem;
  text-align: center;
}

@media (max-width: 1040px) {
  .guide-decision__grid {
    grid-template-columns: minmax(13rem, 0.78fr) minmax(0, 1.22fr);
  }
}

@media (max-width: 680px) {
  .guide-decision {
    padding: 1rem;
    border-radius: 1rem;
  }

  .guide-decision__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "repair"
      "part"
      "professional";
  }

  .decision-card--repair {
    order: 1;
  }

  .decision-card--part {
    order: 2;
  }

  .decision-card--professional {
    order: 3;
  }

  .guide-part-result__media {
    height: 10rem;
  }
}

.toc a {
  color: var(--text-soft);
}

.toc a:hover,
.toc a[aria-current="true"] {
  background: #e9f3ee;
  color: var(--aqua-deep);
}

.fact-list > div,
.spec-list > div,
.compatibility-table th,
.compatibility-table td,
.data-table th,
.data-table td {
  border-color: rgba(26, 48, 40, 0.1);
}

.compatibility-table th,
.data-table th {
  background: #f1f4f0;
  color: #596861;
}

/* Footer */
.site-footer {
  border-color: rgba(255, 255, 255, 0.08);
  padding-bottom: env(safe-area-inset-bottom);
  background: #15231e;
  color: #fff;
}

.site-footer .brand span,
.footer-heading {
  color: #fff;
}

.footer-brand p,
.footer-links a,
.footer-links .footer-privacy-button,
.footer-bottom {
  color: #aab7b1;
}

.footer-links .footer-privacy-button {
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-links a:hover,
.footer-links .footer-privacy-button:hover,
.footer-links .footer-privacy-button:focus-visible {
  color: #fff;
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.09);
}

.footer-affiliate-disclosure {
  margin-top: -0.5rem;
  padding-bottom: 1.35rem;
  color: #8fa099;
  font-size: 0.72rem;
  line-height: 1.55;
}

.merchant-panel {
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(35, 122, 102, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 244, 0.94)),
    var(--paper);
  box-shadow: 0 1rem 2.5rem rgba(18, 50, 42, 0.08);
}

.merchant-panel h2 {
  margin: 0.25rem 0 0.55rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.merchant-panel p:not(.eyebrow) {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.merchant-button {
  width: 100%;
  justify-content: space-between;
}

.merchant-disclosure-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--aqua-deep);
  font-size: 0.72rem;
  font-weight: 760;
  text-underline-offset: 0.2em;
}

/* Product imagery and homepage commerce selection */
.part-media,
.model-media,
.guide-media,
.model-part-media,
.part-hero-media,
.commerce-part-card__media,
.entity-header-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(145deg, #e7eee9, #f6f1e9);
}

.part-media img,
.model-media img,
.guide-media img,
.model-part-media img,
.part-hero-media img,
.commerce-part-card__media img,
.entity-header-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 260ms ease;
}

.part-card:hover .part-media img,
.model-card:hover .model-media img,
.guide-card:hover .guide-media img,
.model-part-result:hover .model-part-media img,
.commerce-part-card:hover .commerce-part-card__media img {
  filter: saturate(1.04) contrast(1.015);
  transform: scale(1.025);
}

/* Exact merchant-approved product photos keep their full silhouette. The
   category artwork may crop decoratively, but packshots and assurance panels
   must never lose a reference-specific detail. */
figure[data-visual-type="exact-product"] {
  background: #fff;
}

figure[data-visual-type="exact-product"] img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* Family illustrations show the complete accessory set. They are deliberately
   contained rather than cropped so a gasket, hose, carafe or shelf never looks
   like the exact photographed reference advertised by the merchant. */
figure[data-visual-role="family-parts"] {
  background: linear-gradient(145deg, #f8f6f0, #edf5f1);
}

figure[data-visual-role="family-parts"] img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

.part-card:hover figure[data-visual-role="family-parts"] img,
.model-part-result:hover figure[data-visual-role="family-parts"] img,
.commerce-part-card:hover figure[data-visual-role="family-parts"] img {
  filter: saturate(1.02) contrast(1.005);
  transform: none;
}

figure[data-visual-type="exact-product"][data-visual-role="packshot"] img {
  padding: clamp(0.35rem, 0.9vw, 0.75rem);
}

figure[data-visual-type="exact-product"][data-visual-role="brand-assurance"] {
  border-color: rgba(79, 118, 167, 0.2);
  background: #dfeafb;
  aspect-ratio: 1;
}

figure[data-visual-type="exact-product"][data-visual-role="brand-assurance"] img {
  padding: 0;
  background: #dfeafb;
}

.part-card:hover figure[data-visual-type="exact-product"] img,
.model-part-result:hover figure[data-visual-type="exact-product"] img,
.commerce-part-card:hover figure[data-visual-type="exact-product"] img {
  filter: saturate(1.015) contrast(1.005);
  transform: none;
}

.visual-disclosure {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(15, 43, 35, 0.82);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 760;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 0.35rem 0.9rem rgba(9, 30, 24, 0.14);
  backdrop-filter: blur(7px);
}

.part-media {
  aspect-ratio: 16 / 9;
  margin: -0.35rem -0.35rem 1rem;
  border: 1px solid rgba(26, 48, 40, 0.08);
  border-radius: 0.9rem;
}

.model-media,
.guide-media {
  aspect-ratio: 16 / 9;
  margin: -0.35rem -0.35rem 1rem;
  border: 1px solid rgba(26, 48, 40, 0.08);
  border-radius: 0.9rem;
}

.page-header-grid--visual {
  align-items: center;
  grid-template-columns: minmax(13rem, 19rem) minmax(0, 1fr) auto;
}

.editorial-header-grid {
  display: grid;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  grid-template-columns: minmax(13rem, 19rem) minmax(0, 1fr);
}

.entity-header-media {
  width: 100%;
  max-width: 19rem;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(26, 48, 40, 0.1);
  border-radius: 1rem;
  box-shadow: 0 16px 42px rgba(30, 48, 40, 0.1);
}

.entity-header-media::after,
.part-hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), rgba(227, 111, 82, 0.7), transparent 86%);
  content: "";
}

.model-part-result {
  overflow: hidden;
  transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.model-part-result:hover {
  border-color: rgba(35, 122, 102, 0.22);
  box-shadow: 0 18px 44px rgba(25, 48, 40, 0.1);
  transform: translateY(-3px);
}

.model-part-media {
  aspect-ratio: 16 / 8.4;
  margin: -1.15rem -1.15rem 1rem;
  border-bottom: 1px solid rgba(26, 48, 40, 0.09);
}

.part-hero-media {
  width: clamp(14rem, 25vw, 21rem);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(26, 48, 40, 0.1);
  border-radius: 1rem;
  box-shadow: 0 16px 42px rgba(30, 48, 40, 0.1);
}

.section--featured-parts {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(26, 48, 40, 0.08);
  background:
    radial-gradient(circle at 10% 0%, rgba(35, 122, 102, 0.08), transparent 25rem),
    radial-gradient(circle at 94% 100%, rgba(227, 111, 82, 0.06), transparent 28rem),
    #f8f8f3;
}

.section--featured-parts::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(35, 122, 102, 0.12) 0.65px, transparent 0.7px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(110deg, rgba(0, 0, 0, 0.3), transparent 46%);
  opacity: 0.28;
  pointer-events: none;
}

.section--featured-parts > .container {
  position: relative;
}

.commerce-part-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
}

.commerce-part-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  border: 1px solid rgba(26, 48, 40, 0.11);
  border-radius: 1.2rem;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 12px 34px rgba(30, 48, 40, 0.07);
  transition: border-color 200ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.commerce-part-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--coral) 55%, transparent 90%);
  content: "";
  opacity: 0.8;
}

.commerce-part-card:hover {
  border-color: rgba(35, 122, 102, 0.25);
  box-shadow: 0 22px 58px rgba(30, 48, 40, 0.12);
  transform: translateY(-4px);
}

.commerce-part-card__media {
  aspect-ratio: 16 / 9.5;
  border-bottom: 1px solid rgba(26, 48, 40, 0.08);
}

.commerce-part-card__body {
  display: flex;
  height: 100%;
  padding: clamp(1rem, 1.6vw, 1.25rem);
  flex-direction: column;
}

.commerce-part-card__top {
  display: flex;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.commerce-part-card__brand {
  margin: 0 0 0.22rem;
  color: var(--aqua-deep);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.commerce-part-card h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  line-height: 1.18;
}

.commerce-part-card__models {
  display: grid;
  margin: 0 0 1.1rem;
  gap: 0.25rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.48;
}

.commerce-part-card__models strong {
  color: var(--text);
  font-size: 0.67rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.commerce-part-card__actions {
  display: grid;
  margin-top: auto;
  gap: 0.65rem;
}

.commerce-part-card__actions > .button {
  width: 100%;
  min-height: 2.75rem;
  justify-content: center;
  text-align: center;
}

.commerce-part-card__merchant {
  display: grid;
  gap: 0.38rem;
}

.commerce-part-card__merchant small {
  color: var(--text-muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

@media (min-width: 110rem) {
  .commerce-part-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .commerce-part-card__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 64rem) {
  .page-header-grid--visual,
  .editorial-header-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-header-grid--visual .entity-header-media {
    max-width: 26rem;
  }

  .commerce-part-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 43.99rem) {
  .commerce-part-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .commerce-part-card__media {
    aspect-ratio: 16 / 8.8;
  }

  .part-hero-media {
    width: 100%;
    max-width: 32rem;
  }

  .entity-header-media {
    max-width: 32rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 40rem) {
  .model-part-media {
    margin: -1rem -1rem 0.9rem;
  }

  .part-media {
    aspect-ratio: 16 / 8.5;
  }


  .model-media,
  .guide-media {
    aspect-ratio: 16 / 8.5;
  }
}

/* Model decision page: exact fit, proof and purchase without an extra click */
.model-catalog {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: minmax(0, 1fr);
}

.model-parts-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.model-catalog__heading {
  display: grid;
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(26, 48, 40, 0.11);
  border-radius: var(--radius-lg);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(35, 122, 102, 0.09), transparent 17rem),
    rgba(255, 254, 250, 0.94);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
}

.model-catalog__heading .panel-heading {
  margin-bottom: 0.65rem;
}

.model-catalog__heading h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.model-commerce-note {
  max-width: 68ch;
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.model-part-filters {
  display: flex;
  margin-top: 0.9rem;
  padding: 0.55rem;
  border: 1px solid rgba(26, 48, 40, 0.11);
  border-radius: 1rem;
  gap: 0.45rem;
  flex-wrap: wrap;
  background: rgba(241, 246, 242, 0.88);
  box-shadow: 0 0.45rem 1.25rem rgba(25, 48, 40, 0.04);
}

.model-part-filters button {
  min-height: 2.35rem;
  padding: 0.52rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 760;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.model-part-filters button:hover {
  border-color: #237a66;
  background: #e6f2ed;
  color: #153c31;
}

.model-part-filters button:focus-visible {
  border-color: #176451;
  outline: 3px solid rgba(35, 122, 102, 0.32);
  outline-offset: 2px;
  background: #f8fffc;
  color: #153c31;
}

.model-part-filters button.is-active,
.model-part-filters button[aria-pressed="true"] {
  border-color: #0d4a3b;
  background: #176451;
  color: #fff;
  box-shadow: 0 0.45rem 1rem rgba(11, 57, 46, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.model-part-filters button.is-active:hover,
.model-part-filters button.is-active:focus-visible,
.model-part-filters button[aria-pressed="true"]:hover,
.model-part-filters button[aria-pressed="true"]:focus-visible {
  border-color: #092f26;
  background: #0f503f;
  color: #fff;
}

.model-part-filters button:active {
  transform: translateY(1px);
}

.model-facts-inline {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(35, 122, 102, 0.14);
  border-radius: 0.95rem;
  overflow: hidden;
  background: rgba(244, 248, 245, 0.88);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.model-facts-inline > div {
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(26, 48, 40, 0.09);
}

.model-facts-inline > div:nth-child(odd) {
  border-right: 1px solid rgba(26, 48, 40, 0.09);
}

.model-facts-inline > div:last-child {
  border-bottom: 0;
  grid-column: 1 / -1;
}

.model-facts-inline dt {
  margin-bottom: 0.22rem;
  color: var(--text-muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.model-facts-inline dd {
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.model-part-results {
  grid-template-columns: minmax(0, 1fr);
}

.model-part-results > :only-child {
  grid-column: auto;
}

.model-part-results {
  margin-top: clamp(0.85rem, 1.8vw, 1.2rem);
  gap: 1rem;
}

.model-part-result {
  display: grid;
  min-height: 20rem;
  padding: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 254, 250, 0.98);
  grid-template-columns: minmax(17rem, 34%) minmax(0, 1fr);
}

.model-part-media {
  width: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-right: 1px solid rgba(26, 48, 40, 0.09);
  aspect-ratio: auto;
}

.model-part-result__body {
  display: flex;
  min-width: 0;
  padding: clamp(1.1rem, 2.2vw, 1.65rem);
  flex-direction: column;
}

.model-part-result h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.16;
}

.model-part-result__body > p {
  max-width: 68ch;
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

.part-result-facts {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.part-result-facts > div {
  display: block;
  min-width: 0;
  padding: 0.7rem 0.8rem 0.7rem 0;
}

.part-result-facts > div + div {
  padding-left: 0.8rem;
  border-left: 1px solid rgba(26, 48, 40, 0.09);
}

.part-result-facts dt {
  margin-bottom: 0.2rem;
  font-size: 0.66rem;
}

.part-result-facts dd {
  font-size: 0.8rem;
  line-height: 1.45;
}

.part-result-actions {
  display: flex;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 48, 40, 0.09);
  flex-wrap: wrap;
  align-items: end;
  gap: 0.7rem;
}

.model-part-merchant {
  flex: 1 1 20rem;
  margin: 0;
}

.model-part-merchant .button {
  min-height: 3rem;
}

.model-part-merchant small {
  padding-inline: 0.1rem;
}

.part-result-secondary-actions {
  display: flex;
  min-height: 3rem;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.model-support-grid {
  display: grid;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(26, 48, 40, 0.1);
  border-radius: var(--radius-lg);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
  background:
    radial-gradient(circle at 92% 10%, rgba(35, 122, 102, 0.075), transparent 13rem),
    rgba(255, 254, 250, 0.97);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
}

.model-support-grid .panel {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.model-support-grid .panel + .panel {
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(26, 48, 40, 0.1);
}

.model-support-grid .panel h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.model-support-grid .source-box {
  padding: 0.8rem 0.9rem;
}

.model-support-grid .source-box p {
  margin-block: 0.35rem;
}

.model-support-grid .evidence-note {
  margin-top: 0.65rem;
  padding-block: 0.65rem;
}

.model-help-panel {
  padding: clamp(1rem, 1.8vw, 1.35rem);
}

.model-help-panel > h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.model-help-panel .guide-grid {
  grid-template-columns: minmax(0, 1fr);
}

.model-help-panel .guide-card {
  display: grid;
  height: auto;
  padding: 0.75rem;
  align-items: center;
  column-gap: clamp(0.9rem, 2vw, 1.35rem);
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  grid-template-rows: repeat(4, auto);
  row-gap: 0.35rem;
}

.model-help-panel .guide-media {
  width: 100%;
  height: 100%;
  min-height: 11.5rem;
  max-height: 13.5rem;
  margin: 0;
  border-radius: 0.8rem;
  grid-column: 1;
  grid-row: 1 / span 4;
}

.model-help-panel .card-header,
.model-help-panel .guide-card > h3,
.model-help-panel .guide-card > p,
.model-help-panel .guide-card > .card-link {
  grid-column: 2;
}

.model-help-panel .card-header {
  margin-bottom: 0.1rem;
}

.model-help-panel .guide-card > h3 {
  margin: 0;
}

.model-help-panel .guide-card > p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.model-help-panel .guide-card > .card-link {
  margin-top: 0;
  padding-top: 0.3rem;
}

.model-help-panel .status-badge {
  display: none;
}

@media (max-width: 40rem) {
  .model-help-panel .guide-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .model-help-panel .guide-media {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 6.5;
    grid-column: 1;
    grid-row: auto;
  }

  .model-help-panel .card-header,
  .model-help-panel .guide-card > h3,
  .model-help-panel .guide-card > p,
  .model-help-panel .guide-card > .card-link {
    grid-column: 1;
  }
}

.part-hero-content {
  min-width: 0;
}

.part-hero-content h1 {
  max-width: 30ch;
  font-size: clamp(1.95rem, 3vw, 2.65rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.part-heading-reference {
  display: inline-block;
  max-width: 100%;
  color: #465e53;
  font-size: max(0.95rem, 0.5em);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  vertical-align: baseline;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Clearer commerce hierarchy with a more distinctive, still restrained palette */
.button:not(.button--secondary):not(.button--merchant),
.btn:not(.btn--secondary):not(.btn--merchant) {
  border-color: rgba(31, 116, 93, 0.72);
  background: linear-gradient(135deg, #153c31 0%, #1f735e 58%, #2b8c73 100%);
  color: #fff;
  box-shadow: 0 0.65rem 1.7rem rgba(24, 91, 73, 0.18);
}

.button:not(.button--secondary):not(.button--merchant):hover,
.btn:not(.btn--secondary):not(.btn--merchant):hover {
  border-color: rgba(41, 145, 116, 0.92);
  background: linear-gradient(135deg, #1b4d3f 0%, #25816a 56%, #34a184 100%);
  box-shadow: 0 0.9rem 2.1rem rgba(24, 91, 73, 0.24);
}

.button--merchant,
.btn--merchant {
  border-color: rgba(199, 128, 35, 0.52);
  background: linear-gradient(135deg, #f8cf68 0%, #eead43 54%, #e9874e 100%);
  color: #1d2b25;
  box-shadow: 0 0.75rem 2rem rgba(199, 128, 35, 0.24);
}

.button--merchant:hover,
.button--merchant:focus-visible,
.btn--merchant:hover,
.btn--merchant:focus-visible {
  border-color: rgba(185, 105, 28, 0.72);
  background: linear-gradient(135deg, #ffe08a 0%, #f5bb51 54%, #ee9660 100%);
  color: #14211c;
  box-shadow: 0 1rem 2.4rem rgba(199, 128, 35, 0.3);
}

.button--merchant > span:last-child,
.btn--merchant > span:last-child {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  place-items: center;
  background: rgba(255, 255, 255, 0.38);
  transition: transform 180ms ease, background 180ms ease;
}

.button--merchant:hover > span:last-child,
.btn--merchant:hover > span:last-child {
  background: rgba(255, 255, 255, 0.55);
  transform: translate(0.12rem, -0.12rem);
}

.model-device-offer {
  display: grid;
  align-content: start;
  gap: 0.3rem;
}

.model-device-offer small {
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.model-device-offer .button {
  width: 100%;
  justify-content: center;
}

.model-catalog__heading,
.model-support-grid,
.model-help-panel {
  position: relative;
  overflow: hidden;
}

.model-catalog__heading::before,
.model-support-grid::before,
.model-help-panel::before {
  position: absolute;
  top: 0;
  right: 1rem;
  left: 1rem;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--aqua), rgba(227, 111, 82, 0.88), var(--amber), transparent 94%);
  content: "";
  opacity: 0.9;
}

.model-help-panel {
  background:
    radial-gradient(circle at 94% 0%, rgba(227, 111, 82, 0.075), transparent 16rem),
    radial-gradient(circle at 0% 100%, rgba(35, 122, 102, 0.08), transparent 18rem),
    rgba(255, 254, 250, 0.98);
}

.part-hero-actions {
  display: grid;
  max-width: 38rem;
  margin-top: 1.25rem;
  gap: 0.8rem;
}

.part-hero-commerce {
  display: grid;
  gap: 0.4rem;
}

.part-hero-buy {
  min-height: 3.2rem;
  padding-inline: 1.15rem;
  font-size: 0.88rem;
  box-shadow: 0 0.8rem 2rem rgba(21, 55, 45, 0.16);
}

.part-hero-commerce small {
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.part-hero-commerce small a {
  font-weight: 750;
  text-underline-offset: 0.18em;
}

.part-hero-compatibility {
  width: fit-content;
  font-size: 0.8rem;
}

.part-hero-tools {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.part-hero-tools .part-reference {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.part-hero-tools .button {
  min-height: 2.75rem;
  white-space: normal;
}

@media (max-width: 64rem) {
  .model-catalog__heading,
  .model-support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .model-support-grid .panel + .panel {
    padding-top: 1rem;
    padding-left: 0;
    border-top: 1px solid rgba(26, 48, 40, 0.1);
    border-left: 0;
  }

  .model-facts-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-facts-inline > div,
  .model-facts-inline > div:nth-child(odd),
  .model-facts-inline > div:last-child {
    border-right: 1px solid rgba(26, 48, 40, 0.09);
    border-bottom: 0;
    grid-column: auto;
  }

  .model-facts-inline > div:last-child {
    border-right: 0;
  }
}

@media (max-width: 46rem) {
  .model-part-result {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .model-part-media {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(26, 48, 40, 0.09);
    aspect-ratio: 16 / 8.6;
  }

  .part-result-actions,
  .part-result-secondary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .model-part-merchant,
  .part-result-secondary-actions,
  .part-result-secondary-actions .button {
    width: 100%;
    flex-basis: auto;
  }

  .part-result-secondary-actions .button,
  .part-result-secondary-actions .text-link {
    min-height: 2.8rem;
    justify-content: center;
    text-align: center;
  }

  .part-result-secondary-actions .text-link {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 40rem) {
  .model-catalog__heading {
    padding: 1rem;
  }

  .model-part-filters {
    margin-top: 0.75rem;
    padding: 0.45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }

  .model-part-filters::-webkit-scrollbar {
    display: none;
  }

  .model-part-filters button {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .model-facts-inline,
  .part-result-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .model-facts-inline > div,
  .model-facts-inline > div:nth-child(odd),
  .model-facts-inline > div:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(26, 48, 40, 0.09);
  }

  .model-facts-inline > div:last-child {
    border-bottom: 0;
  }

  .part-result-facts > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .part-hero-tools,
  .part-hero-tools .button,
  .part-hero-buy {
    width: 100%;
  }

  .part-hero-tools .button,
  .part-hero-buy {
    min-height: 2.9rem;
    justify-content: center;
  }
}

/* Motion is progressive enhancement */
.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 650ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 52rem) {
  .menu-open .site-header {
    background: #fffefa;
    backdrop-filter: none;
  }

  .primary-nav {
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    max-height: none;
    border-color: rgba(26, 48, 40, 0.11);
    background: #fffefa;
    isolation: isolate;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .language-switcher a {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
  }

  .nav-dropdown {
    display: none;
    width: auto;
    max-height: none;
    overflow: visible;
    border-left-color: rgba(35, 122, 102, 0.25);
    background: #f2f5f1;
    grid-template-columns: 1fr;
  }

  .nav-item--dropdown:hover .nav-dropdown.is-open,
  .nav-item--dropdown:focus-within .nav-dropdown.is-open,
  .nav-dropdown.is-open {
    display: block;
  }

  .hero-grid {
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .search-box input,
  .search-field input {
    font-size: 1rem;
  }

  .hero-copy {
    max-width: 44rem;
  }

  .hero-visual {
    width: min(100%, 44rem);
    margin-inline: auto;
    justify-self: center;
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 1.4 / 1;
  }
}

@media (min-width: 40.01rem) and (max-width: 52rem) {
  .page-header h1 {
    font-size: clamp(2.2rem, 5vw, 2.55rem);
  }
}

@media (max-width: 40rem) {
  .section {
    padding-block: 2.9rem;
  }

  h1 {
    font-size: clamp(1.95rem, 8.6vw, 2.55rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .hero {
    padding-block: 2.65rem 3.15rem;
  }

  .hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(2.05rem, 9.2vw, 2.8rem);
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
  }

  .hero-match {
    top: 5%;
    left: 4%;
    width: 88%;
    padding: 0.75rem 0.8rem;
  }

  .hero-source {
    right: 4%;
    bottom: 4%;
    padding: 0.52rem 0.65rem;
  }

  .page-header h1 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .page-header {
    padding-block: 2.25rem;
  }

  .search-panel,
  .finder-panel {
    padding: 0.85rem;
  }

  .card,
  .model-card,
  .part-card,
  .guide-card,
  .result-card,
  .part-hero {
    border-radius: 1rem;
  }

}

@media (max-width: 28rem) {
  .consent-panel {
    left: max(0.65rem, env(safe-area-inset-left));
    right: 0.65rem;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100svh - 1.3rem);
    padding: 1rem;
    overflow-y: auto;
  }

  .consent-panel__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 23.5rem) {
  .search-submit {
    padding-inline: 0.75rem;
    font-size: 0.82rem;
    white-space: normal;
  }
}

@media (min-width: 110rem) {
  :root {
    --container: 96rem;
    --container-wide: 112rem;
  }

  body {
    font-size: 1.04rem;
  }

  .hero-grid {
    gap: clamp(6rem, 8vw, 9rem);
  }

  .hero-copy h1 {
    font-size: 4.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }

  .hero-visual,
  .hero-match {
    transform: none !important;
    background-position: center !important;
  }

  .hero::before,
  .hero::after,
  .hero-visual::before,
  .hero-source span {
    animation: none !important;
  }
}

/* Final responsive composition layer */
.button--secondary::after,
.btn--secondary::after {
  display: none;
}

.visual-disclosure {
  pointer-events: none;
}

.commerce-part-card .visual-disclosure,
.model-card .visual-disclosure,
.part-card .visual-disclosure,
.guide-card .visual-disclosure,
.model-help-panel .visual-disclosure {
  display: none;
}

.commerce-part-grid,
.home-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-guide-grid .guide-card {
  height: 100%;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid > :nth-child(n + 5) {
  grid-column: span 1;
}

.model-help-panel .guide-card {
  min-height: 0;
  padding: 1rem 1.05rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
}

.model-help-panel .guide-media {
  display: none;
}

.model-help-panel .card-header,
.model-help-panel .guide-card > h3,
.model-help-panel .guide-card > p,
.model-help-panel .guide-card > .card-link {
  grid-column: 1;
  grid-row: auto;
}

.model-help-panel .guide-grid {
  gap: 0.65rem;
}

.category-page-section .model-media,
.category-page-section .part-media,
.brand-models-section .model-media,
.brand-parts-section .part-media {
  display: none;
}

/* A manufacturer page may show verified packshots when every displayed image
   is tied to an exact part id. Generic repeated category art stays hidden. */
.brand-parts-section .part-media[data-visual-type="exact-product"] {
  display: block;
}

.category-page-section .model-card,
.category-page-section .part-card,
.brand-models-section .model-card,
.brand-parts-section .part-card {
  min-height: 0;
  padding: 1.05rem;
}

.category-page-section .model-grid,
.category-page-section .part-grid,
.brand-models-section .model-grid,
.brand-parts-section .part-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-page-header,
.brand-page-header,
.help-page-header {
  padding-block: clamp(2.5rem, 4.5vw, 4.25rem);
}

.category-page-header h1,
.brand-page-header h1,
.help-page-header h1 {
  max-width: 20ch;
  font-size: clamp(2.35rem, 4.2vw, 3.8rem);
}

.guide-page-header .status-badge {
  display: none;
}

@media (min-width: 52.01rem) and (max-width: 74rem) {
  .model-page-header .page-header-grid--visual,
  .guide-page-header .page-header-grid--visual {
    display: grid;
    align-items: center;
    gap: 1.5rem 2rem;
    grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr);
    grid-template-areas:
      "media copy"
      "media actions";
  }

  .model-page-header .entity-header-media,
  .guide-page-header .entity-header-media {
    width: 100%;
    max-width: none;
    margin: 0;
    grid-area: media;
  }

  .model-page-header .page-header-grid--visual > div,
  .guide-page-header .page-header-grid--visual > div {
    grid-area: copy;
  }

  .model-page-header .page-actions,
  .guide-page-header .status-badge {
    justify-self: start;
    grid-area: actions;
  }

  .model-page-header .page-header-grid--visual > .page-actions {
    grid-area: actions;
  }

  .model-page-header .page-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .model-page-header .page-header-grid--visual h1,
  .guide-page-header .page-header-grid--visual h1 {
    max-width: 18ch;
    font-size: clamp(2.35rem, 4.7vw, 3.55rem);
  }
}

@media (max-width: 70rem) {
  .commerce-part-grid,
  .home-guide-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-page-section .model-grid,
  .category-page-section .part-grid,
  .brand-models-section .model-grid,
  .brand-parts-section .part-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 52rem) {
  .page-header-grid--visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .model-page-header .page-header-grid--visual > div,
  .guide-page-header .page-header-grid--visual > div {
    order: 1;
  }

  .model-page-header .page-actions,
  .guide-page-header .status-badge {
    order: 2;
  }

  .model-page-header .page-header-grid--visual > .page-actions {
    order: 2;
  }

  .model-page-header .entity-header-media,
  .guide-page-header .entity-header-media {
    width: 100%;
    max-width: 34rem;
    margin: 0;
    order: 3;
    justify-self: center;
  }

  .guide-aside {
    order: initial;
  }
}

@media (max-width: 40rem) {
  .hero--commerce .hero-grid {
    gap: 1.25rem;
  }

  .hero--commerce .hero-copy {
    display: contents;
  }

  .hero--commerce .hero-copy::before {
    display: none;
  }

  .hero--commerce .hero-copy > .eyebrow { order: 1; }
  .hero--commerce .hero-copy > h1 { order: 2; }
  .hero--commerce .hero-copy > .lead { order: 3; }
  .hero--commerce .hero-visual { order: 4; }
  .hero--commerce .finder-panel { order: 5; }
  .hero--commerce .reference-search { order: 6; }

  .hero--commerce .hero-visual {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    border-radius: 1.1rem;
  }

  .hero--commerce .hero-match {
    bottom: 5%;
    left: 4%;
    width: 80%;
    padding: 0.6rem 0.7rem;
  }

  .hero--commerce .hero-match small {
    display: none;
  }

  .hero--commerce .hero-source {
    top: 4%;
    right: 4%;
    max-width: 70%;
    font-size: 0.6rem;
  }

  .commerce-part-grid,
  .home-guide-grid,
  .category-grid,
  .category-page-section .model-grid,
  .category-page-section .part-grid,
  .brand-models-section .model-grid,
  .brand-parts-section .part-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .part-page-header .part-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .part-page-header .part-hero-content {
    order: 1;
  }

  .part-page-header .part-hero-media {
    width: 100%;
    max-width: none;
    max-height: 12rem;
    order: 2;
  }

  .part-page-header .part-hero-media img {
    object-position: center 45%;
  }

  .part-page-header .part-hero-media[data-visual-role="brand-assurance"] {
    width: min(100%, 19rem);
    max-width: 19rem;
    max-height: none;
    justify-self: center;
  }

  .part-page-header .part-hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.1rem);
    line-height: 1.12;
  }

  .part-hero-actions {
    margin-top: 1rem;
  }

  .model-page-header .entity-header-media,
  .guide-page-header .entity-header-media {
    max-height: 11rem;
    aspect-ratio: 16 / 7.5;
  }

  .model-page-header .page-actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .model-page-header .page-actions .button {
    width: 100%;
    justify-content: center;
  }

  .category-page-header,
  .brand-page-header,
  .help-page-header {
    padding-block: 2.25rem;
  }
}

@media (max-width: 23.5rem) {
  .part-page-header .part-hero-content h1 {
    font-size: 1.78rem;
  }

  .page-header {
    padding-block: 1.15rem;
  }

  .model-page-header .page-header-grid--visual,
  .part-page-header .part-hero {
    gap: 0.75rem;
  }

  .model-page-header .page-header-grid--visual > div:not(.page-actions) .lead,
  .model-page-header .model-profile {
    display: none;
  }

  .part-page-header .part-hero-content > .lead {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .model-page-header .appliance-context {
    margin-block: 0.25rem 0.55rem;
    padding: 0.38rem 0.55rem;
    font-size: 0.7rem;
  }

  .model-page-header .page-header-grid--visual h1 {
    margin-bottom: 0;
    font-size: clamp(1.85rem, 10vw, 2.15rem);
    line-height: 1.02;
  }

  .model-page-header .page-actions {
    gap: 0.45rem;
  }

  .model-page-header .model-device-offer {
    order: -3;
  }

  .model-page-header .page-actions > a[href="#compatible-parts"] {
    order: -2;
  }

  .part-page-header .part-hero {
    padding: 0.85rem;
  }

  .part-page-header .part-hero-content h1 {
    margin-bottom: 0.55rem;
    font-size: 1.58rem;
  }

  .part-page-header .part-hero-actions {
    margin-top: 0.65rem;
    gap: 0.5rem;
  }

  .part-page-header .part-hero-tools {
    display: flex;
  }
}

@media (min-width: 160rem) {
  :root {
    --container: 112rem;
    --container-wide: 128rem;
  }

  .hero--commerce .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(32rem, 0.95fr);
  }

  .commerce-part-grid,
  .home-guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Final visual QA: denser directories and balanced decision surfaces */
.category-card .card-link > span[aria-hidden="true"] {
  display: none;
}

.help-index-section .status-badge {
  display: none;
}

.help-index-section .guide-card {
  min-height: 0;
  padding: 1rem;
}

.help-index-section .guide-media {
  aspect-ratio: 16 / 7.5;
  margin-bottom: 0.8rem;
}

.help-index-section .guide-card .card-header {
  margin-bottom: 0.55rem;
}

.help-index-section .guide-card > h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

.help-index-section .guide-card > p {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Homepage catalogue polish: clearer hierarchy, useful category cards, no decorative product listing */
.hero--commerce {
  background:
    radial-gradient(circle at 12% 9%, rgba(54, 185, 151, 0.19), transparent 28rem),
    radial-gradient(circle at 91% 16%, rgba(239, 121, 89, 0.16), transparent 31rem),
    linear-gradient(138deg, #eef8f3 0%, #fffefa 47%, #fff3ed 100%);
}

.hero--commerce .hero-grid {
  align-items: center;
}

.hero--commerce .hero-visual {
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.16 / 1;
  border-color: rgba(16, 65, 51, 0.18);
  border-radius: 1.75rem;
  background-color: #dce9e2;
  background-image: url("/assets/appliance-parts-hero-v2.f9d31852b0b35fd55824.webp");
  background-position: calc(50% + var(--hero-x, 0px)) calc(50% + var(--hero-y, 0px));
  background-size: cover;
  box-shadow: 0 2.4rem 5.5rem rgba(23, 59, 47, 0.2), 0 0 0 0.5rem rgba(255, 255, 255, 0.52);
}

.hero--commerce .hero-visual::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6, 30, 23, 0.06), rgba(7, 31, 24, 0.1) 46%, rgba(7, 31, 24, 0.52)),
    linear-gradient(115deg, rgba(255, 255, 255, 0.32), transparent 42%);
}

.hero-visual__shade {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(7, 32, 24, 0.44));
  pointer-events: none;
}

.hero-visual__rail {
  position: absolute;
  z-index: 4;
  top: 1.15rem;
  left: 1.15rem;
  display: flex;
  max-width: calc(100% - 2.3rem);
  margin: 0;
  padding: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  gap: 0.28rem;
  background: rgba(10, 38, 30, 0.72);
  box-shadow: 0 0.9rem 2.4rem rgba(6, 24, 18, 0.2);
  list-style: none;
  backdrop-filter: blur(14px) saturate(125%);
}

.hero-visual__rail li {
  display: inline-flex;
  min-width: 0;
  padding: 0.48rem 0.66rem;
  border-radius: 999px;
  align-items: center;
  gap: 0.38rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.69rem;
  white-space: nowrap;
}

.hero-visual__rail li:last-child {
  background: rgba(119, 229, 193, 0.18);
  color: #fff;
}

.hero-visual__rail span {
  color: #8fe0c7;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-visual__rail strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero--commerce .hero-match {
  right: 1.15rem;
  bottom: 1.15rem;
  left: 1.15rem;
  width: auto;
  padding: 0.9rem 1rem;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(8, 35, 27, 0.87);
}

.hero--commerce .hero-source {
  top: auto;
  right: 1.55rem;
  bottom: 6.2rem;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(8, 35, 27, 0.78);
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  display: flex;
  min-height: 18rem;
  padding: 1.35rem;
  flex-direction: column;
  gap: 1.15rem;
  border: 1px solid rgba(23, 75, 60, 0.13);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--card-accent, var(--brand-green-2)) 9%, transparent), transparent 45%),
    rgba(255, 254, 250, 0.96);
}

.category-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.category-card__icon {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--brand-green-2)) 24%, transparent);
  border-radius: 1rem;
  place-items: center;
  background: color-mix(in srgb, var(--card-accent, var(--brand-green-2)) 10%, #fff);
  color: color-mix(in srgb, var(--card-accent, var(--brand-green-2)) 82%, #12382e);
  box-shadow: 0 0.7rem 1.8rem rgba(20, 64, 50, 0.08);
}

.category-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.category-card__index {
  border: 0;
  background: transparent;
  color: rgba(20, 55, 44, 0.38);
}

.category-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.category-card h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.27rem);
  line-height: 1.14;
}

.category-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.category-card__coverage {
  display: flex;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 75, 60, 0.1);
  gap: 0.55rem;
  flex-wrap: wrap;
}

.category-card__coverage span {
  padding: 0.34rem 0.5rem;
  border: 1px solid rgba(23, 75, 60, 0.1);
  border-radius: 999px;
  background: rgba(237, 247, 242, 0.78);
  color: var(--text-soft);
  font-size: 0.65rem;
  font-weight: 680;
}

.category-card__coverage b {
  color: var(--brand-green);
}

.category-card .card-link {
  margin-top: 0.9rem;
}

@media (max-width: 88rem) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 70rem) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .hero--commerce .hero-visual {
    aspect-ratio: 16 / 9.4;
    border-radius: 1.2rem;
  }

  .hero-visual__rail {
    top: 0.65rem;
    left: 0.65rem;
    max-width: calc(100% - 1.3rem);
  }

  .hero-visual__rail li {
    padding: 0.38rem 0.46rem;
    font-size: 0.61rem;
  }

  .hero-visual__rail span { display: none; }
  .hero--commerce .hero-source { display: none; }
  .hero--commerce .hero-match { right: 0.65rem; bottom: 0.65rem; left: 0.65rem; }
  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--commerce .hero-visual,
  .hero--commerce .hero-match { transition: none; }
}

/* Homepage product finder: a live compatibility tool, not an editorial hero. */
.hero--commerce[data-home-tool] {
  padding-block: clamp(3rem, 5.4vw, 5.25rem);
  background-size: 120% 120%;
  animation: home-ambient-shift 18s ease-in-out infinite alternate;
}

.hero--commerce[data-home-tool] .hero-grid {
  grid-template-columns: minmax(0, 1.13fr) minmax(25rem, 0.87fr);
  gap: clamp(2.25rem, 4.8vw, 5rem);
}

.hero--commerce[data-home-tool] .hero-copy h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.45rem, 3.3vw, 3.35rem);
  line-height: 1.01;
}

.hero--commerce[data-home-tool] .hero-copy .lead {
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.hero--commerce[data-home-tool] .finder-panel--model {
  position: relative;
  overflow: hidden;
  border-color: rgba(25, 101, 79, 0.25);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 246, 0.96)),
    #fffefa;
  box-shadow: 0 1.75rem 4.5rem rgba(21, 64, 50, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.86) inset;
}

.hero--commerce[data-home-tool] .finder-panel--model::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #237a66, #51c9a8 42%, #f0a14d 72%, #e36f52);
  content: "";
  transform: scaleX(calc((var(--finder-stage, 0) + 1) / 5));
  transform-origin: left;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.finder-panel[data-finder-stage="0"] { --finder-stage: 0; }
.finder-panel[data-finder-stage="1"] { --finder-stage: 1; }
.finder-panel[data-finder-stage="2"] { --finder-stage: 2; }
.finder-panel[data-finder-stage="3"] { --finder-stage: 3; }
.finder-panel[data-finder-stage="4"] { --finder-stage: 4; }

.finder-progress {
  display: grid;
  margin: 0 0 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.finder-progress span {
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(24, 64, 51, 0.1);
  overflow: hidden;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.finder-progress span.is-complete {
  background: #4bc6a3;
}

.finder-progress span.is-current {
  background: linear-gradient(90deg, #4bc6a3, #f0a14d);
  box-shadow: 0 0 0.75rem rgba(75, 198, 163, 0.38);
  transform: scaleY(1.55);
}

.finder-control {
  position: relative;
}

.finder-control select {
  transition: border-color 190ms ease, box-shadow 190ms ease, background-color 190ms ease, transform 190ms ease;
}

.finder-control.is-current select:not(:disabled) {
  border-color: rgba(35, 122, 102, 0.5);
  box-shadow: 0 0 0 3px rgba(35, 122, 102, 0.08);
  background-color: #fff;
}

.finder-control.is-complete > span {
  color: #15614f;
}

.finder-control.is-complete::after {
  position: absolute;
  top: 0.08rem;
  right: 0.05rem;
  display: grid;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  place-items: center;
  background: rgba(35, 122, 102, 0.12);
  color: #15614f;
  content: "✓";
  font-size: 0.64rem;
  font-weight: 900;
}

.hero--commerce[data-home-tool] .hero-visual {
  min-height: 30rem;
  transform: translateZ(0);
}

.hero-visual__scan {
  position: absolute;
  z-index: 3;
  top: -24%;
  right: -12%;
  left: -12%;
  height: 20%;
  background: linear-gradient(180deg, transparent, rgba(142, 236, 207, 0.05) 25%, rgba(142, 236, 207, 0.58) 52%, rgba(255, 255, 255, 0.16) 54%, transparent 78%);
  filter: blur(0.2px);
  opacity: 0;
  pointer-events: none;
  transform: rotate(-4deg);
  animation: home-product-scan 5.8s ease-in-out infinite;
}

.hero-visual__nodes {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.hero-visual__nodes i {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: #49c8a4;
  box-shadow: 0 0 0 0 rgba(73, 200, 164, 0.34);
  animation: home-node-ping 3.2s ease-out infinite;
}

.hero-visual__nodes i:nth-child(1) { top: 32%; left: 25%; animation-delay: 0s; }
.hero-visual__nodes i:nth-child(2) { top: 47%; right: 27%; animation-delay: 0.8s; }
.hero-visual__nodes i:nth-child(3) { right: 16%; bottom: 30%; animation-delay: 1.6s; }
.hero-visual__nodes i:nth-child(4) { bottom: 22%; left: 39%; animation-delay: 2.4s; }

.hero-visual__rail li,
.hero-visual__rail li:last-child {
  position: relative;
  background: transparent;
  transition: background 260ms ease, color 260ms ease, transform 260ms ease;
}

.hero-visual__rail li.is-active {
  background: rgba(119, 229, 193, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.hero-visual__rail li.is-active::after {
  position: absolute;
  right: 0.42rem;
  bottom: 0.18rem;
  left: 0.42rem;
  height: 1px;
  background: rgba(143, 224, 199, 0.9);
  content: "";
}

.hero--commerce[data-home-tool] .hero-match {
  will-change: transform;
  box-shadow: 0 1.25rem 3.2rem rgba(6, 28, 21, 0.3);
}

.hero--commerce[data-home-tool] .hero-match-icon {
  animation: home-match-breathe 3.4s ease-in-out infinite;
}

@keyframes home-ambient-shift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 58%; }
}

@keyframes home-product-scan {
  0%, 16% { opacity: 0; transform: translateY(-15%) rotate(-4deg); }
  28% { opacity: 0.72; }
  72% { opacity: 0.46; }
  86%, 100% { opacity: 0; transform: translateY(680%) rotate(-4deg); }
}

@keyframes home-node-ping {
  0%, 24% { box-shadow: 0 0 0 0 rgba(73, 200, 164, 0.4); opacity: 0.82; }
  70%, 100% { box-shadow: 0 0 0 1.15rem rgba(73, 200, 164, 0); opacity: 1; }
}

@keyframes home-match-breathe {
  0%, 100% { box-shadow: 0 0 0 0.42rem rgba(35, 122, 102, 0.1); transform: scale(1); }
  50% { box-shadow: 0 0 0 0.72rem rgba(35, 122, 102, 0.035); transform: scale(1.035); }
}

@media (max-width: 70rem) {
  .hero--commerce[data-home-tool] .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--commerce[data-home-tool] .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 40rem) {
  .hero--commerce[data-home-tool] {
    padding-block: 2.25rem 3rem;
  }

  .hero--commerce[data-home-tool] .hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(2.05rem, 10vw, 2.7rem);
  }

  .hero--commerce[data-home-tool] .finder-panel { order: 4; }
  .hero--commerce[data-home-tool] .reference-search { order: 5; }
  .hero--commerce[data-home-tool] .hero-visual { order: 6; }

  .hero--commerce[data-home-tool] .hero-visual {
    aspect-ratio: 16 / 9.5;
  }

  .finder-progress {
    margin-bottom: 0.8rem;
  }

  .hero-visual__nodes i:nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--commerce[data-home-tool],
  .hero-visual__scan,
  .hero-visual__nodes i,
  .hero--commerce[data-home-tool] .hero-match-icon {
    animation: none !important;
  }

  .finder-progress span,
  .finder-control select,
  .hero-visual__rail li {
    transition: none !important;
  }
}

@media (min-width: 52.01rem) and (max-width: 74rem) {
  .model-page-header .page-actions {
    display: grid;
    width: min(100%, 42rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .model-page-header .page-actions .button {
    width: 100%;
    padding-inline: 0.9rem;
    justify-content: center;
    text-align: center;
  }

  .model-page-header .page-actions .button:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 74.01rem) {
  .model-page-header .page-header-grid--visual {
    align-items: center;
    column-gap: clamp(2rem, 4vw, 5rem);
    row-gap: 1.15rem;
    grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
    grid-template-areas:
      "media copy"
      "media actions";
  }

  .model-page-header .entity-header-media {
    width: 100%;
    max-width: none;
    margin: 0;
    grid-area: media;
  }

  .model-page-header .page-header-grid--visual > div:not(.page-actions) {
    grid-area: copy;
  }

  .model-page-header .page-actions {
    max-width: 62rem;
    align-items: stretch;
    justify-content: flex-start;
    justify-self: start;
    grid-area: actions;
  }
}

@media (min-width: 65.01rem) {
  .decision-card--part .guide-part-result {
    display: grid;
    grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr);
  }

  .decision-card--part .guide-part-result.has-repeated-visual {
    grid-template-columns: minmax(0, 1fr);
  }

  .decision-card--part .guide-part-result__media {
    min-height: 10rem;
    height: 100%;
  }
}

/* Help finder: fast in-page filtering without creating thin indexable URLs */
.help-filter-panel {
  position: relative;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  padding: clamp(1.15rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(79, 199, 167, 0.24);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(246, 171, 67, 0.2), transparent 18rem),
    radial-gradient(circle at 5% 110%, rgba(79, 199, 167, 0.2), transparent 20rem),
    linear-gradient(135deg, #103b31, #0d2c26 58%, #10251f);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1.25rem 3.5rem rgba(19, 56, 46, 0.16);
}

.help-filter-panel::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.025), 0 0 0 6rem rgba(255, 255, 255, 0.015);
  content: "";
  pointer-events: none;
}

.help-filter-panel > * {
  position: relative;
  z-index: 1;
}

.help-filter-panel__header {
  display: grid;
  margin-bottom: 1.15rem;
  align-items: end;
  gap: 1rem 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.42fr);
}

.help-filter-panel .eyebrow {
  color: #8fe5d1;
}

.help-filter-panel h2 {
  max-width: 18ch;
  margin: 0.25rem 0 0.45rem;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.help-filter-panel p {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.help-filter-panel__status {
  display: grid;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.95rem;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}

.help-filter-panel__status strong {
  color: #fff;
  font-size: 1rem;
}

.help-filter-panel__status span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1.45;
}

.help-filter-search {
  display: grid;
  min-height: 3.6rem;
  padding: 0.35rem 0.4rem 0.35rem 1rem;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: #fffefa;
  color: var(--brand-green-2);
  box-shadow: 0 0.85rem 2.2rem rgba(4, 22, 17, 0.18);
}

.help-filter-search > span {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.help-filter-search__icon svg {
  display: block;
  width: 1.08rem;
  height: 1.08rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
}

.help-filter-search input {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 650;
}

.help-filter-search input::placeholder {
  color: var(--text-muted);
  font-weight: 520;
}

.help-filter-search:focus-within {
  outline: 3px solid rgba(113, 224, 198, 0.35);
  outline-offset: 2px;
}

.help-filter-search button {
  min-height: 2.6rem;
  padding-inline: 0.9rem;
  border: 0;
  border-radius: 0.75rem;
  background: #e9f4ef;
  color: var(--brand-green-2);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.help-filter-chips {
  display: flex;
  margin-top: 0.85rem;
  padding-bottom: 0.15rem;
  flex-wrap: wrap;
  overflow: visible;
  gap: 0.5rem;
}

.help-filter-chips button {
  min-height: 2.25rem;
  padding: 0.45rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.help-filter-chips button:hover,
.help-filter-chips button:focus-visible {
  border-color: rgba(143, 229, 209, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.help-filter-chips button.is-active {
  border-color: #8fe5d1;
  background: #8fe5d1;
  color: #0d342a;
  box-shadow: 0 0.65rem 1.5rem rgba(79, 199, 167, 0.18);
}

.help-filter-empty {
  margin-top: 1rem !important;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(246, 171, 67, 0.28);
  border-radius: 0.85rem;
  background: rgba(246, 171, 67, 0.08);
  color: #fff !important;
}

.category-page-section .status-badge,
.brand-models-section .status-badge,
.brand-parts-section .status-badge {
  display: none;
}

.category-page-section .model-card > p,
.category-page-section .part-card > p,
.brand-models-section .model-card > p,
.brand-parts-section .part-card > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 52rem) {
  .help-filter-panel__header {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 32rem) {
  .help-filter-panel {
    margin-inline: -0.2rem;
    padding: 1rem;
    border-radius: 1.05rem;
  }

  .help-filter-search {
    padding-left: 0.8rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .help-filter-search button {
    grid-column: auto;
    width: auto;
    margin-top: 0;
  }
}

/* Exact compatible model codes */
.model-code-directory {
  margin-top: 1rem;
  border: 1px solid rgba(35, 122, 102, 0.17);
  border-radius: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(79, 199, 167, 0.1), transparent 15rem),
    #f8fbf8;
}

.model-code-directory > summary {
  display: grid;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.model-code-directory > summary::-webkit-details-marker {
  display: none;
}

.model-code-directory > summary::after {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-0.12rem);
  transition: transform 180ms var(--ease);
}

.model-code-directory > summary:hover,
.model-code-directory > summary:focus-visible {
  background: rgba(79, 199, 167, 0.1);
  color: var(--aqua-deep);
  outline: none;
}

.model-code-directory > summary:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(35, 122, 102, 0.45);
}

.model-code-directory > summary strong {
  display: grid;
  min-width: 2rem;
  height: 2rem;
  padding-inline: 0.55rem;
  border: 1px solid rgba(35, 122, 102, 0.2);
  border-radius: 999px;
  place-items: center;
  background: #fff;
  color: var(--aqua-deep);
  font-size: 0.76rem;
  box-shadow: 0 0.35rem 0.9rem rgba(25, 48, 40, 0.06);
}

.model-code-directory[open] > summary {
  border-bottom: 1px solid rgba(35, 122, 102, 0.13);
  background: rgba(79, 199, 167, 0.08);
}

.model-code-directory[open] > summary::after {
  transform: rotate(225deg) translate(-0.1rem, -0.1rem);
}

.model-code-directory__groups {
  display: grid;
  padding: 1rem;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.model-code-directory__groups section {
  min-width: 0;
}

.model-code-directory__groups h3 {
  margin: 0 0 0.55rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-code-directory__groups ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  list-style: none;
}

.model-code-directory__groups code {
  display: block;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(26, 48, 40, 0.1);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.86);
  color: #164c3f;
  font-size: 0.78rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

@media (max-width: 32rem) {
  .model-code-directory > summary {
    padding-inline: 0.8rem;
    gap: 0.55rem;
  }

  .model-code-directory__groups {
    padding: 0.8rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .model-code-directory__groups ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-code-directory > summary,
  .model-code-directory > summary::after {
    transition: none;
  }
}

/* Homepage product stage: one calm, functional animation and no decorative pings. */
.hero--commerce[data-home-tool] .hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 28rem;
  aspect-ratio: 1.24 / 1;
  border: 1px solid rgba(17, 83, 65, 0.24);
  border-radius: 1.55rem;
  background-color: #dce8e1;
  background-image: none;
  background-position: center;
  background-size: cover;
  box-shadow: 0 2.1rem 4.8rem rgba(21, 57, 46, 0.17), 0 0 0 0.42rem rgba(255, 255, 255, 0.58);
  transform: none;
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.hero--commerce[data-home-tool] .hero-visual__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero--commerce[data-home-tool] .hero-visual:hover {
  border-color: rgba(17, 83, 65, 0.34);
  box-shadow: 0 2.35rem 5.25rem rgba(21, 57, 46, 0.2), 0 0 0 0.42rem rgba(255, 255, 255, 0.68);
  transform: none;
}

.hero--commerce[data-home-tool] .hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(5, 31, 23, 0.025), transparent 55%, rgba(5, 31, 23, 0.2));
  content: "";
  pointer-events: none;
}

.hero--commerce[data-home-tool] .hero-visual::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: inherit;
  background: none;
  content: "";
  pointer-events: none;
}

.hero--commerce[data-home-tool] .hero-visual__scan {
  position: absolute;
  z-index: 2;
  top: 9%;
  right: 5%;
  left: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115, 222, 189, 0.1) 18%, rgba(198, 255, 237, 0.78) 50%, rgba(115, 222, 189, 0.1) 82%, transparent);
  box-shadow: 0 0 0.9rem rgba(104, 210, 178, 0.18);
  filter: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  animation: hero-reference-sweep 10s cubic-bezier(0.42, 0, 0.34, 1) infinite;
}

.hero--commerce[data-home-tool] .hero-visual__rail {
  z-index: 4;
  top: 0.95rem;
  left: 0.95rem;
  padding: 0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(252, 253, 249, 0.92);
  box-shadow: 0 0.75rem 1.8rem rgba(11, 42, 33, 0.14);
  backdrop-filter: blur(9px) saturate(110%);
}

.hero--commerce[data-home-tool] .hero-visual__rail li,
.hero--commerce[data-home-tool] .hero-visual__rail li:last-child {
  padding: 0.45rem 0.62rem;
  background: transparent;
  color: #486158;
  transform: none;
}

.hero--commerce[data-home-tool] .hero-visual__rail span {
  color: #1f7d65;
}

.hero--commerce[data-home-tool] .hero-visual__rail li.is-active {
  background: #175f4d;
  color: #fff;
  transform: none;
}

.hero--commerce[data-home-tool] .hero-visual__rail li.is-active span {
  color: #a8ead5;
}

.hero--commerce[data-home-tool] .hero-visual__rail li.is-active::after {
  display: none;
}

.hero-visual__dock {
  position: absolute;
  z-index: 4;
  right: 0.9rem;
  bottom: 0.9rem;
  left: 0.9rem;
  display: grid;
  padding: 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.05rem;
  align-items: center;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(8, 42, 32, 0.94);
  box-shadow: 0 1.1rem 2.8rem rgba(5, 27, 20, 0.24);
}

.hero--commerce[data-home-tool] .hero-match {
  position: static;
  width: auto;
  padding: 0.5rem 0.62rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  backdrop-filter: none;
  transform: none;
  transition: none;
  will-change: auto;
}

.hero--commerce[data-home-tool] .hero-match strong {
  color: #fff;
}

.hero--commerce[data-home-tool] .hero-match small {
  color: rgba(255, 255, 255, 0.7);
}

.hero--commerce[data-home-tool] .hero-match-icon {
  width: 2.05rem;
  height: 2.05rem;
  background: #62cfad;
  box-shadow: none;
  color: #08372b;
  animation: none;
}

.hero--commerce[data-home-tool] .hero-source {
  position: static;
  padding: 0.52rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: none;
  white-space: nowrap;
}

.hero--commerce[data-home-tool] .hero-source span {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  place-items: center;
  background: #62cfad;
  box-shadow: none;
  color: #08372b;
  font-size: 0.68rem;
  font-weight: 900;
  animation: none;
}

@keyframes hero-reference-sweep {
  0%, 38% { opacity: 0; transform: translateY(0); }
  44% { opacity: 0.32; }
  62% { opacity: 0.22; transform: translateY(22rem); }
  68%, 100% { opacity: 0; transform: translateY(22rem); }
}

@media (max-width: 70rem) {
  .hero--commerce[data-home-tool] .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 40rem) {
  .nav-dropdown.is-open {
    max-height: min(52svh, 25rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .nav-dropdown .dropdown-link {
    min-height: 2.75rem;
    padding: 0.62rem 0.75rem;
  }

  .nav-dropdown .dropdown-link small {
    display: none;
  }

  .hero--commerce[data-home-tool] .hero-visual {
    aspect-ratio: 16 / 9.7;
    border-radius: 1.15rem;
  }

  .hero--commerce[data-home-tool] .hero-visual__scan {
    display: none;
  }

  .hero--commerce[data-home-tool] .hero-visual__rail {
    top: 0.62rem;
    left: 0.62rem;
  }

  .hero-visual__dock {
    right: 0.62rem;
    bottom: 0.62rem;
    left: 0.62rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--commerce[data-home-tool] .hero-source {
    display: none;
  }

  .hero--commerce[data-home-tool] .hero-match {
    padding: 0.35rem 0.42rem;
  }

  .parts-band__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-columns: auto;
    grid-auto-flow: row;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .part-family-shortcut {
    min-width: 0;
    scroll-snap-align: none;
  }
}

@media (max-width: 23.5rem) {
  .parts-band__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--commerce[data-home-tool] .hero-visual,
  .hero--commerce[data-home-tool] .hero-visual__scan {
    animation: none !important;
    transition: none !important;
  }
}

/* Evidence occupies the full row when there is no documented incompatibility. */
.model-support-grid.model-support-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

/* Final commerce hierarchy: product Buy Boxes lead; Amazon searches stay secondary. */
.button--merchant[data-amazon-link-type="search"],
.btn--merchant[data-amazon-link-type="search"] {
  min-height: 2.75rem;
  border-color: rgba(24, 105, 84, 0.24);
  background: rgba(255, 254, 250, 0.98);
  color: var(--brand-green);
  box-shadow: 0 0.45rem 1.2rem rgba(19, 67, 54, 0.08);
}

.button--merchant[data-amazon-link-type="search"]:hover,
.button--merchant[data-amazon-link-type="search"]:focus-visible,
.btn--merchant[data-amazon-link-type="search"]:hover,
.btn--merchant[data-amazon-link-type="search"]:focus-visible {
  border-color: rgba(24, 105, 84, 0.46);
  background: rgba(232, 246, 240, 0.98);
  color: #123d31;
  box-shadow: 0 0.65rem 1.5rem rgba(19, 67, 54, 0.12);
}

.button--merchant[data-amazon-link-type="search"] > span:last-child,
.btn--merchant[data-amazon-link-type="search"] > span:last-child {
  background: rgba(31, 116, 93, 0.1);
}

.part-hero-commerce[data-amazon-link-type="search"] {
  max-width: 29rem;
}

/* The homepage stays a product finder rather than a wall of article imagery. */
.home-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-guide-grid .guide-media {
  display: none;
}

.home-guide-grid .guide-card {
  display: flex;
  min-height: 14rem;
  padding: 1.15rem;
  flex-direction: column;
}

.home-guide-grid .guide-card > * {
  grid-column: auto;
  grid-row: auto;
}

.home-guide-grid .guide-card .card-link {
  margin-top: auto;
}

@media (max-width: 52rem) {
  .home-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-guide-grid .guide-card {
    min-height: 0;
  }
}

@media (max-width: 40rem) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .category-card {
    min-height: 10.5rem;
    padding: 0.85rem;
    gap: 0.7rem;
    border-radius: 1rem;
  }

  .category-card__icon {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.75rem;
  }

  .category-card__icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .category-card h3 {
    font-size: 0.95rem;
  }

  .category-card p,
  .category-card__coverage {
    display: none;
  }

  .category-card .card-link {
    margin-top: auto;
    font-size: 0.76rem;
  }
}

/* Accessible progressive directories: keep every link in the HTML while limiting visual overload. */
.part-card-actions {
  display: grid;
  margin-top: auto;
  padding-top: 1rem;
  gap: 0.55rem;
}

.part-card-actions .part-card-merchant {
  width: 100%;
  min-height: 2.85rem;
  order: 1;
  justify-content: space-between;
  font-size: 0.84rem;
}

.part-card-actions .card-link {
  min-height: 2.55rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(35, 122, 102, 0.18);
  border-radius: 0.7rem;
  order: 2;
  justify-content: center;
  background: rgba(255, 254, 250, 0.82);
}

.part-card-merchant-note {
  margin: 0;
  order: 3;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.progressive-list-actions {
  display: flex;
  margin-top: clamp(1rem, 2.4vw, 1.6rem);
  justify-content: center;
}

.progressive-list-actions[hidden],
.progressive-list-button[hidden],
.is-progressive-grid > [hidden] {
  display: none !important;
}

.progressive-list-button {
  width: min(100%, 30rem);
  min-height: 3rem;
  border-color: rgba(35, 122, 102, 0.28);
  background: rgba(255, 254, 250, 0.96);
  color: var(--aqua-deep);
  box-shadow: 0 0.65rem 1.8rem rgba(23, 74, 59, 0.09);
}

.progressive-list-button:hover,
.progressive-list-button:focus-visible {
  border-color: rgba(35, 122, 102, 0.48);
  background: #edf8f3;
  color: #103f32;
}

.catalog-link-directory {
  margin-top: 1rem;
  border: 1px solid rgba(35, 122, 102, 0.18);
  border-radius: 1rem;
  background: rgba(255, 254, 250, 0.76);
  box-shadow: 0 0.55rem 1.6rem rgba(23, 74, 59, 0.05);
}

.catalog-link-directory summary {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: var(--aqua-deep);
  font-weight: 750;
  cursor: pointer;
}

.catalog-link-directory summary::marker {
  color: var(--brand-green-2);
}

.catalog-link-directory summary small {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 550;
}

.catalog-link-directory ul,
.catalog-link-directory__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  margin: 0;
  padding: 0.2rem 1rem 1rem;
  list-style: none;
}

.catalog-link-directory li {
  min-width: 0;
}

.catalog-link-directory a {
  position: relative;
  display: block;
  max-width: 100%;
  padding: 0.2rem 0 0.2rem 0.8rem;
  overflow-wrap: anywhere;
  color: var(--aqua-deep);
  font-size: 0.84rem;
  text-underline-offset: 0.18em;
}

.catalog-link-directory__links > a::before {
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--brand-mint);
  content: "";
}

.catalog-link-directory a:hover,
.catalog-link-directory a:focus-visible {
  color: var(--brand-green-2);
}

@media (max-width: 64rem) {
  .catalog-link-directory ul,
  .catalog-link-directory__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .catalog-link-directory summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .catalog-link-directory ul,
  .catalog-link-directory__links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep catalogue pages crawlable while deferring paint work for off-screen cards. */
.model-card,
.part-card,
.guide-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

/* One representative image per repeated visual group is enough for scanability. */
.model-part-result.has-repeated-visual {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
}

.model-part-result.has-repeated-visual .model-part-media,
.help-index-section .guide-card.has-repeated-visual .guide-media {
  display: none;
}

/* Compatible-part lists use one compact reference thumbnail instead of a
   dominant half-card image. Repeated category artwork remains hidden, and the
   one-column modifier above prevents an empty media gutter on those cards. */
.model-part-result {
  min-height: 0;
  grid-template-columns: minmax(9rem, 11.5rem) minmax(0, 1fr);
  align-items: start;
}

.model-part-result .model-part-media {
  width: auto;
  height: 9.75rem;
  min-height: 0;
  margin: 1rem 0 1rem 1rem;
  border: 1px solid rgba(26, 48, 40, 0.1);
  border-radius: 0.85rem;
  aspect-ratio: auto;
  background: linear-gradient(145deg, #f8f6f0, #edf5f1);
  align-self: start;
}

.model-part-result .model-part-media img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

.model-part-result:hover .model-part-media img {
  transform: none;
}

@media (max-width: 46rem) {
  .model-part-result:not(.has-repeated-visual) {
    grid-template-columns: minmax(0, 1fr);
  }

  .model-part-result .model-part-media {
    width: auto;
    height: clamp(7.5rem, 34vw, 9.5rem);
    margin: 0.75rem 0.75rem 0;
    border-right: 1px solid rgba(26, 48, 40, 0.1);
    border-bottom: 1px solid rgba(26, 48, 40, 0.1);
  }
}

/* Ensure fine print reaches WCAG AA on the warm paper surfaces. */
.finder-status,
.search-help,
.source-date,
.part-result-facts dt,
.model-part-merchant small,
.commerce-part-card__merchant small {
  color: var(--text-muted);
}

/* The help directory is a diagnostic tool, not an uneven photo wall. Keep the
   full illustrations on guide detail pages and use a compact, consistent
   decision-card layout in the searchable directory. */
.help-index-section [data-guide-grid] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.help-index-section .guide-card {
  display: flex;
  min-height: 15.5rem;
  padding: 1.2rem 1.2rem 1.1rem;
  flex-direction: column;
  content-visibility: auto;
  contain-intrinsic-size: auto 15.5rem;
  border-radius: 1.05rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 122, 102, 0.11), transparent 10rem),
    linear-gradient(145deg, rgba(255, 254, 250, 0.99), rgba(247, 250, 246, 0.98));
}

.help-index-section .guide-media {
  display: none;
}

.help-index-section .guide-card .card-header {
  min-height: 1.65rem;
  margin-bottom: 0.8rem;
}

.help-index-section .guide-card .eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 1.65rem;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(35, 122, 102, 0.16);
  border-radius: 999px;
  background: rgba(230, 245, 238, 0.88);
  color: #176451;
  letter-spacing: 0.08em;
}

.help-index-section .guide-card > h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.13;
  text-wrap: balance;
}

.help-index-section .guide-card > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.help-index-section .guide-card > .card-link {
  display: inline-flex;
  width: fit-content;
  min-height: 2.4rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.9rem;
  font-weight: 800;
}

@media (min-width: 112rem) {
  .help-index-section [data-guide-grid] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 68rem) {
  .help-index-section [data-guide-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .help-index-section [data-guide-grid] {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-index-section .guide-card {
    min-height: 0;
    padding: 1rem;
  }
}

@media (max-width: 52rem) {
  /* The table of contents must precede a long troubleshooting guide on small screens. */
  .guide-aside {
    position: static;
    order: -1 !important;
  }

  .guide-aside .toc {
    padding: 0.85rem;
  }

  .guide-aside .toc ol,
  .guide-aside .toc ul {
    gap: 0.25rem;
  }

  .guide-aside .toc a {
    min-height: 2.5rem;
    padding: 0.55rem 0.65rem;
  }
}

/* Accessibility hardening: a consistent keyboard ring survives component overrides. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.reference-search > summary:focus-visible,
.brand-selector-list button:focus-visible,
.model-code-directory > summary:focus-visible {
  outline: 3px solid #0d6f59 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px rgba(255, 254, 250, 0.96) !important;
}

.site-header :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible,
.help-filter-panel :where(input, button):focus-visible {
  outline-color: #8fe5d1 !important;
  box-shadow: 0 0 0 2px rgba(9, 42, 32, 0.9) !important;
}

/* The search field is one composite control: keep a single rounded focus ring
   on its wrapper instead of drawing a second square ring inside the field. */
.help-filter-panel .help-filter-search input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* The homepage reference finder is also a composite field. Its rounded shell
   carries input focus, avoiding the square inner ring previously drawn by the
   global keyboard-focus rule. */
.search-panel--reference .search-box input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.search-panel--reference .search-box:focus-within {
  border-color: rgba(35, 122, 102, 0.75);
  outline: 3px solid rgba(35, 122, 102, 0.4);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px rgba(255, 254, 250, 0.96);
}

.search-panel--reference .search-box:has(button:focus-visible) {
  border-color: rgba(26, 48, 40, 0.14);
  outline: none;
  box-shadow: none;
}

.help-filter-panel .help-filter-search:focus-within {
  border-color: rgba(143, 229, 209, 0.88);
  outline: 3px solid rgba(143, 229, 209, 0.72);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px rgba(9, 42, 32, 0.9), 0 0.85rem 2.2rem rgba(4, 22, 17, 0.18);
}

/* When the dedicated clear button is focused, its own ring identifies the
   active control; the group ring would otherwise create another double frame. */
.help-filter-panel .help-filter-search:has(button:focus-visible) {
  border-color: rgba(255, 255, 255, 0.18);
  outline: none;
  box-shadow: 0 0.85rem 2.2rem rgba(4, 22, 17, 0.18);
}

/* A dedicated clear button is already present, so the browser's second cross
   would duplicate the action and compress the input on narrow screens. */
.help-filter-search input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Trust and commerce notices remain readable without relying on browser zoom. */
.trust-badge,
.evidence-badge,
.status-badge,
.badge {
  font-size: 0.8rem;
}

.finder-assurance,
.hero-source,
.hero-match small,
.brand-facts span,
.result-total,
.fit-badge {
  font-size: 0.76rem;
}

.model-part-merchant small,
.commerce-part-card__merchant small,
.part-card-merchant-note,
.part-hero-commerce small,
.decision-card__merchant-note,
.guide-part-result__note,
.footer-affiliate-disclosure,
.merchant-disclosure-link {
  font-size: 0.76rem;
  line-height: 1.5;
}

.visual-disclosure {
  font-size: 0.7rem;
  line-height: 1.15;
}

/* Compact intent blocks turn verified references into useful, page-specific answers. */
.model-layout > .longtail-intent {
  grid-column: 1 / -1;
}

.longtail-intent {
  overflow: hidden;
  border-color: rgba(22, 118, 92, 0.2);
  background:
    radial-gradient(circle at 100% 0, rgba(65, 193, 157, 0.12), transparent 32%),
    linear-gradient(135deg, #fffefa 0%, #f4fbf8 100%);
}

.longtail-intent > h2 {
  max-width: 48rem;
  margin-bottom: 1.1rem;
}

.longtail-intent__answers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0.8rem;
  margin: 0;
}

.longtail-intent__answers > div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(21, 71, 57, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
}

.longtail-intent__answers dt {
  margin-bottom: 0.45rem;
  color: var(--ink, #102c24);
  font-weight: 800;
  line-height: 1.3;
}

.longtail-intent__answers dd {
  margin: 0;
  color: var(--muted, #526760);
  line-height: 1.65;
}

.part-purchase-panel {
  border-color: rgba(220, 138, 35, 0.3);
  background: linear-gradient(135deg, #fffdf7 0%, #fff5e8 100%);
}

.part-purchase-panel .part-hero-buy {
  width: min(100%, 28rem);
  margin-top: 0.4rem;
}

.part-purchase-panel > small {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.45;
}

.part-result-reference-only {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(21, 71, 57, 0.16);
  border-radius: 0.65rem;
  background: rgba(243, 248, 245, 0.9);
  color: var(--ink, #102c24);
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
}

/* The narrowest supported view is fluid: no two-column card can force overflow. */
@media (max-width: 22.5rem) {
  .grid--2,
  .grid--3,
  .grid--4,
  .auto-grid,
  .card-grid,
  .model-grid,
  .part-grid,
  .guide-grid,
  .commerce-part-grid,
  .home-guide-grid,
  .category-grid,
  .finder-grid,
  .parts-band__inner,
  .consent-panel__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .longtail-intent__answers {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual__dock {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-filter-search {
    padding-left: 0.4rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .help-filter-search > span {
    display: none;
  }

  .help-filter-search button {
    grid-column: auto;
    width: auto;
    margin-top: 0;
  }
}

/* Mobile performance: retain the visual hierarchy without continuously repainting
   large translucent surfaces while the user scrolls. Desktop motion is unchanged. */
@media (max-width: 52rem), (pointer: coarse) {
  :root {
    --shadow-card: 0 0.55rem 1.45rem rgba(25, 49, 41, 0.075);
    --shadow-card-hover: var(--shadow-card);
  }

  .site-header {
    background: rgba(255, 254, 250, 0.985);
    box-shadow: 0 0.35rem 1.25rem rgba(30, 48, 40, 0.07);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-scrolled {
    box-shadow: 0 0.45rem 1.4rem rgba(30, 48, 40, 0.085);
  }

  .site-header::after {
    box-shadow: none;
    transition: none;
  }

  .hero--commerce::before,
  .hero--commerce[data-home-tool],
  .hero--commerce[data-home-tool] .hero-visual__scan,
  .hero--commerce[data-home-tool] .hero-visual__nodes i,
  .hero--commerce[data-home-tool] .hero-match-icon,
  .hero-source span {
    animation: none !important;
  }

  .hero--commerce[data-home-tool] {
    background-position: 50% 50%;
  }

  .hero--commerce[data-home-tool] .hero-visual,
  .hero--commerce[data-home-tool] .finder-panel--model,
  .help-filter-panel {
    box-shadow: 0 0.85rem 2.2rem rgba(21, 57, 46, 0.11);
  }

  .hero--commerce[data-home-tool] .hero-visual__rail,
  .help-filter-panel__status,
  .consent-panel,
  .hero-match,
  .hero-source,
  .process-list,
  .visual-disclosure {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero--commerce[data-home-tool] .hero-visual__rail {
    background: rgba(252, 253, 249, 0.98);
  }

  .help-filter-panel__status {
    background: rgba(255, 255, 255, 0.085);
  }

  .motion-ready .reveal-item,
  .motion-ready .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .detail-sidebar {
    position: static;
    top: auto;
  }

  .model-card,
  .part-card,
  .guide-card,
  .help-index-section .guide-card {
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .model-card img,
  .part-card img,
  .guide-card img,
  .model-part-result,
  .compatibility-item {
    transition: none;
  }

  .hero--commerce ~ .section {
    content-visibility: auto;
    contain-intrinsic-size: auto 56rem;
  }
}

/* Homepage confidence pass: the finder leads, proof stays factual and the
   product image supports the task without decorative scanning effects. */
.hero--commerce[data-home-tool] {
  padding-block: clamp(3.25rem, 5.6vw, 5.25rem);
  background:
    radial-gradient(circle at 9% 18%, rgba(67, 184, 149, 0.13), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(239, 121, 89, 0.1), transparent 25rem),
    linear-gradient(135deg, #f1f7f3 0%, #fffefb 52%, #fbf3ed 100%);
}

.hero--commerce[data-home-tool]::after {
  opacity: 0.16;
}

.hero--commerce[data-home-tool] .hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(25rem, 0.94fr);
  gap: clamp(2.4rem, 5vw, 5rem);
}

.hero--commerce[data-home-tool] .hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, 3.45vw, 3.55rem);
  line-height: 0.99;
  letter-spacing: -0.05em;
}

.hero--commerce[data-home-tool] .hero-copy .lead {
  max-width: 42rem;
  margin-bottom: 1.15rem;
  color: #4f625a;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
}

.home-trust-metrics {
  display: grid;
  max-width: 42rem;
  margin: 0 0 1rem;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(26, 79, 62, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0.55rem 1.8rem rgba(24, 58, 46, 0.045);
  overflow: hidden;
}

.home-trust-metrics > div {
  min-width: 0;
  padding: 0.72rem 0.85rem;
  border-right: 1px solid rgba(26, 79, 62, 0.1);
}

.home-trust-metrics > div:last-child {
  border-right: 0;
}

.home-trust-metrics dt {
  margin: 0 0 0.1rem;
  color: #155e4b;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.1;
}

.home-trust-metrics dd {
  margin: 0;
  color: #64736d;
  font-size: 0.67rem;
  font-weight: 680;
  line-height: 1.35;
}

.hero--commerce[data-home-tool] .finder-panel--model {
  border-color: rgba(24, 91, 71, 0.18);
  border-radius: 1.2rem;
  box-shadow: 0 1.35rem 3.6rem rgba(21, 57, 46, 0.1);
}

.hero--commerce[data-home-tool] .hero-visual {
  aspect-ratio: 3 / 2;
  border-color: rgba(17, 83, 65, 0.17);
  border-radius: 1.35rem;
  box-shadow: 0 1.7rem 4.25rem rgba(21, 57, 46, 0.15), 0 0 0 0.3rem rgba(255, 255, 255, 0.58);
}

.hero--commerce[data-home-tool] .hero-visual__image {
  object-fit: cover;
  object-position: center;
}

.hero--commerce[data-home-tool] .hero-visual::before {
  background: linear-gradient(180deg, transparent 54%, rgba(5, 31, 23, 0.22));
}

.hero--commerce[data-home-tool] .hero-visual__scan,
.hero--commerce[data-home-tool] .hero-visual__rail {
  display: none;
  animation: none;
}

.hero--commerce[data-home-tool] .hero-visual__dock {
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.38rem;
  border-radius: 0.9rem;
  background: rgba(8, 42, 32, 0.93);
  box-shadow: 0 0.8rem 2rem rgba(5, 27, 20, 0.2);
}

.hero--commerce[data-home-tool] .hero-match {
  padding: 0.42rem 0.52rem;
}

.hero--commerce[data-home-tool] .hero-match-icon {
  width: 1.85rem;
  height: 1.85rem;
}

.hero--commerce[data-home-tool] .hero-source {
  font-size: 0.68rem;
}

.home-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 70rem) {
  .hero--commerce[data-home-tool] .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--commerce[data-home-tool] .hero-copy,
  .home-trust-metrics {
    max-width: 54rem;
  }

  .hero--commerce[data-home-tool] .hero-visual {
    width: min(100%, 54rem);
  }
}

@media (max-width: 40rem) {
  .hero--commerce[data-home-tool] {
    padding-block: 2.15rem 2.75rem;
  }

  .hero--commerce[data-home-tool] .hero-grid {
    display: grid;
    gap: 1rem;
  }

  .hero--commerce[data-home-tool] .hero-copy > .eyebrow { order: 1; }
  .hero--commerce[data-home-tool] .hero-copy > h1 { order: 2; }
  .hero--commerce[data-home-tool] .hero-copy > .lead { order: 3; }
  .hero--commerce[data-home-tool] .home-trust-metrics { order: 4; }
  .hero--commerce[data-home-tool] .finder-panel { order: 5; }
  .hero--commerce[data-home-tool] .hero-visual { order: 6; }
  .hero--commerce[data-home-tool] .reference-search { order: 7; }

  .hero--commerce[data-home-tool] .hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(2rem, 8.4vw, 2.55rem);
    line-height: 1.02;
  }

  .home-trust-metrics {
    margin-bottom: 0.25rem;
    border-radius: 0.85rem;
  }

  .home-trust-metrics > div {
    padding: 0.62rem 0.5rem;
  }

  .home-trust-metrics dt {
    font-size: 0.98rem;
  }

  .home-trust-metrics dd {
    font-size: 0.67rem;
  }

  .hero--commerce[data-home-tool] .hero-visual {
    aspect-ratio: 3 / 2;
  }

  .hero--commerce[data-home-tool] .hero-visual__dock {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--commerce[data-home-tool],
  .hero--commerce[data-home-tool] .hero-visual,
  .hero--commerce[data-home-tool] .hero-match-icon {
    animation: none !important;
    transition: none !important;
  }
}

/* Final visual integrity pass: card copy and accessory silhouettes remain
   fully visible at every breakpoint. Uneven card heights are preferable to
   hiding diagnostic information or cropping an accessory. */
.category-page-section .model-card > p,
.category-page-section .part-card > p,
.brand-models-section .model-card > p,
.brand-parts-section .part-card > p,
.help-index-section .guide-card > p,
.category-card p {
  display: block;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: initial;
}

figure[data-visual-type="category-illustration"] {
  background: linear-gradient(145deg, #f7f3eb, #eaf3ef);
}

figure[data-visual-type="category-illustration"] img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

.hero--commerce[data-home-tool] .hero-visual {
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: linear-gradient(145deg, #e9efe9, #f6f0e7);
}

.hero--commerce[data-home-tool] .hero-visual__image {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(145deg, #e9efe9, #f6f0e7);
}

.guide-part-result.has-repeated-visual .guide-part-result__media {
  display: none;
}

@media (max-width: 40rem) {
  body::before {
    display: none;
  }

  .hero--commerce ~ .section {
    content-visibility: auto;
    contain-intrinsic-size: auto 56rem;
  }
}

@media (min-width: 40.01rem) and (max-width: 52rem) {
  .model-page-header .entity-header-media,
  .guide-page-header .entity-header-media {
    width: min(100%, 30rem);
    max-width: 30rem;
    max-height: 20rem;
  }
}

/* A compact, useful path from every appliance category to its diagnostics.
   Links stay text-first so this section improves discovery without another
   heavy image grid or decorative block. */
.category-selection-guide {
  display: grid;
  margin: 1.1rem 0 clamp(2.2rem, 5vw, 4rem);
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(24, 105, 82, 0.18);
  border-radius: 1.25rem;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  background:
    radial-gradient(circle at 4% 0, rgba(79, 199, 167, 0.12), transparent 18rem),
    linear-gradient(145deg, rgba(255, 254, 250, 0.99), rgba(242, 248, 244, 0.98));
  box-shadow: 0 0.7rem 1.8rem rgba(23, 67, 54, 0.055);
}

.category-selection-guide__intro h2 {
  max-width: 23ch;
  margin: 0.25rem 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.category-selection-guide__intro > p:last-child,
.category-selection-guide__checks p,
.category-selection-guide__note {
  color: var(--ink-soft);
  line-height: 1.65;
}

.category-selection-guide__checks {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.category-selection-guide__checks li {
  display: grid;
  min-width: 0;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(25, 90, 71, 0.12);
  border-radius: 0.82rem;
  align-items: start;
  gap: 0.7rem;
  grid-template-columns: auto minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.72);
}

.category-selection-guide__checks li > span {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.62rem;
  place-items: center;
  background: rgba(34, 139, 107, 0.12);
  color: var(--brand-green-2);
  font-size: 0.7rem;
  font-weight: 850;
}

.category-selection-guide__checks strong {
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.category-selection-guide__checks p {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
}

.category-selection-guide__note {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--brand-mint);
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

@media (max-width: 52rem) {
  .category-selection-guide {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-selection-guide__intro h2 {
    max-width: none;
  }

  .nav-dropdown .dropdown-link small {
    display: none;
  }
}

.category-diagnostics {
  margin: 0 0 clamp(2.8rem, 6vw, 5rem);
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(24, 105, 82, 0.18);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0, rgba(70, 193, 157, 0.13), transparent 24rem),
    linear-gradient(135deg, rgba(255, 254, 250, 0.98), rgba(241, 249, 245, 0.96));
  box-shadow: 0 0.75rem 2rem rgba(23, 67, 54, 0.065);
}

.category-diagnostics .section-heading {
  margin-bottom: 1rem;
}

.category-diagnostic-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.category-diagnostic-links > a {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.18rem 0.8rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(25, 90, 71, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.76);
  color: var(--aqua-deep);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.category-diagnostic-links > a span {
  grid-column: 1;
  color: var(--brand-green-2);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.category-diagnostic-links > a strong {
  min-width: 0;
  grid-column: 1;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  line-height: 1.35;
}

.category-diagnostic-links > a b {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--brand-green-2);
  font-size: 1rem;
  transition: transform 160ms ease;
}

.category-diagnostic-links > a:hover,
.category-diagnostic-links > a:focus-visible {
  border-color: rgba(25, 126, 96, 0.38);
  background: #fff;
  transform: translateY(-1px);
}

.category-diagnostic-links > a:hover b,
.category-diagnostic-links > a:focus-visible b {
  transform: translateX(0.18rem);
}

.category-diagnostic-directory {
  margin-top: 0.75rem;
  box-shadow: none;
}

@media (max-width: 52rem), (pointer: coarse) {
  .category-diagnostic-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-diagnostic-links > a {
    transition: none;
  }

  .category-diagnostic-links > a:hover,
  .category-diagnostic-links > a:focus-visible {
    transform: none;
  }
}

/* Guide introductions — restrained editorial measure and hierarchy */
.guide-content > .guide-overview {
  min-width: 0;
  padding: clamp(1.4rem, 2.6vw, 2.15rem) clamp(1.2rem, 3.2vw, 2.5rem);
  border-color: rgba(23, 100, 81, 0.18);
  border-block-start: 3px solid rgba(35, 122, 102, 0.72);
  background:
    linear-gradient(135deg, rgba(35, 122, 102, 0.055), transparent 18rem),
    rgba(255, 254, 250, 0.98);
  box-shadow: 0 0.8rem 2.2rem rgba(30, 48, 40, 0.065);
  overflow: visible;
}

.guide-overview > p,
.guide-overview > .guide-overview__paragraph {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 0.955rem + 0.12vw, 1.04rem);
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.guide-overview > p + p,
.guide-overview > .guide-overview__paragraph + .guide-overview__paragraph {
  margin-top: clamp(0.9rem, 1.8vw, 1.2rem);
}

.guide-overview .guide-overview__lead {
  color: #40564e;
  font-size: clamp(1.02rem, 0.985rem + 0.18vw, 1.1rem);
  line-height: 1.72;
}

.guide-overview .guide-overview__first {
  color: #183d32;
  font-weight: 720;
}

@media (max-width: 40rem) {
  .guide-content > .guide-overview {
    padding: 1.15rem 1rem 1.25rem;
    border-block-start-width: 2px;
    border-radius: 0.95rem;
    box-shadow: 0 0.45rem 1.25rem rgba(30, 48, 40, 0.05);
  }

  .guide-overview > p,
  .guide-overview > .guide-overview__paragraph {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .guide-overview .guide-overview__lead {
    font-size: 1rem;
    line-height: 1.68;
  }
}

@media print {
  .guide-content > .guide-overview {
    border-color: #bbb !important;
    border-block-start-color: #555 !important;
    background: #fff !important;
    box-shadow: none;
  }

  .guide-overview .guide-overview__first {
    color: #111 !important;
  }
}

/* One manual In-Article unit on sufficiently complete, indexable guides only. */
.guide-ad-slot {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 17.25rem;
  margin: clamp(1.25rem, 2.8vw, 2rem) 0;
  padding: 0.65rem 0.75rem 0.75rem;
  border: 1px solid rgba(23, 100, 81, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 254, 250, 0.72);
  overflow: hidden;
}

.guide-ad-slot[hidden] {
  display: none !important;
}

.guide-ad-slot__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.guide-ad-slot > .adsbygoogle {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 15.5rem;
  text-align: center;
}

@media (max-width: 40rem) {
  .guide-ad-slot {
    min-height: 16.5rem;
    margin: 1.1rem 0;
    padding-inline: 0.4rem;
    border-radius: 0.8rem;
  }

  .guide-ad-slot > .adsbygoogle {
    min-height: 14.75rem;
  }
}

@media print {
  .guide-ad-slot {
    display: none !important;
  }
}

/* AdSense review pending: keep legacy generated slots invisible and request no
   ad until the site status is Ready. Remove this override when servingEnabled
   is switched on after approval. */
.guide-ad-slot {
  display: none !important;
}

/* Final mobile performance guard. Keep the same hierarchy while ensuring late
   desktop overrides cannot reintroduce large repainted shadows on touch devices. */
@media (max-width: 52rem), (pointer: coarse) {
  .site-header,
  .site-header.is-scrolled {
    position: relative;
    top: auto;
    background: #fffefa;
    box-shadow: 0 0.35rem 1.25rem rgba(30, 48, 40, 0.07);
    transition: none;
  }

  .site-header::after {
    opacity: 0.82;
    transform: scaleX(1);
    transition: none;
  }

  /* Painting whole homepage sections only when they enter the viewport creates
     a visible hitch during real touch scrolling. The homepage is small enough
     to paint once up front; catalogue cards keep their separate optimisations. */
  .hero--commerce[data-home-tool] ~ .section {
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .hero--commerce[data-home-tool] {
    background: linear-gradient(145deg, #f1f7f3 0%, #fffefb 58%, #fbf3ed 100%);
  }

  .hero--commerce[data-home-tool] .finder-panel--model,
  .hero--commerce[data-home-tool] .hero-visual,
  .home-trust-metrics {
    box-shadow: 0 0.55rem 1.45rem rgba(21, 57, 46, 0.075);
    transition: none;
  }

  .hero--commerce[data-home-tool] .hero-visual__dock {
    box-shadow: 0 0.45rem 1.2rem rgba(5, 27, 20, 0.16);
  }

  .finder-control select,
  .finder-submit,
  .hero--commerce[data-home-tool] .hero-match,
  .hero--commerce[data-home-tool] .hero-match-icon {
    transition: none;
  }
}
.source-unavailable {
  display: block;
  max-width: 65ch;
  padding: 0.65rem 0.8rem;
  color: #704511;
  background: #fff5df;
  border-left: 3px solid #b78130;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.source-unavailable > span { display: block; margin-top: 0.25rem; }

/* Exact manufacturer photographs and concise buying guidance. */
.product-key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.35rem 0 0;
}
.product-key-facts > div {
  padding: .85rem;
  background: rgba(255,255,255,.8);
  border: 1px solid #dce6df;
  border-radius: .75rem;
}
.product-key-facts dt { color: #53645c; font-size: .75rem; margin-bottom: .3rem; }
.product-key-facts dd { margin: 0; font-size: .9rem; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.model-device-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; width: 100%; }
.model-device-variants > p { grid-column: 1 / -1; font-size: .85rem; font-weight: 650; margin: 0 0 .2rem; }
.model-device-variants > small { grid-column: 1 / -1; }
.model-device-variants .button { justify-content: space-between; text-align: left; }
.model-device-variants .button small { display: block; color: inherit; font-weight: 400; font-size: .75rem; opacity: .9; }
.model-page-header .entity-header-media[data-visual-type="exact-product"],
.part-page-header .part-hero-media[data-visual-type="exact-product"],
.model-part-result .model-part-media[data-visual-type="exact-product"] { background: #fff; }
.model-page-header .entity-header-media[data-visual-type="exact-product"] img,
.part-page-header .part-hero-media[data-visual-type="exact-product"] img { object-fit: contain; padding: 1rem; }
.product-questions .longtail-intent__answers > div { padding-block: 1rem; }
.product-questions .longtail-intent__answers a { text-underline-offset: .18em; font-weight: 650; }
@media (max-width: 52rem) {
  .model-page-header .entity-header-media[data-visual-type="exact-product"],
  .part-page-header .part-hero-media[data-visual-type="exact-product"] {
    order: 0;
    width: 100%;
    max-width: 24rem;
    height: 12rem;
    max-height: 12rem;
    justify-self: center;
  }
}
@media (max-width: 46rem) {
  .model-device-variants { grid-template-columns: 1fr; }
  .product-key-facts { grid-template-columns: 1fr; gap: .45rem; }
  .product-key-facts > div { display: grid; grid-template-columns: 1fr 1.35fr; gap: .7rem; align-items: baseline; padding: .7rem; }
  .product-key-facts dt { margin: 0; }
  .model-device-variants .button { min-height: 3.2rem; }
}



/* Guide shopping navigation: exact parts remain separate from diagnosis. */
.guide-commerce-jump { margin-top: 1.35rem; }
.guide-commerce-jump > div { display: flex; flex-wrap: wrap; align-items:flex-start; gap: .75rem; }
.guide-commerce-jump .button { flex:0 1 auto; width:auto; max-width:100%; min-height:3.25rem; padding:.9rem 1.25rem; gap:.9rem; font-size:.95rem; white-space:normal; }
.guide-commerce-jump small { display: block; margin-top: .65rem; color: var(--text-soft); line-height: 1.5; }
.guide-aside .toc .toc-parts a { display: block; background: #e2f1e9; border: 1px solid #c5dfd3; border-radius: .65rem; color: #176750; font-weight: 750; padding: .75rem; }
.guide-decision__grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "repair professional" "part part"; }
.decision-card--part { padding: 1.35rem; background: #f0f6f1; border-top-color: #278c72; scroll-margin-top: 6.5rem; }
.decision-card--part .guide-part-results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.25rem; }
.decision-card--part .guide-part-result { display: flex; flex-direction: column; }
.decision-card--part .guide-part-result__media { display: block; height: 10rem; flex: none; }
.decision-card--part .guide-part-result__body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.decision-card--part .guide-part-result h4 { font-size: 1.08rem; line-height: 1.4; }
.decision-card--part .guide-part-result__actions { flex-direction: column; align-items: stretch; margin-top: auto; padding-top: 1rem; }
.decision-card--part .guide-part-result__actions .button { flex: none; width: 100%; min-height: 2.8rem; }
.decision-card--part .guide-part-result__actions .button--merchant { order: -1; }
.decision-card--part .guide-part-result.has-repeated-visual .guide-part-result__media { display: none; }
.decision-card--part .guide-part-results:has(> :only-child) { grid-template-columns: 1fr; }
@media(min-width:681px) {
 .decision-card--part .guide-part-result:only-child { display: grid; grid-template-columns: minmax(9rem, 30%) minmax(0, 1fr); }
 .decision-card--part .guide-part-result:only-child .guide-part-result__media { height: 100%; min-height: 12rem; }
}
@media(max-width:680px) {
 .guide-commerce-jump > div { flex-direction: column; }
 .guide-commerce-jump .button { width: auto; }
 .guide-decision__grid { grid-template-columns: 1fr; grid-template-areas: "repair" "part" "professional"; }
 .decision-card--part { padding: 1rem; }
 .decision-card--part .guide-part-results { grid-template-columns: 1fr; }
}

/* One Filterence brand, with explicit search universes. */
.brand__words{display:flex;flex-direction:column;gap:.25rem;line-height:1.05}.brand__words small{font-size:.59rem;line-height:1.25;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:#527166}.brand--automotive .brand__words small{color:#9d5938}.brand--automotive img{filter:none}
/* Every approved seller remains visible, including Amazon beside ManoMano. */
.merchant-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:.85rem;width:100%;min-width:0}
.merchant-option{display:flex;flex-direction:column;gap:.5rem;min-width:0}
.merchant-option>.button{width:100%;white-space:normal;text-align:center;min-height:48px;height:auto;font-size:.86rem;padding:.85rem;line-height:1.35}
.merchant-option>small{font-size:.74rem;line-height:1.5;color:#52665c;overflow-wrap:anywhere}
.part-hero-commerce .merchant-options{max-width:720px}
.part-hero-commerce .merchant-option:only-child>.button{width:min(100%,340px);align-self:flex-start}
.guide-part-result__actions .merchant-options{flex:0 0 auto;min-width:0;width:100%}
.guide-part-result__body,.guide-part-result__actions{min-width:0;max-width:100%}
.guide-part-result__actions .button{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}
.decision-card--part .guide-part-result__actions{flex-wrap:nowrap;align-self:stretch}
.decision-card--part .guide-part-result{min-width:0}
/* Cards adapt to their column width, including narrow desktop guide columns. */
.decision-card--part{container-type:inline-size}
@container(max-width:560px){.decision-card--part .guide-part-results{grid-template-columns:1fr}.decision-card--part .guide-part-result:only-child{display:flex}.decision-card--part .guide-part-result:only-child .guide-part-result__media{height:10rem;min-height:0}}
.model-part-merchant{width:100%}
.decision-card--part .guide-part-result:not(:has(.guide-part-result__media)){display:flex}
.decision-card--part .guide-part-results{align-items:start}
.decision-card--part .guide-part-result__actions{margin-top:0}
.search-return { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; margin-block:1rem; border:1px solid #c8ded5; border-radius:16px; background:#f0f7f3; }
.search-return > div { display:grid; gap:.2rem; min-width:0; }
.search-return > div > span { color:#52665e; font-size:.8rem; }
.search-return strong { font-size:.9rem; overflow-wrap:anywhere; }
.search-return .button { flex:none; width:auto; white-space:normal; text-align:center; min-height:44px; }
[data-model-finder],[data-category-finder] { scroll-margin-top:6rem; }
@media(max-width:640px) { .search-return { align-items:flex-start; flex-direction:column; gap:.75rem; padding:1rem; } .search-return .button { max-width:100%; } }
