/* IndMALL 2.0 design system — prototype
   Plain CSS, no framework, so it ports directly to Laravel (Vite) later.
   Mobile-first. Tokens on :root. */

:root {
  /* IndMALL logo colours: blue #151ad6, orange #fd6412, green #138712 */
  --brand-blue: #151ad6;
  --brand-orange: #fd6412;
  --brand-green: #138712;
  --navy-900: #0a1f3a;     /* dark surfaces: owner preferred the earlier navy */
  --navy-800: #10294b;
  --navy-700: #183a66;
  --blue-600: #151ad6;
  --blue-50: #eef0fd;
  --orange-600: #fd6412;   /* accent only: white text on it fails AA for body text */
  --orange-700: #c94a05;
  --orange-50: #fff2ea;
  --green-700: #138712;
  --green-800: #0e6b0e;
  --whatsapp: #138712;     /* brand green, AA with white text */
  --steel-900: #18212b;
  --steel-700: #3c4856;
  --steel-500: #6a7684;
  --steel-300: #c9d1da;
  --steel-200: #dfe5eb;
  --steel-100: #eef1f4;
  --steel-50: #f7f9fb;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-subtle: var(--steel-50);
  --surface: var(--white);
  --text: var(--steel-900);
  --text-muted: var(--steel-700);
  --text-faint: var(--steel-500);
  --border: var(--steel-200);
  --link: var(--blue-600);
  --action: var(--whatsapp);
  --action-hover: var(--green-800);
  --focus: #ffb020;

  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --fs-xs: .8125rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);

  /* Space, shape, depth */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(16, 41, 75, .06), 0 4px 12px rgba(16, 41, 75, .06);
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy-900); margin: 0 0 var(--s3); }
h1 { font-size: var(--fs-3xl); letter-spacing: -.01em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden {
  position: absolute !important; 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: var(--s4); top: -100px; z-index: 100; background: var(--white); padding: var(--s2) var(--s4); border-radius: var(--radius); }
.skip-link:focus { top: var(--s2); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s4); }
.section { padding: var(--s7) 0; }
.section--subtle { background: var(--bg-subtle); border-block: 1px solid var(--border); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.section__head h2 { margin: 0; }
.section__intro { color: var(--text-muted); max-width: 60ch; margin: var(--s2) 0 0; }
.grid { display: grid; gap: var(--s4); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.stack > * + * { margin-top: var(--s4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s5);
  font: 600 var(--fs-base)/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
}
.btn--primary { background: var(--action); color: var(--white); }
.btn--primary:hover { background: var(--action-hover); }
.btn--secondary { background: var(--white); color: var(--navy-800); border-color: var(--steel-300); }
.btn--secondary:hover { border-color: var(--navy-700); }
.btn--ghost-light { color: var(--white); border-color: rgba(255,255,255,.45); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-900); color: #c8d4e3; font-size: var(--fs-xs); }
.topbar .container { display: flex; gap: var(--s4); justify-content: space-between; align-items: center; min-height: 34px; }
.topbar a { color: #e6edf6; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__contact { display: flex; gap: var(--s4); }
.topbar__note { display: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header__bar { display: flex; align-items: center; gap: var(--s4); min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; color: var(--navy-900); flex: none; }
.logo img { height: 46px; width: auto; }
.logo--plate { background: var(--white); border-radius: var(--radius); padding: 8px 12px; }

/* WhatsApp enquiry buttons */
.btn--wa { background: var(--whatsapp); color: var(--white); }
.btn--wa:hover { background: var(--green-800); }
.btn--wa svg { width: 20px; height: 20px; }
.btn--lg { min-height: 52px; font-size: var(--fs-lg); }
.hero .btn--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.hero .btn--secondary:hover { border-color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.topbar__wa { color: #9be59b !important; font-weight: 600; }

.search { display: none; flex: 1; max-width: 560px; }
.search__field { display: flex; width: 100%; border: 1px solid var(--steel-300); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.search__field:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-50); }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 var(--s4); font: inherit; min-height: 44px; outline: none; }
.search button { border: 0; background: var(--navy-800); color: var(--white); padding: 0 var(--s4); cursor: pointer; display: inline-flex; align-items: center; }
.search button svg { width: 20px; height: 20px; }

.header-actions { margin-left: auto; display: flex; gap: var(--s2); align-items: center; }
.header-actions .btn { padding: 0 var(--s4); }
.header-actions .btn--primary { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--steel-300); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

.primary-nav { display: none; border-top: 1px solid var(--border); }
.primary-nav.is-open { display: block; }
.primary-nav__list { list-style: none; display: flex; flex-direction: column; }
.primary-nav__item > a, .primary-nav__item > details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: var(--s3) 0; font-weight: 600; color: var(--navy-800); text-decoration: none; cursor: pointer; list-style: none;
}
.primary-nav__item > details > summary::-webkit-details-marker { display: none; }
.primary-nav__item > details > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.primary-nav__item > details[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.primary-nav__item + .primary-nav__item { border-top: 1px solid var(--steel-100); }
.mega { padding: 0 0 var(--s4); }
.mega__cols { display: grid; gap: var(--s4); }
.mega h3 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: var(--s2); }
.mega ul { list-style: none; display: grid; gap: 2px; }
.mega a { display: block; padding: 6px 0; color: var(--steel-900); text-decoration: none; }
.mega a:hover { color: var(--link); text-decoration: underline; }
.mega__all { font-weight: 600; color: var(--link) !important; }
.primary-nav__mobile-search { padding: var(--s3) 0; }
.primary-nav__mobile-search .search { display: block; max-width: none; }

@media (min-width: 900px) {
  .topbar__note { display: block; }
  .search { display: block; }
  .nav-toggle, .primary-nav__mobile-search { display: none; }
  .header-actions .btn--primary { display: inline-flex; }
  .primary-nav { display: block; border-top: 1px solid var(--steel-100); }
  .primary-nav__list { flex-direction: row; gap: var(--s5); }
  .primary-nav__item { position: relative; }
  .primary-nav__item + .primary-nav__item { border-top: 0; }
  .primary-nav__item > a, .primary-nav__item > details > summary { padding: var(--s3) 0; font-size: var(--fs-sm); }
  .primary-nav__item > a:hover, .primary-nav__item > details > summary:hover { color: var(--link); }
  .mega {
    position: absolute; left: 0; top: 100%; z-index: 60; width: min(760px, 90vw);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: var(--s5);
  }
  .mega__cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-sm); padding: var(--s3) 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--s2); color: var(--text-faint); }
.breadcrumb li + li::before { content: "/"; color: var(--steel-300); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--link); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- Hero (home) ---------- */
.hero { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #dbe5f1; padding: var(--s7) 0 var(--s8); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 22ch; }
.hero__lead { font-size: var(--fs-lg); max-width: 58ch; color: #c5d3e4; }
.hero__search { margin-top: var(--s5); max-width: 720px; }
.hero__search .search { display: block; max-width: none; }
.hero__search .search__field { border: 0; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero__search input { min-height: 54px; font-size: var(--fs-lg); }
.hero__search button { background: var(--action); padding: 0 var(--s5); font-weight: 600; gap: var(--s2); }
.hero__search button:hover { background: var(--action-hover); }
.hero__hints { margin-top: var(--s3); font-size: var(--fs-sm); color: #a9bad0; }
.hero__hints a { color: var(--white); }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7); margin-top: var(--s6); }
.hero__stats strong { display: block; font-size: var(--fs-2xl); color: var(--white); line-height: 1.1; }
.hero__stats span { font-size: var(--fs-sm); color: #a9bad0; }

/* ---------- Cards / tiles ---------- */
.tile {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s4);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--text); font-weight: 600; transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: var(--blue-600); box-shadow: var(--shadow); }
.tile__icon { width: 40px; height: 40px; flex: none; border-radius: var(--radius); background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.tile__icon svg { width: 22px; height: 22px; }
.tile small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--text-faint); }
.brand-tile { flex-direction: column; justify-content: center; gap: var(--s1); min-height: 96px; font-size: var(--fs-sm); color: var(--steel-700); text-align: center; }
.brand-tile img { height: 48px; width: auto; max-width: 140px; object-fit: contain; }
/* Product / category image cards: 2 per row on phones, 3 small tablets, 4 tablets, 5 desktop (same rhythm as brands) */
.grid--products { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 560px) { .grid--products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .grid--products { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }
@media (min-width: 1000px) { .grid--products { grid-template-columns: repeat(5, 1fr); } }
.product-card {
  display: flex; flex-direction: column; height: 100%; padding: var(--s3) var(--s3) var(--s4);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--text); text-align: center; transition: border-color .15s, box-shadow .15s;
}
.product-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow); }
.product-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: var(--s3); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__name { font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.product-card small { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--text-faint); }
.product-card:hover .product-card__name { color: var(--link); }

/* ---------- Brand page ---------- */
.brand-hero { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .brand-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.brand-hero__logo { height: 56px; width: auto; margin-bottom: var(--s3); }
.brand-hero h1 { font-size: var(--fs-2xl); }
.brand-hero__media { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s4); }
.brand-hero__media img { width: 100%; height: auto; border-radius: var(--radius); }
.brand-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7); margin: var(--s2) 0 var(--s2); }
.brand-facts strong { display: block; font-size: var(--fs-xl); color: var(--navy-900); line-height: 1.1; }
.brand-facts span { font-size: var(--fs-sm); color: var(--text-faint); }
.jump-nav { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .jump-nav { top: 106px; } }
.jump-nav ul { list-style: none; display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s3) 0; scrollbar-width: thin; }
.jump-nav a { display: inline-block; white-space: nowrap; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--steel-200); background: var(--steel-50); color: var(--steel-700); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.jump-nav a:hover { border-color: var(--blue-600); color: var(--link); }
.brand-groups { padding: var(--s6) var(--s4) var(--s7); }
.brand-group { scroll-margin-top: 170px; }
.brand-group + .brand-group { margin-top: var(--s7); }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s4); }
@media (max-width: 480px) { .grid--cats { grid-template-columns: 1fr 1fr; gap: var(--s3); } }
.cat-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
a.cat-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow); }
.cat-card__media { aspect-ratio: 4 / 3; background: var(--white); display: grid; place-items: center; border-bottom: 1px solid var(--steel-100); }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cat-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s3) var(--s4) var(--s4); }
.cat-card__title { font-size: var(--fs-base); margin-bottom: var(--s2); }
.cat-card__body p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s3); }
.cat-card__more { margin-top: auto; font-size: var(--fs-sm); font-weight: 600; color: var(--link); }
.cat-card__more::after { content: " →"; }
@media (max-width: 480px) { .cat-card__body p { display: none; } }
.series-links { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: auto; }
.series-links a { font-size: var(--fs-sm); font-weight: 600; padding: 4px 12px; border: 1px solid var(--steel-200); border-radius: 999px; text-decoration: none; }
.series-links a:hover { border-color: var(--blue-600); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--steel-100); }
.compare-table thead th { background: var(--navy-800); color: var(--white); font-weight: 600; }
.compare-table tbody th { color: var(--navy-900); background: var(--steel-50); white-space: nowrap; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.product-card__name--model { font-family: var(--mono); }
/* ---------- Series (parent) page ---------- */
.btn--sm { min-height: 36px; padding: 0 var(--s4); font-size: var(--fs-sm); }
.filters { display: grid; gap: var(--s3); margin-bottom: var(--s4); padding: var(--s4); background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.filters legend { float: left; width: 130px; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900); padding: 6px 0; }
.filters label { position: relative; cursor: pointer; font-size: var(--fs-sm); }
.filters input { position: absolute; opacity: 0; }
.filters label:has(input) { padding: 6px 14px; border: 1px solid var(--steel-200); border-radius: 999px; background: var(--white); color: var(--steel-700); }
.filters label:has(input:checked) { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.filters label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.model-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.model-table th, .model-table td { text-align: left; vertical-align: middle; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--steel-100); }
.model-table thead th { background: var(--navy-800); color: var(--white); font-weight: 600; white-space: nowrap; }
.model-table tbody tr:hover { background: var(--blue-50); }
.mt-img img, .img-pending { width: 56px; height: 56px; object-fit: contain; display: grid; place-items: center; border: 1px solid var(--steel-100); border-radius: var(--radius); background: var(--white); }
.img-pending { font-size: .625rem; color: var(--text-faint); text-align: center; line-height: 1.1; }
.mt-model a { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.mt-cta { text-align: right; }
@media (max-width: 760px) {
  .table-wrap:has(.model-table) { border: 0; background: none; overflow: visible; }
  .model-table thead { display: none; }
  .model-table, .model-table tbody { display: block; }
  .model-table tr { display: grid; grid-template-columns: 56px 1fr; gap: 2px var(--s3); padding: var(--s3); margin-bottom: var(--s3); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
  .model-table tr:hover { background: var(--white); }
  .model-table th, .model-table td { border: 0; padding: 0; }
  .mt-img { grid-row: span 6; }
  .model-table td[data-label]::before { content: attr(data-label) ": "; color: var(--text-faint); }
  .mt-cta { text-align: left; margin-top: var(--s2); }
  .filters legend { width: 100%; }
}
.model-table--generic td:nth-child(3) { color: var(--text-muted); max-width: 640px; }
@media (max-width: 760px) { .model-table--generic .mt-img { grid-row: span 3; } }
.grid--series { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.series-card { display: flex; flex-direction: column; height: 100%; padding: var(--s5); background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--brand-orange); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); }
.series-card:hover { border-color: var(--blue-600); border-left-color: var(--brand-orange); box-shadow: var(--shadow); }
.series-card h3 { font-size: var(--fs-lg); }
.series-card p { font-size: var(--fs-sm); color: var(--text-muted); }
.model-chips { list-style: none; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.model-chips a { display: block; padding: var(--s3) var(--s4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); text-decoration: none; font-family: var(--mono); font-weight: 700; color: var(--navy-800); }
.model-chips a:hover { border-color: var(--blue-600); color: var(--link); }
.model-chips small { display: block; font-family: var(--font); font-weight: 400; font-size: var(--fs-xs); color: var(--text-faint); }

/* Brand logo grid: 2 per row on phones, 3 on small tablets, 4 on tablets, 5 on desktop */
.grid--brands { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.grid--brands .brand-tile { min-height: 120px; padding: var(--s4) var(--s3); }
.grid--brands .brand-tile img { height: 52px; max-width: 85%; }
@media (min-width: 560px) { .grid--brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .grid--brands { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }
@media (min-width: 1000px) {
  .grid--brands { grid-template-columns: repeat(5, 1fr); }
  .grid--brands .brand-tile { min-height: 140px; }
  .grid--brands .brand-tile img { height: 64px; max-width: 85%; }
}
.brand-tile--nolink:hover { border-color: var(--border); box-shadow: none; }
.brand-filter { max-width: 420px; margin-bottom: var(--s5); }
.brand-count { font-size: var(--fs-sm); color: var(--text-faint); margin: calc(-1 * var(--s3)) 0 var(--s4); }
.page-intro { padding: var(--s5) 0 var(--s6); border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.page-intro p { color: var(--text-muted); max-width: 75ch; }
.faq-list { display: grid; gap: var(--s3); max-width: 860px; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s4) var(--s5); }
.faq-list summary { font-weight: 600; color: var(--navy-900); cursor: pointer; }
.faq-list details[open] summary { margin-bottom: var(--s2); }
.faq-list p { margin: 0; color: var(--text-muted); }
.brand-tile__placeholder { height: 48px; display: grid; place-items: center; font-size: var(--fs-lg); font-weight: 700; color: var(--navy-800); }
.tile__img { width: 56px; height: 56px; flex: none; border-radius: var(--radius); object-fit: contain; background: var(--white); border: 1px solid var(--steel-100); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s5); }
.card--accent { border-top: 4px solid var(--action); }
.link-list { list-style: none; display: grid; gap: var(--s2); }
.link-list a { text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.more-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.more-link::after { content: " →"; }

.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s5); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-800); color: var(--white); font-weight: 700; margin-bottom: var(--s3); }
.steps h3 { margin-bottom: var(--s2); }
.steps p { margin: 0; color: var(--text-muted); }

.cta-band { background: var(--navy-800); color: #d3deec; border-radius: var(--radius-lg); padding: var(--s6); display: grid; gap: var(--s4); align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: var(--s2); }
.cta-band p { margin: 0; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s4); }
.form__row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s1); color: var(--steel-900); }
.field .req { color: var(--orange-700); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 44px; padding: var(--s2) var(--s3); font: inherit; color: var(--text);
  border: 1px solid var(--steel-300); border-radius: var(--radius); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-50); }
.field__hint { font-size: var(--fs-xs); color: var(--text-faint); margin-top: var(--s1); }
.form__note { font-size: var(--fs-xs); color: var(--text-faint); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Product page ---------- */
.product-hero { display: grid; gap: var(--s6); padding: var(--s4) 0 var(--s6); }
@media (min-width: 900px) { .product-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.product-media { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s5); display: grid; place-items: center; aspect-ratio: 1 / 1; }
.product-media img { max-height: 100%; object-fit: contain; }
.facts .model, .product-title .model { font-family: var(--mono); }
.compare-table tr.is-current > * { background: var(--blue-50); font-weight: 600; }
.compare-table small { font-weight: 400; color: var(--text-faint); }
.compare-table tbody th a { font-family: var(--mono); }
.product-actions .btn--wa { grid-column: 1 / -1; }
.product-media__caption { font-size: var(--fs-xs); color: var(--text-faint); text-align: center; margin-top: var(--s2); }
.eyebrow { display: inline-flex; flex-wrap: wrap; gap: var(--s2); align-items: center; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); margin-bottom: var(--s2); }
.eyebrow a { color: var(--blue-600); text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.product-title { font-size: var(--fs-2xl); margin-bottom: var(--s3); }
.product-title .model { font-family: var(--mono); font-weight: 700; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); margin: 0 0 var(--s4); font-size: var(--fs-sm); }
.facts dt { color: var(--text-faint); }
.facts dd { margin: 0; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.chips li { font-size: var(--fs-sm); padding: 4px 10px; border-radius: 999px; background: var(--steel-100); color: var(--steel-700); border: 1px solid var(--steel-200); }
.product-actions { display: grid; gap: var(--s3); }
@media (min-width: 520px) { .product-actions { grid-template-columns: 1fr 1fr; } }
.product-actions .btn--primary { grid-column: 1 / -1; min-height: 52px; font-size: var(--fs-lg); }
.assurance { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s5); font-size: var(--fs-sm); color: var(--text-muted); }
.assurance li { display: flex; gap: var(--s2); align-items: flex-start; }
.assurance svg { width: 18px; height: 18px; color: var(--green-700); flex: none; margin-top: 3px; }

.page-layout { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 1000px) { .page-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.toc { position: sticky; top: 80px; }
.toc nav { font-size: var(--fs-sm); }
.toc ol { list-style: none; display: grid; gap: var(--s1); border-left: 2px solid var(--steel-200); }
.toc a { display: block; padding: 4px var(--s3); color: var(--text-muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--link); border-left-color: var(--link); }
.content-section { scroll-margin-top: 90px; }
.content-section + .content-section { margin-top: var(--s7); }
.prose p { max-width: 75ch; }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table caption { text-align: left; font-size: var(--fs-xs); color: var(--text-faint); padding-bottom: var(--s2); caption-side: bottom; padding-top: var(--s2); }
.spec-table th, .spec-table td { text-align: left; padding: 10px var(--s4); border-bottom: 1px solid var(--steel-100); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--steel-700); background: var(--steel-50); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.doc-link { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--white); }
.doc-link:hover { border-color: var(--blue-600); }
.doc-link__icon { width: 40px; height: 48px; border-radius: 4px; background: #c62828; color: var(--white); font: 700 .6875rem/48px var(--font); text-align: center; flex: none; }
.doc-link strong { display: block; }
.doc-link small { color: var(--text-faint); }

.model-list { list-style: none; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.model-list a { display: block; padding: var(--s3); border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--navy-800); font-family: var(--mono); font-weight: 700; font-size: var(--fs-sm); }
.model-list a:hover { border-color: var(--blue-600); }
.model-list small { display: block; font-family: var(--font); font-weight: 400; color: var(--text-faint); }
.model-list .is-current { border-color: var(--navy-800); background: var(--blue-50); }

.note { font-size: var(--fs-sm); color: var(--text-muted); background: var(--steel-50); border: 1px solid var(--border); border-left: 4px solid var(--steel-300); border-radius: var(--radius); padding: var(--s3) var(--s4); }

.enquiry-card { position: sticky; top: 80px; }
.enquiry-card h2 { font-size: var(--fs-xl); }
.enquiry-card .field input, .enquiry-card .field textarea { min-height: 42px; }

.mobile-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: var(--s2); padding: var(--s2) var(--s4) calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(16,41,75,.08); }
.mobile-cta .btn { flex: 1; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }
.has-mobile-cta { padding-bottom: 72px; }
@media (min-width: 1000px) { .has-mobile-cta { padding-bottom: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b8c6d8; font-size: var(--fs-sm); padding-top: var(--s7); }
.site-footer a { color: #e2e9f2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-bottom: var(--s6); }
.footer-grid h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: #8fa3bd; margin-bottom: var(--s3); }
.footer-grid ul { list-style: none; display: grid; gap: var(--s2); }
.footer-brand .logo { margin-bottom: var(--s3); }
.footer-brand address { font-style: normal; line-height: 1.7; margin-bottom: var(--s3); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding: var(--s4) 0; font-size: var(--fs-xs); color: #8fa3bd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: var(--s4) 0; display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; font-size: var(--fs-xs); color: #8fa3bd; }

/* ---------- Prototype-only banner ---------- */
.proto-banner { background: #fff7d6; color: #5c4400; font-size: var(--fs-xs); text-align: center; padding: 6px var(--s4); border-bottom: 1px solid #f0dc8c; }

/* ---------- Uniform product imagery (source photos vary in size and aspect) ----------
   Every product image sits in a fixed square frame and is scaled to fit: no cropping,
   no stretching, same visual size everywhere. */
.product-card__media { aspect-ratio: 1 / 1; padding: var(--s3); background: var(--white); }
.product-card__media img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.cat-card__media { aspect-ratio: 4 / 3; padding: var(--s3); }
.cat-card__media img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.product-media { aspect-ratio: 1 / 1; padding: var(--s5); overflow: hidden; }
.product-media img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.mt-img img, .mt-img .img-pending { width: 64px; height: 64px; padding: 4px; object-fit: contain; background: var(--white); }
.brand-hero__media { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; }
.brand-hero__media img { width: 100%; height: 100%; object-fit: contain; }
.img-pending { width: 100%; height: 100%; min-height: 64px; }

/* ---------- Search results ---------- */
.search-results { list-style: none; display: grid; gap: var(--s2); max-width: 860px; }
.search-results a { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.search-results a:hover { border-color: var(--blue-600); box-shadow: var(--shadow); }
.search-results__type { flex: none; min-width: 74px; text-align: center; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--steel-700); background: var(--steel-100); border-radius: 999px; padding: 2px 10px; }
.search-results__title { font-weight: 600; color: var(--navy-900); }
.product-card--static:hover { border-color: var(--border); box-shadow: none; }
.product-card small { line-height: 1.4; }
.section[id] { scroll-margin-top: 150px; }

/* Card descriptions: same height on every card (owner: consistent lines) */
.cat-card__body p { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(3 * 1.6em); }
.cat-card__body:not(:has(p)) .cat-card__title { margin-bottom: var(--s3); }

/* About / info cards: the live page's bullet lists, one item per line */
.info-single { max-width: 860px; }
.info-list { margin: var(--s3) 0 0; padding-left: 1.2em; }
.info-list li { margin-bottom: var(--s2); line-height: 1.55; }
.info-list li::marker { color: var(--blue-600); }

/* Featured model cards: the live page's few words about each model, 3 lines max */
.product-card__desc { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; color: var(--text-muted); line-height: 1.5; margin-top: var(--s2); }

/* Content pages (FAQ, blog, hub, About, Contact): article + sticky aside */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-block: var(--s6) var(--s8); }
@media (min-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } .article-aside { position: sticky; top: 140px; align-self: start; } }
.article-body { max-width: 780px; }
.article-body h2 { margin-top: var(--s6); scroll-margin-top: 150px; }
.article-body h3, .article-body h4 { margin-top: var(--s5); scroll-margin-top: 150px; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: var(--s2); }
.article-figure { margin: var(--s5) 0; }
.article-figure img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); }
.article-aside { display: grid; gap: var(--s4); }
.article-toc__title, .article-cta__title { font-size: 1rem; margin: 0 0 var(--s3); }
.article-meta { color: var(--text-muted); font-size: .9rem; margin-top: var(--s2); }
.sitemap-list { columns: 2; column-gap: var(--s6); }
@media (max-width: 640px) { .sitemap-list { columns: 1; } }

/* Contact Us: contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s4); margin-bottom: var(--s6); }
.contact-card { padding: var(--s5); }
.contact-card__title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 var(--s3); }
.contact-card p, .contact-card address { margin: 0 0 var(--s2); font-style: normal; }
.contact-card__strong { font-weight: 700; font-size: 1.05rem; color: var(--navy-800); }
.contact-card__mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .02em; }
.contact-card .btn { margin-top: var(--s2); }
.article-layout--full { grid-template-columns: minmax(0, 1fr) !important; }
.article-layout--full .article-aside { display: none; }
.article-layout--full .article-body { max-width: none; }

/* FAQ index: product groups */
.faq-topics ul { list-style: none; padding: 0; margin: var(--s4) 0 var(--s6); display: flex; flex-wrap: wrap; gap: var(--s2); }
.faq-topics a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: .9rem; }
.faq-topics a:hover { border-color: var(--navy-700); }
.faq-topics span { color: var(--text-muted); font-size: .8rem; }
.faq-group { border-top: 1px solid var(--border); padding-top: var(--s4); margin-top: var(--s6); }
.faq-group h2 { margin-top: 0; }
.faq-group__count { font-size: .85rem; font-weight: 400; color: var(--text-muted); margin-left: 6px; }
.faq-group__more { margin: 0 0 var(--s3); font-size: .95rem; }
.faq-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: var(--s5); }

/* Article pictures: never stretched past their own size (owner, D-030) */
.article-figure img { width: auto; max-width: min(100%, 520px); height: auto; display: block; }
/* Hub sections: small picture beside the section text */
.hub-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding-block: var(--s5); border-top: 1px solid var(--border); }
.hub-section__media { margin: 0; }
.hub-section__media img { width: 100%; max-width: 240px; height: auto; border-radius: 8px; border: 1px solid var(--border); display: block; }
.hub-section__body h2 { margin-top: 0; }
@media (min-width: 720px) { .hub-section { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s5); } }

/* filter option counts (owner): options with no result are greyed out */
.filters .opt-count { color: var(--text-muted); }
.filters label.is-empty { opacity: .45; }

/* product FAQ (D-038) */
.faq-item { border-bottom: 1px solid var(--border); padding: var(--s3) 0; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: var(--s2) 0 0; }
