/* 色丽雅 zannuo — Chinese marketing site */
:root {
  --ink: #171A20;
  --ink-soft: #393C41;
  --muted: #5C5E62;
  --line: #E8E8E8;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F7;
  --bg-warm: #F5F5F7;
  --page: #F5F5F7;
  --module-gap: 12px;
  --accent: #3E6B8A;
  --accent-dark: #2F536B;
  --accent-soft: #E8F0F5;
  --cta: #0071E3;
  --cta-hover: #0077ED;
  --white: #FFFFFF;
  --radius: 4px;
  --nav-h: 56px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.container-wide {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
}
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn-secondary {
  background: transparent;
  color: var(--cta);
  border-color: var(--cta);
}
.btn-secondary:hover { background: rgba(0,113,227,.08); color: var(--cta-hover); border-color: var(--cta-hover); }
.btn-ghost {
  background: rgba(255,255,255,.85);
  color: var(--ink);
  border-color: transparent;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-light:hover { background: var(--bg-soft); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { min-width: 120px; height: 36px; font-size: 13px; padding: 0 18px; }
.btn-block { width: 100%; }

/* Nav — Apple-style frosted bar, always distinct from page */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  overflow: visible;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.6) inset;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
/* Drop filter while drawer is open so .nav-links position:fixed uses the viewport
   as containing block (filter/backdrop-filter on an ancestor traps fixed descendants). */
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: rgba(0, 0, 0, 0.1);
  overflow: visible;
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  overflow: visible;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  z-index: 2;
}
.logo-cn { font-size: 17px; color: var(--ink); }
.logo-en { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0.06em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
  overflow: visible;
}
.nav-links > a,
.nav-item > button,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.nav-links > a:hover,
.nav-item > button:hover,
.nav-item > a:hover,
.nav-links > a.active,
.nav-item > a.active { background: var(--bg-soft); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; z-index: 2; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: none;
  transition: background .15s;
}
.nav-toggle:hover {
  background: var(--bg-soft);
}
.nav-toggle span {
  display: block; width: 16px; height: 2px; background: var(--ink);
  border-radius: 999px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink);
  border-radius: 999px;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.site-header.menu-open .nav-toggle {
  background: var(--ink);
}
.site-header.menu-open .nav-toggle span,
.site-header.menu-open .nav-toggle span::before,
.site-header.menu-open .nav-toggle span::after {
  background: var(--white);
}
/* Hide mobile-only quote in desktop nav (must beat .nav-links > a) */
.nav-links > a.nav-quote-mobile,
.nav-quote-mobile { display: none; }

/* Mega menu — overlap trigger so hover never crosses a dead gap */
.nav-item { position: relative; }
.mega {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%);
  width: min(460px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(23,26,32,.12);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 200;
  transition: opacity .18s, visibility .18s;
  /* Invisible hover bridge above the panel (into the nav button) */
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.open .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mega-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  transition: background .15s;
}
.mega-card:hover { background: var(--bg-soft); }
.mega-card img {
  width: 88px; height: 88px; object-fit: contain; margin-bottom: 8px;
}
.mega-card strong { font-size: 13px; font-weight: 600; }
.mega-card span { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mega-foot {
  display: flex; justify-content: center; gap: 16px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
}
.mega-foot a { font-size: 13px; color: var(--accent); font-weight: 500; }
.mega-foot a:hover { text-decoration: underline; }

/* Language panel (DJI-style) */
.nav-lang > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-lang .lang-globe {
  flex-shrink: 0;
  opacity: 0.85;
}
.mega-lang {
  left: 0;
  right: auto;
  transform: none;
  width: min(380px, calc(100vw - 24px));
  max-height: min(70vh, 560px);
  padding: 0;
  /* allow ::before hover bridge; scroll on rows area via max-height */
  overflow-x: hidden;
  overflow-y: auto;
}
.nav-item.nav-lang:hover .mega-lang,
.nav-item.nav-lang:focus-within .mega-lang {
  transform: none;
}
.lang-panel-head {
  padding: 14px 18px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mega-lang .lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s;
}
.mega-lang .lang-row:last-child {
  border-bottom: 0;
}
.mega-lang .lang-row:hover {
  background: var(--bg-soft);
}
.mega-lang .lang-row.active {
  background: rgba(0, 113, 227, 0.06);
}
.mega-lang .lang-row.active .lang-name {
  color: var(--accent);
  font-weight: 600;
}
.mega-lang .lang-name {
  font-weight: 500;
  white-space: nowrap;
}
.mega-lang .lang-meta {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.mega-lang .lang-row.active .lang-meta {
  color: var(--accent);
  opacity: 0.8;
}
/* end language panel */


/* Full-bleed sections — Tesla-like: copy overlays media at top */
.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: calc(var(--nav-h) + 28px) 24px 56px;
  overflow: hidden;
  background: var(--bg);
  scroll-margin-top: var(--nav-h);
  /* Apple-style module break */
  margin-bottom: var(--module-gap);
}
.panel.tone-soft {
  background: var(--page);
}
.panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
}
.panel-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center 75%;
  /* Reserve top band for overlay copy so lids clear title/CTAs */
  padding: clamp(155px, 27vh, 260px) 2vw 3vh;
}
.panel-media.cover img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}
/* Soft top wash for readable overlay text; no heavy bottom white band */
.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.88) 0%,
    rgba(255,255,255,.45) 14%,
    rgba(255,255,255,.08) 28%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
}
.panel.tone-soft .panel-media::after {
  background: linear-gradient(
    180deg,
    rgba(245,245,247,.92) 0%,
    rgba(245,245,247,.5) 14%,
    rgba(245,245,247,.1) 28%,
    rgba(245,245,247,0) 40%,
    rgba(245,245,247,0) 100%
  );
}
.panel.dark .panel-media::after {
  background: linear-gradient(180deg, rgba(23,26,32,.45) 0%, rgba(23,26,32,.12) 35%, rgba(23,26,32,.55) 100%);
}
.panel.dark { color: var(--white); }
.panel-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  margin-top: 0;
}
.panel-kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 500;
}
.panel.dark .panel-kicker { color: rgba(255,255,255,.7); }
.panel-title {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.panel-sub {
  margin: 10px 0 0;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  font-weight: 400;
}
.panel.dark .panel-sub { color: rgba(255,255,255,.85); }
.panel-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* Hero: copy high; product sits below so lids clear type/CTAs */
.hero {
  justify-content: flex-start;
  background: #FFFFFF;
  padding: 0;
}
.hero .panel-media {
  background: #FFFFFF;
}
.hero .panel-media img {
  /* contain = full bottles (not middle-two crop); top pad clears overlay copy */
  object-fit: contain;
  object-position: center 78%;
  padding: clamp(175px, 28vh, 280px) 2vw 4vh;
  opacity: 1;
  transform: none;
}
.hero .panel-media::after {
  /* stronger top veil for readable type on white studio */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.55) 12%,
    rgba(255,255,255,.12) 24%,
    rgba(255,255,255,0) 36%,
    rgba(255,255,255,0) 100%
  );
}
.hero .panel-content {
  position: absolute;
  top: calc(var(--nav-h) + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 40px));
  max-width: 720px;
  margin: 0;
  z-index: 2;
  pointer-events: none;
}
.hero .panel-content a,
.hero .panel-content .btn {
  pointer-events: auto;
}
.hero-brand {
  /* Apple product-name scale (like “iPhone Duo”) */
  font-size: clamp(36px, 8vw, 56px);
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.1;
}
.hero .panel-title {
  /* Tagline under brand (like “Hello, hello.”) */
  font-size: clamp(20px, 3.6vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
.hero .panel-sub {
  margin-top: 10px;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}
.hero .panel-ctas {
  margin-top: 18px;
}

/* Panel CTAs — Apple-style solid + outline pills */
.panel .panel-ctas {
  margin-top: 20px;
  gap: 12px;
}
.panel .panel-ctas .btn {
  height: 44px;
  min-width: 148px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.panel .panel-ctas .btn-primary {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
}
.panel .panel-ctas .btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}
.panel .panel-ctas .btn-secondary {
  background: transparent;
  color: var(--cta);
  border-color: var(--cta);
}
.panel .panel-ctas .btn-secondary:hover {
  background: rgba(0,113,227,.08);
  color: var(--cta-hover);
  border-color: var(--cta-hover);
}
/* Dark panels keep blue outline (Apple black section pattern) */
.panel.dark .panel-ctas .btn-secondary {
  color: var(--cta);
  border-color: var(--cta);
  background: transparent;
}
.panel.dark .panel-ctas .btn-secondary:hover {
  background: rgba(0,113,227,.16);
}
.hero .panel-ctas {
  margin-top: 18px;
}
.hero .panel-sub {
  margin-top: 10px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  color: var(--muted);
}
@media (min-width: 961px) {
  .hero .panel-media img {
    object-fit: contain;
    object-position: center 72%;
    /* Extra top pad so desktop CTAs clear lids at 800px-tall viewports */
    padding: clamp(200px, 30vh, 320px) 4vw 4vh;
    transform: none;
  }
  .hero .panel-content {
    top: calc(var(--nav-h) + 18px);
  }
  .hero .panel-ctas { margin-top: 14px; }
  .hero .panel-sub { margin-top: 8px; }
}

/* Category strip */
.cat-strip {
  padding: 80px 0;
  background: var(--bg);
  margin-bottom: var(--module-gap);
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin-inline: auto;
}
.cat-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 16px;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23,26,32,.08);
}
.cat-card img {
  width: min(72%, 220px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 16px;
  flex: 1 1 auto;
  max-height: 200px;
}
.cat-card h3 { margin: 0; font-size: 20px; font-weight: 600; }
.cat-card p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* Feature cards */
.features {
  padding: 88px 0;
  background: var(--page);
  margin-bottom: var(--module-gap);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 22px;
  border: 1px solid var(--line);
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feat-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.feat-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Factory band */
.factory {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  margin-bottom: var(--module-gap);
  /* Top pad so sticky header does not slice headline/CTAs when section enters */
  padding: calc(var(--nav-h) + 40px) 24px 72px;
  color: var(--white);
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
}
.factory-bg {
  position: absolute; inset: 0; z-index: 0;
}
.factory-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.factory-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23,26,32,.42) 0%,
    rgba(23,26,32,.22) 28%,
    rgba(23,26,32,.55) 62%,
    rgba(23,26,32,.78) 100%
  );
}
.factory-content {
  position: relative; z-index: 1;
  width: min(1120px, 100%);
  margin-inline: auto;
}
.factory-content h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
}
.factory-content p {
  margin: 12px 0 0;
  max-width: 520px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
}
.factory-stats {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin: 28px 0 0;
}
.factory-stats div strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.factory-stats div span {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* CTA band */
.cta-band {
  padding: 72px 24px;
  text-align: center;
  background: var(--bg);
  margin-bottom: var(--module-gap);
}
.cta-band h2 {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
}
.cta-band p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.cta-band .panel-ctas { margin-top: 28px; }
.cta-band a.mail {
  color: var(--accent);
  font-weight: 500;
}

/* Page hero (inner) */
.page-hero {
  padding: calc(var(--nav-h) + 56px) 24px 48px;
  text-align: center;
  background: var(--bg-warm);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 12px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

/* Products grid */
.products-section { padding: 48px 0 96px; }
.filter-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.filter-bar-cap {
  padding-top: 4px;
}
.filter-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-right: 4px;
  font-weight: 600;
}
.filter-btn {
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
  transition: .15s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(23,26,32,.08);
}
.product-card .thumb {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10px;
  background: linear-gradient(180deg, #F8F8F8, #F0F0F0);
  overflow: hidden;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-card .body {
  padding: 18px 20px 22px;
  background: var(--white);
  border-top: 1px solid var(--line);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .cat-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}
.product-card h3 {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 600;
}
.product-card .cap {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.product-card .actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.product-card.hidden { display: none; }

/* Product detail */
.pd {
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.pd-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.pd-gallery {
  background: var(--bg-soft);
  border-radius: 16px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}
.pd-gallery img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.pd-info .crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.pd-info .crumb a:hover { color: var(--accent); }
.pd-info .cat-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}
.pd-info h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pd-info .cap-lg {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-soft);
}
.pd-info .lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.spec-table {
  width: 100%;
  margin: 28px 0 0;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 36%;
  color: var(--muted);
  font-weight: 500;
}
.pd-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.pd-points {
  margin-top: 32px;
  display: grid;
  gap: 10px;
}
.pd-points li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.pd-points li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}
.related { padding: 0 0 96px; }
.related h2 {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

/* Materials / About content */
.content-section { padding: 56px 0 96px; }
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mat-card, .about-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}
.mat-card h3, .about-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.mat-card p, .about-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.mat-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.prose {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.prose p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.about-hero-img {
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 48px;
  max-width: 960px;
  aspect-ratio: 21/9;
}
.about-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.cert-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.cert-list span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 500;
}
.timeline {
  max-width: 640px;
  margin: 48px auto 0;
  border-left: 2px solid var(--line);
  padding-left: 24px;
}
.timeline-item { margin-bottom: 28px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.timeline-item strong { display: block; font-size: 15px; }
.timeline-item span { font-size: 13px; color: var(--muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid .contact-info { order: 1; }
.contact-grid .contact-form { order: 2; }
.contact-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}
.contact-info p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.info-block { margin-top: 28px; }
.info-block h3 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.info-block a { color: var(--accent); font-weight: 500; }
.info-block a:hover { text-decoration: underline; }
.contact-form {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 32px 28px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--accent); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-cn { color: var(--white); font-size: 18px; }
.footer-brand .logo-en { color: rgba(255,255,255,.55); }
.footer-brand p {
  margin: 14px 0 0;
  max-width: 280px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(255,255,255,.55);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
}
.footer-bottom a.beian,
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom a.beian:hover,
.footer-bottom a:hover {
  color: rgba(255,255,255,.75);
  text-decoration: underline;
}

/* Utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Responsive */
@media (max-width: 960px) {
  /*
   * Drawer must NOT rely on inset bottom:0.
   * .site-header uses backdrop-filter, which makes position:fixed
   * descendants use the header (56px) as containing block — bottom:0
   * then collapses the drawer to ~0 height and breaks mega dropdowns.
   * Use an explicit viewport height instead.
   */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    margin-right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 4px;
    display: none;
    z-index: 99;
    width: auto;
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.open {
    display: flex;
    /* Fallback height if a browser still traps fixed inside the header CB */
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
  }
  .nav-item > button,
  .nav-item > a,
  .nav-links > a {
    width: 100%;
    justify-content: flex-start;
    height: 44px;
    border-radius: 8px;
  }
  .mega,
  .nav-item:hover .mega,
  .nav-item:focus-within .mega,
  .nav-item.open .mega {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 4px 0 8px;
    margin: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    overflow: visible;
    max-height: none;
  }
  .nav-item.open .mega { display: block; }
  /* Desktop hover bridge is useless / can steal taps on mobile */
  .mega::before { display: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 4px; }
  .mega-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 8px 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .mega-card img { width: 48px; height: 48px; margin: 0; flex-shrink: 0; }
  .mega-card strong, .mega-card span { overflow-wrap: anywhere; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { gap: 10px; }
  /* Keep compact header quote on mobile */
  .nav-actions .btn {
    display: inline-flex;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
  /* Full-width quote inside open hamburger menu */
  .nav-links > a.nav-quote-mobile,
  .nav-quote-mobile {
    display: inline-flex !important;
    width: 100%;
    margin-top: 12px;
    min-width: 0;
    height: 44px;
    padding: 0 18px;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius);
    background: var(--accent) !important;
    color: var(--white) !important;
    border: 1px solid var(--accent);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .nav-links > a.nav-quote-mobile:hover {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark);
    color: var(--white) !important;
  }

  .mega-lang {
    width: 100%;
    max-width: 100%;
    max-height: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 4px 0 8px;
    background: var(--bg-soft);
    border-radius: 10px;
    overflow: visible;
  }
  .lang-panel-head {
    background: transparent;
    padding: 10px 12px 6px;
  }
  .mega-lang .lang-row {
    padding: 12px 14px;
    background: transparent;
    gap: 10px;
  }
  .mega-lang .lang-name,
  .mega-lang .lang-meta {
    white-space: normal;
  }
  .mega-lang .lang-row:hover,
  .mega-lang .lang-row.active {
    background: var(--white);
  }
  .nav-lang > button {
    width: 100%;
  }

  .cat-grid, .feat-grid, .product-grid, .content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .pd-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid .contact-form { order: 1; }
  .contact-grid .contact-info { order: 2; }
  .footer-grid { gap: 28px; }
  .panel {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--nav-h) + 18px) 20px 40px;
  }
  .panel:not(.hero) {
    padding: calc(var(--nav-h) + 12px) 20px 36px;
  }
  /* Mobile product panels: show full bottles under copy, not aggressive cover crop */
  .panel:not(.hero) .panel-media img {
    object-fit: contain;
    object-position: center 78%;
    padding: clamp(148px, 25vh, 230px) 2vw 3vh;
    transform: none;
  }
  .panel:not(.hero) .panel-content {
    max-width: 640px;
  }
  .hero .panel-media img {
    object-fit: contain;
    object-position: center 80%;
    padding: clamp(148px, 24vh, 220px) 2vw 3vh;
    transform: none;
  }
  .hero .panel-content {
    top: calc(var(--nav-h) + 8px);
    width: calc(100% - 32px);
  }
  .hero-brand {
    font-size: clamp(32px, 9vw, 44px);
  }
  .hero .panel-title {
    font-size: clamp(18px, 4.6vw, 22px);
  }
  .hero .panel-sub {
    font-size: 14px;
    line-height: 1.5;
    padding: 0 4px;
    margin-top: 8px;
  }
  .hero .panel-ctas {
    margin-top: 14px;
    gap: 10px;
  }
  .factory {
    padding: calc(var(--nav-h) + 28px) 20px 56px;
  }
}
@media (max-width: 600px) {
  .cat-grid, .feat-grid, .product-grid, .content-grid {
    grid-template-columns: 1fr;
  }
  .panel-ctas .btn { min-width: 140px; flex: 1; }
  .hero .panel-ctas .btn,
  .panel .panel-ctas .btn {
    min-width: 0;
    flex: 1 1 calc(50% - 6px);
    height: 44px;
    font-size: 14px;
  }
  .logo-en { display: none; }
  .about-hero-img { aspect-ratio: 16/10; }
  .panel-title { font-size: clamp(28px, 7.5vw, 36px); }
  .panel:not(.hero) .panel-media img {
    object-fit: contain;
    object-position: center 78%;
    padding: clamp(140px, 24vh, 210px) 2vw 3vh;
  }
  .hero .panel-media img {
    padding: clamp(140px, 23vh, 210px) 2vw 3vh;
  }
}


/* Apple module rhythm on larger screens */
@media (min-width: 961px) {
  body { background: var(--page); }
  .panel,
  .cat-strip,
  .features,
  .factory,
  .cta-band {
    margin-bottom: var(--module-gap);
  }
}


/* FAQ — Doubao / crawler friendly Q&A */
.faq { max-width: 820px; margin: 0 auto; }
.faq-list { margin: 8px 0 0; padding: 0; }
.faq-list dt {
  font-weight: 650;
  font-size: 17px;
  color: var(--ink);
  margin: 22px 0 8px;
  letter-spacing: -0.01em;
}
.faq-list dd {
  margin: 0;
  color: var(--muted, #5c6370);
  line-height: 1.65;
  font-size: 15px;
}


/* Inquiry form status + honeypot */
.contact-form .hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f2f3f5;
  color: var(--ink-soft, #3c414b);
}
.form-status.is-success {
  background: #e8f7ee;
  color: #146c2e;
}
.form-status.is-error {
  background: #fdecec;
  color: #a11;
}
.form-status.is-pending {
  background: #f2f3f5;
  color: var(--muted, #5c6370);
}
.form-note a { color: var(--accent); }


/* News */
.news-list {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.news-card {
  display: block;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 10px 28px rgba(23,26,32,.06);
}
.news-card .news-date {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.news-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.news-card .news-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}
.article .prose p { margin: 0 0 18px; }
.article .prose blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
}
.article .prose blockquote p { margin: 0 0 8px; }
.article .prose blockquote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.article .article-aside {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article .article-aside h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.home-news {
  padding: 72px 0 24px;
}
.home-news .news-teaser {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}
.home-news .news-teaser .news-date {
  font-size: 13px;
  color: var(--muted);
}
.home-news .news-teaser h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  font-weight: 600;
}
.home-news .news-teaser p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}


/* News article page */
.article-page {
  padding-top: 88px;
}
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article-banner {
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.article-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: right center;
  background: #fff;
}
.article-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.article-title {
  margin: 0 0 24px;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  color: var(--ink);
}
.article-logo {
  margin: 0 0 28px;
}
.article-logo img {
  display: block;
  width: min(220px, 55%);
  height: auto;
}
.article-logo-sm {
  margin: 0 0 14px;
}
.article-logo-sm img {
  width: min(140px, 40%);
}
.article .prose,
.article .article-prose,
.prose.article-prose {
  max-width: none;
  margin: 0;
  text-align: left;
}
.article .prose p,
.article .article-prose p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  text-align: left;
}
.article-quote-lead {
  font-weight: 560;
}
.article .prose blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  text-align: left;
}
.article .prose blockquote p {
  margin: 0 0 8px;
  color: var(--ink);
}
.article .prose blockquote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.article .article-aside {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.article .article-aside h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
}
.article .article-aside h2 + .article-logo-sm + .prose,
.article .article-aside .prose {
  margin-bottom: 8px;
}
.article .article-aside h2:not(:first-child) {
  margin-top: 32px;
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.news-card .news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: contain;
  object-position: right center;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
@media (max-width: 640px) {
  .article-page { padding-top: 72px; }
  .article-banner img { max-height: 140px; }
  .article-title { font-size: 22px; }
}


/* ===== Order / checkout ===== */
.order-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.order-note {
  background: #fff8e8;
  border: 1px solid #f0d9a0;
  color: #6a4b00;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.55;
}
.order-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.order-cat {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 980px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
}
.order-cat.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.order-catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.order-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
.order-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.order-card .meta strong {
  display: block;
  font-size: 14px;
  font-weight: 620;
  color: var(--ink);
}
.order-card .meta span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.order-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.order-qty button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.order-qty input {
  width: 48px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 4px;
  font: inherit;
  background: #fff;
}
.order-side {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 22px 20px;
  position: sticky;
  top: 88px;
}
.order-side h2 {
  font-size: 16px;
  margin: 0 0 12px;
}
.order-summary-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  max-height: 180px;
  overflow: auto;
}
.order-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.order-summary-empty {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.order-total {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.order-total strong { color: var(--ink); font-size: 15px; }
.order-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.order-form .form-status {
  margin-top: 10px;
  font-size: 13px;
}
.order-form .form-status.err { color: #c0392b; }
.order-form .form-status.ok { color: #1e7a3a; }
.order-thanks {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 36px 24px;
}
.order-thanks .oid {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: .02em;
  margin: 14px 0 8px;
  color: var(--ink);
}
.order-thanks .hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-side { position: static; }
}
@media (max-width: 640px) {
  .order-card { grid-template-columns: 60px 1fr; }
  .order-qty { grid-column: 1 / -1; justify-content: flex-end; }
  .order-form .form-row-2 { grid-template-columns: 1fr; }
}

.order-caps { margin-top: -6px; }
@media (max-width: 640px) {
  .order-caps { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .order-caps::-webkit-scrollbar { display: none; }
  .order-caps .order-cat { flex: 0 0 auto; white-space: nowrap; }
}
