:root {
  --forest: #1d2923;
  --dark: #111b16;
  --ink: #26312c;
  --teal-mid: #28463a;
  --muted: #55635b;
  --paper: #f5f5ec;
  --cream: #fffefa;
  --mint: #e5eadb;
  --lime: #dbfc88;
  --spark: #e57b8e;
  --spark-ink: #7d1f38;
  --amber-bg: #faf2dc;
  --amber-ink: #6a4906;
  --amber-line: #dec88a;
  --emerald-bg: #dff2e6;
  --emerald-ink: #0f4c2c;
  --slate-bg: #eaeeec;
  --slate-ink: #4a5b55;
  --line: #d4dacd;
  --white: #ffffff;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body:has(dialog[open]) { overflow: hidden; }

a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a, button, input, select, textarea, summary { touch-action: manipulation; }
button, .button, select, input[type="search"], input[type="text"], input[type="email"] { min-height: 44px; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #dd673a;
  outline-offset: 3px;
}

[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -90px; z-index: 400;
  padding: 12px 18px; background: var(--lime); color: var(--forest); font-weight: 800; border-radius: var(--radius);
}
.skip:focus { top: 14px; }
.wrap { width: min(1360px, 100%); margin: 0 auto; padding: 0 clamp(16px, 3.6vw, 52px); }

/* Top status bar */
.top-note {
  background: var(--dark);
  color: #edf2e6;
  font-size: 13px;
  padding: 8px 16px;
}
.top-note-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.top-note a { color: var(--lime); font-weight: 650; }

/* Sticky shop header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 245, 236, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.brand-name { font: 900 32px/.92 Arial, Helvetica, sans-serif; letter-spacing: -2px; color: var(--forest); }
.brand-name .spark { color: var(--spark-ink); margin-left: 2px; }
.brand-detail {
  border-left: 1px solid var(--line); padding-left: 11px;
  font-size: 11px; line-height: 1.25; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}

.header-search { position: relative; display: flex; align-items: center; }
.header-search input {
  width: 100%;
  padding: 10px 84px 10px 14px;
  border: 1.5px solid #96a494;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15px;
}
.header-search input::placeholder { color: #66736b; }
.header-search .search-clear {
  position: absolute; right: 6px; min-height: 32px; padding: 4px 10px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: 12px; font-weight: 650;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn, .compare-top-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1.5px solid var(--forest); border-radius: var(--radius);
  background: var(--white); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.cart-btn { background: var(--forest); color: var(--cream); }
.cart-badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--lime); color: var(--forest); font-size: 12px; font-weight: 800;
}

/* Primary aisle bar */
.aisle-bar { border-top: 1px solid #d7ded0; background: var(--cream); }
.aisle-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  overflow-x: auto; scrollbar-width: thin;
}
.aisle-nav, .utility-nav { display: flex; align-items: center; gap: 4px; }
.aisle-link {
  border: 0; border-bottom: 3px solid transparent; border-radius: 0;
  background: transparent; padding: 10px 14px; min-height: 44px;
  font-size: 14px; font-weight: 750; white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.aisle-link:hover { background: var(--mint); }
.aisle-link[aria-current="true"] { border-bottom-color: var(--forest); background: #edf1e3; }
.aisle-count {
  font-size: 11px; font-weight: 700; color: var(--muted);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px;
}
.utility-nav a {
  padding: 8px 11px; font-size: 13px; font-weight: 650;
  color: var(--muted); text-decoration: none; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center;
}
.utility-nav a:hover { color: var(--forest); text-decoration: underline; }

/* Compact Opener */
.opener {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--dark);
}
.opener-copy {
  padding: clamp(20px, 3vw, 34px);
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow {
  font: 750 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em; text-transform: uppercase; color: #c4d7bd; margin-bottom: 10px;
}
.finder-section .eyebrow, .site-gallery-section .eyebrow { color: var(--muted); }
.opener h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 850; letter-spacing: -.04em; margin-bottom: 10px;
}
.opener h1 em { font: italic 1.04em/1 Georgia, serif; color: var(--lime); }
.opener-lead { font-size: 15px; color: #dde6d8; max-width: 58ch; margin-bottom: 16px; }
.opener-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--forest); border-radius: var(--radius);
  padding: 10px 16px; background: var(--forest); color: var(--cream);
  font-weight: 700; font-size: 14px; text-decoration: none; text-align: center;
}
.button.light { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.button.outline-light { background: transparent; border-color: #9bb8a0; color: var(--cream); }
.button.secondary { background: var(--white); color: var(--forest); border-color: var(--forest); }
.button.subtle { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button:disabled { opacity: 0.58; cursor: not-allowed; }
.button:not(:disabled):hover { filter: brightness(0.95); }

.opener-art {
  position: relative; background: #cfd8c5; min-height: 210px; max-height: 270px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.opener-art img { width: 100%; height: 100%; object-fit: cover; }
.opener-art span {
  position: absolute; right: 12px; bottom: 10px;
  background: rgba(17, 27, 22, 0.85); color: #eef2e6;
  padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .09em;
}

/* Trust & 4-tile aisle photo strip */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.trust-item strong { display: block; font-size: 13px; color: var(--forest); }
.trust-item span { color: var(--muted); font-size: 12.5px; }

.aisle-photo-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin: 16px 0 4px;
}
.aisle-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--dark); height: 108px;
  display: block; text-decoration: none; padding: 0; text-align: left; width: 100%;
}
.aisle-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.84; transition: transform .25s ease, opacity .2s ease;
}
.aisle-tile:hover img { transform: scale(1.04); opacity: 0.96; }
.aisle-tile-label {
  position: absolute; inset: auto 0 0 0; padding: 20px 10px 8px;
  background: linear-gradient(transparent, rgba(17, 27, 22, 0.9));
  color: #fffefa; font-size: 12.5px; font-weight: 750; line-height: 1.25;
}
.aisle-tile-label span {
  display: block; font-size: 10.5px; font-weight: 600; color: var(--lime);
  text-transform: uppercase; letter-spacing: .07em;
}

/* Main shop shell */
.shop-shell {
  display: grid; grid-template-columns: 272px minmax(0, 1fr);
  gap: 24px; padding: 22px 0 44px; align-items: start;
}
.filter-panel {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; position: sticky; top: 132px;
}
.filter-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.filter-head h2 { font-size: 16px; margin: 0; }
.link-btn {
  border: 0; background: none; padding: 4px 6px; min-height: 32px;
  font-size: 13px; font-weight: 700; text-decoration: underline; color: var(--teal-mid);
}
.filter-group { margin-bottom: 13px; }
.filter-group label { display: block; font-size: 12.5px; font-weight: 750; margin-bottom: 5px; color: var(--forest); }
.filter-group select {
  width: 100%; padding: 8px 30px 8px 10px; min-height: 40px;
  border: 1px solid #96a494; border-radius: 5px; background: var(--white); font-size: 14px;
}

/* Shelf toolbar & cards */
.shelf-toolbar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.shelf-heading h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 2px; }
.shelf-heading p { margin: 0; font-size: 13.5px; color: var(--muted); }
.quick-compares { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-btn {
  padding: 6px 11px; min-height: 36px; font-size: 12.5px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
}
.chip-btn:hover { background: var(--mint); border-color: var(--forest); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { border-color: #7d8f7d; box-shadow: 0 6px 20px rgba(29, 41, 35, 0.08); }
.card.is-reference { background: #f8f8f2; border-style: dashed; border-color: #9ba599; }

.card-visual {
  position: relative; height: 182px;
  background: var(--tile, var(--mint));
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 14px;
}
.card-visual.has-photo { padding: 0; background: #e8ece2; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; }
.card-visual svg { width: 156px; height: 118px; overflow: visible; }
.visual-top-badges {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between; gap: 6px; pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; padding: 3px 8px;
  border-radius: 4px; font-size: 11px; font-weight: 750; letter-spacing: .03em;
  background: rgba(255, 254, 250, 0.94); color: var(--forest); border: 1px solid rgba(29, 41, 35, 0.2);
}
.pill.cond-ref { background: var(--dark); color: var(--lime); }
.visual-code {
  position: absolute; bottom: 8px; right: 10px;
  font: 700 10.5px/1.2 ui-monospace, monospace; color: rgba(29, 41, 35, 0.85);
  background: rgba(255, 255, 255, 0.86); padding: 2px 6px; border-radius: 3px;
}
.visual-source-badge {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  background: rgba(17, 27, 22, 0.82); color: #edf2e6; font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 3px; max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-meta-line {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px;
}
.card-title { font-size: 17px; line-height: 1.24; letter-spacing: -.02em; margin-bottom: 8px; }
.card-title button {
  border: 0; background: none; padding: 0; min-height: 0; text-align: left;
  font: inherit; font-weight: 800; color: var(--forest);
}
.card-title button:hover { text-decoration: underline; }

.fit-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fit-tag {
  font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: 4px;
  background: #edf1e5; color: var(--forest); border: 1px solid #cdd6c4;
}
.fit-tag.dg { background: #fbeaea; color: #7a1c1c; border-color: #e6b8b8; }

.card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.card-commercial { margin-top: auto; padding-top: 12px; border-top: 1px solid #e1e6d8; }
.price-status-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.price-label { font-size: 15px; font-weight: 800; color: var(--forest); }
.price-label.unconfirmed { font-size: 13px; font-weight: 700; color: var(--muted); }

.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 750;
}
.status-in_stock { background: var(--emerald-bg); color: var(--emerald-ink); border: 1px solid #9fd4b4; }
.status-available_by_quote { background: var(--amber-bg); color: var(--amber-ink); border: 1px solid var(--amber-line); }
.status-out_of_stock { background: var(--slate-bg); color: var(--slate-ink); border: 1px solid #c5d0cb; }
.status-reference_only { background: #eceee8; color: #394b45; border: 1px dashed #8fa29a; }

.card-cta-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.card-sub-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px;
}
.details-btn {
  border: 0; background: none; padding: 6px 2px; min-height: 36px;
  font-weight: 700; text-decoration: underline; color: var(--teal-mid);
}
.compare-check {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-height: 36px; font-weight: 650;
}
.compare-check input { width: 17px; height: 17px; accent-color: var(--forest); }

.empty-shelf {
  background: var(--cream); border: 1px dashed #8da599; border-radius: var(--radius);
  padding: 36px 24px; text-align: center;
}

/* Studio Gallery & Policies */
.site-gallery-section { padding: 32px 0 18px; border-top: 1px solid var(--line); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.03em; margin: 4px 0 0; }
.section-head p { max-width: 56ch; color: var(--muted); margin: 0; font-size: 14.5px; }

.site-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.site-photo-card {
  margin: 0; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.site-photo-card img { width: 100%; aspect-ratio: 1.5; object-fit: cover; display: block; background: #e8ece2; }
.site-photo-card figcaption { padding: 11px 13px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.site-photo-card figcaption strong { display: block; font-size: 13.5px; color: var(--forest); margin-bottom: 3px; }
.site-photo-card a { color: var(--teal-mid); }

.finder-section { padding: 40px 0; border-top: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.info-card h3 { font-size: 19px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

/* Footer */
.footer {
  margin-top: 40px; padding: 36px 0 88px;
  background: var(--dark); color: #dce7dc; font-size: 13.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.footer h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .09em; color: var(--lime); margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer a { color: #eef5ec; }
.footer-legal { border-top: 1px solid #2b4437; padding-top: 18px; color: #b4c8be; font-size: 12.5px; }
.photo-credits-drawer { margin-top: 12px; }
.photo-credits-drawer summary { cursor: pointer; font-weight: 700; color: var(--lime); min-height: 36px; display: list-item; line-height: 36px; }
.photo-credits-list { list-style: disc; padding-left: 20px; display: grid; gap: 6px; font-size: 12px; color: #cde0d6; }
.photo-credits-list a { color: var(--lime); }

/* Floating Compare Tray */
.compare-tray {
  position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 70;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; border-radius: var(--radius); border: 1px solid #56725a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); max-width: calc(100vw - 24px);
}
.compare-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.compare-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #253b2e; padding: 4px 9px; border-radius: 4px; font-size: 12.5px;
}
.compare-chip button { border: 0; background: none; color: var(--lime); padding: 0 2px; min-height: 22px; font-weight: 800; }

/* Modals */
dialog {
  width: min(880px, calc(100vw - 24px)); max-height: 90dvh;
  border: 1.5px solid var(--forest); border-radius: var(--radius); padding: 0;
  background: var(--paper); color: var(--ink); overflow: auto;
}
dialog.narrow { width: min(640px, calc(100vw - 24px)); }
dialog.wide { width: min(1060px, calc(100vw - 24px)); }
dialog::backdrop { background: rgba(17, 27, 22, 0.68); backdrop-filter: blur(3px); }
.dialog-top {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 22px; background: var(--cream); border-bottom: 1px solid var(--line);
}
.dialog-top strong { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.close-btn { padding: 6px 12px; min-height: 38px; border: 1px solid var(--forest); border-radius: 4px; background: var(--white); font-weight: 700; }
.dialog-body { padding: 22px; }

.detail-hero {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px;
}
.detail-visual-box {
  background: var(--tile, var(--mint)); border-radius: 5px; min-height: 210px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center;
}
.detail-visual-box img { max-width: 100%; max-height: 200px; object-fit: cover; border-radius: 4px; }
.detail-visual-box svg { width: 180px; height: 135px; }
.photo-credit-note { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.detail-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.detail-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.detail-card h3 { font-size: 15px; margin-bottom: 8px; }
.detail-card ul { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 5px; }
.addon-box {
  background: #eaf0df; border: 1.5px solid #96ab8b; border-radius: var(--radius);
  padding: 15px 18px; margin-bottom: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.shipping-estimator {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 18px; margin-bottom: 18px;
}
.postal-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.postal-row input { width: 150px; padding: 8px 12px; border: 1px solid #96a494; border-radius: 4px; text-transform: uppercase; }

.compare-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.compare-col { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; }
.compare-col dl { margin: 12px 0; display: grid; gap: 8px; font-size: 13.5px; }
.compare-col dt { font-size: 11.5px; font-weight: 750; text-transform: uppercase; color: var(--muted); }
.compare-col dd { margin: 2px 0 0; font-weight: 600; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea {
  padding: 10px 12px; border: 1px solid #96a494; border-radius: 5px; background: var(--white);
}
.form-field textarea { min-height: 92px; resize: vertical; }
.honesty-callout {
  background: var(--amber-bg); color: var(--amber-ink); border: 1px solid var(--amber-line);
  padding: 11px 14px; border-radius: 5px; font-size: 13px; margin-bottom: 14px;
}

.cart-list { display: grid; gap: 10px; margin-bottom: 16px; }
.cart-row {
  background: var(--cream); border: 1px solid var(--line); border-radius: 5px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.qty-controls { display: inline-flex; align-items: center; gap: 6px; }
.qty-controls button { min-height: 34px; padding: 4px 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; }

.toast {
  position: fixed; bottom: 76px; right: 20px; z-index: 250;
  background: var(--forest); color: var(--white); padding: 11px 16px; border-radius: 5px;
  font-size: 13.5px; font-weight: 650; box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

@media (max-width: 1040px) {
  .shop-shell { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .filter-groups-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 148px; }
  .header-main { grid-template-columns: 1fr auto; gap: 10px; }
  .header-search { grid-column: 1 / -1; order: 3; }
  .brand-detail { display: none; }
  .brand-name { font-size: 28px; }
  .opener { grid-template-columns: 1fr; }
  .opener-art { height: 175px; min-height: 175px; order: -1; }
  .aisle-photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .aisle-tile { height: 92px; }
  .filter-groups-wrap { grid-template-columns: 1fr 1fr; }
  .product-grid, .site-photo-grid { grid-template-columns: 1fr; }
  .card-visual { height: 156px; }
  .detail-hero, .detail-columns, .info-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
