[hidden] { display: none !important; }
.hero { min-height: min(800px, 85svh); }
.hero-inner { grid-template-columns: 1fr; }
.hero .lead { max-width: 660px; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 7.5rem); overflow-wrap: anywhere; }
.table-intro { max-width: 880px; font-size: 1.1rem; line-height: 1.7; }
.table-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin: 32px 0; }
.table-filters label { display: grid; gap: 8px; font-weight: 600; font-size: .85rem; }
.table-filters input, .table-filters select { font: inherit; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--black); min-height: 48px; }
.table-filters input { width: min(340px, 100%); }
.table-filters p { margin: 0 0 14px auto; color: var(--muted); }
.table-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.table-card { display: block; }
.table-card img { width: 100%; height: auto; aspect-ratio: 1.24; object-fit: cover; transition: filter .2s; }
.table-card:hover img { filter: brightness(.93); }
.table-card h3 { font-size: 1.7rem; margin: 18px 0 8px; text-transform: uppercase; }
.table-card p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.table-card .card-link { color: var(--red); font-size: .8rem; text-transform: uppercase; font-weight: 700; }
.breadcrumb { padding: 20px 0; font-size: .8rem; color: var(--muted); }
.breadcrumb a { text-decoration: underline; }
.table-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.table-specs dl { margin: 0; }
.table-specs dl > div { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.table-specs dt { color: var(--muted); font-size: .85rem; }
.table-specs dd { margin: 0; line-height: 1.6; }
.technical-link { display: block; background: var(--soft); border: 1px solid var(--line); }
.technical-link img { width: 100%; height: auto; max-height: 580px; object-fit: contain; }
.technical-link span { display: block; padding: 16px; font-size: .8rem; color: var(--red); }
.table-note { color: var(--muted); font-size: .85rem; line-height: 1.7; margin-top: 20px; }
.table-gallery { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 16px; }
.table-gallery img { height: 420px; width: 100%; object-fit: cover; }
.table-gallery a { display: block; }
.table-gallery figcaption { font-size: .8rem; padding-top: 10px; color: var(--muted); }
.table-gallery figure { margin: 0; min-width: 0; }
.swatch-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 20px; margin-bottom: 16px; }
.swatch-tabs button { flex-shrink: 0; }
.swatch-panel h3 { font-size: 1.3rem; margin-bottom: 8px; }
.swatch-source { display: inline-block; color: var(--muted); font-size: .8rem; text-decoration: underline; margin-bottom: 24px; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 24px 16px; }
.swatch { display: block; border: 1px solid var(--line); background: white; border-radius: 4px; overflow: hidden; }
.swatch img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.swatch strong { display: block; font-size: .8rem; line-height: 1.5; padding: 12px; font-weight: 500; }
.swatch-text { min-height: 100px; display: grid; place-content: center; text-align: center; padding: 14px; background: var(--soft); }
.swatch-text span { font-size: .7rem; color: var(--muted); }
.table-viewer { padding: 22px; border: 0; border-radius: 8px; width: min(1100px, calc(100% - 24px)); max-height: 94svh; background: white; color: var(--black); }
.table-viewer::backdrop { background: rgba(0,0,0,.82); }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.viewer-head h2 { font-size: 1rem; margin: 0; }
.viewer-close, .viewer-arrow { border: 1px solid var(--line); background: white; color: var(--black); border-radius: 50%; min-width: 44px; height: 44px; cursor: pointer; }
.viewer-stage { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 12px; align-items: center; }
.viewer-stage img { width: 100%; height: 70svh; object-fit: contain; }
.table-empty { padding: 40px 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: white; padding: 16px; }
.skip-link:focus { top: 10px; }
main section[id] { scroll-margin-top: 90px; }
@media (max-width: 1100px) { .table-models { grid-template-columns: repeat(2, minmax(0, 1fr)); } .table-gallery img { height: 300px; } .table-specs { gap: 30px; } }
@media (max-width: 700px) {
  .hero { min-height: 650px; }
  .hero-inner { padding-bottom: 36px; }
  .table-models { grid-template-columns: 1fr; gap: 32px; }
  .table-filters { display: grid; grid-template-columns: 1fr; }
  .table-filters input { width: 100%; }
  .table-filters p { margin: 0; }
  .table-specs { grid-template-columns: 1fr; }
  .table-specs dl > div { grid-template-columns: 90px 1fr; gap: 12px; }
  .table-gallery { grid-template-columns: 1fr; }
  .table-gallery img { height: auto; max-height: 600px; object-fit: contain; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .table-viewer { padding: 12px; }
  .viewer-stage { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 4px; }
  .viewer-arrow { min-width: 32px; width: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Category card headings preserve their existing typography at the correct level. */
.table-card h2 { font-size: 1.7rem; margin: 18px 0 8px; line-height: normal; text-transform: uppercase; }
@media (max-width: 600px) {
  main > .section .wrap > h1 { font-size: clamp(2rem, 8.5vw, 3.4rem); overflow-wrap: anywhere; }
}
