:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --cream: #fffdf7;
  --wash: #eee8d9;
  --green: #244936;
  --deep: #182f24;
  --ink: #272f26;
  --muted: #555e51;
  --line: #d7ceba;
  --brown: #755236;
  --serif: Georgia, 'Times New Roman', serif;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--brown); }
button, input, select { font: inherit; }
button, .button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 44px; padding: .64rem 1rem; border: 1px solid var(--green);
  background: var(--green); color: white; font-weight: 650; text-decoration: none; cursor: pointer;
}
button:hover, .button:hover { background: var(--deep); color: white; }
:focus-visible { outline: 3px solid #946323; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--deep); font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .65em; }
h1 { font-size: clamp(2.5rem, 5.8vw, 4.75rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); letter-spacing: -.028em; }
h3 { font-size: 1.38rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .7rem; background: var(--cream); }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.13rem; }
.brand { display: inline-block; color: var(--deep); text-decoration: none; font: bold 1.65rem/1.05 var(--serif); letter-spacing: -.04em; }
.brand span { color: var(--green); }
.brand small { display: block; margin-top: .45rem; color: var(--muted); font: 600 .7rem/1.3 system-ui, sans-serif; letter-spacing: .035em; }
.header-inner nav, .footer-inner nav { display: flex; gap: .7rem 1.7rem; align-items: center; flex-wrap: wrap; }
.header-inner nav a, .footer-inner nav a { font-weight: 650; font-size: .9rem; text-decoration: none; padding-block: .35em; }
.header-inner nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; background: var(--wash); border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(2.6rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2.6rem, 5vw, 5rem) max(1.5rem, calc((100vw - 76rem) / 2)); }
.eyebrow, .card-category {
  color: var(--brown); font-size: .76rem; font-weight: 750; letter-spacing: .105em; text-transform: uppercase;
}
.hero h1 { margin-bottom: .3em; font-size: clamp(2.5rem, 5.3vw, 5.3rem); }
.hero h1 em { color: var(--green); font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 36rem; font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--muted); }
.hero-photo { margin: 0; position: relative; min-height: 20rem; background: #9b8463; }
.hero-photo img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 54% center; }
.hero-search { display: flex; max-width: 39rem; margin-top: 1.6rem; }
.hero-search input { flex: 1; min-width: 0; }
input, select {
  color: var(--ink); border: 1px solid #978e7c; background: var(--cream);
  border-radius: 0; min-height: 45px; padding: .62rem .7rem; width: 100%;
}
input::placeholder { color: var(--muted); }
.popular { display: flex; gap: .45rem .75rem; flex-wrap: wrap; align-items: baseline; margin-top: 1rem; font-size: .85rem; }
.popular > span { font-weight: 700; }
.popular > div { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.home-sections { padding-block: 2.5rem; }
.home-section { padding-block: 1rem 2.7rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: 1.1rem; }
.section-heading :is(h2, p) { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: .4rem; }
.text-link { font-size: .92rem; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; padding: 1.15rem 1.3rem; border: 1px solid var(--line); border-top: 3px solid #68806a; background: var(--cream); }
.card h3 { margin-bottom: .45rem; }
.card h3 a { color: var(--deep); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-category { font-size: .73rem; margin-bottom: .55rem; }
.replacement { color: var(--muted); margin-bottom: .7rem; }
.card-power { font-size: .86rem; color: var(--green); font-weight: 650; }
.card-actions { margin-top: auto; }
.compare-toggle, .outline { background: transparent; color: var(--green); }
.compare-toggle { font-size: .83rem; padding: .4rem .7rem; min-height: 44px; border-color: #89998a; }
.compare-toggle[aria-pressed=true] { background: #e2eddf; }
.compare-toggle:hover, .outline:hover { background: var(--green); color: white; }
.compare-toggle[aria-pressed=true]:hover { color: var(--deep); background: #cedecb; }
.compare-limit { display: block; font-size: .85rem; color: var(--brown); padding-top: .4rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.category-tile { display: grid; gap: .2rem; text-decoration: none; background: var(--cream); border: 1px solid var(--line); padding: .85rem 1rem; }
.category-tile:hover { border-color: var(--green); }
.category-tile span { font-size: .85rem; color: var(--muted); }
.catalog-note { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; background: var(--wash); border-left: 4px solid var(--green); padding: 1.4rem 1.65rem; margin-bottom: 1.7rem; }
.catalog-note p { margin: 0; max-width: 52rem; }
.catalog-note a { flex-shrink: 0; }
.disclosure, .purchase small { color: var(--muted); font-size: .86rem; }
.site-footer { background: var(--deep); color: #f4efe2; }
.site-footer :is(.brand, a) { color: #f4efe2; }
.footer-inner p { margin: .2rem 0 0; font-size: .85rem; }
.inner { padding-block: 2rem 4rem; min-height: 65vh; }
.inner h1 { font-size: clamp(2.25rem, 5vw, 3.95rem); margin-bottom: .35em; }
.breadcrumbs { margin-bottom: 1.4rem; font-size: .88rem; color: var(--muted); overflow-wrap: anywhere; }
.breadcrumbs span { margin-inline: .2rem; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1rem; padding: 1rem; background: var(--wash); border: 1px solid var(--line); margin-block: 1.5rem; }
.filters label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 650; color: var(--deep); }
.filters .filter-search { grid-column: 1 / -1; }
#result-count { font-size: .92rem; color: var(--muted); }
.load-more { margin-top: 1rem; }
.detail-header, .detail-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; }
.detail-header { align-items: center; margin-bottom: 1.65rem; }
.detail-header > div:only-child { grid-column: 1 / -1; }
.lede { max-width: 48rem; font-size: 1.13rem; color: var(--muted); }
.detail-layout { margin-bottom: 2rem; align-items: start; }
.detail-sections section { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-bottom: 1rem; }
.detail-sections h2, .facts h2 { font-size: 1.65rem; }
.detail-sections ul, td ul { padding-left: 1.2rem; }
.product-image { display: block; max-width: 100%; height: auto; }
.facts { background: var(--cream); padding: 1.3rem; border: 1px solid var(--line); border-top: 3px solid #68806a; }
.facts dl { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: .55rem .75rem; margin: 1rem 0; font-size: .91rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.purchase { margin-block: .9rem; }
.purchase small { display: block; margin-top: .4rem; }
.table-scroll { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; text-align: left; background: var(--cream); }
th, td { padding: .8rem; vertical-align: top; border: 1px solid var(--line); min-width: 10rem; }
thead th, tbody th { background: var(--wash); }
thead a { display: block; margin-bottom: .5rem; }
td ul { margin: 0; }
.prose { max-width: 50rem; }
.prose h2 { margin-top: 1em; }
.load-error { color: #7e3220; padding-top: 1rem; }
@media (max-width: 850px) {
  .card-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1.1fr .9fr; }
  .hero-copy { padding-inline: 1.5rem; }
}
@media (max-width: 630px) {
  .container { width: calc(100% - 2rem); }
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.3rem 1rem 1.8rem; }
  .hero-photo { min-height: 0; aspect-ratio: 2 / 1; }
  .hero-photo img { object-position: center 55%; }
  .hero-search input { font-size: .9rem; }
  .home-sections { padding-block: 1.6rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-note { align-items: start; flex-direction: column; }
  .detail-header, .detail-layout { grid-template-columns: 1fr; }
  .facts { grid-row: 1; }
}
@media (max-width: 420px) {
  .card-grid { grid-template-columns: 1fr; }
  .category-tile { padding-inline: .65rem; }
  .filters { padding: .75rem; gap: .65rem; }
}
