/* MINICAR GARAGE Full UI / UX Renewal v1
   Mobile-first service layer. Existing catalog rules remain the fallback. */
:root {
  --ui-paper: #f7f6f1;
  --ui-white: #fff;
  --ui-ink: #19201d;
  --ui-muted: #66706b;
  --ui-green: #174d3e;
  --ui-green-dark: #0e342b;
  --ui-green-soft: #e5eee9;
  --ui-copper: #a86442;
  --ui-line: #d9ddd8;
  --ui-display: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ui-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  --ui-space-1: .25rem;
  --ui-space-2: .5rem;
  --ui-space-3: .75rem;
  --ui-space-4: 1rem;
  --ui-space-5: 1.5rem;
  --ui-space-6: 2rem;
  --ui-space-7: 3rem;
  --ui-space-8: 4.5rem;
  --ui-radius-sm: .5rem;
  --ui-radius: .85rem;
  --ui-radius-lg: 1.4rem;
  --ui-shadow: 0 14px 40px rgba(21, 35, 29, .08);
  --ui-container: 1320px;
  --ui-tap: 44px;
  --ui-bottom-nav: 68px;
  --ui-z-header: 50;
  --ui-z-nav: 80;
  --ui-z-sheet: 90;
  --ui-z-dialog: 100;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--ui-paper); color: var(--ui-ink); font-family: var(--ui-sans); font-size: 16px; line-height: 1.6; }
button, input, select { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #d28a5f; outline-offset: 3px;
}
.button, button, select, input { min-height: var(--ui-tap); }
.skip-link { z-index: 200; }
.local-banner { min-height: 24px; padding: 4px 16px; letter-spacing: .12em; }

.site-header {
  position: sticky; top: 0; z-index: var(--ui-z-header); max-width: none; min-height: 70px;
  padding: 0 max(20px, calc((100vw - var(--ui-container)) / 2)); border-bottom: 1px solid var(--ui-line);
  background: rgba(247, 246, 241, .94); backdrop-filter: blur(16px);
}
.wordmark { min-height: var(--ui-tap); display: flex; flex-direction: column; justify-content: center; font: 600 1.05rem/1 var(--ui-display); letter-spacing: .08em; }
.wordmark span { margin-top: .35rem; color: var(--ui-muted); font: 600 .52rem/1 var(--ui-sans); letter-spacing: .16em; }
.desktop-nav { gap: clamp(.8rem, 2vw, 2rem); }
.desktop-nav a { position: relative; min-height: var(--ui-tap); display: flex; align-items: center; font-size: .72rem; letter-spacing: .04em; }
.desktop-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--ui-green); content: ""; }
.nav-counts { gap: .35rem; }
.nav-counts a { min-height: var(--ui-tap); padding: .45rem .7rem; border-radius: 99px; background: var(--ui-white); }
.nav-counts span { display: inline-grid; min-width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 99px; background: var(--ui-green); color: white; }
.mobile-bottom-nav { display: none; }
footer a { min-height: var(--ui-tap); display: inline-flex; align-items: center; }
footer .legal-note { max-width: 72ch; font-size: .78rem; line-height: 1.8; }
.footer-primary { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.footer-primary a { font-size: .76rem; font-weight: 800; }

.kicker { color: var(--ui-green); font-weight: 800; letter-spacing: .15em; }
.page-hero { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero h1 { color: var(--ui-ink); font-family: var(--ui-display); letter-spacing: -.035em; }
.page-hero.dark h1 { color: white; }
.discovery-hero { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.discovery-hero h1 { margin-bottom: .75rem; }
.discovery-hero .breadcrumbs { margin-bottom: 1rem; }
.discovery-entry-links { margin-top: .65rem; display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.discovery-entry-links a { min-height: var(--ui-tap); display: inline-flex; align-items: center; color: var(--ui-green-dark); font-size: .76rem; font-weight: 800; }
.garage-hero .button { width: fit-content; margin-top: 1rem; }
.section-head { align-items: end; }
.section-head h2 { max-width: 18ch; color: var(--ui-ink); font-family: var(--ui-display); letter-spacing: -.03em; text-wrap: balance; }
.headline-line { display: block; white-space: nowrap; }

/* Home */
.home-hero { max-width: var(--ui-container); min-height: 560px; padding-top: clamp(3rem, 6vw, 5.5rem); gap: clamp(2rem, 6vw, 6rem); }
.home-hero h1 { max-width: 780px; color: var(--ui-ink); font-size: clamp(3.2rem, 7vw, 6.8rem); }
.home-hero h1 em { color: var(--ui-green); }
.home-hero > div > p:not(.kicker) { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.home-search > label { color: var(--ui-green); }
.home-search input { height: 58px; border-color: var(--ui-green-dark); border-radius: var(--ui-radius-sm) 0 0 var(--ui-radius-sm); font-size: 1rem; }
.home-search .button { height: 58px; }
.home-search .button:last-child { border-radius: 0 var(--ui-radius-sm) var(--ui-radius-sm) 0; }
.home-hero-catalog { min-height: 410px; padding: 1.2rem; border-radius: var(--ui-radius-lg); background: var(--ui-green-dark); box-shadow: var(--ui-shadow); }
.home-hero-catalog > .home-product-card { color: var(--ui-ink); border: 0; border-radius: var(--ui-radius); overflow: hidden; }
.home-hero-catalog > .home-product-card figure { height: 220px; }
.home-hero-catalog > .home-product-card .home-collection-trigger { display: none; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.6rem; }
.home-hero-actions > span { margin-left: .35rem; color: var(--ui-muted); font-size: .75rem; }
.home-hero-actions > span strong { color: var(--ui-ink); font-size: 1rem; }
.home-core-actions { width: 100%; max-width: var(--ui-container); margin: 0 auto; padding: 1rem 24px 4rem; }
.home-core-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.home-core-grid > a { min-width: 0; min-height: 230px; padding: 1.25rem; display: flex; flex-direction: column; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-core-grid > a:hover { border-color: #aebbb4; transform: translateY(-2px); box-shadow: var(--ui-shadow); }
.home-core-grid span { color: var(--ui-green); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.home-core-grid h3 { margin: .7rem 0 .45rem; font: 600 1.55rem var(--ui-display); }
.home-core-grid p { margin: 0; color: var(--ui-muted); font-size: .78rem; }
.home-core-grid strong { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--ui-line); font-size: .72rem; }
.quick-explore { max-width: var(--ui-container); margin: 0 auto; padding: 0 24px 2rem; display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: thin; }
.quick-explore a { flex: 0 0 auto; min-height: var(--ui-tap); padding: .65rem 1rem; display: flex; align-items: center; border: 1px solid var(--ui-line); border-radius: 99px; background: var(--ui-white); font-size: .76rem; font-weight: 800; }
.quick-explore a:hover { border-color: var(--ui-green); color: var(--ui-green); }
.home-section { max-width: var(--ui-container); }
.home-product-card, .home-taxonomy-card { border-color: var(--ui-line); border-radius: var(--ui-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.home-product-card figure, .home-taxonomy-card figure { padding: clamp(.65rem, 1.5vw, 1.1rem); background: var(--ui-white); box-shadow: inset 0 0 0 1px rgba(31,47,41,.07); }
.home-product-card figure img, .home-taxonomy-card figure img { object-fit: contain; object-position: center; }
.home-product-card:hover, .home-taxonomy-card:hover { transform: translateY(-3px); box-shadow: var(--ui-shadow); }
.home-product-card h3 { color: var(--ui-ink); }
.home-purchase { max-width: var(--ui-container); margin: 4rem auto; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 2rem; align-items: center; border-radius: var(--ui-radius-lg); background: var(--ui-green-dark); color: white; }
.home-purchase h2 { max-width: 12ch; margin: .15rem 0 .8rem; color: white; font: 400 clamp(2rem, 3.4vw, 3.2rem)/1.08 var(--ui-display); text-wrap: balance; }
.home-purchase p { margin: 0; color: #d7e2dd; }
.provider-list { display: grid; gap: .5rem; }
.provider-list span { padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; text-align: center; font-size: .75rem; }
.home-daily, .home-collection-note { border-radius: var(--ui-radius-lg); }
.home-collection-hub { width: calc(100% - 48px); max-width: var(--ui-container); margin: 4rem auto; padding: clamp(1.5rem,4vw,3rem); display: grid; grid-template-columns: minmax(0,1.5fr) auto; align-items: center; gap: 2rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); background: var(--ui-white); }
.home-collection-hub h2 { margin: .15rem 0 .7rem; font: 600 clamp(2rem,4vw,3.1rem)/1.12 var(--ui-display); text-wrap: balance; }
.home-collection-hub p { max-width: 62ch; color: var(--ui-muted); }
.home-collection-hub > div:last-child { display: grid; gap: .65rem; }
.home-collection-counts { font-size: .72rem; }
.home-collection-counts strong { color: var(--ui-green-dark); }
.home-stats { max-width: var(--ui-container); padding-top: 1rem; padding-bottom: 5rem; }

/* Catalog */
.catalog-layout { max-width: var(--ui-container); }
.discovery-links { display: flex; overflow-x: auto; flex-wrap: nowrap; }
.discovery-links a { flex: 0 0 auto; white-space: nowrap; }
.catalog-search-bar { position: sticky; top: 70px; z-index: 15; padding: 1rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: rgba(247,246,241,.96); backdrop-filter: blur(12px); }
.catalog-search-bar form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
.catalog-search-bar input, .catalog-sort select, .catalog-filter-panel select { border-radius: var(--ui-radius-sm); }
.filter-drawer-button { border-radius: var(--ui-radius-sm); }
.catalog-discovery-controls { position: relative; min-height: 54px; display: block; }
.catalog-filter-panel { position: sticky; top: 162px; width: 280px; margin-right: 1.5rem; float: left; display: block; padding: 1.1rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); }
.catalog-filter-panel form { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.catalog-filter-panel label { font-size: .7rem; font-weight: 800; }
.catalog-filter-panel select { width: 100%; margin-top: .25rem; }
.catalog-sort { margin-left: auto; display: flex; justify-content: flex-end; }
.filter-drawer-head, .filter-backdrop { display: none; }
.active-filters, .results { margin-left: calc(280px + 1.5rem); }
.active-filters { min-height: 38px; margin-top: .35rem; margin-bottom: .65rem; }
.active-filters.empty { display: none; }
.result-head { min-height: 42px; padding-bottom: .45rem; }
.discovery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card { position: relative; min-width: 0; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.product-card:hover { border-color: #aebbb4; transform: translateY(-2px); box-shadow: var(--ui-shadow); }
.product-card-image { display: block; background: var(--ui-white); }
.product-card-image .vehicle-stage { padding: .55rem; border: 0; background: var(--ui-white); box-shadow: inset 0 0 0 1px rgba(31,47,41,.07); }
.product-card .card-body { padding: 1rem; }
.product-card .eyebrow { min-height: 1.5rem; gap: .5rem; color: var(--ui-green); }
.product-card .taxonomy-badges { margin-bottom: .45rem; }
.product-card h3 { min-height: 4.2em; margin: .35rem 0 1rem; font: 600 1.08rem/1.4 var(--ui-display); }
.mini-spec { border-top: 1px solid var(--ui-line); }
.mini-spec > div { padding: .55rem 0; }
.mini-spec dd { overflow-wrap: anywhere; }
.collection-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .75rem; }
.collection-quick button { min-width: 0; padding: .45rem .35rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-sm); background: var(--ui-white); color: var(--ui-ink); font-size: .68rem; font-weight: 800; }
.collection-quick button[aria-pressed="true"] { border-color: var(--ui-green); background: var(--ui-green-soft); color: var(--ui-green-dark); }
.card-actions { align-items: center; margin-top: .65rem; }
.card-actions > div { display: block; }
.card-actions .collection-more { display: none; }
.card-actions .compare-button { min-width: 72px; min-height: var(--ui-tap); border-radius: var(--ui-radius-sm); }
.catalog-pagination a { min-width: var(--ui-tap); min-height: var(--ui-tap); border-radius: var(--ui-radius-sm); }

/* Detail and purchasing */
.product-breadcrumbs { max-width: var(--ui-container); }
.detail-hero { max-width: var(--ui-container); gap: clamp(2rem, 6vw, 6rem); padding-top: 2rem; }
.detail-hero > div:first-child { min-width: 0; }
.detail-hero h1 { color: var(--ui-ink); font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1.08; }
.detail-copy { align-self: center; }
.detail-status { flex-wrap: wrap; }
.lifecycle-badge { display: inline-flex; width: fit-content; align-items: center; min-height: 24px; padding: .22rem .55rem; border: 1px solid #b9c9c2; border-radius: 999px; background: #edf5f1; color: #244b40; font-size: .68rem; font-weight: 800; line-height: 1.25; letter-spacing: .02em; }
.lifecycle-badge.status-discontinued { border-color: #cfc8bf; background: #f3f0ec; color: #655c53; }
.lifecycle-badge.status-upcoming { border-color: #d7c79f; background: #fbf5e6; color: #6d5622; }
.lifecycle-badge.status-unknown { border-color: #d7d7d2; background: #f5f5f2; color: #686864; }
.detail-collection-quick { max-width: 420px; margin-top: 1.2rem; }
.detail-actions { margin-top: .6rem; }
.detail-taxonomy, .offer-list, .detail-related-overview, .detail-related-group { max-width: var(--ui-container); }
.detail-taxonomy > div { max-width: 760px; }
.offer-list { scroll-margin-top: 100px; }
.offer-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.offer-card { display: flex; min-height: 100%; flex-direction: column; border-radius: var(--ui-radius); box-shadow: 0 5px 18px rgba(21,35,29,.04); }
.offer-card header { min-height: 96px; }
.offer-card header h3 { margin: .7rem 0 .1rem; color: var(--ui-ink); font: 600 1.25rem var(--ui-display); }
.offer-card header p { margin: 0; color: var(--ui-muted); font-size: .65rem; }
.offer-card dl, .offer-amazon-provisional { margin-top: auto; }
.offer-amazon-provisional { padding: 1.2rem 0; font-weight: 800; }
.purchase-cta { border-radius: var(--ui-radius-sm); background: var(--ui-green-dark); }
.detail-related-card { border-radius: var(--ui-radius); overflow: hidden; }
.detail-sticky-actions { display: none; }

/* Series index */
.series-hero { padding-top: clamp(2rem, 3.5vw, 3rem); padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.series-hero .breadcrumbs { margin-bottom: 1rem; }
.series-hero .kicker { margin-bottom: .45rem; }
.series-hero h1 { max-width: none; margin: 0 0 .65rem; font-size: clamp(3rem, 5vw, 4.75rem); line-height: 1.05; text-wrap: balance; }
.series-hero > p:last-child { max-width: 48rem; margin: 0; color: var(--ui-muted); }
.series-index { width: 100%; max-width: var(--ui-container); margin: 0 auto; padding: .75rem 24px 7rem; }
.series-index-head { margin-bottom: 1.6rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--ui-line); }
.series-index-head h2 { margin: .15rem 0 1rem; font: 400 clamp(2.2rem, 4vw, 3.4rem)/1.1 var(--ui-display); }
.series-index-head > p { margin-bottom: 1.1rem; color: var(--ui-muted); font-size: .72rem; }
.series-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.series-index-card { min-width: 0; overflow: hidden; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); transition: transform .2s ease, box-shadow .2s ease; }
.series-index-card:hover { transform: translateY(-2px); box-shadow: var(--ui-shadow); }
.series-index-card > a { height: 100%; display: grid; grid-template-rows: 220px minmax(0, 1fr); }
.series-index-card figure { position: relative; height: 220px; margin: 0; padding: 0; border-bottom: 1px solid var(--ui-line); background: var(--ui-white); box-shadow: inset 0 0 0 1px rgba(31,47,41,.05); overflow: hidden; }
.series-index-card img { position: absolute; top: 1.15rem; left: 1.4rem; width: calc(100% - 2.8rem); height: calc(100% - 2.3rem); display: block; object-fit: contain; object-position: center; }
.series-card-body { min-width: 0; min-height: 215px; padding: 1rem 1rem 1.2rem; display: flex; flex-direction: column; align-items: flex-start; }
.series-card-count { margin: 0 0 .45rem; color: var(--ui-green); font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.series-index-card h3 { min-height: 2.5em; margin: 0 0 .65rem; font: 600 1.25rem/1.25 var(--ui-display); overflow-wrap: anywhere; }
.series-card-description { min-height: 3.4em; margin: 0 0 1rem; color: var(--ui-muted); font-size: .72rem; line-height: 1.7; }
.series-card-cta { width: 100%; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--ui-line); font-size: .68rem; font-weight: 800; }

/* History Explorer */
.home-history-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .7rem; }
.home-history-grid a { min-height: 92px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); }
.home-history-grid strong { font: 600 1.1rem var(--ui-display); }
.home-history-grid span { color: var(--ui-muted); font-size: .68rem; }
.history-hero { padding-top: clamp(2.2rem,4vw,4rem); padding-bottom: clamp(2rem,4vw,3.5rem); }
.history-hero.compact { padding-bottom: 2rem; }
.history-hero h1 { max-width: 16ch; font-size: clamp(3rem,6vw,5.6rem); line-height: 1.02; text-wrap: balance; }
.history-hero > p:last-of-type { max-width: 58rem; }
.history-metrics { max-width: 720px; margin-top: 1.6rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); overflow: hidden; }
.history-metrics span { min-height: 80px; padding: 1rem; display: flex; flex-direction: column; justify-content: center; color: var(--ui-muted); font-size: .68rem; }
.history-metrics span + span { border-left: 1px solid var(--ui-line); }
.history-metrics strong { color: var(--ui-ink); font: 600 1.35rem var(--ui-display); }
.history-decades,.history-years-index,.history-products,.history-unknown,.history-catalog-link,.history-year-sequence,.detail-history-context { width: 100%; max-width: var(--ui-container); margin-inline: auto; }
.history-decades,.history-years-index,.history-products { padding: 2rem 24px 5rem; }
.history-section-head { margin-bottom: 1.25rem; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--ui-line); }
.history-section-head h2 { margin: .1rem 0 .8rem; font: 400 clamp(2rem,4vw,3.2rem)/1.08 var(--ui-display); }
.history-section-head > p { margin-bottom: .8rem; color: var(--ui-muted); }
.history-decade-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.history-decade-card { min-width: 0; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); overflow: hidden; }
.history-decade-card > a { height: 100%; display: grid; grid-template-rows: 190px 1fr; }
.history-decade-card .vehicle-stage { height: 190px; margin: 0; padding: 1rem; border: 0; border-bottom: 1px solid var(--ui-line); background: var(--ui-white); }
.history-decade-card > a > div { padding: 1rem; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; }
.history-decade-card p { grid-column: 1/-1; margin: 0; color: var(--ui-green); font-size: .65rem; font-weight: 800; }
.history-decade-card h2 { margin: 0; font: 600 1.45rem var(--ui-display); }
.history-decade-card strong { align-self: center; font-size: .7rem; }
.history-decade-card span { grid-column: 1/-1; margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--ui-line); font-size: .68rem; font-weight: 800; }
.history-years-index nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(108px,1fr)); gap: .55rem; }
.history-years-index nav a { min-height: 74px; padding: .7rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-sm); background: var(--ui-white); }
.history-years-index nav strong { font: 600 1.15rem var(--ui-display); }
.history-years-index nav span { color: var(--ui-muted); font-size: .62rem; }
.history-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.history-product-card { min-width: 0; display: grid; grid-template-rows: 170px 1fr; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); overflow: hidden; }
.history-product-card > .vehicle-stage { height: 170px; margin: 0; padding: .75rem; border: 0; border-bottom: 1px solid var(--ui-line); background: var(--ui-white); }
.history-product-card > div { padding: .9rem; display: flex; flex-direction: column; }
.history-product-card > div > p { margin: 0; color: var(--ui-green); font-size: .62rem; font-weight: 800; }
.history-product-card h3 { min-height: 3.8em; margin: .35rem 0 .7rem; font: 600 1rem/1.35 var(--ui-display); }
.history-product-card dl { margin: 0; border-top: 1px solid var(--ui-line); }
.history-product-card dl div { padding: .4rem 0; display: flex; justify-content: space-between; gap: .5rem; font-size: .64rem; }
.history-product-card dd { margin: 0; text-align: right; }
.history-card-actions { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.history-card-actions a { font-size: .68rem; font-weight: 800; }
.history-card-actions button { min-width: 64px; min-height: 40px; border-radius: var(--ui-radius-sm); }
.history-pagination { margin-top: 1.5rem; }
.history-unknown,.history-catalog-link,.detail-history-context { padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-lg); background: var(--ui-white); }
.history-unknown { margin-top: 1rem; margin-bottom: 4rem; }
.history-catalog-link { margin-bottom: 6rem; }
.history-unknown h2,.history-catalog-link h2,.detail-history-context h2 { margin: .15rem 0 .5rem; font: 600 1.7rem var(--ui-display); }
.history-year-sequence { padding: .75rem 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); }
.history-year-sequence a { min-height: 44px; display: flex; align-items: center; font-weight: 800; }
.history-year-sequence a:last-child { justify-content: flex-end; }
.detail-history-context { margin-top: 1.5rem; margin-bottom: 2rem; }
.detail-history-context > div:last-child { display: flex; align-items: center; gap: 1rem; }
.discovery-history-link { width: fit-content; min-height: 44px; margin-top: .6rem; display: inline-flex; align-items: center; color: var(--ui-green-dark); font-weight: 800; }
.history-editorial,.history-decade-context { width: 100%; max-width: var(--ui-container); margin-inline: auto; }
.history-editorial { padding: 2rem 24px 5rem; }
.history-timeline { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; list-style: none; }
.history-fact { min-width: 0; display: grid; grid-template-columns: 86px 1fr; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); overflow: hidden; }
.history-fact time { padding: 1.15rem .8rem; color: var(--ui-white); background: var(--ui-green-dark); font: 600 1rem var(--ui-display); text-align: center; }
.history-fact > div { padding: 1.1rem; }
.history-fact-category { margin: 0 0 .35rem; color: var(--ui-green); font-size: .6rem; font-weight: 800; letter-spacing: .08em; }
.history-fact h3 { margin: 0 0 .55rem; font: 600 1.2rem/1.3 var(--ui-display); }
.history-fact h3 + p { min-height: 3.4em; margin: 0; color: var(--ui-muted); font-size: .75rem; line-height: 1.7; }
.history-fact-links { margin-top: .8rem; padding-top: .7rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--ui-line); }
.history-fact-links a { color: var(--ui-green-dark); font-size: .66rem; font-weight: 800; }
.history-decade-context { margin-top: 1.5rem; padding: 1.6rem 24px; border-left: 4px solid var(--ui-green); background: var(--ui-white); }
.history-decade-context h2 { margin: .2rem 0 .5rem; font: 600 clamp(1.5rem,3vw,2.2rem) var(--ui-display); }
.history-decade-context > p:last-child { max-width: 62rem; margin: 0; color: var(--ui-muted); }
.history-decade-context.status-limited { border-left-color: var(--ui-muted); }
.detail-editorial-fact { width: calc(100% - 48px); max-width: var(--ui-container); margin: 1.5rem auto 2rem; padding: 1.5rem 2rem; border-left: 4px solid var(--ui-green); border-radius: var(--ui-radius); background: var(--ui-white); }
.detail-editorial-fact h2 { margin: .15rem 0 .7rem; font: 600 1.65rem var(--ui-display); }
.detail-editorial-fact h3 { margin: 0 0 .45rem; font-size: 1rem; }
.detail-editorial-fact p { color: var(--ui-muted); }

/* Garage and Compare */
.garage-page, .compare-page { width: 100%; max-width: var(--ui-container); }
.collection-summary { grid-template-columns: repeat(3, minmax(0,1fr)) minmax(230px,1.5fr); border-radius: var(--ui-radius-lg); overflow: hidden; }
.collection-tabs { position: sticky; top: 70px; z-index: 10; padding: .5rem; border-radius: var(--ui-radius); background: rgba(247,246,241,.96); }
.collection-tabs button { min-height: var(--ui-tap); border-radius: var(--ui-radius-sm); }
.garage-filters { margin: 1rem 0; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-white); }
.garage-filters > summary { min-height: var(--ui-tap); padding: .8rem 1rem; font-weight: 800; cursor: pointer; }
.garage-filters .collection-controls { margin: 0; padding: 1rem; }
.garage-item { border-radius: var(--ui-radius); }
.compare-scroll { overflow-x: auto; border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); scrollbar-color: var(--ui-green) var(--ui-green-soft); }
.compare-table { min-width: 820px; }
.compare-table thead th { position: sticky; top: 0; background: var(--ui-green-dark); }
.compare-table thead button { min-height: var(--ui-tap); }
.compare-table tbody th { position: sticky; left: 0; z-index: 2; }
.compare-secondary { margin-top: 1rem; }
.compare-secondary > summary { min-height: var(--ui-tap); padding: .7rem 1rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-sm); background: var(--ui-white); font-weight: 800; cursor: pointer; }
.compare-secondary[open] > summary { margin-bottom: .7rem; }

@media (max-width: 1100px) {
  .desktop-nav { display: flex !important; gap: .8rem; }
  .home-purchase { grid-template-columns: 1.4fr 1fr; }
  .home-purchase .button { grid-column: 1 / -1; justify-self: start; }
  .discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  :root { --ui-bottom-nav: 72px; }
  html { scroll-padding-top: 76px; }
  body { padding-bottom: calc(var(--ui-bottom-nav) + env(safe-area-inset-bottom)); }
  body.filter-open { overflow: hidden; }
  .local-banner { font-size: .52rem; }
  .site-header { min-height: 58px; padding: 0 16px; }
  .wordmark { font-size: .88rem; }
  .wordmark span, .desktop-nav, .nav-counts { display: none !important; }
  .mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: var(--ui-z-nav); height: calc(var(--ui-bottom-nav) + env(safe-area-inset-bottom)); padding: 4px 5px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ui-line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 28px rgba(21,35,29,.09); backdrop-filter: blur(16px); }
  .mobile-bottom-nav a { position: relative; min-width: 0; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--ui-radius-sm); color: var(--ui-muted); font-size: .58rem; font-weight: 800; line-height: 1.1; }
  .mobile-bottom-nav a > span { margin-bottom: .25rem; color: var(--ui-ink); font-size: 1.15rem; line-height: 1; }
  .mobile-bottom-nav a[aria-current="page"] { background: var(--ui-green-soft); color: var(--ui-green-dark); }
  .mobile-bottom-nav .mobile-scan-action { color: var(--ui-green-dark); }
  .mobile-bottom-nav .mobile-scan-action > span { width: 38px; height: 30px; margin-bottom: .1rem; display: grid; place-items: center; border-radius: 99px; background: var(--ui-green-dark); color: var(--ui-white); }
  .mobile-bottom-nav b { position: absolute; top: 3px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 3px; display: grid; place-items: center; border-radius: 99px; background: var(--ui-green-dark); color: white; font-size: .5rem; }
  footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
  .page-hero { padding: 1.6rem 16px 1.2rem; }
  .page-hero h1 { margin: .15rem 0 .45rem; font-size: clamp(2.15rem, 10vw, 3.2rem); line-height: 1.05; }
  .page-hero > p:last-child { margin: 0; font-size: .84rem; line-height: 1.55; }
  .page-hero .breadcrumbs { margin-bottom: .7rem; }
  .section-head { align-items: start; }
  .section-head h2 { font-size: 2rem; }
  .section-head > a { min-height: var(--ui-tap); display: flex; align-items: center; }

  .home-hero { min-height: 0; padding: 2.2rem 16px 1rem; grid-template-columns: 1fr; gap: 1rem; }
  .home-hero h1 { margin-bottom: .8rem; font-size: clamp(2.55rem, 12vw, 3.55rem); line-height: 1.04; }
  .home-hero h1 em { white-space: nowrap; }
  .home-hero > div > p:not(.kicker) { font-size: 1rem; }
  .home-search { margin-top: 1.4rem; }
  .home-search > div { grid-template-columns: minmax(0, 1fr) 72px; }
  .home-search input { height: 54px; padding: 0 .8rem; }
  .home-search .button { width: auto; height: 54px; padding-inline: .75rem; }
  .home-search .button.secondary { display: none; }
  .home-hero-actions { margin-top: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .home-hero-actions > span { grid-column: 1/-1; margin: 0; }
  .home-hero-catalog { min-height: 0; padding: .8rem; display: grid; gap: .6rem; }
  .home-hero-catalog > span, .home-hero-catalog > small { padding: .2rem .4rem; }
  .home-hero-catalog .home-product-card { display: block; }
  .home-hero-catalog .home-product-card figure { height: 170px; }
  .home-hero-catalog .home-product-card h3 { min-height: 0; }
  .quick-explore { padding: .5rem 16px 1.2rem; }
  .quick-explore a { min-height: 44px; }
  .home-core-actions { padding: 1rem 16px 2.5rem; }
  .home-core-actions .section-head { margin-bottom: 1rem; }
  .home-core-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .home-core-grid > a { min-height: 190px; padding: .9rem; }
  .home-core-grid h3 { font-size: 1.2rem; }
  .home-core-grid p { font-size: .7rem; }
  .home-section { padding: 2.2rem 16px; }
  .home-product-grid, .home-taxonomy-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; gap: .7rem; }
  .home-product-card, .home-taxonomy-card { min-width: 0; }
  .home-product-card { flex: none; }
  .home-product-card figure { height: 145px; }
  .home-product-card > a > div { padding: .8rem; }
  .home-product-card h3 { min-height: 4.2em; font-size: .9rem; }
  .home-product-card dl { grid-template-columns: 1fr; }
  .home-product-card dl div + div { border-top: 1px solid var(--ui-line); }
  .home-product-card .home-collection-trigger { width: calc(100% - 1.6rem); margin: .2rem .8rem .8rem; }
  .home-taxonomy-card { flex: none; }
  .home-taxonomy-card figure { height: 105px; }
  .home-purchase { margin: 2rem 16px; padding: 2rem 1.25rem; grid-template-columns: 1fr; gap: 1.2rem; }
  .home-purchase h2 { font-size: 2.3rem; }
  .home-purchase h2 .headline-line { white-space: normal; }
  .home-purchase .button { grid-column: auto; width: 100%; }
  .provider-list { grid-template-columns: 1fr; }
  .home-daily { margin: 2.8rem 16px; border-radius: var(--ui-radius-lg); }
  .home-view-all { margin: 2.8rem 16px; }
  .home-collection-note { margin: 0 16px 2.8rem; }
  .home-collection-hub { width: auto; margin: 2.8rem 16px; padding: 1.35rem; grid-template-columns: 1fr; gap: 1rem; }
  .home-collection-hub h2 { font-size: 2rem; }
  .home-collection-hub > div:last-child { grid-template-columns: 1fr; }
  .home-stats { padding: 0 16px 4rem; }

  .discovery-links { margin-bottom: .55rem; display: flex; overflow-x: auto; border-radius: var(--ui-radius); }
  .discovery-links a { min-height: 40px; padding: .45rem .7rem; flex: 0 0 auto; border: 0 !important; font-size: .68rem; }
  .catalog-layout { padding: .6rem 16px 4rem; }
  .catalog-search-bar { top: 58px; margin-inline: -4px; padding: .55rem; }
  .catalog-search-bar > form > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .catalog-search-bar input, .catalog-search-bar .button { min-height: 44px; height: 44px; }
  .catalog-search-bar form > div { grid-template-columns: minmax(0, 1fr) 68px; }
  .catalog-search-bar [data-search-clear] { display: none; }
  .catalog-search-bar input { min-width: 0; }
  .catalog-discovery-controls { margin-top: .45rem; display: flex; justify-content: space-between; gap: .5rem; }
  .catalog-sort { grid-column: auto; }
  .filter-backdrop { position: fixed; inset: 0; z-index: calc(var(--ui-z-sheet) - 1); display: none; width: 100%; height: 100%; border: 0; background: rgba(11,24,19,.48); }
  body.filter-open .filter-backdrop { display: block; }
  .catalog-filter-panel { position: fixed; z-index: var(--ui-z-sheet); top: auto; right: 0; bottom: 0; left: 0; max-height: min(82vh, 720px); padding: 0; display: block; border: 0; border-radius: 1.4rem 1.4rem 0 0; transform: translateY(105%); transition: transform .24s ease; overflow: auto; overscroll-behavior: contain; visibility: hidden; }
  .catalog-filter-panel { width: auto; margin-right: 0; float: none; }
  .catalog-filter-panel.open { transform: translateY(0); visibility: visible; }
  .filter-drawer-head { position: sticky; top: 0; z-index: 2; min-height: 58px; padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ui-line); background: var(--ui-white); }
  .filter-drawer-head button { width: 44px; border: 0; background: transparent; font-size: 1.4rem; }
  .catalog-filter-panel form { padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
  .catalog-filter-panel .filter-actions { bottom: 0; padding: 1rem 0 calc(.5rem + env(safe-area-inset-bottom)); background: var(--ui-white); }
  .active-filters, .results { margin-left: 0; }
  .active-filters { min-height: 0; margin-top: .25rem; margin-bottom: .25rem; overflow-x: auto; flex-wrap: nowrap; font-size: .68rem; }
  .active-filters.empty { display: none; }
  .active-filters > * { flex: 0 0 auto; }
  .result-head { min-height: 40px; display: flex; align-items: center; justify-content: space-between; }
  .result-head > span { grid-column: auto; }
  .discovery-grid, .discovery-grid.count-1, .discovery-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .product-card .vehicle-stage { aspect-ratio: 1 / .82; }
  .product-card .card-body { padding: .72rem; }
  .product-card .eyebrow { display: grid; gap: 0; }
  .product-card .tag-row, .product-card .taxonomy-badges { display: none; }
  .product-card h3 { min-height: 4.2em; margin: .3rem 0 .5rem; font-size: .9rem; line-height: 1.4; }
  .mini-spec { display: block; }
  .mini-spec > div { display: flex; justify-content: space-between; gap: .3rem; }
  .mini-spec > div:first-child { display: none; }
  .collection-quick { gap: .3rem; }
  .collection-quick button { min-height: 44px; padding-inline: .15rem; font-size: .62rem; }
  .card-actions { display: none; }

  .product-breadcrumbs { padding: 1rem 16px 0; margin-bottom: 0; }
  .detail-hero { padding: 1.25rem 16px 1.5rem; gap: 1.25rem; }
  .detail-hero h1 { font-size: clamp(2.15rem, 10.8vw, 3.2rem); }
  .detail-copy .detail-collection-quick { display: none; }
  .detail-actions { flex-direction: row; }
  .detail-sections { padding-inline: 16px; }
  .offer-list { padding: 1.8rem 16px; }
  .offer-list > h2 { margin-bottom: .7rem; font-size: 2rem; }
  .offer-cards { grid-template-columns: 1fr; }
  .offer-card { padding: .9rem; }
  .offer-card header { min-height: 68px; }
  .offer-card header h3 { margin: .35rem 0 .05rem; font-size: 1.05rem; }
  .offer-card dl { margin: .5rem 0; }
  .offer-card dl > div { padding: .35rem 0; }
  .offer-card .purchase-cta { min-height: 44px; }
  .detail-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
  .detail-related-card > div { padding: .75rem; }
  .detail-related-card h3 { font-size: .86rem; }
  .detail-related-card .collection-trigger { min-height: 44px; width: 100%; margin-top: .6rem; }
  .detail-sticky-actions { position: fixed; right: 0; bottom: calc(var(--ui-bottom-nav) + env(safe-area-inset-bottom)); left: 0; z-index: calc(var(--ui-z-nav) - 1); min-height: 50px; padding: .25rem .5rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(84px, .7fr); gap: .35rem; border-top: 1px solid var(--ui-line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(21,35,29,.08); }
  .detail-sticky-actions .collection-quick { margin: 0; }
  .detail-sticky-actions > a { min-height: 44px; display: grid; place-items: center; border-radius: var(--ui-radius-sm); background: var(--ui-green-dark); color: white; font-size: .72rem; font-weight: 800; }
  body:has(.detail-sticky-actions) { padding-bottom: calc(var(--ui-bottom-nav) + 52px + env(safe-area-inset-bottom)); }

  .garage-page, .compare-page { padding: 1.5rem 16px 4rem; }
  .collection-summary { grid-template-columns: repeat(3, 1fr); }
  .collection-summary article { min-height: 82px; }
  .collection-summary .collection-rate { grid-column: 1 / -1; }
  .collection-tabs { top: 58px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); overflow: visible; }
  .collection-tabs button { padding: .35rem; font-size: .62rem; }
  .collection-controls { grid-template-columns: 1fr; }
  .garage-item { grid-template-columns: 90px minmax(0,1fr); padding: .8rem; }
  .garage-item > button { grid-column: 1 / -1; }
  .compare-page { padding-right: 0; }
  .compare-scroll { width: 100%; }
  .compare-toolbar { padding-right: 16px; }
  .compare-scroll { border-radius: var(--ui-radius) 0 0 var(--ui-radius); }
  .compare-table { min-width: 760px; }
  .compare-table th, .compare-table td { padding: .75rem; }
  .compare-table thead th { min-width: 190px; }
  .compare-table thead th:first-child { min-width: 112px; }
  .storage-message { bottom: calc(var(--ui-bottom-nav) + env(safe-area-inset-bottom) + 12px); }
  body:has(.detail-sticky-actions) .storage-message { bottom: calc(var(--ui-bottom-nav) + env(safe-area-inset-bottom) + 72px); }
  .series-hero { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .series-hero .breadcrumbs { margin-bottom: .8rem; }
  .series-hero h1 { margin-bottom: .55rem; font-size: clamp(2.15rem, 10vw, 3rem); }
  .series-hero > p:last-child { font-size: .82rem; line-height: 1.65; }
  .series-index { padding: .5rem 16px 5rem; }
  .series-index-head { margin-bottom: .9rem; align-items: start; flex-direction: column; gap: 0; }
  .series-index-head h2 { margin-bottom: .4rem; font-size: 2rem; }
  .series-index-head > p { margin: 0 0 .8rem; }
  .series-index-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
  .series-index-card > a { grid-template-rows: 138px minmax(0, 1fr); }
  .series-index-card figure { height: 138px; }
  .series-index-card img { top: .55rem; left: .55rem; width: calc(100% - 1.1rem); height: calc(100% - 1.1rem); }
  .series-card-body { min-height: 172px; padding: .75rem; }
  .series-card-count { margin-bottom: .4rem; font-size: .54rem; letter-spacing: .1em; }
  .series-index-card h3 { min-height: 3.6em; margin-bottom: .55rem; font-size: .95rem; line-height: 1.2; }
  .series-card-description { min-height: 0; display: none; }
  .series-card-cta { padding-top: .55rem; font-size: .6rem; }
  .home-history-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
  .home-history-grid a { min-height: 76px; padding: .75rem; }
  .history-hero { padding: 1.6rem 16px 1.4rem; }
  .history-hero h1 { font-size: clamp(2.3rem,11vw,3.4rem); }
  .history-metrics { margin-top: 1rem; grid-template-columns: 1fr; }
  .history-metrics span { min-height: 58px; padding: .7rem; }
  .history-metrics span + span { border-top: 1px solid var(--ui-line); border-left: 0; }
  .history-decades,.history-years-index,.history-products { padding: 1.2rem 16px 3.5rem; }
  .history-editorial { padding: 1.2rem 16px 3.5rem; }
  .history-timeline { grid-template-columns: 1fr; gap: .65rem; }
  .history-fact { grid-template-columns: 72px 1fr; }
  .history-fact time { padding: 1rem .5rem; font-size: .82rem; }
  .history-fact > div { padding: .85rem; }
  .history-fact h3 { font-size: 1.02rem; }
  .history-fact h3 + p { min-height: 0; font-size: .7rem; }
  .history-decade-context { width: auto; margin: .7rem 16px 0; padding: 1.15rem; }
  .history-decade-context h2 { font-size: 1.55rem; }
  .detail-editorial-fact { width: auto; margin: 1rem 16px 1.5rem; padding: 1.2rem; }
  .history-section-head { margin-bottom: .8rem; align-items: start; flex-direction: column; gap: 0; }
  .history-section-head h2 { margin-bottom: .45rem; font-size: 2rem; }
  .history-section-head > p { margin-bottom: .7rem; }
  .history-decade-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .history-decade-card > a { grid-template-rows: 118px 1fr; }
  .history-decade-card .vehicle-stage { height: 118px; padding: .55rem; }
  .history-decade-card > a > div { padding: .7rem; display: block; }
  .history-decade-card h2 { font-size: 1rem; }
  .history-decade-card strong { display: block; font-size: .6rem; }
  .history-years-index nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; }
  .history-years-index nav a { min-height: 64px; padding: .55rem; }
  .history-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .history-product-card { grid-template-rows: 120px 1fr; }
  .history-product-card > .vehicle-stage { height: 120px; padding: .45rem; }
  .history-product-card > div { padding: .7rem; }
  .history-product-card h3 { min-height: 4.2em; font-size: .88rem; }
  .history-product-card dl div:first-child { display: none; }
  .history-product-card .collection-quick { gap: .25rem; }
  .history-card-actions { display: none; }
  .history-unknown,.history-catalog-link,.detail-history-context { width: auto; margin-inline: 16px; padding: 1.25rem; align-items: stretch; flex-direction: column; gap: 1rem; }
  .history-catalog-link { margin-bottom: 4rem; }
  .history-year-sequence { padding: .55rem 16px; font-size: .72rem; }
  .detail-history-context > div:last-child { width: 100%; align-items: stretch; flex-direction: column; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-hero { grid-template-columns: 1.2fr .8fr; gap: 2rem; }
  .home-hero h1 { font-size: 4rem; }
  .home-product-grid, .home-taxonomy-grid { grid-template-columns: repeat(3, 1fr); }
  .home-core-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-filter-panel { width: 230px; }
  .active-filters, .results { margin-left: calc(230px + 1.5rem); }
  .detail-hero { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1280px) {
  .discovery-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .home-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (min-width: 1440px) {
  .discovery-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; }
  .home-taxonomy-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
