/* ==========================================================================
   Genduo Cage — site stylesheet
   Palette: graphite / steel / paper / safety orange
   No external dependencies. Mobile-first.
   ========================================================================== */

:root {
  --ink: #14171a;
  --ink-2: #232a30;
  --steel: #5c6a75;
  --steel-2: #8b98a2;
  --line: #dfe4e7;
  --line-2: #eceff1;
  --paper: #f6f6f3;
  --white: #ffffff;
  --accent: #d9550f;
  --accent-dark: #b7440a;
  --accent-soft: #fdf1e9;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(20, 23, 26, .08);
  --max: 1220px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #c8d0d6; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.lead { font-size: 1.125rem; color: var(--steel); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .8125rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .875rem;
  color: var(--ink);
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: .06em; color: var(--ink); }
.brand__tag { font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-2); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav .drop > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 0;
  background: none;
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: var(--radius);
}
.nav > a:hover, .nav .drop > button:hover { color: var(--accent); background: transparent; }
.nav > a.is-active { color: var(--ink); background: transparent; box-shadow: inset 0 -2px 0 var(--accent); }

.drop { position: relative; }
.drop__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease;
}
.drop:hover .drop__panel, .drop:focus-within .drop__panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius);
}
.drop__link:hover { background: var(--paper); }
.drop__link strong { font-size: .9375rem; color: var(--ink); }
.drop__link span { font-size: .75rem; color: var(--steel); line-height: 1.4; }
.drop__all { grid-column: 1 / -1; border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 12px; }

.header-cta { flex: 0 0 auto; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- hero ---------- */
.hero {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20,23,26,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,23,26,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--line-2);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-block: 72px 64px;
}
.hero__copy { max-width: 560px; }
.hero__title { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.03em; }
.hero__sub { font-size: 1.0625rem; color: var(--steel); margin: 18px 0 28px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3.15; object-fit: cover; border-radius: 2px; }
.hero__caption {
  position: absolute; left: 16px; bottom: 16px;
  border-left: 2px solid var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .03em;
  background: rgba(20, 23, 26, .82);
  color: #fff;
  font-size: .75rem;
  padding: 6px 10px;
  letter-spacing: .02em;
}

/* ---------- stat bar ---------- */
.stats { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-2); background: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 26px 24px; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: 1.75rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .8125rem; color: var(--steel); margin-top: 4px; }

/* ---------- section head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.section-head p { margin: 8px 0 0; color: var(--steel); max-width: 56ch; }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.cat:hover { border-color: var(--ink); border-top-color: var(--accent); transform: translateY(-2px); color: inherit; }
.cat__img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; background: var(--paper); }
.cat__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat__title { font-size: 1.0625rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
.cat__title span { font-size: .75rem; font-weight: 600; color: var(--steel-2); letter-spacing: .04em; }
.cat__desc { font-size: .875rem; color: var(--steel); margin: 0; }
.cat__foot { margin-top: auto; padding-top: 10px; font-size: .8125rem; font-weight: 600; color: var(--accent); }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature { border-top: 2px solid var(--ink); padding-top: 18px; }
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { font-size: .875rem; color: var(--steel); margin: 0; }

/* ---------- spec table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 720px; }
table.spec thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}
table.spec tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.spec tbody tr:nth-child(even) { background: #fbfbf9; }
table.spec tbody tr:hover { background: var(--paper); }
table.spec .num { text-align: right; }
table.spec td:first-child { font-weight: 600; color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- product grid ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pcard:hover { border-color: var(--ink); border-top-color: var(--accent); box-shadow: var(--shadow); }
.pcard__media { background: var(--paper); aspect-ratio: 4 / 3.2; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .35s ease; }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard__sku {
  align-self: flex-start;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--steel); background: var(--paper); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 2px;
}
.pcard__title { font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.35; margin: 0; }
.pcard__meta { font-size: .8125rem; color: var(--steel); margin: 0; }
.pcard__foot { margin-top: auto; font-size: .75rem; color: var(--steel-2); display: flex; justify-content: space-between; gap: 8px; }

/* ---------- filters ---------- */
.filters { border: 1px solid var(--line); background: #fff; padding: 18px 20px; margin-bottom: 28px; }
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 6px 0; }
.filter-row__label { flex: 0 0 92px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); padding-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem;
  color: var(--ink-2);
  background: #fff;
}
.chip:hover { border-color: var(--steel-2); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.count-line { font-size: .8125rem; color: var(--steel); margin-bottom: 18px; }
.empty-note { padding: 6px 0 10px; font-size: .9375rem; color: var(--steel); }
.empty-note a { color: var(--accent); font-weight: 600; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 40px 0 8px; }
.pdp__gallery { position: relative; }
.pdp__main { background: var(--paper); border: 1px solid var(--line); aspect-ratio: 4 / 3.4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pdp__thumbs img { width: 84px; height: 64px; object-fit: contain; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.pdp__thumbs img.is-on { border-color: var(--ink); }
.pdp__info h1 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin-bottom: 8px; }
.pdp__code { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.pdp__lead { color: var(--steel); margin: 14px 0 22px; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.kv { border-top: 1px solid var(--line); margin-top: 8px; }
.kv__row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .875rem; }
.kv__k { color: var(--steel); }
.kv__v { color: var(--ink); font-weight: 500; }

.pdp__body { padding: 48px 0; }
.prose { max-width: 78ch; font-size: 1rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.375rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul { margin: 0 0 1em; padding-left: 20px; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .875rem; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose table th { background: var(--paper); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: #c9d2d8; }
.cta__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding-block: 52px; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; font-size: .9375rem; }

/* ---------- footer ---------- */
.site-footer { background: #0f1215; color: #98a4ad; font-size: .875rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer-grid h4 { color: #fff; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 30px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 34ch; }
.footer-bottom { border-top: 1px solid #232a30; padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .75rem; color: #6f7b85; }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .8125rem; color: var(--steel); padding: 18px 0; }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--accent); }

/* ---------- page head ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 40px 0 44px; }
.page-head h1 { margin-bottom: 10px; }
.page-head p { color: var(--steel); max-width: 64ch; margin: 0; }

/* ---------- pagination ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 8px; }
.pager a, .pager span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: .875rem;
  color: var(--ink-2);
  background: #fff;
}
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .is-disabled { color: var(--steel-2); background: var(--paper); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9375rem;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.field textarea { min-height: 78px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .75rem; color: var(--steel); }
.form-msg { display: none; padding: 12px 14px; border-radius: var(--radius); font-size: .875rem; }
.form-msg.is-ok { display: block; background: #eaf6ee; color: #1d6b37; border: 1px solid #bfe3cb; }
.form-msg.is-err { display: block; background: #fdecec; color: #a32323; border: 1px solid #f3c9c9; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--steel); font-size: .9375rem; max-width: 80ch; }

/* ---------- cards / posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { border-top: 2px solid var(--ink); padding-top: 18px; }
.post__meta { font-size: .75rem; color: var(--steel-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.post h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.post h3 a:hover { color: var(--accent); }
.post p { font-size: .875rem; color: var(--steel); margin: 0; }

/* ---------- notice ---------- */
.notice {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 16px;
  font-size: .875rem;
  color: var(--ink-2);
  margin: 22px 0;
}

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .header-inner { gap: 14px; }
  .nav { gap: 0; }
  .nav > a, .nav .drop > button { padding: 8px 9px; font-size: .875rem; }
}

@media (max-width: 1080px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero__grid { gap: 32px; padding-block: 56px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav.is-open > a, .nav.is-open .drop > button { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .drop__panel { position: static; transform: none; width: 100%; display: block; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 8px 8px; }
  .header-cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: 0; }
  .hero__media img { aspect-ratio: 16 / 9; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line-2); padding-left: 0; }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .posts { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .header-cta .btn { padding: 10px 14px; font-size: .8125rem; }
  .brand__text { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .cats { grid-template-columns: 1fr; }
  .grid-products { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .kv__row { grid-template-columns: 120px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; gap: 8px; }
  .filter-row__label { flex: 0 0 auto; padding-top: 0; }
  .mobile-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(0,0,0,.06);
  }
  .mobile-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    font-size: .8125rem;
    font-weight: 600;
  }
  .mobile-bar a + a { border-left: 1px solid var(--line-2); }
  .mobile-bar a:last-child { background: var(--accent); color: #fff; }
  body { padding-bottom: 56px; }
}

/* ---------- promo bands (banners) ---------- */
.band { padding: 0; }
.band__link { display: block; }
.band img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}
.band__cap {
  font-size: .8125rem;
  color: var(--steel);
  margin: 10px 0 0;
  max-width: 88ch;
}
@media (max-width: 700px) {
  .band img { aspect-ratio: auto; height: auto; }
}

/* ---------- inline enquiry block ---------- */
.inquiry {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  padding: 44px 0 52px;
}
.inquiry h2 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); margin-bottom: 6px; }
.inquiry__lead { color: var(--steel); margin: 0 0 20px; max-width: 52ch; }
.inquiry .form { max-width: none; }
.inquiry__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.inquiry__aside { align-self: start; }
#enquiry { scroll-margin-top: 92px; }
@media (max-width: 860px) {
  .inquiry { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 40px; }
}

/* ---------- plugin hub: cookie consent ---------- */
.gd-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 24px;
  background: var(--ink);
  color: #dfe4e7;
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 -10px 30px rgba(0,0,0,.18);
}
.gd-consent__text {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
  max-width: 92ch;
}
.gd-consent__text a { color: #fff; text-decoration: underline; }
.gd-consent__actions { display: flex; gap: 8px; margin-left: auto; }
.gd-consent__btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 2px;
  cursor: pointer;
}
.gd-consent__btn:hover { border-color: #fff; }
.gd-consent__btn--primary { background: var(--accent); border-color: var(--accent); }
.gd-consent__btn--primary:hover { background: #c24a0c; border-color: #c24a0c; }
@media (max-width: 560px) {
  .gd-consent { bottom: 56px; padding: 12px 16px; gap: 10px; }
  .gd-consent__actions { margin-left: 0; width: 100%; }
  .gd-consent__btn { flex: 1; }
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.gd-wa {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 61;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: #1f8f4e;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(20, 23, 26, .22);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.gd-wa:hover { background: #187a42; }
.gd-wa svg { width: 20px; height: 20px; flex: none; }
.gd-wa__label { white-space: nowrap; }

body.gd-consent-open .gd-wa { opacity: 0; transform: translateY(8px); pointer-events: none; }

@media (max-width: 560px) {
  .gd-wa { right: 14px; bottom: 76px; width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .gd-wa svg { width: 24px; height: 24px; }
  .gd-wa__label { display: none; }
}

/* 移动端：数据表转卡片（≤560px），避免宽表横向滑动 */
@media (max-width: 560px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  table.spec { min-width: 0; width: 100%; font-size: .875rem; }
  table.spec thead { display: none; }
  table.spec tbody, table.spec tr, table.spec td, table.spec th { display: block; }
  table.spec tbody { display: block; }
  table.spec tr {
    border: 1px solid var(--line); border-radius: 8px; background: #fff;
    padding: 12px 14px; margin-bottom: 10px;
  }
  table.spec tr:hover { background: #fff; }
  table.spec td { border: 0; padding: 4px 0; display: flex; gap: 10px; }
  table.spec td::before {
    content: attr(data-label); flex: 0 0 40%; color: var(--steel);
    font-weight: 500; font-size: .75rem; line-height: 1.55;
  }
  table.spec td:first-child {
    display: block; padding: 0 0 8px; margin-bottom: 6px;
    border-bottom: 1px solid var(--line-2); font-weight: 700; font-size: .9375rem;
  }
  table.spec td:first-child::before { content: none; }
  table.spec .num { text-align: left; }
}

/* ---------- dark section: feature grid ---------- */
.section--dark .section-head { border-bottom-color: rgba(255,255,255,.16); }
.section--dark .section-head p { color: #b6c0c8; }
.section--dark .eyebrow { color: #ff9a5e; }
.section--dark .feature { border-top-color: rgba(255,255,255,.22); }
.section--dark .feature h3 { color: #fff; }
.section--dark .feature p { color: #b6c0c8; }

/* product photo provenance note (borrowed frame images only); hidden when empty */
.pdp__photo-note {
  margin: 10px 0 0;
  padding: 2px 0 2px 10px;
  border-left: 2px solid var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--steel);
}
.pdp__photo-note:empty { display: none; }

/* 表单可选字段折叠（仅留言页）：原生 details，不依赖 JS */
.form-more {
  margin: 18px 0 6px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.form-more summary {
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 4px 0;
}
.form-more summary:hover { color: var(--ink); }
.form-more[open] summary { margin-bottom: 14px; color: var(--ink); }
.field-hint { font-size: 11.5px; line-height: 1.5; color: var(--steel); margin: 6px 0 0; }

/* ==========================================================================
   AI catalogue assistant (button + panel)
   ========================================================================== */
.gd-ai__fab {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 62;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(20, 23, 26, .24);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.gd-ai__fab:hover { background: #2a3138; }
.gd-ai__fab svg { width: 20px; height: 20px; flex: none; }
.gd-ai__fab.is-hidden { opacity: 0; transform: translateY(8px); pointer-events: none; }
.gd-ai__fab-label { white-space: nowrap; }

.gd-ai {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 70;
  width: 372px;
  max-height: min(640px, calc(100vh - 130px));
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(20, 23, 26, .22);
  overflow: hidden;
}
.gd-ai.is-open { display: flex; }

.gd-ai__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
}
.gd-ai__title { display: block; font-size: .9375rem; letter-spacing: -.01em; }
.gd-ai__sub { display: block; margin-top: 3px; font-size: .75rem; color: #b6c0c8; }
.gd-ai__close {
  border: 0; background: transparent; color: #fff; font-size: 1.25rem;
  line-height: 1; cursor: pointer; padding: 2px 4px;
}

.gd-ai__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 14px 6px;
  background: var(--paper);
}
.gd-ai__msg { display: flex; margin-bottom: 10px; }
.gd-ai__msg--user { justify-content: flex-end; }
.gd-ai__msg--bot { flex-direction: column; align-items: flex-start; }
.gd-ai__bubble {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: .875rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
.gd-ai__msg--bot .gd-ai__bubble { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.gd-ai__msg--user .gd-ai__bubble { background: var(--ink); color: #fff; }
.gd-ai__typing .gd-ai__bubble i {
  display: inline-block; width: 6px; height: 6px; margin-right: 4px;
  border-radius: 50%; background: var(--steel); opacity: .35;
  animation: gd-ai-dot 1s infinite;
}
.gd-ai__typing .gd-ai__bubble i:nth-child(2) { animation-delay: .15s; }
.gd-ai__typing .gd-ai__bubble i:nth-child(3) { animation-delay: .3s; margin-right: 0; }
@keyframes gd-ai-dot { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }

.gd-ai__handoff { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px; }
.gd-ai__handoff-link {
  font-size: .8125rem; font-weight: 600; padding: 6px 11px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff;
}
.gd-ai__handoff-link--ghost { color: var(--accent); border-color: rgba(217, 85, 15, .35); }

.gd-ai__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--paper); }
.gd-ai__chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 10px; font-size: .75rem; color: var(--ink-2); cursor: pointer;
}
.gd-ai__chip:hover { border-color: var(--steel-2); color: var(--ink); }

.gd-ai__foot { display: flex; gap: 8px; padding: 10px 14px 8px; border-top: 1px solid var(--line); background: #fff; }
.gd-ai__input {
  flex: 1 1 auto; resize: none; min-height: 38px; max-height: 96px;
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px;
  font: inherit; font-size: .875rem; color: var(--ink); background: #fff;
}
.gd-ai__input:focus { outline: 2px solid rgba(217, 85, 15, .25); outline-offset: 1px; }
.gd-ai__send {
  flex: none; border: 0; border-radius: 8px; background: var(--accent); color: #fff;
  font-weight: 600; font-size: .875rem; padding: 0 14px; cursor: pointer;
}
.gd-ai__send:disabled { opacity: .55; cursor: default; }
.gd-ai__note {
  margin: 0; padding: 0 14px 10px; font-size: .6875rem; line-height: 1.45; color: var(--steel);
}

body.gd-consent-open .gd-ai__fab { opacity: 0; transform: translateY(8px); pointer-events: none; }
body.gd-ai-open .gd-wa { opacity: 0; transform: translateY(8px); pointer-events: none; }

@media (max-width: 560px) {
  .gd-ai__fab {
    right: 14px; bottom: 140px; width: 52px; height: 52px;
    padding: 0; justify-content: center; border-radius: 50%;
  }
  .gd-ai__fab svg { width: 24px; height: 24px; }
  .gd-ai__fab-label { display: none; }
  .gd-ai {
    right: 0; left: 0; bottom: 0; width: auto;
    max-height: 100%;
    height: calc(100% - 8px);
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
  }
  body.gd-ai-open .mobile-bar { display: none; }
  .gd-ai__bubble { max-width: 92%; font-size: .875rem; }
}

/* enquiry form CAPTCHA row */
.cap-row { display:flex; gap:10px; align-items:center; }
.cap-row input { max-width:120px; }
.cap-img { width:96px; height:36px; border:1px solid var(--line); border-radius:4px; cursor:pointer; background:#fff; }
@media (max-width:520px) { .cap-img { width:88px; height:34px; } }
