/* ==========================================================================
   Kieffer Bétail — editorial dealer layout.
   Locked palette:
     #3daeb7 header · #db643e accent/CTA/footer · #eeeeee page background
     text #222222 · borders #e0e0e0 · white cards
   Font weights limited to 400 / 600.
   ========================================================================== */

/* Montserrat (self-hosted, SIL OFL) — latin + latin-ext, weights 400/600 */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --logo: #db643e;
  --header: #3daeb7;
  --footer: #db643e;
  --cta: #db643e;
  --cta-hover: #c4552f;

  --bg: #eeeeee;
  --surface: #ffffff;
  --soft: #f6f6f6;
  --ink: #222222;
  --body: #444444;
  --muted: #6b6b6b;
  --line: #e0e0e0;
  --line-2: #e0e0e0;
  --dark: #222222;

  --r: 6px;
  --maxw: 1280px;
  --pad: 20px;
  --section: 80px;

  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--ink); background: var(--bg); overflow-x: hidden; }
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.lead { font-size: 1.06rem; color: var(--body); }
.num, .vcard-price, .summary-price, dd { font-variant-numeric: tabular-nums; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid rgba(219, 100, 62, .85); outline-offset: 2px; }

.icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap; padding: 13px 20px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; border-color: #cfcfcf; }
.btn-primary { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: #d9d9d9; }
.btn-secondary:hover { background: var(--soft); border-color: #cfcfcf; }
.btn-sm { padding: 10px 14px; font-size: .88rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Announcement bar (graphite)
   ========================================================================== */
.topbar { background: var(--dark); color: #d9d9d9; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; gap: 22px; min-height: 40px; flex-wrap: wrap; }
.top-item { display: inline-flex; align-items: center; gap: 8px; color: #d9d9d9; }
.top-item:hover { color: #fff; text-decoration: none; }
.top-item .icon { width: 15px; height: 15px; stroke-width: 2; }
.top-hours { color: #a9a9a9; }
.lang { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; }
.lang a, .lang span { padding: 5px 9px; font-size: .78rem; font-weight: 600; border-radius: 4px; color: #d9d9d9; }
.lang a:hover { text-decoration: none; background: rgba(255, 255, 255, .14); }
.lang .is-current { background: var(--logo); color: var(--ink); }

/* ==========================================================================
   Header (two rows, brand green)
   ========================================================================== */
.site-head { background: var(--header); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.head-row1 { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 46px; width: auto; display: block; }
.head-cta { flex: 0 0 auto; }
.head-row2 { display: flex; align-items: center; gap: 24px; padding-block: 0 14px; border-top: 1px solid rgba(0, 0, 0, .1); padding-top: 12px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); font-size: .98rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { text-decoration: none; border-bottom-color: rgba(0, 0, 0, .28); }
.nav a.is-active { font-weight: 600; border-bottom-color: var(--logo); }
.nav-lang { display: none; }
.head-search { flex: 1 1 auto; min-width: 0; margin: 0 6px; display: flex; align-items: center; gap: 8px; }
.head-search .field { min-height: 44px; background: #fff; }
.head-cta-mobile { display: none; }
.menu-btn { display: none; align-items: center; gap: 8px; margin-left: auto; background: rgba(255, 255, 255, .4); border: 1px solid rgba(0, 0, 0, .16); color: var(--ink); font-weight: 600; padding: 11px 15px; border-radius: var(--r); cursor: pointer; }
.menu-btn .i-close { display: none; }
body.nav-open .menu-btn .i-open { display: none; }
body.nav-open .menu-btn .i-close { display: block; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.crumbs { border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; font-size: .82rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: #c9c9c9; }
.crumbs a:hover { color: var(--cta); }

/* ==========================================================================
   Hero (heading row + big visual + tile grid)
   ========================================================================== */
.hero-head { padding: 46px 0 26px; border-bottom: 1px solid var(--line); }
.hero-head h1 { max-width: 22ch; margin-bottom: 12px; }
.hero-head .lead { max-width: 62ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 24px; padding-block: 34px 10px; }
.hero-feature { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.hero-feature-media { aspect-ratio: 16 / 10; background: #f2f2f2; }
.hero-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-caption { padding: 18px 20px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.hero-kicker { margin: 0 0 5px; font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hero-caption h2 { margin: 0; font-size: 1.3rem; }
.hero-caption .hero-price { display: block; margin-top: 4px; font-size: 1.35rem; font-weight: 600; }
.hero-caption .btn { flex: 0 0 auto; }

.hero-side { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 24px; }
.tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.tile:hover { text-decoration: none; border-color: #cfcfcf; }
.tile-media { aspect-ratio: 4 / 3; background: #f2f2f2; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.tile-price { font-weight: 600; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile-name { font-size: .92rem; font-weight: 600; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-name a { color: inherit; }
.tile-name a:hover { color: var(--cta); text-decoration: none; }
.tile-meta { font-size: .8rem; color: var(--muted); }
.tile-btn { margin-top: 10px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-title { margin: 0; }
.section-more { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.section-more:hover { color: var(--cta); }
.section-intro { max-width: 62ch; color: var(--muted); margin: -14px 0 30px; }

/* Accent section title (editorial bar) */
.bar-title { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.bar-title::before { content: ""; width: 40px; height: 6px; background: var(--logo); border-radius: 2px; flex: 0 0 auto; }
.bar-title h2 { margin: 0; }
.bar-title .section-more { margin-left: auto; }

/* ---------- Dealer product cards ---------- */
.stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.vcard { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.vcard:hover { border-color: #cfcfcf; }
.vcard-media { display: block; background: #f2f2f2; aspect-ratio: 4 / 3; overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vcard-price { margin: 0; font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.vcard-title { font-size: 1.06rem; margin: 0; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard-title a:hover { color: var(--cta); text-decoration: none; }
.vcard-meta { margin: 0; font-size: .88rem; color: var(--muted); }
.vcard-desc { margin: 0; font-size: .88rem; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; }
.vcard-actions .btn { flex: 1; }

/* ---------- Dark promo band ---------- */
.promo { background: var(--dark); color: #fff; }
.promo-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 64px; }
.promo h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.promo p { color: #cfcfcf; max-width: 50ch; margin-bottom: 24px; }
.promo-media img { display: block; width: 100%; border-radius: var(--r); }

/* ---------- About (image + text) ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.about-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: var(--body); max-width: 54ch; }
.about-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; margin-top: 6px; }
.about-link:hover { color: var(--cta); }

/* ---------- Services list ---------- */
.services-inner { max-width: 880px; }
.service-list { border-top: 1px solid var(--line); }
.service { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: baseline; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Trust line ---------- */
.trust { border-top: 1px solid var(--line); padding: 26px 0; }
.trust p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust span + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--header); }

/* ---------- SEO ---------- */
.seo h2 { font-size: 1.35rem; }
.seo p { color: var(--muted); font-size: .98rem; }

/* ---------- CTA band (light) ---------- */
.cta-band { background: var(--soft); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 60px; }
.cta-title { margin: 0 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cta-text { margin: 0; color: var(--body); max-width: 58ch; }

/* ==========================================================================
   Footer (pink only)
   ========================================================================== */
.site-foot { background: var(--footer); color: #fff; margin-top: var(--section); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-block: 56px 34px; }
.foot-col h2 { color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.foot-col li { margin-bottom: 9px; }
.foot-col a, .foot-col span { color: #fff; font-size: .94rem; }
.foot-col a:hover { text-decoration: underline; }
.foot-brand p { color: rgba(255, 255, 255, .92); font-size: .94rem; max-width: 36ch; margin: 0 0 10px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .3); }
.foot-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 16px; font-size: .82rem; color: rgba(255, 255, 255, .9); }
.foot-bottom-inner p { margin: 0; }

/* ==========================================================================
   Stock page
   ========================================================================== */
.page-head { padding-block: 46px 28px; }
.page-head h1 { margin-bottom: 12px; }
.page-head .lead { max-width: 64ch; }
.count-badge { display: inline-block; font-size: .9rem; color: var(--muted); }
.filters-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.filters-inner { display: flex; align-items: flex-end; gap: 18px; padding-block: 16px; }
.filters { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; flex: 1; min-width: 0; }
.filter { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filter > label { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.filter-search { flex: 1 1 220px; }
.filter select.field, .filter input.field { min-width: 130px; }
.filter-range .range { display: flex; align-items: center; gap: 6px; }
.filter-range .range input { width: 96px; min-width: 0; }
.filter-actions { flex-direction: row; align-items: center; gap: 10px; }
.filters-toggle { display: none; }
.sort { display: flex; flex-direction: column; gap: 6px; }
.sort > label { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.results-controls { display: flex; align-items: flex-end; margin-left: auto; }
.results-status { color: var(--muted); font-size: .9rem; margin: 22px 0 4px; }
.empty { border: 1px solid var(--line); border-radius: var(--r); padding: 48px 20px; text-align: center; color: var(--muted); margin-top: 28px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); background: #fff; border-radius: var(--r); cursor: pointer; font-weight: 600; color: var(--ink); }
.pager button:hover:not(:disabled) { border-color: #bbb; }
.pager button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
.pager span { display: inline-flex; align-items: center; color: var(--muted); padding: 0 2px; }

/* ==========================================================================
   Product
   ========================================================================== */
.product-top { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: start; padding-block: 40px 10px; }
.product-gallery { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #f2f2f2; }
.product-gallery img { display: block; width: 100%; }
.product-gallery .gallery-empty { display: grid; place-items: center; min-height: 380px; color: var(--muted); }
.product-summary { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
@media (min-width: 1000px) { .product-summary { position: sticky; top: 24px; } }
.summary-cat { font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.product-summary h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }
.summary-price { font-size: 2rem; font-weight: 600; margin: 0 0 6px; }
.summary-meta { color: var(--muted); font-size: .95rem; margin: 0 0 22px; }
.summary-actions { display: flex; flex-direction: column; gap: 10px; }
.summary-actions .row { display: flex; gap: 10px; }
.summary-actions .row .btn { flex: 1; }
.summary-tools { display: flex; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tool-link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; }
.tool-link:hover { color: var(--ink); }
.tool-link.is-fav { color: var(--cta); }
.product-body { display: grid; grid-template-columns: 1.3fr .8fr; gap: 48px; align-items: start; padding-block: 48px 20px; }
.block + .block { margin-top: 40px; }
.block h2 { font-size: 1.5rem; margin-bottom: 18px; }
.spec-list { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.spec dt { color: var(--muted); font-size: .92rem; }
.spec dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.desc { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; color: var(--body); font-size: .98rem; }
.desc h2 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.desc details { border-top: 1px solid var(--line); padding: 12px 0; }
.desc details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.desc details p { margin: 8px 0 0; color: var(--muted); }
.desc script { display: none; }
.enquiry-side { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
@media (min-width: 1000px) { .enquiry-side { position: sticky; top: 24px; } }
.enquiry-side h2 { font-size: 1.5rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .9rem; }
.form-row.has-error .field { border-color: var(--cta); }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 auto; }
.check label { margin: 0; font-weight: 400; font-size: .88rem; color: var(--muted); }
.form-hint { font-size: .86rem; color: var(--muted); }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.is-error { color: var(--cta); }
.form-status.is-ok { color: #2f6b4f; }
.form-status.is-warn { color: #8a5600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #d9d9d9; border-radius: var(--r); padding: 12px 13px; min-height: 46px; }
textarea.field { min-height: 130px; resize: vertical; }
.field:focus { outline: none; border-color: var(--logo); box-shadow: 0 0 0 3px rgba(219, 100, 62, .3); }

/* Searchable product picker (options loaded from data/catalog.json) */
.product-picker { position: relative; }
.picker-control { position: relative; }
.picker-options { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 26px rgba(0, 0, 0, .12); }
.picker-option { padding: 9px 11px; border-radius: calc(var(--r) - 3px); cursor: pointer; font-size: .95rem; color: var(--ink); }
.picker-option:hover, .picker-option.is-active { background: rgba(61, 174, 183, .12); }
.picker-option.is-empty { color: var(--muted); cursor: default; }
.product-fixed .field[readonly] { background: #f7f7f7; color: var(--muted); }

/* ==========================================================================
   Other pages
   ========================================================================== */
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.7em; }
.prose p { color: var(--body); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-block { display: grid; gap: 14px; }
.contact-block li { display: flex; gap: 11px; font-size: 1rem; }
.contact-block .icon { color: var(--ink); margin-top: 3px; }
.contact-block a:hover { color: var(--cta); }
.note { border-left: 3px solid var(--logo); background: var(--soft); padding: 14px 18px; color: #555; border-radius: 0 var(--r) var(--r) 0; }
.error { border: 1px solid #f2c3c0; background: #fff4f3; color: #b42318; padding: 16px; border-radius: var(--r); }
.notfound { text-align: center; padding-block: 100px; }
.notfound-code { font-size: clamp(3rem, 8vw, 5rem); font-weight: 600; color: var(--logo); margin: 0; line-height: 1; }
.notfound .lead { margin-inline: auto; max-width: 48ch; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 46px; height: 46px; display: none; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: #fff; border-radius: var(--r); color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.to-top.is-visible { display: inline-flex; }
.to-top:hover { background: var(--soft); }

/* ==========================================================================
   Mobile action bar (product)
   ========================================================================== */
.mobilebar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner { gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .product-top, .product-body, .split, .promo-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-summary, .enquiry-side { position: static; }
  .mobilebar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px; }
  .mobilebar-price { font-weight: 600; font-size: 1.2rem; margin-right: auto; }
  body.page-product { padding-bottom: 76px; }
}

@media (max-width: 900px) {
  :root { --section: 64px; }
  .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row2 {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 90vw); z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff; margin: 0;
    padding: 88px 24px 28px; transform: translateX(102%); transition: transform .24s ease;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .18); overflow-y: auto; border-top: 0;
  }
  body.nav-open .head-row2 { transform: translateX(0); }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; }
  .nav a.is-active { border-bottom-color: var(--line); font-weight: 600; }
  .nav a.is-active::after { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--logo); margin-left: 12px; vertical-align: middle; }
  .head-row1 { flex-wrap: wrap; padding-top: 12px; padding-bottom: 6px; }
  .head-search { order: 3; flex-basis: 100%; margin: 0 0 8px; }
  .head-cta-mobile { display: inline-flex; margin-top: 20px; }
  .nav-lang { display: flex; gap: 16px; padding-top: 22px; }
  .nav-lang a { font-weight: 600; }
  .service { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 820px) {
  .stock-grid { grid-template-columns: 1fr; }
  .hero-caption { flex-direction: column; align-items: flex-start; }
  .filters-toggle { display: inline-flex; }
  .filters-inner { flex-wrap: wrap; }
  .filters { display: none; width: 100%; }
  .filters-open .filters { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 16px; }
  .filters-open .filter { width: 100%; }
  .filters-open .filter select.field, .filters-open .filter input.field { width: 100%; min-width: 0; }
  .filters-open .filter-range .range { display: grid; grid-template-columns: 1fr 1fr; }
  .filters-open .filter-range .range input { width: 100%; }
}

@media (max-width: 640px) {
  :root { --section: 52px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-inner, .promo-inner { flex-direction: column; align-items: flex-start; }
  .spec-list { grid-template-columns: 1fr; }
  .hero-side { gap: 16px; }
  .top-email { display: none; }
}

@media (max-width: 520px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .top-hours { display: none; }
  .brand-logo { height: 38px; }
}
