/* Customer website. Light concrete surfaces, charcoal type, plant-yellow accents taken from the machines themselves.
   Brand colours (--accent, --dark) are set per company from Website settings in base.html. */

:root {
  --accent: #f2a900;
  --dark: #1c2024;
  --accent-ink: #1a1400;
  --paper: #f5f4f0;
  --paper-2: #ecebe5;
  --surface: #ffffff;
  --ink: #16191c;
  --ink-2: #4a525a;
  --ink-3: #78818a;
  --line: #e1ded6;
  --line-2: #eeece6;
  --ok: #1d7a45;
  --ok-tint: #e6f3ea;
  --warn: #9a5800;
  --warn-tint: #fdf1dc;
  --bad: #b3261e;
  --bad-tint: #fbe9e7;
  --info: #1d5a8c;
  --info-tint: #e7f0f7;
  --display: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 10px;
  --r-sm: 6px;
  --shadow: 0 1px 2px rgba(22, 25, 28, .06), 0 8px 24px rgba(22, 25, 28, .06);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-transform: uppercase; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
small, .muted { color: var(--ink-3); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { font: 700 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--accent); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r-sm); border: 2px solid var(--dark); background: transparent; color: var(--dark);
  font: 700 .95rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, transform .05s; white-space: nowrap; }
.btn:hover { background: var(--dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--dark); border-color: var(--dark); color: var(--accent); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--dark); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; color: var(--info); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; min-height: 0; text-transform: none; letter-spacing: 0; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.demo-bar { background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, #ffd25a 14px 28px); color: var(--accent-ink); font-size: .85rem; font-weight: 600; text-align: center; padding: 6px 16px; }
.preview-bar { background: var(--info); color: #fff; font-size: .85rem; text-align: center; padding: 6px 16px; }
.topline { background: var(--dark); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topline .wrap { display: flex; gap: 18px; align-items: center; min-height: 36px; justify-content: flex-end; flex-wrap: wrap; }
.topline a { color: #fff; text-decoration: none; }
.topline a:hover { color: var(--accent); }
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo img { height: 42px; width: auto; }
.logo-mark { width: 42px; height: 42px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 1.05rem/1 var(--display); }
.logo-name { font: 700 1.15rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.logo-name small { display: block; font: 500 .72rem/1.2 var(--body); letter-spacing: .04em; text-transform: none; color: var(--ink-3); }
.nav { display: none; }
.nav a { text-decoration: none; font: 600 .92rem/1 var(--body); color: var(--ink-2); padding: 10px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.header-cta { display: none; }
.menu-btn { width: 48px; height: 48px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); display: grid; place-items: center; cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); padding: 8px 16px 18px; }
.mobile-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; font-weight: 600; }
.mobile-nav .btn { margin-top: 14px; width: 100%; }
.mobile-hire { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.mobile-hire .btn { flex: 1; }
body.has-mobile-hire { padding-bottom: 72px; }
.nav a { white-space: nowrap; }
@media (min-width: 1240px) {
  .nav { display: flex; gap: 20px; align-items: center; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}
@media (min-width: 1024px) {
  .mobile-hire { display: none !important; }
  body.has-mobile-hire { padding-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 18, .92) 0%, rgba(14, 16, 18, .72) 45%, rgba(14, 16, 18, .25) 100%); }
.hero-art { position: absolute; right: -60px; bottom: 0; width: min(720px, 80%); opacity: .22; }
@media (min-width: 1100px) { .hero-art { opacity: .85; width: 560px; right: 0; } }
.hero-inner { position: relative; padding: 64px 0 132px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.hero-points span::before { content: "■"; color: var(--accent); margin-right: 8px; font-size: .7rem; vertical-align: 2px; }
.stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--accent) 0 16px, var(--dark) 16px 32px); }

/* ---------- Search panel ---------- */
.search-panel { position: relative; z-index: 5; margin-top: -88px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; border-top: 5px solid var(--accent); }
.search-panel h2 { font-size: 1.15rem; margin-bottom: 14px; }
.search-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .search-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .search-grid { grid-template-columns: repeat(4, 1fr); } .search-grid .span-2 { grid-column: span 2; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field small, .help { font-size: .82rem; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search],
input[type=url], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #cfcbc1; border-radius: var(--r-sm); background: #fff;
  font: 16px/1.3 var(--body); color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--dark); outline: 3px solid rgba(242, 169, 0, .35); outline-offset: 0; }
input[type=file] { font: inherit; padding: 10px 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.errors { list-style: none; margin: 0; padding: 0; color: var(--bad); font-size: .85rem; font-weight: 600; }
.form-errors { background: var(--bad-tint); color: var(--bad); border-left: 4px solid var(--bad); padding: 12px 14px; border-radius: var(--r-sm); margin-bottom: 18px; font-weight: 600; }
.form-errors div + div { margin-top: 4px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--dark); flex: none; }
.choice-list { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #cfcbc1; border-radius: var(--r-sm); padding: 14px; background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--dark); box-shadow: inset 0 0 0 1px var(--dark); background: #fffbef; }
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--dark); flex: none; }
.honeypot { position: absolute; left: -5000px; }

/* ---------- Cards / catalogue ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.eq-card { transition: box-shadow .2s, transform .2s; }
.eq-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.eq-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.eq-media img, .eq-media svg { width: 100%; height: 100%; object-fit: cover; }
.eq-media .plate { position: absolute; top: 12px; left: 12px; }
.eq-media .badge { position: absolute; bottom: 12px; left: 12px; }
.eq-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eq-cat { font: 700 .74rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.eq-title { font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; margin: 0; }
.eq-title a { text-decoration: none; }
.eq-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.eq-sub { color: var(--ink-2); margin: 0; font-size: .95rem; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; }
.specs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.specs li span:first-child { color: var(--ink-3); }
.specs li span:last-child { font-weight: 600; text-align: right; }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding-top: 6px; }
.price strong { font: 700 1.45rem/1 var(--display); }
.price .per { color: var(--ink-3); font-size: .88rem; }
.price-quote { font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.eq-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plate { display: inline-flex; align-items: center; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent-ink); border-radius: 4px; padding: 2px 8px; font: 700 .8rem/1.2 var(--display); letter-spacing: .08em; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 700 .76rem/1 var(--body); background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-ok, .badge-available, .badge-available_dates { color: var(--ok); background: var(--ok-tint); border-color: #bfe1cb; }
.badge-bad, .badge-unavailable_dates { color: var(--bad); background: var(--bad-tint); border-color: #f2c4bf; }
.badge-warn, .badge-quote { color: var(--warn); background: var(--warn-tint); border-color: #f2d7a6; }
.badge-info, .badge-check_dates { color: var(--info); background: var(--info-tint); border-color: #c4d9ea; }
.badge-muted, .badge-contact { color: var(--ink-2); background: var(--paper-2); }

.cat-card { position: relative; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.cat-card .eq-media { aspect-ratio: 16 / 10; }
.cat-card .cat-body { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cat-card h3 { margin: 0; text-transform: uppercase; }
.cat-card .count { font-size: .85rem; color: var(--ink-3); white-space: nowrap; }
.cat-card:hover { box-shadow: var(--shadow); }
.cat-card:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }

/* ---------- Catalogue layout ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 36px 0 30px; }
.page-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 70ch; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 10px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.catalogue { display: grid; gap: 24px; grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 56px; }
@media (min-width: 1024px) { .catalogue { grid-template-columns: 290px 1fr; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; align-self: start; }
.filters h2 { font-size: 1rem; }
.filters .field + .field { margin-top: 12px; }
.filters-toggle { width: 100%; }
@media (min-width: 1024px) { .filters-toggle { display: none; } .filters[data-collapsible] { display: block !important; } .filters { position: sticky; top: 92px; } }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-bar select { width: auto; min-width: 190px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .85rem; text-decoration: none; }
.chip:hover { border-color: var(--dark); }
.empty { background: var(--surface); border: 2px dashed var(--line); border-radius: var(--r); padding: 40px 20px; text-align: center; color: var(--ink-2); }
.empty h3 { color: var(--ink); }

/* ---------- Details page ---------- */
.detail { display: grid; gap: 28px; grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 56px; }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 1fr) 400px; } }
.gallery-main { aspect-ratio: 4 / 3; background: var(--paper-2); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.gallery-main img, .gallery-main svg { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--paper-2); }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 12px; }
.book-box { border-top: 5px solid var(--accent); }
@media (min-width: 1024px) { .book-box { position: sticky; top: 92px; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }
.notice { border-radius: var(--r-sm); padding: 12px 14px; font-size: .92rem; border-left: 4px solid; }
.notice-ok { background: var(--ok-tint); border-color: var(--ok); }
.notice-warn { background: var(--warn-tint); border-color: var(--warn); }
.notice-bad { background: var(--bad-tint); border-color: var(--bad); }
.notice-info { background: var(--info-tint); border-color: var(--info); }
.notice strong { display: block; margin-bottom: 2px; }
.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--ink-2); }
.pre { white-space: pre-line; }

/* ---------- Estimate table ---------- */
.estimate { width: 100%; border-collapse: collapse; font-size: .93rem; }
.estimate td, .estimate th { padding: 8px 4px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.estimate th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.estimate .num { text-align: right; white-space: nowrap; }
.estimate tfoot td { font-weight: 700; }
.estimate tfoot tr.total td { font: 700 1.2rem/1.2 var(--display); border-top: 2px solid var(--dark); }
.estimate .note { display: block; color: var(--ink-3); font-size: .8rem; font-weight: 400; }
.estimate .q { color: var(--warn); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; overflow-x: auto; scrollbar-width: none; }
.steps li { flex: 1 0 auto; }
.steps a, .steps span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.steps .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font: 700 .8rem/1 var(--display); }
.steps .done a { color: var(--ink); }
.steps .done .n { background: var(--dark); color: #fff; }
.steps .current span { color: var(--accent-ink); background: #fff7df; border-color: var(--accent); }
.steps .current .n { background: var(--accent); color: var(--accent-ink); }
.progress { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.progress span { display: block; height: 100%; background: var(--accent); }
.order { display: grid; gap: 24px; grid-template-columns: 1fr; padding-top: 26px; padding-bottom: 64px; }
@media (min-width: 1024px) { .order { grid-template-columns: minmax(0, 1fr) 360px; } .steps .label-short { display: none; } }
.order-form .panel { padding: 22px; }
.order-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap-reverse; }
.mini-eq { display: flex; gap: 12px; align-items: center; }
.mini-eq .thumb { width: 92px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-2); flex: none; }
.mini-eq .thumb img, .mini-eq .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }

/* ---------- Confirmation / status ---------- */
.confirm-hero { background: var(--dark); color: #fff; padding: 42px 0; }
.confirm-hero h1 { color: #fff; }
.ref { display: inline-block; font: 700 1.6rem/1 var(--display); letter-spacing: .08em; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-sm); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font: 700 .82rem/1 var(--body); padding: 7px 12px; border-radius: 999px; }
.tone-ok { background: var(--ok-tint); color: var(--ok); }
.tone-warn { background: var(--warn-tint); color: var(--warn); }
.tone-bad { background: var(--bad-tint); color: var(--bad); }
.tone-info { background: var(--info-tint); color: var(--info); }
.tone-muted { background: var(--paper-2); color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 14px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 3px solid var(--dark); }
.timeline li.customer::before { border-color: var(--accent); }
.timeline time { display: block; font-size: .8rem; color: var(--ink-3); }

/* ---------- Account ---------- */
.account { display: grid; gap: 24px; grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 64px; }
@media (min-width: 1024px) { .account { grid-template-columns: 240px minmax(0, 1fr); } }
.side-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.side-nav a { white-space: nowrap; text-decoration: none; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: .92rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); }
.side-nav a[aria-current="page"] { background: var(--dark); color: #fff; border-color: var(--dark); }
@media (min-width: 1024px) { .side-nav { flex-direction: column; position: sticky; top: 92px; } .side-nav a { border: 0; background: none; } .side-nav a:hover { background: var(--surface); } }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; }
.stat span { display: block; font-size: .8rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.stat strong { font: 700 1.6rem/1.2 var(--display); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: #faf9f6; }
.table .num { text-align: right; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.list-cards { display: grid; gap: 12px; }
.row-card { display: flex; gap: 14px; justify-content: space-between; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; flex-wrap: wrap; }
.row-card:hover { border-color: var(--dark); }
.row-card .meta { color: var(--ink-3); font-size: .88rem; }
.row-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 600; }
.tabs a[aria-current="page"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.msg { border-radius: var(--r); padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); }
.msg + .msg { margin-top: 10px; }
.msg.staff { border-left: 4px solid var(--accent); }
.msg header { font-size: .82rem; color: var(--ink-3); margin-bottom: 4px; }
.messages { list-style: none; margin: 0; padding: 0; }
.messages li { padding: 12px 16px; border-radius: var(--r-sm); margin: 12px 0 0; font-weight: 600; }
.messages .success { background: var(--ok-tint); color: var(--ok); }
.messages .error { background: var(--bad-tint); color: var(--bad); }
.messages .info, .messages .warning { background: var(--info-tint); color: var(--info); }
.auth { max-width: 520px; margin: 0 auto; padding-top: 40px; padding-bottom: 64px; }
.auth.wide { max-width: 760px; }

/* ---------- Home sections ---------- */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; }
.benefit .num { font: 700 2.4rem/1 var(--display); color: var(--accent); -webkit-text-stroke: 1px var(--accent-ink); }
.benefit h3 { margin: 10px 0 6px; text-transform: uppercase; }
.benefit p { margin: 0; color: var(--ink-2); }
.how { counter-reset: how; display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .how { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .how.six { grid-template-columns: repeat(6, 1fr); } }
.how li { counter-increment: how; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.how li::before { content: counter(how, decimal-leading-zero); display: block; font: 700 1.8rem/1 var(--display); color: var(--accent); -webkit-text-stroke: 1px var(--accent-ink); margin-bottom: 10px; }
.how h3 { font-size: 1.02rem; text-transform: uppercase; margin-bottom: 4px; }
.how p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.band { background: var(--dark); color: #fff; }
.band h2 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .8); }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 40px 0; }

/* ---------- Footer ---------- */
.footer { background: #121417; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 48px 0 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { color: #fff; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
.footer .logo-name { color: #fff; }
.footer .logo-name small { color: rgba(255, 255, 255, .6); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--display); color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }

@media print {
  .header, .footer, .topline, .mobile-hire, .side-nav, .btn { display: none !important; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Machine drawings (shown until real photos are uploaded) ---------- */
.machine-art .m-bg { fill: #ecebe5; }
.machine-art .m-grid { stroke: #e2e0d8; stroke-width: 1; fill: none; }
.machine-art .m-ground { fill: #d8d4c9; }
.machine-art .m-body { fill: var(--accent); stroke: #2b3036; stroke-width: 2.5; stroke-linejoin: round; }
.machine-art .m-dark { fill: #2b3036; stroke: #2b3036; }
.machine-art .m-wheel { fill: #5c636b; }
.machine-art .m-glass { fill: #a8c3d6; stroke: #2b3036; stroke-width: 2; }
.machine-art .m-cable { stroke: #2b3036; stroke-width: 2; fill: none; }
.machine-art .m-grill { stroke: #5c636b; stroke-width: 3; fill: none; }
.hero .machine-art .m-bg, .hero .machine-art .m-grid { fill: none; stroke: none; }
.hero .machine-art .m-ground { fill: rgba(255, 255, 255, .06); }

/* Cards size themselves to the space available (catalogue sits beside the filter panel). */
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) !important; }
.eq-actions .btn { padding: 0 8px; min-width: 0; }

.catalogue > *, .detail > *, .order > *, .account > * { min-width: 0; }
.topline .wrap { gap: 14px; }
@media (max-width: 640px) { .topline .t-email { display: none; } .topline .wrap { justify-content: space-between; } }
