/* =============================================================
   Knitex — Global Knitted Fabric Showroom
   Brand: refined, textile-inspired, B2B oriented
   ============================================================= */

:root {
  /* ---------- Jianye Brand Palette ---------- */
  --ink: #081929;             /* deepest navy — text on cream */
  --slate: #0F2C4D;           /* brand navy — primary */
  --slate-soft: #1A3A5C;
  --muted: #7D7D7D;           /* warm grey for secondary text */
  --line: #E8E5E0;            /* warm divider line */
  --line-strong: #D6D2CB;
  --cream: #FAF7F2;           /* brand cream — page background */
  --cream-deep: #F5F3EE;
  --sand: #E8E5E0;
  --white: #FFFFFF;
  --accent: #C75D44;          /* terracotta — primary accent */
  --accent-deep: #A24832;
  --accent-soft: #E2A293;
  --gold: #B8945A;
  --success: #4F7A4A;
  --warn: #C68A2E;
  --danger: #B8413A;

  --shadow-sm: 0 1px 2px rgba(20,25,31,.06), 0 1px 3px rgba(20,25,31,.04);
  --shadow-md: 0 4px 14px rgba(20,25,31,.08), 0 2px 4px rgba(20,25,31,.04);
  --shadow-lg: 0 24px 48px rgba(20,25,31,.12), 0 4px 12px rgba(20,25,31,.06);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --serif: 'Cormorant Garamond', 'Songti SC', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC',
          'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;

  --max-w: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--slate); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--cream-deep);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar .ship { color: var(--cream-deep); opacity: .85; }
.topbar .lang-switch { display: flex; gap: 6px; align-items: center; }
.topbar .lang-switch button {
  background: transparent;
  color: var(--cream-deep);
  border: 1px solid transparent;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .15s ease;
}
.topbar .lang-switch button:hover { color: var(--white); }
.topbar .lang-switch button.active {
  border-color: rgba(247,242,232,.4);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 48px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}
.brand-logo-mobile {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 55%),
    var(--slate);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(247,242,232,.4);
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink);
  line-height: 1;
}
.brand-tag {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border .2s ease, color .2s ease;
}
.nav a:hover, .nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  position: relative;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: all .15s ease;
}
.icon-btn:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: all .18s ease;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--white); border-color: var(--slate); color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 11px; }
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(181,82,58,.08), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(30,42,56,.06), transparent 70%),
    var(--cream);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(20,25,31,.05) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: .6;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.hero-stat .lbl {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--slate);
}
.hero-visual .swatch-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 0;
}
.hero-visual .swatch-grid > div {
  transition: transform .4s ease;
}
.hero-visual .swatch-grid > div:hover { transform: scale(1.06); z-index: 2; }
.hero-visual .badge-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(20,25,31,.85);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-visual .badge-floating strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: .02em;
  text-transform: none;
  margin-top: 4px;
  color: var(--white);
  font-weight: 500;
}

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}
.section-head .eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 0; max-width: 720px; }
.section-head .link {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--slate);
  padding-bottom: 4px;
  white-space: nowrap;
}
.section-head .link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-tile {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate);
  cursor: pointer;
  transition: transform .25s ease;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile .swatch {
  position: absolute;
  inset: 0;
}
.cat-tile .info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(20,25,31,.7) 0%, transparent 60%);
  color: var(--white);
}
.cat-tile .info small {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .8;
}
.cat-tile .info .name {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-top: 4px;
  color: var(--white);
}

/* ---------- Product card ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.product-card > a:hover {
  color: inherit;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.product-card .media {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}
.product-card .media .swatch { position: absolute; inset: 0; transition: transform .5s ease; }
.product-card:hover .media .swatch { transform: scale(1.04); }
.product-card .media .stock-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  font-weight: 500;
}
.product-card .media .stock-tag.low { background: rgba(198,138,46,.95); color: var(--white); }
.product-card .media .stock-tag.out { background: rgba(184,65,58,.95); color: var(--white); }
.product-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.product-card .sku {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.product-card .specs {
  font-size: 12.5px;
  color: var(--slate);
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.product-card .specs span { display: inline-flex; gap: 4px; align-items: baseline; }
.product-card .specs span b { color: var(--ink); font-weight: 600; }
.product-card .color-strip {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  align-items: center;
}
.product-card .color-strip .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(20,25,31,.08);
  flex-shrink: 0;
  cursor: pointer;
}
.product-card .color-strip .more {
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
}
.product-card .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product-card .moq {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}
.product-card .moq b { color: var(--ink); font-weight: 600; font-size: 13px; }
.product-card a.view {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.product-card a.view:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Filter bar ---------- */
.list-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: flex-start;
}
.filters {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.filters h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 600;
}
.filters .group { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filters .group:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.filters .opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--slate);
  cursor: pointer;
}
.filters .opt input { accent-color: var(--ink); }
.filters .opt:hover { color: var(--ink); }
.filters .opt .count { margin-left: auto; font-size: 11px; color: var(--muted); }
.filters .color-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.filters .color-grid .c {
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(20,25,31,.1);
  position: relative;
  transition: transform .15s ease;
}
.filters .color-grid .c:hover { transform: scale(1.1); }
.filters .color-grid .c.active {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.filters .clear {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 0;
  margin-top: 8px;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 14px;
}
.list-toolbar .count { font-size: 13px; color: var(--muted); }
.list-toolbar .count b { color: var(--ink); font-weight: 600; }
.list-toolbar .sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.list-toolbar select {
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23333' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ---------- Detail page ---------- */
.crumb {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 24px 0;
  text-transform: uppercase;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.crumb .sep { margin: 0 8px; opacity: .5; }

.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  padding-bottom: 80px;
}
.detail-gallery {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
}
.detail-gallery .main-swatch {
  position: absolute;
  inset: 0;
  transition: opacity .3s ease;
}
.detail-gallery .detail-swatch-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  cursor: zoom-in;
}
.image-modal-original {
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.detail-gallery .stock-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  font-weight: 500;
}
.detail-info .cat {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.detail-info h1 { margin-bottom: 8px; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.detail-info .sku {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.detail-info .lead {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 28px;
}
.detail-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.detail-info .price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
}
.detail-info .price-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 14px;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table td {
  padding: 12px 0;
  vertical-align: top;
}
.spec-table td:first-child {
  width: 40%;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.spec-table td:last-child {
  color: var(--ink);
  font-weight: 500;
}

/* color cards */
.color-cards {
  margin-bottom: 28px;
}
.color-cards .heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.color-cards .heading .label {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.color-cards .heading .selected {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.color-cards .grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.color-cards .card {
  cursor: pointer;
  border-radius: 4px;
  border: 2px solid transparent;
  padding: 2px;
  transition: all .15s ease;
  position: relative;
}
.color-cards .card .chip {
  aspect-ratio: 1;
  border-radius: 3px;
  border: 1px solid rgba(20,25,31,.06);
  position: relative;
  overflow: hidden;
  background-size: cover;
}
.color-cards .card .code {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 3px;
  font-family: ui-monospace, monospace;
  letter-spacing: 0;
  font-weight: 600;
}
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  letter-spacing: 0;
}
.color-cards .card:hover { border-color: var(--line-strong); }
.color-cards .card.active { border-color: var(--ink); }
.color-cards .card.active .code { color: var(--ink); font-weight: 600; }
.color-cards .card.oos .chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 47%, rgba(255,255,255,.9) 49%, rgba(255,255,255,.9) 51%, transparent 53%);
}
.color-cards .card.oos .code { text-decoration: line-through; }

/* stock badge */
.stock-info {
  display: flex;
  gap: 24px;
  background: var(--cream-deep);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  align-items: center;
}
.stock-info .item .num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.stock-info .item .lbl {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}
.stock-info .divider {
  width: 1px;
  background: var(--line-strong);
  align-self: stretch;
}
.stock-info .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.stock-info .status-text {
  font-size: 13px;
  color: var(--slate);
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.detail-qty-actions {
  margin-bottom: 12px;
}
.detail-add-actions .btn {
  width: 100%;
}
.detail-actions .qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: visible;
}
.detail-actions .qty button {
  background: transparent;
  border: 0;
  width: 44px;
  height: 48px;
  font-size: 18px;
  color: var(--ink);
}
.detail-actions .qty input {
  width: 70px;
  text-align: center;
  border: 0;
  height: 48px;
  font-size: 15px;
  background: transparent;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.detail-actions .btn { flex: 1; padding-top: 14px; padding-bottom: 14px; }

.detail-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Spec Banner (full-width) ---------- */
.spec-banner {
  background: var(--cream-deep);
  padding: 64px 0;
  margin-bottom: 0;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
}
.spec-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.spec-item.full {
  grid-column: 1 / -1;
}
.spec-label {
  display: block;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.spec-value {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Sample basket ---------- */
.basket-layout {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 48px;
  padding-bottom: 80px;
}
.basket-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.basket-empty h3 { margin-bottom: 12px; }
.basket-empty p { color: var(--muted); margin-bottom: 28px; }

.basket-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.basket-item .thumb {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-deep);
  position: relative;
}
.basket-item .info h4 { margin: 0 0 4px; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.basket-item .info .sub { font-size: 12px; color: var(--muted); }
.basket-item .info .color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--slate);
}
.basket-item .info .color .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(20,25,31,.1);
}
.basket-item .controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.basket-item .remove {
  background: transparent;
  border: 0;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.basket-item .remove:hover { color: var(--accent); }

.basket-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.basket-form h3 { margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 100px; }
.field .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.success-box {
  background: var(--cream-deep);
  border: 1px dashed var(--success);
  padding: 22px;
  border-radius: var(--radius);
  text-align: center;
}
.success-box .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}
.success-box h4 { margin: 0 0 8px; }
.success-box p { margin: 0; font-size: 13px; color: var(--slate); }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0;
}
.trust .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust .item .icon {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--accent-soft);
}
.trust .item h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.trust .item p { color: rgba(247,242,232,.7); font-size: 13.5px; margin: 0; }

/* ---------- About blocks ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}
.about-hero .img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(181,82,58,.25), rgba(30,42,56,.2)),
    repeating-linear-gradient(45deg, var(--slate-soft) 0 4px, var(--slate) 4px 8px);
  box-shadow: var(--shadow-lg);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.feature-card .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.feature-card h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 60px 0 80px;
}
.contact-info {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 40px;
  border-radius: var(--radius);
}
.contact-info h2 { color: var(--white); }
.contact-info .lead { color: rgba(247,242,232,.75); margin-bottom: 36px; }
.contact-info .row { margin-bottom: 26px; }
.contact-info .row small {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247,242,232,.5);
  margin-bottom: 6px;
}
.contact-info .row p { color: var(--cream); margin: 0; font-size: 15px; }
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream-deep);
  padding: 64px 0 32px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 18px;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a {
  color: rgba(247,242,232,.65);
  font-size: 14px;
  transition: color .15s ease;
}
.site-footer ul li a:hover { color: var(--cream); }
.site-footer .about p { color: rgba(247,242,232,.65); font-size: 14px; max-width: 380px; }
.site-footer .copy {
  border-top: 1px solid rgba(247,242,232,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(247,242,232,.5);
  letter-spacing: .04em;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast .check {
  width: 20px;
  height: 20px;
  background: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
}

/* ---------- Empty ---------- */
.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty h4 { color: var(--ink); margin-bottom: 8px; }

/* =============================================================
   Jianye additions — search, mega wall, platforms, certifications
   ============================================================= */

/* ---------- SKU search in header ---------- */
.search-form {
  position: relative;
  flex: 1;
  max-width: 360px;
  margin: 0 24px;
}
.search-form input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 4px;
  font-size: 13.5px;
  letter-spacing: .03em;
  color: var(--ink);
  outline: none;
  transition: border .15s ease;
}
.search-form input:focus { border-color: var(--slate); }
.search-form input::placeholder { color: var(--muted); font-size: 13px; }
.search-form .icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: flex;
}
.search-form .hint {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}
.search-form.open .hint { display: block; }
.search-form .hint a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}
.search-form .hint a:hover { background: var(--cream); }
.search-form .hint a:last-child { border-bottom: 0; }
.search-form .hint .sw {
  width: 24px; height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}
.search-form .hint .meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-left: auto;
}
.search-form .hint .empty {
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------- Hero — mega color wall (Jianye home) ---------- */
.color-wall-hero {
  position: relative;
  padding: 100px 0 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.color-wall-hero .wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(32, 1fr);
  grid-auto-rows: 1fr;
  opacity: .85;
}
.color-wall-hero .wall > div { aspect-ratio: 1; }
.color-wall-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(8,25,41,.4) 0%, rgba(8,25,41,.85) 70%, rgba(8,25,41,.98) 100%);
  pointer-events: none;
}
.color-wall-hero .inner {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
  text-align: center;
}
.color-wall-hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 920px;
  margin: 0 auto 24px;
  line-height: 1.05;
}
.color-wall-hero h1 em { color: var(--accent-soft); font-style: italic; font-weight: 400; }
.color-wall-hero .sub {
  font-size: 17px;
  color: rgba(250,247,242,.75);
  max-width: 640px;
  margin: 0 auto 40px;
}
.color-wall-hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent-soft);
}
.color-wall-hero .search-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 8px;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}
.color-wall-hero .search-card input {
  flex: 1;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink);
  outline: none;
}
.color-wall-hero .search-card input::placeholder { color: var(--muted); }
.color-wall-hero .search-card button {
  padding: 14px 24px;
  background: var(--slate);
  color: var(--white);
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
}
.color-wall-hero .search-card button:hover { background: var(--accent); }
.color-wall-hero .search-tip {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(250,247,242,.6);
  letter-spacing: .03em;
}
.color-wall-hero .stats {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(250,247,242,.12);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.color-wall-hero .stats .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--white);
  display: block;
  line-height: 1;
}
.color-wall-hero .stats .lbl {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(250,247,242,.6);
  margin-top: 8px;
  display: block;
}

/* terracotta vertical accent line motif */
.accent-line {
  position: relative;
  padding-left: 24px;
}
.accent-line::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 3px; height: 36px;
  background: var(--accent);
}

/* ---------- Platform / Family showcase ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.platform-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all .22s ease;
  text-align: left;
  display: block;
  overflow: hidden;
}
.platform-tile:hover {
  transform: translateY(-4px);
  border-color: var(--slate);
  box-shadow: var(--shadow-md);
}
.platform-tile .label {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}
.platform-tile h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.platform-tile p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.55;
}
.platform-tile .arrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.platform-tile .arrow::after {
  content: '→';
  transition: transform .2s ease;
}
.platform-tile:hover .arrow::after { transform: translateX(4px); }
.platform-tile .pattern {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  opacity: .1;
  border-radius: 50%;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.family-tile {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  display: block;
  transition: transform .22s ease;
}
.family-tile:hover { transform: translateY(-2px); }
.family-tile .bg {
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}
.family-tile:hover .bg { transform: scale(1.05); }
.family-tile .label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(8,25,41,.5);
}
.family-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,25,41,.65) 0%, transparent 50%);
  z-index: 1;
}

/* ---------- Certification grid ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: border .2s ease;
}
.cert-card:hover { border-color: var(--accent); }
.cert-card .badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--slate);
  margin-bottom: 18px;
  font-weight: 500;
}
.cert-card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.cert-card .acronym {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.cert-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Method timeline ---------- */
.method-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.method-step {
  padding: 32px 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  position: relative;
}
.method-step:last-child { border-right: 0; }
.method-step .step-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.2rem;
  color: var(--accent);
  line-height: .9;
  margin-bottom: 14px;
}
.method-step h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.method-step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Color page grid (mega wall) ---------- */
.color-mega-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 4px;
}
.color-mega-grid .cell {
  aspect-ratio: 1;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: transform .15s ease;
}
.color-mega-grid .cell:hover {
  transform: scale(1.25);
  z-index: 5;
  box-shadow: var(--shadow-md);
}
.color-mega-grid .cell .label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-family: ui-monospace, monospace;
  letter-spacing: 0;
}
.color-mega-grid .cell:hover .label { opacity: 1; }

.hue-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.hue-tabs .tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate);
  background: var(--white);
  cursor: pointer;
  transition: all .15s ease;
}
.hue-tabs .tab .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(8,25,41,.08);
}
.hue-tabs .tab:hover { border-color: var(--slate); }
.hue-tabs .tab.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---------- Timeline (About page) ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 2px;
  background: var(--line-strong);
}
.tl-event {
  position: relative;
  padding-bottom: 36px;
}
.tl-event::before {
  content: '';
  position: absolute;
  left: -27px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--accent);
}
.tl-event .year {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}
.tl-event h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}
.tl-event p { font-size: 14px; color: var(--muted); margin: 0; }

/* facility stats */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.fac-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.fac-card .label {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.fac-card h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.fac-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fac-card ul li {
  font-size: 14px;
  color: var(--slate);
  padding: 6px 0;
  border-top: 1px dashed var(--line);
}
.fac-card ul li:first-child { border-top: 0; }
.fac-card ul li b { color: var(--ink); font-weight: 600; }

/* equipment line */
.eq-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.eq-line .item {
  padding: 0 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.eq-line .item:last-child { border-right: 0; }
.eq-line .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.eq-line .lbl {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Regional contact cards ---------- */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.region-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.region-card .flag {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}
.region-card h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.region-card .line {
  font-size: 14px;
  color: var(--slate);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.region-card .line:first-of-type { border-top: 0; padding-top: 0; }
.region-card .line small {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

/* ---------- Coming-soon banner ---------- */
.coming-soon {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(199,93,68,.2), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(199,93,68,.15), transparent 40%);
}
.coming-soon > * { position: relative; }
.coming-soon .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  padding: 4px 12px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 18px;
}
.coming-soon h2 { color: var(--white); margin-bottom: 14px; }
.coming-soon p { color: rgba(250,247,242,.75); max-width: 540px; margin: 0 auto 24px; }

/* ---------- Hamburger menu (mobile nav) ---------- */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  margin: 5px auto;
  transition: all .2s ease;
  border-radius: 1px;
}
.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-nav.open {
  display: block;
  pointer-events: auto;
}
.mobile-nav .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,25,41,.45);
  backdrop-filter: blur(2px);
}
.mobile-nav .panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px 32px;
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
  z-index: 2;
}
.mobile-nav.open .panel {
  transform: translateX(0);
}
.mobile-nav .panel .panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .panel .panel-brand .brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-nav .panel .panel-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mobile-nav .panel .panel-links li {
  border-bottom: 1px solid var(--line);
}
.mobile-nav .panel .panel-links li:last-child {
  border-bottom: 0;
}
.mobile-nav .panel .panel-links a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--slate);
  transition: color .15s ease;
}
.mobile-nav .panel .panel-links a:hover,
.mobile-nav .panel .panel-links a.active {
  color: var(--ink);
}
.mobile-nav .panel .panel-links a.active {
  color: var(--accent);
}
.mobile-nav .panel .panel-cta {
  margin-top: 16px;
}
.mobile-nav .panel .panel-cta .btn {
  width: 100%;
  margin-bottom: 10px;
}
.mobile-nav .panel .panel-lang {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.mobile-nav .panel .panel-lang button {
  flex: 1;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: all .15s ease;
}
.mobile-nav .panel .panel-lang button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.mobile-nav .panel .panel-lang button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ---------- Add to Inquiry button ---------- */
.btn-inquiry {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-inquiry:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.btn-inquiry:active {
  background: var(--accent-deep);
}

.product-card .footer .btn-add-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
}
.product-card .footer .btn-add {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all .15s ease;
  background: transparent;
  white-space: nowrap;
}
.product-card .footer .btn-add:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- Email validation ---------- */
.input-error {
  border-color: var(--danger) !important;
  background: rgba(184,65,58,.03);
}
.field-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  line-height: 1.3;
}

/* ---------- Product card action bar ---------- */
.card-actions-bar {
  display: flex;
  gap: 6px;
  padding: 10px 22px 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.card-actions-bar button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all .15s ease;
  font-weight: 500;
}
.card-actions-bar .btn-add-sample {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.card-actions-bar .btn-add-sample:hover {
  background: var(--ink);
  color: var(--cream);
}
.card-actions-bar .btn-add-inquiry {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.card-actions-bar .btn-add-inquiry:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- Inquiry form extras ---------- */
.inquiry-mode-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.inquiry-mode-tabs button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: all .15s ease;
}
.inquiry-mode-tabs .mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 9px;
  letter-spacing: 0;
}
.inquiry-mode-tabs button:hover {
  background: var(--cream-deep);
}
.inquiry-mode-tabs button.active {
  background: var(--ink);
  color: var(--cream);
}

.inquiry-qty-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .basket-layout { grid-template-columns: 1fr; }
  .basket-form { position: static; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .trust .grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .method-flow { grid-template-columns: 1fr 1fr; }
  .method-step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .method-step:nth-child(2) { border-right: 0; }
  .region-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .color-mega-grid { grid-template-columns: repeat(14, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .search-form { display: none; }
}

/* ---------- Responsive updates ---------- */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav { display: none; }
  .hamburger {
    display: block;
  }
  .search-form {
    display: none !important;
  }
  .topbar { font-size: 10px; }
  .hero { padding: 48px 0 60px; }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .list-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .products-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .color-cards .grid { grid-template-columns: repeat(5, 1fr); }
  .detail-actions { flex-direction: column; }
  .detail-actions .qty { align-self: stretch; }
  .spec-grid { grid-template-columns: 1fr; gap: 0; }
  .platform-grid { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .method-flow { grid-template-columns: 1fr; }
  .method-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .color-mega-grid { grid-template-columns: repeat(10, 1fr); }
  .color-wall-hero .stats { gap: 24px; flex-wrap: wrap; justify-content: space-around; }
  .eq-line { grid-template-columns: 1fr; }
  .eq-line .item { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .eq-line .item:last-child { border-bottom: 0; }
}
