/* CAME Georgia — original stylesheet. Tokens first, components second. */

:root {
  color-scheme: light;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --surface-2: #EAEFF5;
  --ink: #131A22;
  --muted: #5B6875;
  --line: #DAE2EB;
  --line-strong: #C3CFDB;
  --accent: #14538C;
  --accent-hover: #0E4171;
  --accent-soft: #E4EDF7;
  --amber: #A66A00;
  --amber-soft: #FBF0DC;
  --shadow: 0 1px 2px rgba(19, 26, 34, .06), 0 8px 24px -12px rgba(19, 26, 34, .18);

  --f-display: "Noto Serif Georgian", "BPG Nino Mtavruli", Georgia, serif;
  --f-body: "Noto Sans Georgian", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  --r: 4px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0D1218;
    --surface: #151C24;
    --surface-2: #1B242E;
    --ink: #E4EAF1;
    --muted: #9AA7B5;
    --line: #253039;
    --line-strong: #35434F;
    --accent: #6BAEF2;
    --accent-hover: #8CC3F8;
    --accent-soft: #15283B;
    --amber: #E3A94A;
    --amber-soft: #2A2113;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .7);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D1218;
  --surface: #151C24;
  --surface-2: #1B242E;
  --ink: #E4EAF1;
  --muted: #9AA7B5;
  --line: #253039;
  --line-strong: #35434F;
  --accent: #6BAEF2;
  --accent-hover: #8CC3F8;
  --accent-soft: #15283B;
  --amber: #E3A94A;
  --amber-soft: #2A2113;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; text-wrap: balance; margin: 0; line-height: 1.25; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.95rem); }
h3 { font-size: 1.12rem; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(44px, 6vw, 82px); }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.lede { color: var(--muted); font-size: 1.04rem; max-width: 62ch; }

.stack { display: flex; flex-direction: column; }
.stack-3 { gap: 12px; }
.stack-4 { gap: 16px; }
.stack-6 { gap: 26px; }
.stack-8 { gap: 38px; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 18px; min-height: 66px; flex-wrap: wrap; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo b { font-family: var(--f-display); font-size: 1.22rem; letter-spacing: .02em; line-height: 1.1; }
.logo span { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.head-tel { font-size: .92rem; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 720px) {
  .head-row { min-height: 0; padding-block: 10px; gap: 10px 14px; }
  .logo { margin-right: 0; flex: 1 1 100%; }
  .logo b { font-size: 1.08rem; }
  .nav { gap: 6px 14px; flex: 1 1 auto; }
  .nav a { font-size: .85rem; }
  .head-tel { font-size: .85rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r);
  font-family: var(--f-body); font-size: .93rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn--primary, :root:not([data-theme="light"]) .btn--primary { color: #0B1119; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .btn--primary { color: #fff; } }
.btn--primary:hover { background: var(--accent-hover); color: inherit; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 5vw, 74px) clamp(36px, 4.5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* the spec plate — the units this trade actually quotes in */
.plate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.plate-head {
  padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2);
  font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.plate-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.plate-row:last-child { border-bottom: 0; }
.plate-row dt { color: var(--muted); font-size: .88rem; }
.plate-row dd { margin: 0; font-family: var(--f-mono); font-size: .92rem; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); padding: 20px 18px; display: flex; flex-direction: column; gap: 3px; }
.stat b { font-family: var(--f-display); font-size: 1.7rem; font-variant-numeric: tabular-nums; line-height: 1; }
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit; transition: border-color .15s, transform .15s;
}
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { color: var(--ink); }
.card p { color: var(--muted); font-size: .93rem; }
.card-more { margin-top: auto; padding-top: 8px; font-size: .86rem; font-weight: 600; color: var(--accent); }

.cat-mark {
  width: 34px; height: 34px; border-radius: 2px; background: var(--accent-soft);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .8rem; color: var(--accent); font-weight: 600;
}

/* ---------- product ---------- */
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.product-head { padding: 22px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line); }
.product-head h3 { font-size: 1.22rem; }
.product-kind { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.product-body { padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: 26px; }
@media (max-width: 760px) { .product-body { grid-template-columns: 1fr; gap: 20px; } }
.product-body p { color: var(--muted); font-size: .94rem; }

.feature-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { position: relative; padding-left: 18px; font-size: .92rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 45%; }
.spec-table td { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* image slot — where the licensed product photography goes */
.shot {
  aspect-ratio: 4 / 3; max-width: 100%; background: var(--surface-2);
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--muted); font-size: .78rem; line-height: 1.5;
}

/* ---------- notes & process ---------- */
.note {
  border-left: 3px solid var(--amber); background: var(--amber-soft);
  padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: .92rem;
}
.steps { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { background: var(--surface); padding: 20px 22px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 8px; } }
.step-n { font-family: var(--f-mono); font-size: .9rem; color: var(--accent); font-weight: 600; padding-top: 2px; }
.step h3 { font-size: 1.02rem; margin-bottom: 3px; }
.step p { color: var(--muted); font-size: .92rem; }

.faq { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
details.qa { background: var(--surface); }
details.qa summary { padding: 16px 22px; cursor: pointer; font-weight: 600; font-size: .98rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 1.2rem; line-height: 1; }
details.qa[open] summary::after { content: "–"; }
details.qa .qa-body { padding: 0 22px 18px; color: var(--muted); font-size: .93rem; max-width: 74ch; }

/* ---------- form ---------- */
.form { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r); padding: 10px 12px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.form-msg { font-size: .9rem; padding: 12px 14px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--line); }

/* ---------- catalogue ---------- */
.sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.filterbar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 30;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
@media (max-width: 720px) { .filterbar { position: static; } }
.filterbar-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding-block: 14px; }
.filterbar-row .field { gap: 0; }
.filterbar-row .btn { flex: 0 0 auto; padding-block: 10px; }

.count { font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.model {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.model-top { display: flex; align-items: baseline; gap: 10px; }
.model-top h3 { font-family: var(--f-mono); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; overflow-wrap: anywhere; }
.model-cat {
  align-self: flex-start; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 2px; padding: 3px 7px; line-height: 1.3;
}
.model-group { font-size: .84rem; color: var(--accent); margin: 0; margin-top: -4px; }
.spec-rows { display: flex; flex-direction: column; gap: 0; margin-top: 2px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row b { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.model-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.model-foot .ask { font-size: .85rem; font-weight: 600; text-decoration: none; }
.model-foot .src { font-size: .78rem; color: var(--muted); text-decoration: none; }
.model-foot .src:hover { color: var(--accent); }

/* ---------- contact ---------- */
.contact-line { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-line dd { margin: 0; font-size: 1.02rem; font-variant-numeric: tabular-nums; }

/* ---------- cta band ---------- */
.cta {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 4vw, 42px); display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px; align-items: center; box-shadow: var(--shadow);
}
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); padding-block: 40px 30px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 22px; } }
.foot-grid h4 { font-family: var(--f-body); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.foot-links { display: flex; flex-direction: column; gap: 7px; }
.foot-links a { color: var(--ink); text-decoration: none; font-size: .91rem; }
.foot-links a:hover { color: var(--accent); }
.foot-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }

.crumb { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- compatible accessories ---------- */
details.acc { border-top: 1px solid var(--line); background: var(--surface-2); }
details.acc summary {
  padding: 14px 22px; cursor: pointer; font-size: .9rem; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary b { font-family: var(--f-mono); color: var(--accent); font-weight: 600; }
details.acc summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 1.15rem; line-height: 1; }
details.acc[open] summary::after { content: "–"; }
details.acc .acc-body { padding: 0 22px 18px; }
details.acc .spec-table td { font-family: var(--f-body); vertical-align: top; }
details.acc .spec-table td:first-child { width: 30%; }

/* ---------- per-category model tables ---------- */
table.models { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 520px; }
table.models thead th {
  text-align: left; padding: 10px 14px 10px 0; border-bottom: 2px solid var(--line-strong);
  font-family: var(--f-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
table.models tbody th {
  text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-weight: 600; font-size: .88rem; white-space: nowrap; vertical-align: top;
}
table.models tbody th a { color: var(--ink); }
table.models tbody th a:hover { color: var(--accent); }
table.models td {
  padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums; vertical-align: top; color: var(--muted);
}
table.models tbody tr:hover th, table.models tbody tr:hover td { background: var(--surface-2); }

/* keep units intact — the table scrolls horizontally instead of breaking values */
table.models td { white-space: nowrap; }
@media (max-width: 620px) { table.models { font-size: .8rem; } }

/* ---------- accessory groups, as the manufacturer groups them ---------- */
.accg { margin-bottom: 16px; }
.accg:last-of-type { margin-bottom: 8px; }
.accg h4 {
  font-family: var(--f-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 6px; padding-bottom: 5px; border-bottom: 1px solid var(--line);
}
.accg .spec-table td { font-family: var(--f-body); padding: 7px 0; }
.accg .spec-table td.pc {
  font-family: var(--f-mono); font-size: .84rem; white-space: nowrap;
  width: 1%; padding-right: 16px; color: var(--ink);
}
.volt {
  display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 2px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--f-mono); font-size: .72rem; vertical-align: 1px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.chip {
  padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 2px;
  font-family: var(--f-mono); font-size: .8rem; color: var(--muted);
}
.accnote { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.simrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: .85rem; }
.simrow .k { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sim {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--surface-2); font-size: .82rem;
}
.sim b { font-family: var(--f-mono); font-weight: 600; }
.sim span { color: var(--muted); }


/* ---------- test-mode strip ---------- */
.testbar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 8px 20px; padding-top: calc(8px + env(safe-area-inset-top, 0px));
  background: var(--amber-soft); color: var(--ink); border-bottom: 1px solid var(--amber);
  font-size: .84rem; text-align: center;
}
.testbar-tag {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  padding: 2px 7px; border-radius: 2px; background: var(--amber); color: #fff;
}
.testbar a { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

.model-acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.model-acc + .model-acc { margin-top: -1px; }
.model-acc-name {
  display: block; padding: 10px 22px 0; font-family: var(--f-mono); font-size: .86rem; font-weight: 600;
}
.model-acc details.acc { border-top: 0; background: transparent; }


/* ---------- manufacturer page + document links ---------- */
.dlrow { display: flex; flex-wrap: wrap; gap: 8px; }
.dlrow--compact { padding: 8px 22px 10px; }
.dl {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  border: 1px solid var(--line-strong); border-radius: 2px; text-decoration: none;
  font-size: .8rem; color: var(--ink); background: var(--surface);
}
.dl::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--muted); }
.dl-page::before { background: var(--accent); }
.dl-catalogue::before, .dl-leaflet::before, .dl-sheet::before { background: var(--amber); }
.dl:hover { border-color: var(--accent); color: var(--accent); }
.model-docs { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.model-docs .src { font-size: .78rem; }

/* mega menu */
.dd { position: static; display: inline-block; }
.site-head { position: sticky; }
.mega { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; z-index: 50; width: min(900px, 94vw);
  grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px; background: var(--bg, #fff);
  border: 1px solid var(--line, #ddd); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.dd:hover .mega, .dd:focus-within .mega { display: grid; }
.mega h5 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.mega h5 a { color: var(--muted); }
.mega a { display: block; padding: 4px 0; font-size: .9rem; text-decoration: none; }
@media (max-width: 900px) { .mega { display: none !important; } }

/* ---------- UI review fixes (2026-10-03) ---------- */
@media (min-width: 721px) {
  .head-row { flex-wrap: nowrap; }
  .logo span { max-width: 26ch; white-space: normal; line-height: 1.3; }
  .nav { flex-wrap: nowrap; gap: 16px; }
  .nav a { white-space: nowrap; font-size: .9rem; }
}
@media (max-width: 1100px) and (min-width: 721px) { .logo span { display: none; } }
@media (max-width: 720px) {
  .head-row { flex-wrap: wrap; }
  .logo { flex: 1 1 auto; }
  .logo span { display: none; }
  .head-tel { order: 2; }
  .nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 16px; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .testbar { font-size: .74rem; padding: 6px 14px; gap: 8px; }
  .testbar a { display: none; }
}
main > section.section:first-child { padding-top: clamp(24px, 3vw, 40px); }
a.chip { text-decoration: none; color: var(--ink); font-family: var(--f-body); background: var(--surface); }
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.spec-table td { font-family: var(--f-body); }
table.models th a { text-decoration: none; color: var(--accent); font-weight: 600; }
table.models th a:hover { text-decoration: underline; }
details.acc summary b { margin-left: 6px; }


/* CAME product image integration */
.product-visual{
  width:100%;
  min-height:260px;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:clamp(16px,2.6vw,30px);
  background:var(--surface,#fff);
  border:1px solid var(--line,rgba(0,0,0,.12));
  border-radius:var(--r,18px);
  box-shadow:0 10px 30px rgba(0,0,0,.045);
}
.product-visual img{
  display:block;
  width:100%;
  max-width:620px;
  height:clamp(220px,34vw,390px);
  object-fit:contain;
  object-position:center;
}
.hero-grid .product-visual{margin-top:.35rem;}
.hero-grid .product-visual img{height:clamp(210px,30vw,350px);}
@media(max-width:860px){
  .product-visual{min-height:220px;padding:16px;}
  .product-visual img,.hero-grid .product-visual img{height:min(68vw,330px);}
}

/* ===== Header mega-menu robust fix — 2026-10-04 menu3 ===== */
.site-head{
  overflow:visible;
  isolation:isolate;
  z-index:1000;
}
.head-row{position:relative;overflow:visible;}
@media (min-width:901px){
  /* Keep the hover target alive from the nav text all the way to the dropdown. */
  .nav{
    align-self:stretch;
    align-items:center;
    overflow:visible;
  }
  .nav .dd{
    position:static;
    align-self:stretch;
    display:flex;
    align-items:center;
  }
  .nav .dd > a{
    display:flex;
    align-items:center;
    height:100%;
  }
  .mega{
    display:none;
    position:absolute;
    top:calc(100% - 1px);
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:min(920px, calc(100vw - 24px));
    max-width:calc(100vw - 24px);
    max-height:calc(100dvh - 78px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    z-index:5000;
    pointer-events:auto;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .mega > div{min-width:0;}
  .mega a{
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .dd:hover > .mega,
  .dd:focus-within > .mega,
  .dd.menu-open > .mega{display:grid;}
}
@media (min-width:901px) and (max-width:1180px){
  .head-row{gap:9px;}
  .nav{gap:9px;}
  .nav a{font-size:.81rem;}
  .head-tel{font-size:.81rem;}
  .mega{gap:14px;padding:17px;}
}
@media (min-width:901px) and (max-width:1020px){
  .head-tel{display:none;}
}
