body { min-height: 100vh; display: flex; flex-direction: column; }
main#inhoud { flex: 1; }
.site-footer { border-top: 1px solid var(--line); }
.primary-nav [aria-current], .mobile-nav [aria-current] { color: var(--link); }
.shop-page { max-width: 1180px; padding-block: clamp(30px, 5vw, 80px) var(--section-gap); }
.shop-page :where(h1, h2, p, figure, dl, dd) { margin: 0; }
.shop-page :is(h1, h2) {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.06;
}
.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .75fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(30px, 4.5vw, 68px);
}
.shop-intro h1 { font-size: clamp(48px, 6.4vw, 96px); }
.shop-intro h1 span { color: var(--accent); }
.shop-intro p { max-width: 36ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.filter-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-model, .filter-toggle, .sort-field select, .filter-panel select, .offer-select select {
  min-height: 46px;
  border: 1px solid var(--field-edge);
  border-radius: var(--radius-field);
  background-color: var(--white);
  color: var(--ink);
  font: 500 14px/1.4 var(--sans);
}
.search-model, .filter-toggle { display: inline-flex; align-items: center; gap: 10px; padding-inline: 14px; }
.search-model { max-width: 355px; flex: 1; min-width: 0; }
.search-model input { width: 100%; min-width: 0; height: 44px; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }
.search-model input::placeholder { color: var(--muted); opacity: 1; }
.search-model:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-bar svg { width: 18px; height: 18px; flex: none; }
.filter-toggle { cursor: pointer; justify-content: center; }
.filter-toggle[aria-expanded="true"] { background: var(--ice); border-color: var(--navy); }
.sort-field { display: flex; align-items: center; gap: 9px; margin-inline-start: auto; color: var(--muted); font-size: 14px; }
.sort-field select, .filter-panel select, .offer-select select { padding: 0 32px 0 12px; width: 100%; cursor: pointer; }
.sort-field select { width: auto; }
.filter-panel { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-top: 14px; padding: 18px; border-radius: 14px; background: var(--surface); }
.filter-panel > label, .offer-select { display: grid; gap: 5px; min-width: 135px; color: var(--muted); font-size: 13px; font-weight: 550; }
.filter-panel .stock-field { display: flex; align-items: center; gap: 8px; min-height: 46px; color: var(--ink); font-size: 14px; cursor: pointer; }
.stock-field input { width: 17px; height: 17px; margin: 0; }
.filter-panel :disabled { opacity: .65; cursor: default; }
.shop-status { margin: 18px 0; color: var(--muted); font-size: 14px; }
.result-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; margin-block: 6px; }
.result-tools .shop-status { margin: 0; padding-block: 12px; }
.clear-filters { min-height: var(--touch); padding: 0 4px; border: 0; background: transparent; color: var(--link); font: 550 14px/1.4 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.model-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--fast) var(--ease);
}
.card-stage { position: relative; background: var(--ice); aspect-ratio: 1.5; }
.model-card:nth-child(3n + 2) .card-stage { background: var(--lavender); }
.model-card:nth-child(3n) .card-stage { background: var(--sand); }
.card-stage img { position: absolute; inset: 8%; display: block; width: 84%; height: 84%; object-fit: contain; transition: transform var(--motion) var(--ease); }
.model-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2vw, 30px); }
.model-copy h2 { font-size: clamp(25px, 2.2vw, 34px); }
.card-properties { margin: 6px 0 18px; color: var(--muted); font-size: 14px; }
.card-properties span { display: block; }
.card-bottom { margin-top: auto; display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 8px; }
.card-prompt { font-size: 14px; font-weight: 560; }
.card-price { font-size: 17px; font-weight: 650; }
.circle-arrow { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ice); color: var(--link); font-size: 18px; transition: background-color var(--fast), color var(--fast); }
@media (hover: hover) {
  .model-card:hover { border-color: var(--field-edge); }
  .model-card:hover .circle-arrow { background: var(--navy); color: var(--white); }
  .model-card:hover img { transform: scale(1.03); }
}
.no-results { padding: clamp(25px, 5vw, 68px); border-radius: var(--radius-card); background: var(--surface); }
.no-results h2 { font-size: clamp(25px, 3vw, 40px); }
.no-results p { color: var(--muted); margin: 12px 0 18px; }
.plain-button { min-height: var(--touch); padding: 0 17px; border: 1px solid var(--field-edge); border-radius: 24px; background: var(--white); color: var(--ink); cursor: pointer; }
.text-link, .shop-back { display: inline-flex; gap: 8px; align-items: center; min-height: var(--touch); color: var(--link); font-weight: 550; font-size: 14px; text-underline-offset: 4px; }
.shop-back { text-decoration: none; margin-bottom: 18px; }
.shop-back:hover { text-decoration: underline; }
.shop-status .text-link { min-height: auto; }
body[data-shop-view="detail"] .shop-page { padding-top: clamp(16px, 2.4vw, 35px); }
.product-stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: auto 1fr; gap: 24px clamp(26px, 5.5vw, 82px); align-items: start; }
.product-title { grid-column: 2; padding-top: clamp(0px, 2.2vw, 36px); }
.product-title h1, .missing-model { overflow-wrap: anywhere; font-size: clamp(42px, 4.7vw, 78px); }
.product-title p { margin-top: 10px; font-size: 16px; color: var(--muted); }
.product-gallery { grid-column: 1; grid-row: 1 / 3; min-width: 0; }
.gallery-stage, .gallery-empty { position: relative; display: grid; place-items: center; aspect-ratio: 1.3; border-radius: var(--radius-card); background: var(--ice); }
.gallery-stage img { position: absolute; top: 8%; left: 8%; display: block; width: 84%; height: 78%; object-fit: contain; }
.gallery-caption { position: absolute; left: 18px; bottom: 11px; font-size: 12px; color: var(--muted); }
.gallery-enlarge { position: absolute; inset: 0; width: 100%; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; }
.gallery-caption { pointer-events: none; }
.enlarge-label { position: absolute; right: 12px; bottom: 8px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--link); font: 550 13px/1.3 var(--sans); }
.photo-viewer { position: fixed; box-sizing: border-box; width: min(900px,96vw); max-width: 100%; max-height: 96dvh; margin: auto; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); color: var(--ink); }
.photo-viewer::backdrop { background: rgb(9 16 31 / .64); }
.photo-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.photo-tools strong { flex: 1 1 100px; color: var(--navy); font-size: 14px; }
.photo-tools .plain-button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.photo-viewport { height: min(70dvh,660px); overflow: auto; overscroll-behavior: contain; border-radius: var(--radius-field); background: var(--ice); }
.photo-viewport img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.photo-viewport.magnified img { width: 200%; height: 200%; }
.shop-page :is(.gallery-enlarge,.photo-viewer button,.photo-viewport,.stock-request summary):focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.stock-request { color: var(--ink); margin-block: 10px; }
.stock-request summary { display: list-item; width: fit-content; min-height: var(--touch); padding: 11px 14px; border-radius: var(--radius-field); background: var(--ice); color: var(--link); font-size: 15px; font-weight: 600; cursor: pointer; }
.stock-request[open] summary { margin-bottom: 12px; }
.stock-request p { color: var(--muted); font-size: 14px; }
.stock-request fieldset { display: grid; gap: 12px; min-width: 0; padding: 0; margin: 14px 0; border: 0; }
.stock-request label { display: grid; gap: 5px; font-size: 14px; font-weight: 550; }
.stock-request :is(select,input) { box-sizing: border-box; width: 100%; min-width: 0; min-height: var(--touch); padding: 8px 10px; border-radius: var(--radius-field); border: 1px solid var(--field-edge); background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.stock-request .action-primary { justify-self: start; cursor: pointer; }
.stock-request .request-status:not(:empty) { margin-block: 10px; }
.shop-intro:has(.stock-request[open]) { align-items: start; }
.thumbnails { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 12px; }
.gallery-thumb { width: 65px; height: 60px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); cursor: pointer; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb[aria-pressed="true"] { border: 2px solid var(--link); padding: 6px; }
.product-info { grid-column: 2; min-width: 0; }
.purchase-panel { padding-block: clamp(15px, 2vw, 25px); border-block: 1px solid var(--line); }
.purchase-panel h2 { font-size: clamp(21px, 2vw, 28px); }
.stock-note, .unit-notes, .add-result { margin-top: 12px; color: var(--muted); }
.stock-note + .text-link { margin-top: 5px; }
.purchase-panel > .text-link { display: flex; width: fit-content; }
.offer-select { margin-top: 17px; }
.offer-select select { max-width: 100%; }
.offer-price { display: block; color: var(--navy); margin: 15px 0; font-size: 25px; letter-spacing: -.035em; }
.purchase-panel .action-primary { cursor: pointer; }
.purchase-panel .action-primary:disabled { background: var(--muted); cursor: default; }
.add-result:empty { display: none; }
.product-specs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 32px; margin-top: var(--section-gap); padding-top: clamp(25px, 4vw, 55px); border-top: 1px solid var(--line); }
.product-specs h2 { font-size: clamp(30px, 3.2vw, 48px); }
.product-info .product-specs { display: block; margin-top: 20px; padding-top: 0; border-top: 0; }
.product-info .product-specs > div { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; }
.product-info .product-specs h2 { font-size: clamp(21px, 2vw, 28px); }
.product-info .product-specs .spec-table { font-size: 14px; }
.spec-table { min-width: 0; }
.spec-table > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { font-weight: 550; overflow-wrap: anywhere; }
.purchase-panel .spec-table { margin-top: 10px; font-size: 14px; }
@media (max-width: 960px) {
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shop-intro { grid-template-columns: 1fr; gap: 13px; }
  .filter-bar { gap: 8px; }
  .search-model { max-width: none; }
  .sort-field { width: 100%; justify-content: space-between; }
  .filter-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .filter-panel > label { min-width: 0; }
  .filter-panel select, .sort-field select, .offer-select select, .search-model input { font-size: 16px; }
  .product-stage, .product-specs { display: flex; flex-direction: column; gap: 18px; }
  .product-stage > *, .product-specs > * { width: 100%; }
  .product-title { padding-top: 0; }
  .product-info { margin-top: 3px; }
  .product-specs { margin-top: 42px; }
  .gallery-stage { max-height: 380px; }
}
@media (max-width: 520px) {
  .model-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .model-card { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
  .card-stage { aspect-ratio: auto; min-height: 148px; }
  .card-stage img { inset: 12%; width: 76%; height: 76%; }
  .model-copy { padding: 17px 14px; }
  .card-properties { margin-bottom: 12px; }
  .model-copy h2 { font-size: clamp(21px, 5.5vw, 29px); }
  .circle-arrow { width: 29px; height: 29px; }
  .card-prompt { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .model-card:hover img { transform: none; }
}
