/* DELTA EQUIPMENT AND SUPPLIES — design system
   Palette taken from the supplied logo (navy #0B4A73) · white backgrounds · charcoal type · cool greys */
:root {
  --brand: #0b4a73;
  --brand-600: #0d5888;
  --brand-700: #083b5c;
  --brand-800: #062e48;
  --brand-900: #041f31;
  --brand-50: #f0f5f9;
  --brand-100: #dde9f2;
  --brand-200: #bcd3e4;
  --ink: #16202a;
  --ink-2: #33414e;
  --muted: #5d6b78;
  --line: #e1e7ed;
  --line-2: #c9d3dc;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --ok: #1f6b45;
  --ok-bg: #e9f5ee;
  --warn: #8a5a00;
  --warn-bg: #fff6e0;
  --danger: #a12f2f;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 48, .06);
  --shadow: 0 1px 2px rgba(16, 32, 48, .05), 0 10px 30px rgba(16, 32, 48, .07);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 3px solid var(--brand-200); outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* Eyebrow label */
.eyebrow { display: inline-block; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .6rem 0 0; color: var(--muted); max-width: 62ch; }
.center .section-head, .section-head.center { justify-content: center; text-align: center; }
.center .section-head p, .section-head.center p { margin-inline: auto; }

/* Buttons */
.btn { --b: var(--brand); --c: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border: 1px solid var(--b); background: var(--b); color: var(--c); font: 600 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { --b: #fff; --c: var(--brand); }
.btn-light:hover { background: var(--brand-50); border-color: var(--brand-50); color: var(--brand-700); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--brand); }
.btn-sm { min-height: 38px; padding: .55rem .95rem; font-size: .74rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font: 600 .82rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--brand); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Top bar + header */
.topbar { background: var(--brand-800); color: #d6e3ee; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar .placeholder { background: transparent; color: #f5d78e; border-color: rgba(245, 215, 142, .5); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav .dd-toggle { display: inline-flex; align-items: center; gap: .3rem; font: 500 .9rem/1 var(--sans); color: var(--ink); text-decoration: none; padding: .7rem 0; background: none; border: 0; cursor: pointer; position: relative; }
.nav > ul > li > a::after, .nav .dd-toggle::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .25rem; height: 2px; background: var(--brand); transition: right .25s var(--ease); }
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current="page"]::after, .nav .dd-toggle:hover::after, .nav .dd-toggle[data-current]::after { right: 0; }
.nav > ul > li > a:hover, .nav .dd-toggle:hover { color: var(--brand); }
.dd-toggle svg { width: 10px; height: 10px; transition: transform .2s; }
.dropdown { position: absolute; top: calc(100% + 6px); left: -1rem; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease); z-index: 60; }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: .92rem; }
.dropdown a:hover { background: var(--brand-50); color: var(--brand); }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .75rem; font-weight: 600; color: var(--brand); }
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line-2); width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; }
.nav-toggle span:not(.sr-only), .nav-toggle span:not(.sr-only)::before, .nav-toggle span:not(.sr-only)::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: transform .25s var(--ease); content: ""; border-radius: 2px; }
.nav-toggle span:not(.sr-only)::before { position: absolute; top: -6px; }
.nav-toggle span:not(.sr-only)::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span:not(.sr-only) { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1140px) {
  .nav > ul { gap: 1rem; }
  .nav > ul > li > a, .nav .dd-toggle { font-size: .85rem; }
}
@media (max-width: 1040px) {
  :root { --header-h: 72px; }
  .logo img { height: 44px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .22s var(--ease); max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a, .nav .dd-toggle { display: flex; width: 100%; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav > ul > li > a::after, .nav .dd-toggle::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; display: none; min-width: 0; }
  .has-dd:hover .dropdown { display: none; }
  .has-dd.open .dropdown { display: block; }
  .nav .btn { margin-top: 1.25rem; }
  .topbar .tb-hours { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--brand-900); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 25, 41, .94) 0%, rgba(4, 31, 49, .86) 38%, rgba(6, 46, 72, .45) 66%, rgba(6, 46, 72, .12) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(4rem, 9vw, 7.5rem); }
.hero-copy { max-width: 700px; }
.hero .lede, .hero h1 { max-width: 620px; }
.hero .eyebrow { color: #a9cbe4; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.025em; margin-bottom: 1.25rem; }
.hero .lede { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: #dbe7f1; max-width: 56ch; margin-bottom: 2.1rem; }
.hero-points { display: flex; gap: .75rem 1.75rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .9rem; color: #cfe0ed; list-style: none; padding-left: 0; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points svg { width: 18px; height: 18px; color: #8fbfe2; flex: none; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(4, 25, 41, .78) 0%, rgba(4, 31, 49, .9) 100%); }
  .hero-media img { object-position: 60% 50%; }
}

/* Sections */
.section { padding: clamp(3.75rem, 8vw, 6.25rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-brand { background: var(--brand); color: #fff; }
.section-brand h2, .section-brand h3 { color: #fff; }

/* Page header */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 2.75rem); }
.page-head h1 { margin-bottom: .6rem; }
.page-head p { color: var(--muted); max-width: 66ch; margin: 0; font-size: 1.05rem; }
.page-head.with-image { position: relative; background: var(--brand-900); color: #fff; overflow: hidden; border: 0; }
.page-head.with-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 25, 41, .93) 0%, rgba(4, 31, 49, .82) 50%, rgba(6, 46, 72, .45) 100%); }
.page-head.with-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head.with-image .wrap { position: relative; z-index: 2; }
.page-head.with-image h1 { color: #fff; }
.page-head.with-image p { color: #d6e4ef; }
.page-head.with-image .eyebrow { color: #a9cbe4; }
.page-head.with-image .crumbs, .page-head.with-image .crumbs a { color: #a9cbe4; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.cat-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.cat-media { aspect-ratio: 4 / 3; background: var(--brand-50); overflow: hidden; position: relative; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.04); }
.cat-media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.cat-media .ph img { width: 56px; height: auto; opacity: .35; transform: none !important; object-fit: contain; }
.cat-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.cat-body h3 { margin: 0; font-size: 1.02rem; }
.cat-body p { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.cat-body .link-arrow { margin-top: auto; padding-top: .6rem; font-size: .74rem; }
.cat-count { font-size: .78rem; color: var(--muted); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-grid { gap: .75rem; } .cat-body { padding: .8rem; } .cat-body p { display: none; } .cat-body h3 { font-size: .92rem; } }

/* Split feature panels (New / Pre-owned) */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.panel { position: relative; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.panel-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-50); }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.panel-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.panel-body p { color: var(--ink-2); }
.panel-body .btn-row { margin-top: auto; padding-top: .5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Why choose us */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.feature .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); background: url("../brand/delta-mark-white.svg") no-repeat center / contain; opacity: .06; pointer-events: none; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(2.75rem, 6vw, 4.25rem) 0; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { color: #d4e3ef; margin: 0; max-width: 64ch; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); position: relative; }
.card:hover { box-shadow: var(--shadow); border-color: var(--brand-200); }
.card-media { aspect-ratio: 4 / 3; background: var(--soft); position: relative; overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .noimg, .noimg { display: grid; place-items: center; height: 100%; min-height: 160px; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; background: var(--soft); }
.card-badges { position: absolute; left: .7rem; top: .7rem; display: flex; gap: .35rem; flex-wrap: wrap; z-index: 1; }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .35rem; }
.card h3 { font-size: 1rem; line-height: 1.35; margin: 0 0 .3rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.card h3 a:hover { color: var(--brand); }
.card-mm { font-size: .86rem; color: var(--muted); margin: 0 0 .9rem; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.price { font-weight: 700; color: var(--ink); font-size: 1rem; }
.price.request { color: var(--brand); font-size: .86rem; font-weight: 600; letter-spacing: .02em; }
.card-foot .btn { position: relative; z-index: 1; }
.card.is-sold .card-media img { filter: grayscale(.6); opacity: .8; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; } }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; font: 600 .68rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; padding: .38rem .55rem; border-radius: 999px; background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); white-space: nowrap; }
.badge-new { background: var(--brand); color: #fff; border-color: var(--brand); }
.badge-preowned { background: #fff; color: var(--brand); border-color: var(--brand-200); }
.badge-available { background: var(--ok-bg); color: var(--ok); border-color: #b8dcc6; }
.badge-pending { background: var(--warn-bg); color: var(--warn); border-color: #ecd394; }
.badge-sold { background: #eceff2; color: #4c5761; border-color: #d3d9df; }
.badge-sample { background: #fff; color: #7a5a12; border: 1px dashed #d8b763; }
.badge-brand { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Catalog layout */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2rem; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 1rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.filters h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.filters .field { margin-bottom: 1rem; }
.filters .actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters-toggle { display: none; }
.cat-list { list-style: none; padding: 0; margin: 0 0 1.25rem; border-top: 1px solid var(--line); }
.cat-list a { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.cat-list a:hover, .cat-list a[aria-current="true"] { color: var(--brand); font-weight: 600; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.results-bar .count { color: var(--muted); font-size: .94rem; }
.results-bar .count strong { color: var(--ink); }
.searchbar { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.searchbar input { flex: 1; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: .82rem; text-decoration: none; border: 1px solid var(--brand-100); }
.chip:hover { background: var(--brand-100); }
.chip::after { content: "×"; font-size: 1rem; line-height: 1; }
.empty-state { text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--soft); }
.empty-state h3 { margin-bottom: .5rem; }
.pagination { display: flex; gap: .35rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 .6rem; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: .9rem; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination [aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 980px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
}

/* Forms */
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font: 600 .82rem/1.3 var(--sans); margin-bottom: .4rem; color: var(--ink-2); }
.field .req { color: var(--danger); }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], input[type=url], input[type=date], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235d6b78' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.2rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field-error input, .field-error select, .field-error textarea { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: .85rem; margin-top: .35rem; }
.hint { color: var(--muted); font-size: .84rem; margin-top: .35rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--brand); flex: none; }
.consent label.check { font: 400 .88rem/1.5 var(--sans); color: var(--ink-2); margin: 0; display: flex; }
.consent { padding: .9rem 1rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.4rem; }
.form-note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }
.prefill { display: flex; gap: .9rem; align-items: center; padding: .9rem; border: 1px solid var(--brand-100); background: var(--brand-50); border-radius: var(--radius); margin-bottom: 1.25rem; }
.prefill img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; background: #fff; }
.prefill .t { font-weight: 600; line-height: 1.3; }
.prefill .s { font-size: .84rem; color: var(--muted); }

/* Alerts & placeholders */
.alert { padding: .95rem 1.1rem; border: 1px solid var(--line-2); border-left: 4px solid var(--brand); background: var(--brand-50); margin-bottom: 1.25rem; font-size: .95rem; border-radius: var(--radius); }
.alert-error { border-left-color: var(--danger); background: #fdf3f3; border-color: #efc9c9; }
.alert-success { border-left-color: var(--ok); background: var(--ok-bg); border-color: #b8dcc6; }
.alert-info { border-left-color: var(--brand); }
.sample-banner { background: var(--warn-bg); border: 1px dashed #d8b763; color: #6a4c0c; padding: .8rem 1rem; border-radius: var(--radius); font-size: .9rem; margin-bottom: 1.25rem; }
.placeholder { display: inline; font-size: .92em; color: #7a5a12; background: var(--warn-bg); border: 1px dashed #d8b763; padding: 0 .35em; border-radius: 3px; }
.preview-bar { position: sticky; top: 0; z-index: 70; background: #2b2b2b; color: #fff; padding: .6rem 0; font-size: .9rem; }
.preview-bar .wrap { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.preview-bar a { color: #fff; }

/* Product detail */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.25rem); align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; background: #fff; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.gallery-nav:hover { color: var(--brand); border-color: var(--brand-200); }
.gallery-nav.prev { left: .75rem; }
.gallery-nav.next { right: .75rem; }
.gallery-count { position: absolute; right: .75rem; bottom: .75rem; background: rgba(22, 32, 42, .78); color: #fff; font-size: .75rem; padding: .3rem .6rem; border-radius: 999px; }
.gallery-expand { position: absolute; right: .75rem; top: .75rem; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: var(--radius); padding: .45rem .7rem; font: 600 .72rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; margin-top: .6rem; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--soft); cursor: pointer; aspect-ratio: 4 / 3; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--brand); }
.product-summary .badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.product-summary h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.product-summary .mm { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.25rem; }
.product-summary .lead { color: var(--ink-2); margin-bottom: 1.25rem; }
.buy-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem; background: var(--soft); margin-bottom: 1.25rem; }
.buy-box .price-big { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.buy-box .price-big.request { font-size: 1.25rem; color: var(--brand); }
.buy-box .price-unit { font-size: .9rem; font-weight: 500; color: var(--muted); }
.buy-box dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.25rem; margin: 1rem 0 1.15rem; font-size: .92rem; }
.buy-box dt { color: var(--muted); }
.buy-box dd { margin: 0; font-weight: 500; }
.product-sections { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.25rem); align-items: start; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; background: var(--soft); font-weight: 600; color: var(--ink-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.notice { font-size: .86rem; color: var(--muted); border-left: 3px solid var(--line-2); padding-left: .9rem; margin-top: 1.5rem; }
.sticky-form { position: sticky; top: calc(var(--header-h) + 1rem); }
@media (max-width: 980px) {
  .product-layout, .product-sections { grid-template-columns: 1fr; }
  .sticky-form { position: static; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8, 14, 20, .94); z-index: 200; display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: #ccd6df; font-size: .85rem; }

/* Two-column content */
.two-up { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.two-up.top { align-items: start; }
.two-up .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brand-50); }
.two-up .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .two-up { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%230b4a73' stroke-width='2' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") no-repeat center / 14px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.info-list .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list .k { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-list .v { font-size: 1rem; color: var(--ink); }
.info-list .v a { color: var(--ink); text-decoration: none; }
.info-list .v a:hover { color: var(--brand); text-decoration: underline; }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 1.5rem; aspect-ratio: 16 / 10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Legal / prose pages */
.legal { white-space: normal; }
.legal p { color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--brand-900); color: #b9cad8; font-size: .92rem; }
.site-footer .wrap { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.1rem; }
.footer-tag { color: #8fb0c8; font-size: .82rem; letter-spacing: .04em; margin-bottom: 1.25rem; }
.site-footer h3 { color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #dce7f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .placeholder { background: transparent; color: #f2d58e; border-color: rgba(242, 213, 142, .45); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.75rem; padding-top: 1.5rem; font-size: .82rem; color: #8fa8bc; }
.footer-bottom a { margin-left: 1.25rem; color: #b9cad8; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom a { margin: 0 1.25rem 0 0; } }

/* Thank-you / error */
.state { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.state .mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 1.5rem; }
.state .mark svg { width: 30px; height: 30px; }
.state p { color: var(--muted); max-width: 56ch; margin-inline: auto; }

/* Subtle reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .sticky-form, .gallery-nav, .btn { display: none !important; }
}
