:root {
  color-scheme: light;
  --background: #f6f5ef;
  --ink: #202a23;
  --muted: #526056;
  --line: #d7ded3;
  --accent: #1e6244;
  --mint: #d7ffd2;
  --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: .18rem solid #a46108; outline-offset: .2rem; }
h1, h2, h3, h4, p { margin: 0 0 .55rem; }
h1 { font-size: clamp(2.2rem, 7vw, 4.5rem); letter-spacing: -.045em; line-height: 1.05; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.1rem; line-height: 1.3; }
.shell { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.masthead { background: var(--ink); color: var(--white); }
.topbar, .topbar nav { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.topbar { justify-content: space-between; padding-block: .75rem; }
.topbar a { color: inherit; text-decoration: none; padding: .35rem .65rem; border-radius: .4rem; }
.topbar a:hover { text-decoration: underline; }
.topbar .brand { font-weight: 800; padding-inline: 0; }
.topbar a[aria-current] { background: var(--mint); color: var(--ink); }
.intro { padding: 2.2rem 0 1rem; }
.intro p:not(.eyebrow):not(.price) { color: var(--muted); }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.search { margin: 0 0 1.5rem; }
.search label { display: block; font-weight: 700; margin-bottom: .3rem; }
.search-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
input, button, .button { border-radius: .45rem; font: inherit; padding: .55rem .8rem; }
input { border: 1px solid #899b8e; width: min(24rem, 100%); }
button, .button { display: inline-block; background: var(--accent); border: 1px solid var(--accent); color: var(--white); cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .9rem; }
.card, .panel, .empty { padding: 1rem; border: 1px solid var(--line); background: var(--white); border-radius: .7rem; }
.card { display: flex; flex-direction: column; }
.product-image-link { display: block; margin-bottom: .75rem; }
.featured-image-link { width: fit-content; max-width: 100%; }
.card-image, .featured-image { display: block; max-width: 100%; border-radius: .45rem; }
.card-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.featured-image { max-height: 32rem; object-fit: contain; }
.card h3 a { color: var(--ink); }
.card-meta { margin-top: auto; padding-top: .7rem; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.card-meta strong { color: var(--ink); }
.panel { margin-bottom: 1rem; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.comparison-product .card-image { object-fit: contain; background: var(--background); }
.comparison-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; }
.comparison-facts dt { font-weight: 700; }
.comparison-facts dd { margin: 0; }
@media (max-width: 42rem) {
  .comparison-grid { grid-template-columns: minmax(0, 1fr); }
}
.pager { display: flex; gap: 1rem; margin: 1.25rem 0; }
.back { margin: 1rem 0 0; }
.price { font-weight: 800; font-size: 1.4rem; }
.muted, .footer { color: var(--muted); }
.badge { display: inline-block; background: #e7efe7; border-radius: .35rem; padding: .08rem .4rem; font-size: .8rem; font-weight: 600; vertical-align: middle; }
.chips, .entries { list-style: none; padding: 0; margin: 0 0 .85rem; }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chips a { display: block; padding: .2rem .5rem; background: #e7efe7; border-radius: .4rem; }
.entries > li { padding: .7rem 0; border-top: 1px solid var(--line); }
.entries .entries { margin-left: .9rem; }
.preserve, pre { white-space: pre-wrap; overflow-wrap: anywhere; }
pre { background: var(--background); border-radius: .4rem; padding: .7rem; }
summary { cursor: pointer; }
.footer { border-top: 1px solid var(--line); margin-top: 2rem; padding: 1rem 0; font-size: .85rem; }
