/* =====================================================================
   NORTHSTAR GLOBAL — Global stylesheet
   Static, offline-first. No external fonts / icons / images / CDNs.
   ---------------------------------------------------------------------
   Structure:
     0. Design tokens & line themes
     1. Reset & base typography
     2. Layout helpers
     3. Header (division switch, channel nav, language switch, mobile nav)
     4. Division bar & breadcrumb
     5. Buttons, tags, badges
     6. Sections, headings, cards, grids
     7. Hero variants (group / auto / wholesale / brand)
     8. Lobby entry cards (three equal-weight gateways)
     9. Trust bar, stats, notice, indicative labels
    10. Image placeholders (inline SVG based, never broken)
    11. Product cards, filters, gallery, key facts
    12. Tables (spec / price tier / size chart / comparison)
    13. Process steps, FAQ, features, markets
    14. Inquiry form (three field variants + mailto / copy fallback)
    15. Footer, floating actions, back-to-top
    16. Responsive
    17. Accessibility & motion
   ===================================================================== */

/* ---------- 0. Design tokens & line themes ---------- */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;

  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-dark: #0d1b2a;
  --ink: #0f1e2e;
  --ink-soft: #3c5268;
  --muted: #6b7c8e;
  --line: #e2e8ef;
  --line-strong: #cbd7e3;

  --accent: #1f4e79;
  --accent-2: #2f6ea5;
  --accent-soft: #eaf2f9;
  --on-accent: #ffffff;
  --hero-bg: linear-gradient(118deg, #0d2540 0%, #1f4e79 55%, #2f6ea5 100%);
  --hero-ink: #ffffff;
  --hero-sub: rgba(255, 255, 255, .82);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 12px rgba(15, 30, 46, .06);
  --shadow: 0 12px 36px rgba(15, 30, 46, .09);
  --shadow-lg: 0 22px 60px rgba(15, 30, 46, .16);
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --ph-ink: rgba(255, 255, 255, .82);
}

/* A · NORTHSTAR AUTO — deep navy / steel grey, industrial */
body[data-line="auto"] {
  --accent: #123a60;
  --accent-2: #2d6a9b;
  --accent-soft: #e8f0f7;
  --hero-bg: linear-gradient(118deg, #081c30 0%, #12395f 52%, #356f9c 100%);
}
/* B · NORTHSTAR SOURCE — bright orange / teal, e-commerce */
body[data-line="wholesale"] {
  --accent: #e85d10;
  --accent-2: #0d8fa6;
  --accent-soft: #fff1e6;
  --hero-bg: linear-gradient(118deg, #f2621b 0%, #ff9138 42%, #0e97ad 100%);
}
/* C · AURELIA — monochrome, editorial, generous whitespace */
body[data-line="brand"] {
  --accent: #111111;
  --accent-2: #5c5c5c;
  --accent-soft: #f1f0ee;
  --hero-bg: linear-gradient(118deg, #0c0c0c 0%, #1c1c1c 58%, #414141 100%);
  --radius: 2px;
  --radius-lg: 4px;
  --shadow: 0 10px 34px rgba(0, 0, 0, .10);
}
/* Group-level pages */
body[data-line="group"] {
  --accent: #1f4e79;
  --accent-2: #2f6ea5;
  --accent-soft: #eaf2f9;
  --hero-bg: linear-gradient(118deg, #0d2540 0%, #1f4e79 55%, #2f6ea5 100%);
}

/* ---------- 1. Reset & base typography ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .28em 0; }
a { color: var(--accent); text-decoration: none; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover { color: var(--accent-2); }
img, svg { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  background: #fff; color: var(--accent); padding: 10px 16px;
  border: 2px solid var(--accent); border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }

/* ---------- 2. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 7vw, 92px) 0; }
.section--tight { padding: clamp(36px, 5vw, 60px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, .8); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: .8rem;
}
.section--dark .eyebrow { color: #9ec7ea; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-soft); line-height: 1.75; }
.section--dark .lead { color: rgba(255, 255, 255, .82); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .76rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: clamp(26px, 4vw, 52px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.divider { height: 1px; background: var(--line); margin: clamp(28px, 4vw, 48px) 0; }

/* ---------- 3. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-top {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  min-height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 7px;
  display: grid; place-items: center; font-weight: 900; font-size: 1.05rem;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  letter-spacing: -.04em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: .94rem; letter-spacing: .045em; }
.logo-text small { font-size: .63rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.division-switch { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.division-switch a {
  display: inline-block; padding: 7px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .045em;
  color: var(--ink-soft); border: 1px solid transparent; white-space: nowrap;
}
.division-switch a:hover { background: var(--bg-soft); text-decoration: none; color: var(--accent); }
.division-switch a.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.division-switch a[data-div="wholesale"].is-active { background: #e85d10; border-color: #e85d10; }
.division-switch a[data-div="brand"].is-active { background: #111; border-color: #111; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a {
  font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  color: var(--muted); white-space: nowrap;
}
.lang-switch a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-switch a.is-active { background: var(--ink); color: #fff; }
.header-cta {
  display: inline-block; padding: 9px 16px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.header-cta:hover { background: var(--accent-2); color: #fff; text-decoration: none; }
.menu-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; padding: 0; place-items: center;
}
.menu-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; }
.header-sub { border-top: 1px solid var(--line); background: #fff; }
.channel-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); min-height: 42px; overflow-x: auto; }
.channel-nav a {
  font-size: .82rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  padding: 10px 0; border-bottom: 2px solid transparent;
}
.channel-nav a:hover { color: var(--accent); text-decoration: none; }
.channel-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 800; }
.channel-nav .channel-label {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 4px 9px; border-radius: 3px; white-space: nowrap;
}
.mobile-nav { display: none; }

/* ---------- 4. Division bar & breadcrumb ---------- */
.division-bar { background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.division-bar .container {
  display: flex; align-items: center; gap: 12px; min-height: 40px;
  border-left: 4px solid var(--accent); padding-left: 14px;
}
.division-bar b { font-size: .84rem; letter-spacing: .07em; }
.division-bar span { font-size: .76rem; color: var(--muted); }
.breadcrumb-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 11px 0; font-size: .79rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; margin: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--line-strong); font-size: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- 5. Buttons, tags, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-size: .9rem; font-weight: 700; line-height: 1.3; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(15, 30, 46, .16); }
.btn--primary:hover { background: var(--accent-2); color: #fff; box-shadow: 0 10px 26px rgba(15, 30, 46, .22); }
.btn--outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent); color: var(--on-accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef3f8; color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--dark { background: #111; color: #fff; }
.btn--dark:hover { background: #333; color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .8rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: .71rem; font-weight: 700; letter-spacing: .02em;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--line);
}
.tag--line { background: #fff; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li {
  font-size: .77rem; padding: 5px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
}
.indicative {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .03em;
  color: #8a5a12; background: #fff6e2; border: 1px solid #f0d9a6;
  padding: 2px 7px; border-radius: 4px; vertical-align: middle;
}
.notice {
  font-size: .78rem; color: var(--muted); background: var(--bg-soft);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
  padding: 9px 13px; line-height: 1.55;
}

/* ---------- 6. Sections, headings, cards, grids ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-soft); font-size: .92rem; }
.card--soft { background: var(--bg-soft); }
.card--flat { box-shadow: none; }
.icon-box {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.25rem; font-weight: 800;
  margin-bottom: 16px;
}
.bullet-list { list-style: none; padding: 0; margin: 0; }
.bullet-list li { position: relative; padding-left: 22px; margin: .55em 0; color: var(--ink-soft); font-size: .92rem; }
.bullet-list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.check-list li::before { border-radius: 50%; background: transparent; border: 2px solid var(--accent); }

/* ---------- 7. Hero variants ---------- */
.hero { position: relative; overflow: hidden; color: var(--hero-ink); background: var(--hero-bg); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .8;
}
.hero .container { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: var(--hero-sub); max-width: 62ch; }
.hero .eyebrow { color: rgba(255, 255, 255, .85); border-left: 3px solid rgba(255,255,255,.6); padding-left: 10px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-stat { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 16px 18px; }
.hero-stat b { display: block; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: #fff; line-height: 1.15; }
.hero-stat span { font-size: .74rem; color: rgba(255,255,255,.78); }
/* B · bright, grid-like */
body[data-line="wholesale"] .hero::after { background-size: 34px 34px; opacity: 1; }
/* C · editorial: oversized serif display + wide whitespace */
body[data-line="brand"] .hero .container { padding-top: clamp(80px, 12vw, 158px); padding-bottom: clamp(80px, 12vw, 158px); }
body[data-line="brand"] .hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -.02em; max-width: 16ch; }
body[data-line="brand"] .hero .eyebrow { font-family: var(--font); letter-spacing: .32em; border-left: 0; padding-left: 0; }
body[data-line="brand"] .hero::after { opacity: .35; }
.hero-note { margin-top: 18px; font-size: .76rem; color: rgba(255,255,255,.7); }

/* ---------- 8. Lobby entry cards (three equal-weight gateways) ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.entry {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.entry:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.entry__top { height: 7px; background: var(--entry-accent, var(--accent)); }
.entry__body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.entry__brand {
  font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: var(--entry-accent, var(--accent)); margin-bottom: 12px;
}
.entry h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin-bottom: .15em; }
.entry__cn { font-size: .8rem; color: var(--muted); letter-spacing: .05em; margin-bottom: 16px; }
.entry__desc { font-size: .92rem; color: var(--ink-soft); min-height: 4.5em; }
.entry__label { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 7px; }
.entry__foot { margin-top: auto; padding-top: 20px; }
.entry--auto { --entry-accent: #123a60; --entry-soft: #e8f0f7; }
.entry--ws { --entry-accent: #e85d10; --entry-soft: #fff1e6; }
.entry--brand { --entry-accent: #111111; --entry-soft: #f1f0ee; }
.entry .tag { background: var(--entry-soft); color: var(--entry-accent); border-color: transparent; }
.entry__visual { height: 118px; margin: 0 clamp(22px, 2.6vw, 32px) 4px; border-radius: var(--radius); }
.entry--auto .entry__visual { background: linear-gradient(120deg, #0d2942, #3a6d99); }
.entry--ws .entry__visual { background: linear-gradient(120deg, #ff7a2f, #12a0b5); }
.entry--brand .entry__visual { background: linear-gradient(120deg, #141414, #4a4a48); }

/* ---------- 9. Trust bar, stats, notice ---------- */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: var(--accent); line-height: 1.2; }
.trust-item span { font-size: .78rem; color: var(--muted); }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chips span {
  font-size: .78rem; font-weight: 700; padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
}

/* ---------- 10. Image placeholders (inline SVG, never broken) ---------- */
.ph {
  position: relative; overflow: hidden; margin: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, #173755, #3b74a1);
  min-height: 180px; display: grid; place-items: center;
  border: 1px solid rgba(15, 30, 46, .08);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ph-art { position: relative; width: 54%; max-width: 260px; height: auto; color: var(--ph-ink); opacity: .9; }
.ph-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .66rem; letter-spacing: .02em; color: #fff;
  background: rgba(8, 20, 32, .74); border: 1px solid rgba(255,255,255,.28);
  padding: 3px 8px; border-radius: 4px; max-width: calc(100% - 20px); overflow-wrap: anywhere;
}
.ph--ws { background: linear-gradient(135deg, #f2701f, #0f97ad); }
.ph--brand { background: linear-gradient(135deg, #141414, #4c4c4a); border-radius: 2px; }
.ph--brand .ph-tag { background: rgba(0,0,0,.72); }
.ph--about { background: linear-gradient(135deg, #123a60, #2f6ea5); }
.ph--plain { background: linear-gradient(135deg, #e5ecf3, #c2d1df); --ph-ink: rgba(15,30,46,.38); }
.ph--plain .ph-tag { background: rgba(15,30,46,.7); }
.ph--tall { min-height: 320px; }
.ph--hero { min-height: clamp(280px, 34vw, 440px); }
.ph--square { aspect-ratio: 1 / 1; min-height: 0; }
.ph--wide { aspect-ratio: 16 / 9; min-height: 0; }
.ph--sm { min-height: 130px; }
.ph-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ph-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ph-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 11. Product cards, filters, gallery, key facts ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; }
.filters .filter-label { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.filter-btn {
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft);
  padding: 8px 15px; border-radius: 999px; font-size: .82rem; font-weight: 700;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.filter-count { font-size: .78rem; color: var(--muted); margin-left: auto; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
body[data-line="brand"] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .ph { border-radius: 0; border: 0; min-height: 200px; }
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.product-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.product-card__meta { list-style: none; padding: 0; margin: 0 0 14px; font-size: .82rem; color: var(--ink-soft); }
.product-card__meta li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.product-card__meta li:last-child { border-bottom: 0; }
.product-card__meta span { color: var(--muted); }
.product-card__price { font-size: .96rem; font-weight: 800; color: var(--accent); margin-bottom: 14px; }
.product-card__foot { margin-top: auto; }
.product-card[hidden] { display: none; }
.gallery-main .ph { min-height: clamp(280px, 38vw, 480px); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs .ph { min-height: 84px; }
.gallery-thumbs--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery-thumbs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.keyfacts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.keyfact { padding: 18px 16px; border-right: 1px solid var(--line); }
.keyfact:last-child { border-right: 0; }
.keyfact span { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.keyfact b { font-size: 1.02rem; color: var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 9px; background: #fff; font-size: .87rem; }
.file-list code { font-size: .76rem; color: var(--accent); }
.color-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { text-align: center; font-size: .72rem; color: var(--muted); }
.swatch i { display: block; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); margin-bottom: 5px; }

/* ---------- 12. Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.data-table { font-size: .89rem; min-width: 520px; }
.data-table caption { text-align: left; font-weight: 800; font-size: .95rem; padding: 15px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.data-table th, .data-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table thead th { background: var(--accent); color: var(--on-accent); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.data-table tbody th { width: 34%; font-weight: 700; color: var(--ink-soft); background: #fbfcfe; }
.data-table td { color: var(--ink); }
.data-table .group-row th { background: var(--accent-soft); color: var(--accent); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; width: auto; }
.data-table tbody tr:hover td { background: #fafcff; }
.spec-tables { display: grid; gap: 22px; }

/* ---------- 13. Process steps, FAQ, features, markets ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.process--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step { position: relative; padding: 22px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 800; margin-bottom: 13px;
}
.process-step h4 { font-size: .92rem; margin-bottom: .35em; }
.process-step p { font-size: .8rem; color: var(--muted); margin: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-item summary {
  padding: 15px 18px; font-weight: 700; font-size: .93rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--accent); }
.faq-item .faq-a { padding: 0 18px 17px; font-size: .88rem; color: var(--ink-soft); }
.faq-item p.faq-a { margin: 0; }
.faq-tools { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.link-btn { border: 0; background: none; color: var(--accent); font-size: .8rem; font-weight: 700; padding: 4px 6px; }
.link-btn:hover { text-decoration: underline; }
.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.market-card { border-top: 3px solid var(--accent); background: #fff; border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); }
.market-card h4 { margin-bottom: .35em; }
.market-card p { font-size: .82rem; color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* ---------- 14. Inquiry form ---------- */
.cta-band { background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn--light { color: var(--accent); }
.inquiry { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.inquiry__head { padding: 24px clamp(22px, 3vw, 34px); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.inquiry__head h2 { font-size: 1.45rem; margin-bottom: .3em; }
.inquiry__head p { font-size: .87rem; color: var(--muted); margin: 0; }
.inquiry__body { padding: clamp(22px, 3vw, 34px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field label .req { color: #c0392b; margin-left: 3px; }
.field label .opt { font-weight: 500; color: var(--muted); font-size: .74rem; margin-left: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: .9rem; transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; background: #fff7f6; }
.field .hint { font-size: .74rem; color: var(--muted); }
.field-error { font-size: .74rem; color: #c0392b; min-height: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.form-status { margin-top: 16px; padding: 12px 15px; border-radius: var(--radius-sm); font-size: .85rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #eaf7ee; border: 1px solid #b9e2c6; color: #1c6b36; }
.form-status--err { background: #fff0ee; border: 1px solid #f3c6bf; color: #a02b1c; }
.copy-box { margin-top: 18px; padding: 16px; background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.copy-box h4 { font-size: .86rem; margin-bottom: 8px; }
.copy-box p { font-size: .8rem; color: var(--muted); }
.copy-box textarea {
  width: 100%; min-height: 150px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .76rem; line-height: 1.55; padding: 12px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); resize: vertical;
}
.copy-box .btn { margin-top: 10px; }
.alt-contact { display: grid; gap: 10px; }
.alt-contact a, .alt-contact span { display: block; font-size: .87rem; word-break: break-word; }
.alt-contact .label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.inquiry-aside { display: grid; gap: 18px; align-content: start; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* ---------- 15. Footer, floating actions, back-to-top ---------- */
.site-footer { background: #0b1a29; color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 76px) 0 0; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .logo-text small { color: rgba(255,255,255,.55); }
.footer-brand p { font-size: .84rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { font-size: .84rem; margin: .55em 0; }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; font-size: .76rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 10px; }
.floating a, .floating button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; box-shadow: var(--shadow); text-decoration: none;
}
.floating a:hover, .floating button:hover { background: var(--accent-2); color: #fff; text-decoration: none; }
#backToTop { display: none; background: var(--ink); }
#backToTop.is-visible { display: grid; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
  .division-switch a { padding: 6px 8px; font-size: .67rem; }
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .header-sub { display: none; }
  .division-switch { display: none; }
  .lang-switch { display: none; }
  .header-top { min-height: 60px; }
  .mobile-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 18px var(--gutter) 24px; max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav h4 { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 9px; }
  .mobile-nav h4:first-child { margin-top: 0; }
  .mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
  .mobile-nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; color: var(--ink); }
  .mobile-nav a:hover { background: var(--bg-soft); text-decoration: none; }
  .mobile-nav a.is-active { background: var(--accent); color: #fff; }
  .mobile-divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mobile-divisions a { text-align: center; font-size: .74rem; font-weight: 800; border: 1px solid var(--line); }
  .mobile-lang { display: flex; gap: 8px; }
  .mobile-lang a { border: 1px solid var(--line); text-align: center; }
  .split, .hero-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-6, .process, .process--8, .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .entry-grid, .product-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-line="brand"] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .keyfact:nth-child(3) { border-right: 0; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .grid-6, .entry-grid, .product-grid, .feature-grid,
  .process, .process--8, .market-grid, .related-grid, .footer-grid, .form-grid,
  .split--even, .ph-row, .ph-row--3, .gallery-thumbs, .gallery-thumbs--5, .gallery-thumbs--4 {
    grid-template-columns: 1fr;
  }
  body[data-line="brand"] .product-grid { grid-template-columns: 1fr; }
  .ph-row, .ph-row--3, .gallery-thumbs, .gallery-thumbs--5, .gallery-thumbs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfact:nth-child(2n) { border-right: 0; }
  .keyfact:nth-child(3) { border-right: 1px solid var(--line); }
  .keyfact:nth-last-child(-n+2) { border-top: 1px solid var(--line); }
  .hero .container { padding-top: 52px; padding-bottom: 52px; }
  body[data-line="brand"] .hero .container { padding-top: 68px; padding-bottom: 68px; }
  .entry__desc { min-height: 0; }
  .footer-bottom { flex-direction: column; }
  .floating { right: 12px; bottom: 12px; }
  .floating a, .floating button { width: 42px; height: 42px; }
  .filter-count { width: 100%; margin: 6px 0 0; }
  .cta-band { padding: 26px 20px; }
}
@media (max-width: 400px) {
  .logo-text b { font-size: .82rem; }
  .mobile-divisions { grid-template-columns: 1fr; }
  .ph-row, .ph-row--3, .gallery-thumbs, .gallery-thumbs--5, .gallery-thumbs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 16b. Lobby gate visuals, brand typography, language selector ---------- */
.entry__visual.ph { min-height: 118px; margin: 0 clamp(22px, 2.6vw, 32px) 4px; }
.entry__visual.ph .ph-art { width: 42%; max-width: 150px; }
body[data-line="brand"] h1,
body[data-line="brand"] h2,
body[data-line="brand"] .section-head h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
body[data-line="brand"] .product-card h3,
body[data-line="brand"] .card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }

.gate {
  min-height: 100vh; display: grid; place-items: center; padding: 40px 20px;
  background: linear-gradient(120deg, #0b1f36 0%, #1f4e79 55%, #2f6ea5 100%); color: #fff;
}
.gate__inner { width: 100%; max-width: 720px; text-align: center; }
.gate__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .1em; font-size: 1rem; margin-bottom: 38px; }
.gate__eyebrow { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.gate h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin-bottom: .1em; }
.gate__sub { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.gate__desc { font-size: .92rem; color: rgba(255,255,255,.78); max-width: 52ch; margin: 0 auto 34px; }
.gate__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gate__card {
  display: flex; flex-direction: column; gap: 6px; padding: 30px 26px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #fff;
  transition: transform .2s ease, background-color .2s ease;
}
.gate__card:hover { transform: translateY(-4px); background: rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.gate__code { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: rgba(255,255,255,.7); }
.gate__card b { font-size: 1.35rem; }
.gate__card small { font-size: .8rem; color: rgba(255,255,255,.72); }
.gate__note { margin-top: 34px; font-size: .74rem; line-height: 1.7; color: rgba(255,255,255,.6); }
@media (max-width: 560px) { .gate__cards { grid-template-columns: 1fr; } }

/* ---------- 17. Accessibility & motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .site-footer, .floating, .filters, .btn, .inquiry, .menu-toggle { display: none !important; }
  body { color: #000; }
  .hero { background: #fff !important; color: #000; }
  .hero h1, .hero .lead { color: #000 !important; }
}

/* ---------- 18. OctoberTC catalog & entry-image extensions ----------
   The catalogue is rendered by catalog.js / img.js / lightbox.js, which emit
   fixed .mc-* class names and [data-mc-*] hooks. These rules restyle those
   nodes to match the NORTHSTAR design system. Do NOT rename the hooks. */
.mc-alert { padding: 10px 14px; border-radius: var(--radius-sm); font-size: .85rem; }
.mc-alert--warning { background: #fff6e2; border: 1px solid #f0d9a6; color: #8a5a12; }

.entry__visual { height: 170px; overflow: hidden; border-radius: var(--radius); }
.entry__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry__visual.ph { display: block; }
.entry__visual[data-mc-division-img] {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: linear-gradient(135deg, #141414, #4a4a48); padding: 4px;
}
.entry__visual[data-mc-division-img] img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px;
}

[data-mc-results] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
[data-mc-results].is-loading { opacity: .5; }
.mc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.mc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mc-card__media { display: block; width: 100%; padding: 0; border: 0; background: var(--accent-soft); cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; }
.mc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-card__media--empty { background: repeating-linear-gradient(45deg, #eef3f8, #eef3f8 10px, #e3ebf3 10px, #e3ebf3 20px); }
.mc-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.mc-card__title { font-size: 1.02rem; margin: 0; }
.mc-card__caption { font-size: .8rem; color: var(--muted); margin: 0; }
.mc-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.mc-card--category .mc-card__media { aspect-ratio: 1 / 1; }
.mc-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.mc-chip:hover { border-color: var(--accent); color: var(--accent); }
.mc-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mc-chip svg { width: 12px; height: 12px; }
.mc-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.mc-pager__info { font-size: .84rem; color: var(--muted); }
.mc-empty { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--muted); }
.mc-empty svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--line-strong); display: block; }
.mc-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mc-hero-grid__cell { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); }
.mc-hero-grid__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-mc-catalog-error] { border: 1px solid #f3c6bf; background: #fff0ee; color: #a02b1c; border-radius: var(--radius-sm); padding: 16px; }
[data-mc-catalog-error] svg { width: 24px; height: 24px; display: block; margin-bottom: 8px; }
[data-mc-catalog-error] button { margin-top: 10px; }

@media (max-width: 960px) {
  [data-mc-results] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  [data-mc-results] { grid-template-columns: 1fr; }
  .mc-hero-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- WhatsApp dual support block ---- */
.wa-split { gap: clamp(18px, 2.4vw, 28px); align-items: stretch; }
.wa-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.wa-card__top { display: flex; }
.wa-card__tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
.wa-card--other .wa-card__tag { background: #1f7a4d; }
.wa-card h3 { margin: 4px 0 0; font-size: 1.15rem; }
.wa-card p { margin: 0; }
.wa-card .btn--whatsapp { margin-top: auto; }
.wa-line { font-weight: 700; }
.btn--whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; border-color: #1ebe5a; }
.nowrap { white-space: nowrap; }

/* ---- Divisions selection page ---- */
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.biz-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.biz-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; font-weight: 800; color: #fff; background: var(--accent); }
.biz-card--auto .biz-card__icon { background: #123a60; }
.biz-card--trade .biz-card__icon { background: #e85d10; }
.biz-card--brand .biz-card__icon { background: #111111; }
.biz-card h3 { margin: 0; font-size: 1.25rem; }
.biz-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.biz-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* ---- Sourcing detail blocks ---- */
.detail-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-top: 18px; box-shadow: var(--shadow-sm); }
.detail-block:first-of-type { margin-top: 4px; }
.detail-block h3 { margin: 0 0 .5em; font-size: 1.2rem; color: var(--accent); }

@media (max-width: 860px) {
  .biz-grid { grid-template-columns: 1fr; }
}

/* ---- Vehicle price catalog (automotive page) ---- */
.cat-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 6px 0 18px; }
.cat-legend__item { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.cat-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.cat-dot--usd { background: #1f7a4d; }
.cat-dot--cny { background: #c98a00; }
/* brand index grid (automotive landing) */
.cat-group { margin: 28px 0 12px; font-size: 1.15rem; }
.cat-group:first-of-type { margin-top: 2px; }
.cat-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 20px); }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.cat-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-media--mono { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1f2d3d, #3a506b); }
.cat-monogram { font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: .04em; }
.cat-card__body { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 16px 16px; }
.cat-card__body h3 { margin: 0; font-size: 1.02rem; line-height: 1.2; flex: 1 1 100%; }
.cat-card__go { font-size: .85rem; font-weight: 700; color: var(--accent); }
.cat-card:hover .cat-card__go { text-decoration: underline; }
/* per-brand subpage hero */
.brand-hero { padding: clamp(28px, 4vw, 48px) 0; background: var(--bg-soft); }
.brand-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.brand-hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; background: var(--bg-soft); }
.brand-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-hero__media.cat-media--mono { display: flex; align-items: center; justify-content: center; }
.brand-hero h1 { margin: .2em 0 .35em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mt-2 { margin-top: 14px; }
@media (max-width: 760px) {
  .brand-hero__grid { grid-template-columns: 1fr; }
  .cat-card-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
.cat-basis { font-size: .7rem; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; color: #fff; }
.cat-basis--usd { background: #1f7a4d; }
.cat-sub { margin: 16px 0 6px; font-size: 1rem; color: var(--ink-soft); }
.cat-note { color: var(--ink-soft); font-size: .86rem; margin: 4px 0 12px; line-height: 1.5; }
.table-wrap { overflow-x: auto; margin-top: 8px; }
.cat-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 420px; }
.cat-table th, .cat-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cat-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.cat-table tbody tr:hover { background: #fafbfc; }
.cat-table td:last-child, .cat-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-missing { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.cat-missing p { margin: 0; max-width: 60ch; color: rgba(255,255,255,.92); font-size: 1.02rem; }

/* =====================================================================
   Clothing catalogue — buttons, clickable breadcrumb, item detail lightbox
   ===================================================================== */
.mc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: #fff; color: var(--ink); font: inherit; font-size: .82rem; font-weight: 700;
  line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background .18s, border-color .18s, color .18s; }
.mc-btn:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.mc-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.mc-btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.mc-btn--secondary { background: #fff; color: var(--ink-soft); }
.mc-btn:disabled, .mc-btn[aria-disabled="true"], .mc-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.mc-btn svg { flex: 0 0 auto; }
.mc-pager__btn { min-width: 96px; }
.mc-backbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; }
.mc-crumb__link { padding: 0; border: 0; background: none; font: inherit; color: var(--muted); text-decoration: none; cursor: pointer; }
.mc-crumb__link:hover, .mc-crumb__link:focus-visible { color: var(--accent); text-decoration: underline; }
.mc-crumb__current { color: var(--ink); font-weight: 700; }
.mc-crumb__sep { color: var(--muted); font-weight: 700; }

.mc-lightbox { width: min(1080px, 94vw); max-width: none; max-height: 92vh; padding: 0;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 90px rgba(8, 16, 26, .45); overflow: hidden; }
.mc-lightbox::backdrop { background: rgba(6, 12, 20, .84); }
.mc-lightbox__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.mc-lightbox__title { margin: 0; font-size: 1rem; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-lightbox__back, .mc-lightbox__close, .mc-lightbox__nav { border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); border-radius: 8px; font: inherit; cursor: pointer; }
.mc-lightbox__back { padding: 7px 12px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.mc-lightbox__close { width: 34px; height: 34px; font-size: 1.25rem; line-height: 1; }
.mc-lightbox__back:hover, .mc-lightbox__close:hover, .mc-lightbox__nav:hover { background: var(--bg-soft); border-color: var(--accent); color: var(--accent); }
.mc-lightbox__stage { height: min(60vh, 600px); display: flex; align-items: center; justify-content: center; background: #f3f6f8; }
.mc-lightbox__image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mc-lightbox__bar { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); }
.mc-lightbox__nav { width: 40px; height: 32px; font-size: 1.25rem; line-height: 1; }
.mc-lightbox__nav:disabled { opacity: .55; cursor: default; background: var(--bg-soft); }
.mc-lightbox__count { min-width: 140px; text-align: center; font-size: .84rem; color: var(--muted); }
.mc-lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; border-top: 1px solid var(--line); }
.mc-lightbox__thumbs[hidden] { display: none; }
.mc-lightbox__thumb { flex: 0 0 74px; height: 60px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #eef2f6; overflow: hidden; cursor: pointer; }
.mc-lightbox__thumb.is-current { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.mc-lightbox__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mc-lightbox__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.mc-lightbox__note { margin: 0; max-width: 640px; font-size: .74rem; line-height: 1.6; color: var(--muted); }
body.is-locked { overflow: hidden; }
@media (max-width: 700px) {
  .mc-lightbox { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .mc-lightbox__stage { height: 50vh; }
  .mc-lightbox__foot { flex-direction: column; align-items: stretch; }
}
