
/* =====================================================
   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; }

/* ---------- 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; }
.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: 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-list { 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;
  }
  .product-desc { display: none !important; }
  .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 ---------- */
.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: zoom-in; 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 {
          color: var(--muted);
          font-size: 13px;
          line-height: 1.55;
          margin: 8px 0 0;
          display: -webkit-box;
          -webkit-line-clamp: 4;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }

/* ---- 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; }
.spec-table th, .spec-table td { text-align:left; padding:11px 12px; border-bottom:1px solid var(--line-soft,#E5DECF); vertical-align:top; }
.spec-table th { width:38%; 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; }
