
/* =====================================================
   Chufei Kitchenware — Premium B2B Foreign Trade Site
   Color: Ivory White + Gunmetal + Brass
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  --ivory:        #F5F1EA;
  --ivory-soft:   #FBF8F3;
  --paper:        #FFFFFF;
  --ink:          #1F1F1F;
  --gunmetal:     #2C2C2C;
  --gunmetal-2:   #4A4A4A;
  --muted:        #6B6B6B;
  --line:         #E5DFD3;
  --line-soft:    #EDE8DC;
  --brass:        #B08D57;
  --brass-deep:   #95764A;
  --brass-soft:   #D7B98C;
  --accent-bg:    #1F2421;

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(31,31,31,.04), 0 2px 6px rgba(31,31,31,.04);
  --shadow:    0 4px 14px rgba(31,31,31,.06), 0 1px 4px rgba(31,31,31,.04);
  --shadow-lg: 0 18px 48px rgba(31,31,31,.10), 0 4px 12px rgba(31,31,31,.05);

  --max-w: 1280px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gunmetal);
  background: var(--ivory-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
p  { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brass);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.section-head .section-sub { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--brass-deep); }
.btn-brass {
  background: var(--brass);
  color: var(--paper);
}
.btn-brass:hover { background: var(--brass-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa {
  background: #25D366;
  color: white;
}
.btn-wa:hover { background: #1FB957; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.btn-link::after {
  content: "→";
  transition: transform .25s ease;
}
.btn-link:hover::after { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--accent-bg);
  color: var(--ivory-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 16px;
}
.announce .accent { color: var(--brass-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,248,243,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--brass-soft);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-list a {
  font-size: 14px;
  color: var(--gunmetal-2);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-list a:hover, .nav-list a.active { color: var(--ink); }
.nav-list a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--brass);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Mobile nav toggle (CSS-only checkbox hack) ---------- */
.nav-toggle-cb {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
}
.nav-toggle span::before { position: absolute; left: 0; top: -6px; }
.nav-toggle span::after  { position: absolute; left: 0; top: 6px; }
.nav-toggle-cb:checked ~ .nav-toggle span { background: transparent; }
.nav-toggle-cb:checked ~ .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle-cb:checked ~ .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle-cb:focus-visible ~ .nav-toggle { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
      radial-gradient(60% 40% at 80% 10%, rgba(176,141,87,.10), transparent 70%),
      radial-gradient(50% 30% at 10% 90%, rgba(176,141,87,.08), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-deep);
}
.hero p.lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  color: var(--gunmetal-2);
  font-size: 14px;
}
.hero-meta .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  font-weight: 500;
}
.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
      linear-gradient(135deg, #C9A57A 0%, #8E6E47 50%, #4F3A22 100%);
  box-shadow: var(--shadow-lg);
}
.hero-art .label {
  position: absolute;
  bottom: 28px; left: 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-art .label::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--brass);
  border-radius: 50%;
}
.hero-art .badge {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--ink);
  color: var(--ivory);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  border-radius: 999px;
}

/* ---------- Categories ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: transform .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-img {
  flex: 1;
  background: linear-gradient(135deg, #E8DFCE 0%, #BFA478 100%);
  position: relative;
  overflow: hidden;
}
.cat-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 100%, rgba(0,0,0,.18), transparent 60%);
}
.cat-body {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
}
.cat-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}
.cat-body small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #F0E9DA 0%, #C9A57A 100%);
  position: relative;
  overflow: hidden;
}
.product-img .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.85);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.product-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-body h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}
.product-body .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.product-body .actions { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; }
.product-body .actions .btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 13px;
}
.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  border-radius: 999px;
}

/* ---------- Why ---------- */
.why {
  background: var(--accent-bg);
  color: var(--ivory-soft);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
}
.why .section-title { color: var(--ivory); }
.why .section-sub { color: rgba(245,241,234,.7); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.why-card {
  padding: 28px 0;
  border-top: 1px solid rgba(245,241,234,.18);
}
.why-card .num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--brass-soft);
  font-weight: 500;
}
.why-card h4 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 12px 0 8px;
}
.why-card p {
  color: rgba(245,241,234,.72);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.step .num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--brass);
  font-weight: 500;
  line-height: 1;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 16px 0 8px;
}
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 36px 0;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-row .label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-wall {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
  opacity: .8;
}
.logo-wall span {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gunmetal-2);
  letter-spacing: -0.01em;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
      radial-gradient(60% 80% at 100% 50%, rgba(176,141,87,.18), transparent 70%),
      var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 40px;
  align-items: center;
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--ivory);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cta-banner p { color: rgba(245,241,234,.7); margin-top: 14px; }
.cta-banner .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.cta-banner .btn-wa { padding: 18px 28px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--accent-bg);
  color: rgba(245,241,234,.65);
  padding: 80px 0 32px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-grid h5 {
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; transition: color .2s ease; }
.footer-grid a:hover { color: var(--brass-soft); }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,241,234,.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(245,241,234,.5);
}

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.36);
  transition: transform .25s ease;
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.35);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Filters (products page) ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filters button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  color: var(--gunmetal-2);
  transition: all .2s ease;
}
.filters button:hover { border-color: var(--ink); }
.filters button.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- About page ---------- */
.about-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.about-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 24px auto 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.about-grid .visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #E8DFCE, #8E6E47);
  box-shadow: var(--shadow-lg);
}
.about-grid h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.about-grid p { margin-top: 18px; color: var(--gunmetal-2); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.about-stat {
  text-align: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  color: var(--brass-deep);
}
.about-stat span { color: var(--muted); font-size: 14px; letter-spacing: 0.06em; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 18px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.contact-row:first-of-type { border-top: 0; }
.contact-row .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ivory);
  display: grid;
  place-items: center;
  color: var(--brass-deep);
  flex-shrink: 0;
}
.contact-row strong { display: block; font-weight: 500; color: var(--ink); }
.contact-row span { font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .why { padding: 56px 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta-banner .actions { align-items: stretch; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    padding: 6px 0;
    box-shadow: 0 14px 28px rgba(24,22,20,.10);
  }
  .nav-toggle-cb:checked ~ nav .nav-list { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    padding: 15px 22px;
    border-top: 1px solid var(--line-soft);
    font-size: 16px;
  }
  .nav-list a.active::after { display: none; }
  .header-cta .btn-ghost { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-body { padding: 14px; }
  .product-body h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
  }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 36px 24px; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .announce { font-size: 12px; }
}

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }

.brand-logo { height: 46px; width: auto; display: block; }
.brand { gap: 0; }
@media (max-width: 900px) { .brand-logo { height: 38px; } }

/* ---------- Real product photography ---------- */
.product-img { margin: 0; cursor: pointer; background: #EFEAE1; }
.product-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.product:hover .product-img img { transform: scale(1.06); }
.product-img:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.shot-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  background: rgba(24,22,20,.62); color: #fff;
  font-size: 11px; letter-spacing: .05em; padding: 4px 10px;
  border-radius: 999px; backdrop-filter: blur(6px);
}
.filters em { font-style: normal; opacity: .5; font-size: 11px; margin-left: 3px; }

/* ---------- Lightbox gallery ---------- */
.lb { position: fixed; inset: 0; z-index: 120; display: none; background: rgba(16,15,14,.95); }
.lb.open { display: flex; flex-direction: column; }
.lb-stage {
  flex: 1; margin: 0; display: flex; align-items: center; justify-content: center;
  padding: 28px 76px 8px; min-height: 0;
}
.lb-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.lb-bar {
  padding: 14px 24px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: linear-gradient(to top, rgba(10,10,10,.9), rgba(10,10,10,0));
}
.lb-head { display: flex; align-items: baseline; gap: 12px; color: #F5F1EA; }
.lb-head strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.lb-head span { font-size: 13px; opacity: .6; }
.lb-thumbs { display: flex; gap: 8px; max-width: min(900px, 92vw); overflow-x: auto; padding: 2px; }
.lb-thumbs img {
  width: 58px; height: 58px; object-fit: cover; border-radius: 6px;
  opacity: .45; cursor: pointer; flex: 0 0 auto;
  border: 2px solid transparent; transition: opacity .2s ease, border-color .2s ease;
}
.lb-thumbs img:hover { opacity: .8; }
.lb-thumbs img.active { opacity: 1; border-color: var(--brass); }
.lb-cta { display: flex; gap: 10px; }
.lb-cta .btn { padding: 10px 20px; font-size: 14px; }
.lb-x, .lb-prev, .lb-next {
  position: absolute; z-index: 4; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(8px);
  width: 46px; height: 46px; border-radius: 999px; font-size: 20px; line-height: 1;
  display: grid; place-items: center; transition: background .2s ease;
}
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-x { top: 20px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lb-stage { padding: 56px 12px 8px; }
  .lb-prev, .lb-next { width: 38px; height: 38px; top: auto; bottom: 96px; transform: none; }
  .lb-prev { left: 14px; } .lb-next { right: 14px; }
  .lb-head strong { font-size: 18px; }
}

/* .product-desc 仅剩 PDP hero 使用（列表卡货描 10-25 已移除）；禁止 line-clamp 截断——PDP 货描是独有可收录内容，必须完整可见 */
.product-desc {
  color: var(--muted);
  margin: 8px 0 0;
}

/* ---- Collection pages ---- */
.h1-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 16px;
}
.crumbs { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .45; margin: 0 8px; }
.coll-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.coll-nav a {
  display: inline-flex; align-items: center;
  font-size: 13.5px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--gunmetal-2); background: var(--paper);
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.coll-nav a:hover { border-color: var(--ink); color: var(--ink); }
.coll-nav a.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.coll-nav a em { font-style: normal; opacity: .55; font-size: 11px; margin-left: 5px; }
@media (min-width: 721px) {
  .products.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .products.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .products.cols-6 { grid-template-columns: repeat(3, 1fr); }
}
.coll-about {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px;
  margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line-soft);
}
.coll-about h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px;
}
.coll-about p { color: var(--gunmetal-2); line-height: 1.75; margin-bottom: 16px; font-size: 15.5px; }
.coll-specs { border-top: 1px solid var(--line-soft); }
.coll-specs > div {
  display: grid; grid-template-columns: 138px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
}
.coll-specs dt {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); padding-top: 3px;
}
.coll-specs dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.55; }
@media (max-width: 900px) {
  .coll-about { grid-template-columns: 1fr; gap: 34px; margin-top: 60px; padding-top: 40px; }
  .coll-specs > div { grid-template-columns: 112px 1fr; gap: 12px; }
}
      
/* ============ Product detail page ============ */
.product-detail { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; margin-top:8px; }
.product-detail .product-img { cursor:zoom-in; border-radius:14px; overflow:hidden; background:var(--ivory-deep,#EDE7DC); aspect-ratio:1/1; }
.product-detail .product-img img { width:100%; height:100%; object-fit:cover; display:block; }
.product-detail-body .eyebrow { color:var(--brass-soft); }
.product-detail-body h1 { font-family:var(--font-display); font-weight:500; font-size:clamp(28px,3.4vw,44px); line-height:1.08; margin:10px 0 16px; }
.product-detail-body .product-desc { font-size:16px; line-height:1.7; color:var(--ink-soft,#5a5346); max-width:60ch; }
.spec-table { width:100%; border-collapse:collapse; margin:22px 0; font-size:15px; table-layout:fixed; }
.spec-table th, .spec-table td { text-align:left; padding:11px 12px; border-bottom:1px solid var(--line-soft,#E5DECF); vertical-align:top; overflow-wrap:break-word; }
.spec-table th { color:var(--ink-soft,#5a5346); font-weight:600; }
.spec-note { font-size:14px; color:var(--ink-soft,#5a5346); }
.spec-note a, .product-link { color:var(--brass-deep,#9c7a3c); text-decoration:none; border-bottom:1px solid currentColor; }
.product-link { display:inline-block; margin-top:10px; font-weight:500; font-size:14px; }
.rel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:18px; margin-top:22px; }
.rel-card { display:block; text-decoration:none; color:var(--ink); border:1px solid var(--line-soft,#E5DECF); border-radius:12px; overflow:hidden; transition:transform .2s ease, box-shadow .2s ease; }
.rel-card:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(40,34,24,.10); }
.rel-card img { width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; display:block; }
.rel-name { display:block; padding:12px 14px; font-size:14px; font-weight:500; }
@media (max-width:760px){ .product-detail{ grid-template-columns:1fr; gap:24px; } }

/* ============ Legal pages ============ */
.legal { max-width:820px; margin:0 auto; text-align:left; line-height:1.75; }
.legal h2 { font-family:var(--font-display); font-weight:500; font-size:clamp(22px,2.6vw,30px); margin:34px 0 10px; }
.legal ul { padding-left:20px; }
.legal li { margin:8px 0; }

/* ============ Editorial / prose blocks (product pages, guides) ============ */
.prose { max-width:820px; margin:0 auto; line-height:1.78; color:var(--gunmetal); }
.prose h2 { font-family:var(--font-sans); font-weight:700; font-size:clamp(21px,2.4vw,27px); line-height:1.3; color:var(--ink); margin:38px 0 12px; }
.prose h3 { font-family:var(--font-sans); font-weight:700; font-size:18px; color:var(--ink); margin:24px 0 8px; }
.prose p { margin:12px 0; }
.prose ul { padding-left:22px; margin:12px 0; }
.prose li { margin:8px 0; }
.prose a { color:var(--brass-deep); text-decoration:underline; text-underline-offset:2px; }
.prose table { width:100%; border-collapse:collapse; margin:18px 0; font-size:15px; table-layout:fixed; }
.prose th, .prose td { border:1px solid var(--line); padding:10px 12px; text-align:left; vertical-align:top; overflow-wrap:break-word; }
.prose th { background:var(--ivory); font-weight:600; color:var(--ink); }
.prose figure { margin:22px 0; }
.prose figure img { border-radius:var(--radius); width:100%; height:auto; }
.prose figcaption { font-size:13px; color:var(--muted); margin-top:8px; }
.callout { background:var(--ivory-soft); border-left:3px solid var(--brass); padding:16px 18px; border-radius:0 var(--radius) var(--radius) 0; margin:20px 0; }
.faq-item { border-bottom:1px solid var(--line); padding:16px 0; }
.faq-item:last-child { border-bottom:none; }
.faq-item h3 { font-family:var(--font-sans); font-weight:600; font-size:17px; color:var(--ink); margin:0 0 6px; }
.faq-item p { margin:0; color:var(--muted); }

/* ============ Guide cards ============ */
.guides-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; }
.guide-card { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; }
.guide-card img { width:100%; aspect-ratio:3/2; height:auto; object-fit:cover; display:block; }
.guide-card .gc-body { padding:20px; display:flex; flex-direction:column; flex:1; }
.guide-card .gc-date { font-size:13px; color:var(--muted); margin:0 0 6px; }
.guide-card h3 { font-family:var(--font-sans); font-weight:700; font-size:19px; line-height:1.35; margin:0 0 8px; }
.guide-card p { color:var(--muted); font-size:15px; margin:0 0 14px; line-height:1.6; flex:1; }
.guide-card a.more { color:var(--brass-deep); font-weight:600; text-decoration:none; }

/* ============ Product video ============ */


/* related products + real factory gallery (2026-10-18) */
.related { padding: 30px 0 6px; }
.rel-title { font-family: var(--font-sans); font-weight: 700; font-size: 21px; margin: 0 0 16px; letter-spacing: -0.01em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rel-card img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; display: block; }
.rel-card span { padding: 12px 14px; font-size: 14px; font-weight: 600; font-family: var(--font-sans); line-height: 1.4; }
.rel-card:hover { border-color: var(--brass-soft); }
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rf-item { margin: 0; }
.rf-item img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; }
.rf-item figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
@media (max-width: 720px) { .related-grid, .real-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- PDP gallery: thumbnails left + main stage (2026-10-18) ---------- */
.pdp-gallery { cursor: default; }
.pdp-media { display: flex; gap: 12px; align-items: flex-start; }
.pdp-stage { flex: 1 1 auto; min-width: 0; }
.pdp-stage img { width: 100%; height: auto; display: block; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 8px; flex: 0 0 88px; max-height: 620px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
.pdp-thumb { appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 1px solid rgba(0,0,0,.12); background: #fff; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; line-height: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.pdp-thumb img { width: 88px; height: 88px; object-fit: cover; display: block; }
.pdp-thumb:hover { border-color: var(--brass-deep); }
.pdp-thumb.is-active { border-color: var(--brass-deep); box-shadow: 0 0 0 2px rgba(149,118,74,.22); }
.pdp-thumb:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 2px; }
@media (max-width: 768px) {
  .pdp-media { flex-direction: column-reverse; }
  .pdp-thumbs { flex-direction: row; flex: 0 0 auto; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .pdp-thumb { flex: 0 0 auto; }
  .pdp-thumb img { width: 66px; height: 66px; }
}

/* ---------- Product card: image & title become links to the product page ---------- */
.product-img { overflow: hidden; }
.product-img-link { display: block; text-decoration: none; color: inherit; }
.product-img img { transition: transform .25s ease; }
.product-img-link:hover img { transform: scale(1.02); }
.product-body h4 a { color: inherit; text-decoration: none; }
.product-body h4 a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .product-img img { transition: none; }
  .product-img-link:hover img { transform: none; }
}

/* ---------- PDP gallery override: neutralise legacy absolute-positioning rules ---------- */
/* legacy rule `.product-img img { position:absolute; inset:0 }` was collapsing the thumbnail buttons */
.product-img.pdp-gallery { aspect-ratio: auto; overflow: visible; background: transparent; cursor: default; }
.pdp-gallery .pdp-stage .pdp-main { position: static; inset: auto; width: 100%; height: auto; object-fit: cover; background: var(--ivory-deep, #EDE7DC); border-radius: var(--radius-lg); }
.pdp-gallery .pdp-thumbs .pdp-thumb img { position: static; inset: auto; width: 88px; height: 88px; object-fit: cover; }
@media (max-width: 768px) {
  .pdp-gallery .pdp-thumbs .pdp-thumb img { width: 66px; height: 66px; }
}

/* ---------- PDP 移动端 sticky 询价栏（2026-10-19） ---------- */
.pdp-sticky-cta { display: none; }
@media (max-width: 900px) {
  .pdp-sticky-cta {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(31, 31, 31, .08);
  }
  .pdp-sticky-cta .btn { flex: 1; justify-content: center; }
  body.pdp .site-footer { padding-bottom: 84px; }
}

/* ---------- 列表卡片 MOQ / 货期摘要行（2026-10-19） ---------- */
.card-meta {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .02em;
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.35;
}


/* ============ 由内联样式迁移（2026-10-19 统一外部样式表） ============ */

/* ---- from index.html ---- */
/* ---------- Testimonials ---------- */
.rev-score {
display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.rev-score strong {
font-size: 24px; color: var(--ink); font-weight: 600;
}

.rev-stars {
color: var(--brass);
  letter-spacing: 3px;
  font-size: 15px;
  line-height: 1;
}

.rev-grid {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.rev-card {
margin: 0;
  padding: 28px;
  background: var(--ivory-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rev-card blockquote {
margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gunmetal);
  flex: 1;
}

.rev-card figcaption {
display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.rev-avatar {
width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  flex: none;
}

.rev-who {
display: flex; flex-direction: column; line-height: 1.35;
}

.rev-who strong {
font-size: 14.5px; color: var(--ink); font-weight: 600;
}

.rev-who em {
font-style: normal; font-size: 13px; color: var(--muted);
}

.rev-tag {
display: inline-block;
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brass-deep);
  border: 1px solid var(--brass-soft);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.cat-body > div {
min-width: 0; flex: 1 1 auto;
}

.cat-body > span {
flex: 0 0 auto;
}

.products-2 {
grid-template-columns: 1fr 1fr; gap: 28px;
}

.products-2 .product-img {
aspect-ratio: 3 / 2;
}

@media (max-width: 720px) {
.products-2 {
grid-template-columns: 1fr;
}
/* Category cards: keep the photo visible, clamp the copy to one line */
  .cats {
grid-template-columns: repeat(2, 1fr); gap: 12px;
}
  .cat { aspect-ratio: auto; }
  .cat-img { flex: none; height: 112px; }
  .cat-body { padding: 12px 14px; gap: 8px; }
  .cat-body h3 {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .cat-body small {
    font-size: 11.5px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cat-body > span { font-size: 15px; }
}

.cat-img img {
position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.cat:hover .cat-img img {
transform: scale(1.06);
}

.hero-art img {
position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ---- from about.html ---- */
.about-grid .visual img {
width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-band {
position: relative; overflow: hidden;
}

.shop-band-row {
display: grid; grid-template-columns: repeat(4, 1fr);
}

.shop-band-row img {
width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.shop-band-overlay {
position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,21,19,.5), rgba(22,21,19,.72));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  padding: 32px;
}

.shop-band-overlay h2 {
font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 10px;
  color: #F5F1EA;
}

.shop-grid {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}

.shop-grid figure {
margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.shop-grid img {
width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}

.shop-grid figcaption {
padding: 12px 16px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 目录页：左侧分类栏 + 右侧产品流（2026-10-19） ---------- */
.catalog-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 36px; align-items: start; }
.cat-sidebar { position: sticky; top: 84px; }
.cat-sidebar-inner { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 10px; }
.cat-sidebar-title { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 10px 12px 4px; }
.cat-sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.cat-sidebar-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: var(--radius); font-size: 14px; line-height: 1.3; color: var(--gunmetal-2); text-decoration: none; transition: background .18s ease, color .18s ease; }
.cat-sidebar-nav a em { font-style: normal; font-size: 12px; color: var(--muted); flex: none; }
.cat-sidebar-nav a:hover { background: var(--ivory); color: var(--ink); }
.cat-sidebar-nav a.active { background: var(--ink); color: var(--ivory); }
.cat-sidebar-nav a.active em { color: rgba(245, 241, 234, .55); }
.cat-sidebar-cta { display: block; margin: 10px 4px 4px; padding: 14px; border-radius: var(--radius); background: var(--ivory); border: 1px dashed var(--line); font-size: 12.5px; color: var(--gunmetal-2); text-decoration: none; line-height: 1.45; }
.cat-sidebar-cta strong { display: block; margin-top: 3px; color: var(--brass-deep); font-size: 13px; }
.cat-sidebar-cta:hover { border-color: var(--brass); }
.catalog-layout .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cat-sidebar { position: static; }
  .cat-sidebar-inner { padding: 8px; }
  .cat-sidebar-title, .cat-sidebar-cta { display: none; }
  .cat-sidebar-nav { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cat-sidebar-nav::-webkit-scrollbar { display: none; }
  .cat-sidebar-nav a { flex: none; white-space: nowrap; padding: 9px 13px; border: 1px solid var(--line); font-size: 13px; }
  .cat-sidebar-nav a.active { border-color: var(--ink); }
  .catalog-layout .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- price block & variant table (2026-10-25) ---- */
.price-block { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px; margin:16px 0 6px; padding:14px 18px; background:#F7F4EC; border:1px solid var(--line-soft,#E5DECF); border-radius:10px; }
.price-from { font-size:28px; font-weight:700; letter-spacing:-0.5px; }
.price-unit { color:var(--ink-soft,#5a5346); font-size:14px; }
.price-meta { width:100%; color:var(--ink-soft,#5a5346); font-size:14px; }
.price-note-line { font-size:20px; font-weight:700; }
.variant-table { width:100%; border-collapse:collapse; margin:14px 0 22px; font-size:14px; table-layout:fixed; }
.variant-table caption { caption-side:top; text-align:left; font-weight:700; padding:0 0 8px; font-size:15px; }
.variant-table th,.variant-table td { padding:9px 12px; border-bottom:1px solid var(--line-soft,#E5DECF); text-align:center; vertical-align:top; overflow-wrap:break-word; }
.variant-table th { color:var(--ink-soft,#5a5346); font-weight:600; font-size:13px; }
.variant-note { color:var(--ink-soft,#5a5346); font-size:14px; margin:0 0 14px; }

/* ---- sub-category entry cards (10-25 category restructure) ---- */
.sub-entries{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:0 0 26px}
a.sub-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);box-shadow:var(--shadow-sm);transition:transform .18s ease, box-shadow .18s ease}
a.sub-entry:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.sub-entry b{display:block;font-size:15px;font-weight:600;line-height:1.3}
.sub-entry small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.sub-entry .arr{color:var(--brass);font-size:18px;flex:none}

/* ---- 10-25 layout restructure ---- */
.catalog-layout { align-items: stretch; }
.cat-sidebar { display:flex; flex-direction:column; }
.cat-sidebar-inner { flex:1; display:flex; flex-direction:column; }
.cat-sidebar-cta { margin-top:auto; }
.sub-entries { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 26px; }
a.sub-entry { display:inline-flex; align-items:center; gap:8px; padding:9px 16px; background:var(--paper); border:1px solid var(--line); border-radius:999px; text-decoration:none; color:var(--ink); box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.sub-entry:hover { transform:translateY(-1px); border-color:var(--brass); box-shadow:var(--shadow); }
a.sub-entry > div { display:inline-flex; align-items:center; gap:8px; }
a.sub-entry b { font-size:14px; font-weight:600; line-height:1.3; }
a.sub-entry small { font-size:12.5px; color:var(--muted); margin:0; }
a.sub-entry .arr { display:none; }
a.sub-entry.is-current, a.sub-entry.is-current:hover { background:var(--ink); border-color:var(--ink); color:var(--ivory); }
a.sub-entry.is-current small { color:rgba(245,241,234,.6); }
.cat-sidebar-nav ul { list-style:none; margin:0; padding:0; }
.cat-sidebar-nav > ul { display:flex; flex-direction:column; gap:2px; }
.cat-sidebar-nav li.has-sub { position:relative; }
.cat-sidebar-nav li.has-sub > a { padding-right:36px; }
.cat-sidebar-nav .sub-toggle { position:absolute; right:4px; top:5px; width:28px; height:28px; border:0; background:transparent; cursor:pointer; padding:0; color:var(--muted); }
.cat-sidebar-nav .sub-toggle::after { content:""; display:block; width:7px; height:7px; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(-45deg); margin:0 auto; transition:transform .18s ease; }
.cat-sidebar-nav li.has-sub.is-open > .sub-toggle::after { transform:rotate(45deg); }
.cat-sidebar-nav .sub-list { display:none; padding:2px 0 4px; }
.cat-sidebar-nav li.has-sub:hover > .sub-list, .cat-sidebar-nav li.has-sub.is-open > .sub-list { display:block; }
.cat-sidebar-nav .sub-list a { padding:7px 12px 7px 30px; font-size:13px; }
.cat-sidebar-nav .sub-list a.active { background:var(--ivory); color:var(--ink); font-weight:600; }
.product-body h4 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.7em; }
.card-meta:empty { display: none; }
.card-price { color:var(--brass-deep); font-weight:700; }
@media(max-width:900px){ .catalog-layout { align-items:start; } .cat-sidebar { position:static; } }

/* ---- 10-25 homepage category icons ---- */
.cats { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat { aspect-ratio: auto; }
.cat-icon { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #F4EEE2 0%, #EAE0CC 100%); border-bottom: 1px solid var(--line-soft); color: #1F1F1F; }
.cat-icon svg { width: 42%; height: 42%; }
@media(max-width:1100px){ .cats { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:640px){ .cats { grid-template-columns: repeat(2, 1fr); } }


/* ---- Shop by use (homepage scenes, 2026-10-26) ---- */
.scene { padding-top: 56px; }
.scene-banner { position: relative; overflow: hidden; }
.scene-banner img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.scene-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 max(24px, calc((100% - 1280px) / 2)) 30px;
  background: linear-gradient(to top, rgba(24,21,17,.62), rgba(24,21,17,0) 58%);
  color: #fff; pointer-events: none;
}
.scene-overlay .eyebrow { color: rgba(255,255,255,.78); }
.scene-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; margin: 8px 0 6px; color: #fff; }
.scene-overlay p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 62ch; margin: 0; }
.products-5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1024px) {
  .scene-banner img { aspect-ratio: 16 / 9; }
  .products-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .scene { padding-top: 40px; }
  .scene-banner img { aspect-ratio: 4 / 3; }
  .scene-overlay p { font-size: 13.5px; }
  .products-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- PDP FAQ (details accordion, 2026-10-26) ---- */
.faq details { border: 1px solid var(--line-soft, #E5DECF); border-radius: 12px; background: var(--paper); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 15.5px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--brass-deep, #8C6D3F); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 18px 16px; }
.faq details p { font-size: 15px; line-height: 1.65; color: var(--ink-soft, #5a5346); margin: 0; }
/* inline content links must be VISIBLE — the global a reset hides them,
   which defeats the whole point of an internal link (clicks + link equity). */
.faq details div a,
.compare-list a,
.spec-note a,
.product-desc a,
.product-detail-body p a {
  color: var(--brass-deep, #8C6D3F);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq details div a:hover,
.compare-list a:hover,
.spec-note a:hover,
.product-desc a:hover,
.product-detail-body p a:hover {
  color: var(--brass, #B08D57);
}

/* ---- PDP compare grid + guide callout (2026-10-26) ---- */
.compare-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.compare-list > div { background: var(--paper); border: 1px solid var(--line-soft, #E5DECF); border-radius: 12px; padding: 16px 18px; font-size: 15px; line-height: 1.65; color: var(--ink-soft, #5a5346); }
.compare-list strong { color: var(--ink); display: block; margin-bottom: 4px; }
.guide-callout { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--paper); border: 1px solid var(--line-soft, #E5DECF); border-radius: 12px; padding: 16px 20px; }
.guide-callout strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep, #8C6D3F); }
.guide-callout p { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-soft, #5a5346); }
.guide-callout .btn { white-space: nowrap; }
@media (max-width: 720px) {
  .compare-list { grid-template-columns: 1fr; }
  .guide-callout { flex-direction: column; align-items: flex-start; }
}

/* ---- PDP OEM in Production showcase (2026-10-26) ---- */
.oem-intro { color: var(--ink-soft, #5a5346); font-size: 15px; line-height: 1.65; max-width: 720px; margin: 8px 0 0; }
.oem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.oem-shot { margin: 0; }
.oem-shot img { width: 100%; height: auto; display: block; border-radius: var(--radius, 12px); border: 1px solid var(--line-soft, #E5DECF); }
@media (max-width: 560px) { .oem-grid { grid-template-columns: 1fr; } }
