.catalog-shell { padding-bottom: 18px; }
.trail { display: block; padding: 24px 0 20px; color: #506257; font-size: 13px; }
.trail ol { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; list-style: none; padding: 0; margin: 0; }
.trail li + li::before { content: "/"; padding-right: 9px; color: #829187; }
.trail a:hover, .back:hover, .matches a:hover { text-decoration: underline; text-underline-offset: 3px; }
.catalog-title { padding: clamp(22px,4vw,64px) 0 clamp(28px,4vw,54px); }
.catalog-shell h1 { font-size: clamp(40px,5.2vw,76px); overflow-wrap: anywhere; }
.catalog-shell h2 { font-size: clamp(27px,3vw,44px); }
.catalog-shell .lede { margin: 20px 0 0; font-size: clamp(17px,1.42vw,21px); line-height: 1.6; color: #45594c; max-width: 70ch; }
.controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 18px 0; border-block: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid #a6b4a7; border-radius: 4px; background: #fff; padding: 7px 12px; width: min(340px,100%); }
.search span { font-size: 25px; line-height: 1; }
.search input { color: var(--ink); background: transparent; width: 100%; min-width: 0; border: 0; padding: 3px; }
.count, .list-title p { color: var(--muted); font-size: 14px; }
.count { padding: 14px 0; }
.tile-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 22px; margin-bottom: 48px; }
.tile { border-bottom: 1px solid var(--line); }
.tile-link { display: block; }
.product-image { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e6eae1; border-radius: 4px; aspect-ratio: 1.68; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.tile-body { padding: 16px 0 12px; }
.product-label, .family-label { color: #52664f; font-weight: 650; }
.product-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 7px; }
.tile-body h2 { font-size: clamp(21px,2vw,30px); letter-spacing: -.035em; }
.tile-link:hover h2, .model-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tile-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.tile-bottom span, .forward { font-size: 22px; color: var(--ink); }
.matches { margin: 0 0 14px; padding-left: 20px; font-size: 14px; }
.empty-state { padding: 34px 0 64px; }
.empty-state p { margin: 12px 0 20px; }
.product-hero { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); gap: clamp(24px,5vw,90px); align-items: center; padding: clamp(15px,2.2vw,32px) 0 clamp(38px,5vw,76px); }
.product-hero.text-only { grid-template-columns: minmax(0,850px); }
.product-copy h1 { max-width: 18ch; }
.product-copy .kicker { color: #506649; }
.family-label { font-size: 15px; margin-top: 12px; }
.product-copy .quote { margin-top: 26px; }
.quote:hover { background: #cae379; }
.gallery .product-image { aspect-ratio: 1.45; background: #e8ece4; border: 1px solid #d6ded2; }
.thumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.thumbs button { width: 66px; height: 49px; border: 1px solid var(--line); border-radius: 3px; padding: 3px; background: #fff; }
.thumbs [aria-pressed="true"] { outline: 2px solid #47634c; outline-offset: -2px; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.image-note { margin-top: 8px; color: var(--muted); font-size: 13px; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); align-items: start; gap: clamp(22px,4vw,60px); padding: clamp(26px,4vw,52px) 0; border-top: 1px solid var(--line); }
.details-grid h2, .list-title h2 { font-size: clamp(25px,2.5vw,36px); }
.specs dl { margin: 20px 0 0; }
.specs dl div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 14px; border-bottom: 1px solid var(--line); padding: 12px 5px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.features ul { padding-left: 20px; margin: 18px 0 0; }
.features li { margin: 8px 0; }
.features li::marker { color: #68804e; }
.model-section { padding: clamp(24px,3.5vw,48px) 0; border-top: 1px solid var(--line); }
.list-title, .back-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.list-title { margin-bottom: 22px; }
.model-grid, .peer-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.model-card { display: flex; gap: 14px; align-items: center; padding: 10px; background: #fff; border: 1px solid #d6ded2; border-radius: 4px; }
.model-card .product-image { width: 96px; aspect-ratio: 1.25; flex-shrink: 0; }
.model-card h3 { font-size: clamp(18px,1.6vw,25px); line-height: 1.15; overflow-wrap: anywhere; }
.forward { margin-left: auto; padding-right: 6px; }
.peer-list { gap: 0 28px; }
.peer-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.peer-list a:hover { text-decoration: underline; }
.back-row { border-top: 1px solid var(--line); padding: 22px 0; }
.back { font-weight: 650; font-size: 15px; }
@media(max-width:900px) { .tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .trail { padding: 17px 0; } .product-hero { grid-template-columns: 1fr; } .chips { gap: 6px; } .model-grid { grid-template-columns: 1fr; } .gallery .product-image { max-height: 380px; } }
@media(max-width:550px) { .tile-grid { grid-template-columns: 1fr; gap: 22px; } .controls { align-items: stretch; flex-direction: column; } .search { width: 100%; } .peer-list { grid-template-columns: 1fr; } .product-hero { gap: 20px; } .model-card .product-image { width: 76px; } }

.source-photo, .gallery .hero-image { cursor: zoom-in; }
html:has(.photo-viewer[open]) { overflow: hidden; }
.photo-viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  box-sizing: border-box; margin: 0; padding: 64px 16px 24px; border: 0; background: transparent;
}
.photo-viewer[open] { display: grid; place-items: center; }
.photo-viewer::backdrop { background: rgb(10 23 17 / 90%); }
.photo-viewer img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; background: white; }
.photo-viewer button {
  position: absolute; top: 10px; right: 16px; min-height: 44px; padding: 0 16px;
  display: flex; align-items: center; gap: 10px; border-radius: 4px; border: 1px solid #b4c3b0;
  color: white; background: #203d2e; font: inherit; cursor: pointer;
}
.photo-viewer button span { font-size: 23px; }
