/* ============================================
   LUMIÈRE — 珠宝饰品产品展示网站
   Editorial Luxury Fashion Style
   ============================================ */

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bone-cream: #F4F0E8;
  --noir: #1A1A1A;
  --rare-gold: #C49A4A;
  --gold-light: #D4B06A;
  --gold-dark: #A07E34;
  --gray-warm: #8A8275;
  --gray-dark: #5C5447;
  --gray-light: #D9D4C9;
  --white: #FFFFFF;
  --border: #E0DAD0;
  --overlay-dark: rgba(26, 26, 26, 0.55);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Serif SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bone-cream);
  color: var(--noir);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

/* ===== Typography ===== */
.font-display-en {
  font-family: 'Bodoni Moda', 'Times New Roman', serif;
}

.font-display-cn {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  font-weight: 700;
}

.text-gold {
  color: var(--rare-gold);
}

.text-gray {
  color: var(--gray-warm);
}

/* ===== Layout ===== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.section {
  padding: 32px 0;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bone-cream);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  height: 72px;
}

.logo {
  font-family: 'Bodoni Moda', serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--noir);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--noir);
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle.active svg { color: var(--gold); }

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  font-family: 'Noto Serif SC', 'Songti SC', serif;
  font-size: 21px;
  font-weight: 400;
  color: #0D0D0D;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #624D25;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rare-gold);
}

.header-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-icons svg {
  width: 20px;
  height: 20px;
  stroke: var(--noir);
  stroke-width: 1.5;
  fill: none;
  cursor: pointer;
  transition: stroke 0.3s;
}

.header-icons svg:hover {
  stroke: var(--rare-gold);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 16px;
  font-size: 20px;
  color: #45413B;
}

.breadcrumb a:hover {
  color: var(--rare-gold);
}

.breadcrumb span {
  color: #6B645A;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  padding: 0 40px;
}

.hero-label {
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--rare-gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.btn-gold {
  display: inline-block;
  padding: 14px 48px;
  background: var(--rare-gold);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,154,74,0.35);
}

.btn-outline-gold {
  display: inline-block;
  padding: 13px 46px;
  background: transparent;
  color: var(--rare-gold);
  font-size: 14px;
  letter-spacing: 2px;
  border: 1px solid var(--rare-gold);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline-gold:hover {
  background: var(--rare-gold);
  color: var(--white);
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--noir);
  margin-bottom: 8px;
}

.section-title .subtitle {
  font-family: 'Bodoni Moda', serif;
  font-size: 14px;
  color: var(--rare-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title .desc {
  font-size: 14px;
  color: var(--gray-warm);
  margin-top: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Category Grid (Homepage) ===== */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.category-card {
  width: 243px;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,26,26,0.08);
}

.category-card .img-box {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--gold-light), var(--rare-gold));
  position: relative;
  overflow: hidden;
}

.category-card .img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}

.category-card .card-body {
  padding: 16px;
  text-align: center;
}

.category-card .card-body h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.category-card .card-body .en {
  font-family: 'Bodoni Moda', serif;
  font-size: 18px;
  font-weight: 700;
  color: #808080;
  letter-spacing: 1px;
}

/* Vary card colors */
.category-card:nth-child(1) .img-box { background: linear-gradient(135deg, #E8D5B0, #C49A4A); }
.category-card:nth-child(2) .img-box { background: linear-gradient(135deg, #F0DDE0, #C08090); }
.category-card:nth-child(3) .img-box { background: linear-gradient(135deg, #D5E8E0, #6AAA90); }
.category-card:nth-child(4) .img-box { background: linear-gradient(135deg, #E0DCC8, #A89B70); }
.category-card:nth-child(5) .img-box { background: linear-gradient(135deg, #E8DCC8, #B8A078); }
.category-card:nth-child(6) .img-box { background: linear-gradient(135deg, #DCE8E0, #7AAA90); }
.category-card:nth-child(7) .img-box { background: linear-gradient(135deg, #E8E0D5, #C4B890); }
.category-card:nth-child(8) .img-box { background: linear-gradient(135deg, #D5DCE8, #7088C4); }
.category-card:nth-child(9) .img-box { background: linear-gradient(135deg, #E0D5E8, #9078C4); }
.category-card:nth-child(10) .img-box { background: linear-gradient(135deg, #D8E8E0, #60A8A0); }

/* ===== Brand Story ===== */
.brand-story {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-story .img-box {
  width: 540px;
  height: 380px;
  background: linear-gradient(135deg, #E8D5B0, #C49A4A, #A07E34);
  flex-shrink: 0;
  border-radius: 4px;
}

.brand-story .text-box h2 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
}

.brand-story .text-box .en-sub {
  font-family: 'Bodoni Moda', serif;
  font-size: 14px;
  color: var(--rare-gold);
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.brand-story .text-box p {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

/* ===== Subcategory Grid (Category Page) ===== */
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ===== Category two-column layout (sidebar + sub grid) ===== */
.cat-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.cat-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  padding: 4px 0;
}

.cat-sidebar-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--noir);
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
}
.cat-sidebar-item:hover {
  background: rgba(196, 154, 74, 0.08);
  color: var(--rare-gold);
}
.cat-sidebar-item .cat-sidebar-strip {
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: transparent;
  border-radius: 1px;
}
.cat-sidebar-item.active .cat-sidebar-strip,
.cat-sidebar-item:hover .cat-sidebar-strip {
  background: var(--rare-gold);
}
.cat-sidebar-item.active {
  background: rgba(196, 154, 74, 0.10);
  color: var(--rare-gold);
}
.cat-sidebar-item .cat-sidebar-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.cat-sidebar-item .cat-sidebar-text .zh {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}
.cat-sidebar-item .cat-sidebar-text .en {
  font-family: 'Bodoni Moda', serif;
  font-size: 12px;
  color: var(--gray-warm);
  letter-spacing: 0.5px;
  margin-top: 3px;
}
body.lang-en .cat-sidebar-item .cat-sidebar-text .zh {
  display: none;
}
body.lang-en .cat-sidebar-item .cat-sidebar-text .en {
  font-family: 'Bodoni Moda', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--noir);
  letter-spacing: 1px;
  margin-top: 0;
}
.cat-sidebar-item .cat-sidebar-count {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--gray-warm);
  letter-spacing: 0.5px;
}
.cat-sidebar-item.active .cat-sidebar-count {
  color: var(--rare-gold);
}

.cat-content {
  flex: 1;
  min-width: 0;
}
/* Inherit .subcategory-grid styling for the right column */

/* Category group heading (all-categories view) */
.cat-group {
  width: 100%;
  text-align: center;
  margin: 24px 0 0;
}
.cat-group:first-child { margin-top: 0; }
.cat-group h3 {
  font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.cat-group h3 a { color: inherit; text-decoration: none; }
.cat-group h3 a:hover { color: var(--rare-gold); }
.cat-group .en {
  font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 700;
  color: #808080;
  letter-spacing: 1px;
  margin-top: 2px;
}
.cat-group .count {
  font-size: 12px;
  color: var(--gray-warm);
  margin-top: 4px;
}

.subcategory-card {
  width: 100%;
  min-width: 0;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.subcategory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,26,26,0.08);
}

.subcategory-card .card-body {
  padding: 28px 20px;
  text-align: center;
}

.subcategory-card .card-body h3 {
  font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--ink);
}

.subcategory-card .card-body .en {
  font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 700;
  color: #808080;
  letter-spacing: 1px;
}

.subcategory-card .card-body .count {
  font-size: 12px;
  color: var(--gray-warm);
  margin-top: 8px;
}

/* ===== Product Listing Layout ===== */
.product-listing {
  display: flex;
  align-items: flex-start;
}

.product-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  width: 100%;
  min-width: 0;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,26,26,0.08);
}

.product-card .img-box {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #E8D5B0, #C49A4A);
  position: relative;
  overflow: hidden;
}

.product-card .img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
}

.product-card:nth-child(1) .img-box
/* Carousel layout in product-list (reuse the detail carousel structure so .slide actually fills .img-box and shows its background-image). */
.product-card .img-box.carousel,
.product-card .img-box.carousel-empty {
  padding: 0;
}
.product-card .img-box.carousel .car-track {
  position: absolute;
  inset: 0;
}
.product-card .img-box.carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.product-card .img-box.carousel .slide.active {
  opacity: 1;
}

 { background: linear-gradient(135deg, #E8E0F0, #C4A0D8); }
.product-card:nth-child(2) .img-box { background: linear-gradient(135deg, #F0E8D0, #D8B860); }
.product-card:nth-child(3) .img-box { background: linear-gradient(135deg, #E8E0F0, #B0A0C8); }
.product-card:nth-child(4) .img-box { background: linear-gradient(135deg, #F0E8E0, #D8C4A0); }
.product-card:nth-child(5) .img-box { background: linear-gradient(135deg, #E8DCC8, #B8A078); }
.product-card:nth-child(6) .img-box { background: linear-gradient(135deg, #F0DCE0, #C48098); }
.product-card:nth-child(7) .img-box { background: linear-gradient(135deg, #E8E8E8, #B0B0B0); }
.product-card:nth-child(8) .img-box { background: linear-gradient(135deg, #D0E8F0, #5098D8); }

.product-card .card-body {
  padding: 20px;
}

.product-card .card-body h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.product-card .card-body .en {
  font-family: 'Bodoni Moda', serif;
  font-size: 12px;
  color: var(--gray-warm);
  margin-bottom: 12px;
}

.product-card .card-body .price {
  font-size: 20px;
  font-weight: 600;
  color: var(--rare-gold);
}

/* ===== Product Detail ===== */
.product-detail {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.product-detail .product-img {
  width: 500px;
  height: 500px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #E8D5B0, #C49A4A, #A07E34);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

/* Carousel (product images) */
.product-detail .product-img.carousel,
.product-detail .product-img.carousel-empty {
  padding: 0;
}

.product-detail .product-img.carousel .car-track {
  position: absolute;
  inset: 0;
}

.product-detail .product-img.carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #E8D5B0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.product-detail .product-img.carousel .slide.active {
  opacity: 1;
}

.product-detail .product-img.carousel .car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 240, 232, 0.85);
  color: var(--noir);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 2;
}

.product-detail .product-img.carousel .car-arrow:hover {
  background: var(--rare-gold);
  color: var(--white);
}

.product-detail .product-img.carousel .car-arrow.prev { left: 14px; }
.product-detail .product-img.carousel .car-arrow.next { right: 14px; }

.product-detail .product-img.carousel .car-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.product-detail .product-img.carousel .car-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(244, 240, 232, 0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.product-detail .product-img.carousel .car-dots .dot.active {
  background: var(--rare-gold);
  transform: scale(1.25);
}

/* Detail extra blocks */
.detail-extra {
  margin: 28px auto 0;
  max-width: 760px;
}

.detail-extra h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--noir);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

body.lang-en .detail-extra h3 {
  font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
  letter-spacing: 1px;
}

.db-block {
  margin-bottom: 0;
}

.db-block-img {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.db-block-img img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.db-text {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-dark);
  margin: 0;
}

.product-info {
  flex: 1;
}

.product-info .label {
  display: inline-block;
  font-size: 12px;
  color: var(--rare-gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product-info h1 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 8px;
}

.product-info .en-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 16px;
  color: var(--gray-warm);
  margin-bottom: 20px;
}

.product-info .price {
  font-size: 28px;
  font-weight: 600;
  color: var(--rare-gold);
  margin-bottom: 24px;
}

.product-info .product-desc {
  font-size: 15px;
  line-height: 1.85;
  color: #5A5145;
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}

.product-info .divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.params-table {
  margin: 24px 0;
}

.params-table h4 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.params-table .param-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.params-table .param-label {
  width: 120px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--gray-warm);
}

.params-table .param-value {
  flex: 1;
  font-size: 14px;
  color: var(--noir);
}

.service-note {
  font-size: 13px;
  color: var(--rare-gold);
  margin: 24px 0;
  letter-spacing: 1px;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* ===== Footer (Full) ===== */
.footer-full {
  background: var(--noir);
  color: var(--gray-dark);
  padding: 60px 80px 0;
  margin-top: 80px;
}

.footer-cols {
  display: flex;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand {
  flex: 1.5;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.footer-brand .contact {
  font-size: 13px;
  color: var(--rare-gold);
}

.footer-links {
  flex: 1;
}

.footer-links h5 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 13px;
  color: var(--gray-dark);
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--rare-gold);
}

.footer-divider {
  height: 1px;
  background: var(--gray-dark);
  margin: 0 -80px;
}

.footer-copyright {
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: var(--gray-dark);
}

/* ===== Footer (Simple) ===== */
.footer-simple {
  background: var(--noir);
  padding: 24px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}

.footer-simple .copyright {
  font-size: 12px;
  color: var(--gray-dark);
}

.footer-simple .links {
  display: flex;
  gap: 32px;
}

.footer-simple .links a {
  font-size: 12px;
  color: var(--gray-dark);
  transition: color 0.3s;
}

.footer-simple .links a:hover {
  color: var(--rare-gold);
}

/* ===== Language Switch ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
  margin-right: 4px;
}

.lang-switch .lang-opt {
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gray-warm);
  padding: 4px 11px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Inter', 'Noto Serif SC', sans-serif;
}

.lang-switch .lang-opt:hover {
  color: var(--rare-gold);
}

.lang-switch .lang-opt.active {
  background: var(--rare-gold);
  color: var(--white);
}

.lang-switch .lang-opt.active:hover {
  color: var(--white);
}

/* Monolingual: hide secondary language elements */
/* English mode: hide Chinese + redundant English subtitles */
body.lang-en .category-card .en,
body.lang-en .subcategory-card .en,
body.lang-en .product-card .en,
body.lang-en .section-title .subtitle,
body.lang-en .en-pair,
body.lang-en .b-cn,
body.lang-en .e-zh {
  display: none;
}
/* Chinese mode: hide all English subtitles/translations */
body.lang-zh .category-card .en,
body.lang-zh .subcategory-card .en,
body.lang-zh .product-card .en,
body.lang-zh .en-pair,
body.lang-zh .en-sub,
body.lang-zh .b-en,
body.lang-zh .e-en {
  display: none;
}

/* English mode: display serif for headings */
body.lang-en .hero-title,
body.lang-en .section-title h2,
body.lang-en .brand-story .text-box h2,
body.lang-en .product-info h1,
body.lang-en .product-card .card-body h3,
body.lang-en .category-card .card-body h3 {
  font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
  letter-spacing: 1px;
}
body.lang-en .subcategory-card .card-body h3 {
  font-family: 'Bodoni Moda', 'Noto Serif SC', serif;
  letter-spacing: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
  .header-inner { padding: 0 40px; }
  .footer-full { padding: 60px 40px 0; }
  .footer-divider { margin: 0 -40px; }
  .footer-simple { padding: 24px 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .header-inner {
    padding: 0 20px;
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;
  }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #F4F0E8;
    padding: 8px 20px 12px;
    gap: 0;
    border-bottom: 1px solid #E0DAD0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 999;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(198,190,171,0.3); font-size: 22px; }
  .nav a:last-child { border-bottom: none; }
  .nav a.active::after { display: none; }
  .hero { height: 400px; }
  .hero-title { font-size: 36px; }
  .category-card { width: 100%; }
  /* 手机端子分类 / 产品均 2 列，避免遗漏继承走桌面列数 */
  .subcategory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .subcategory-card { width: auto; }
  .subcategory-card .card-body { padding: 16px 6px; }
  .subcategory-card .card-body h3 { font-size: 14px; margin-bottom: 2px; }
  .subcategory-card .card-body .en { font-size: 12px; }
  .subcategory-card .card-body .count { font-size: 11px; margin-top: 4px; }
  .product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-card { width: auto; }
  .product-card .img-box { height: 150px; }
  .product-card .card-body { padding: 10px 8px; }
  .product-card .card-body h3 { font-size: 14px; margin-bottom: 2px; }
  .product-card .card-body .en { font-size: 11px; margin-bottom: 6px; }
  .product-card .card-body .price { font-size: 16px; }
  .product-detail { flex-direction: column; gap: 14px; }
  .product-detail .product-img { width: 100%; height: 320px; }
  .product-detail .product-img.carousel .car-arrow { width: 34px; height: 34px; font-size: 22px; }
  .db-block-img img { max-width: 100%; height: auto; }
  .detail-extra { margin-top: 10px; }
  .detail-extra h3 { margin-bottom: 12px; padding-bottom: 6px; }
  .brand-story { flex-direction: column; }
  .brand-story .img-box { width: 100%; height: 240px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-full { padding: 40px 20px 0; }
  .footer-divider { margin: 0 -20px; }
  .footer-simple { padding: 20px; flex-direction: column; gap: 12px; }

  /* 手机端：顶部→详情页间距压到 1/3 + 基本信息间距微调 */
  .breadcrumb { padding: 4px 0; font-size: 20px; color: #45413B; }
  .breadcrumb span { color: #6B645A; }
  .section { padding-top: 6px; }
  .product-detail { flex-direction: column; gap: 14px; }
  .product-info h1 { margin-bottom: 6px; }
  .product-info .en-name { margin-bottom: 10px; }
  .product-info .product-desc { margin: 0 0 4px; }
  .divider { margin: 12px 0; }
  .params-table { margin: 4px 0; }
  .params-table .param-row { padding: 5px 0; }
  .params-table h4 { margin-bottom: 6px; }
  .detail-extra { margin-top: 10px; }
  .detail-extra h3 { margin-bottom: 16px; padding-bottom: 8px; }

  /* 手机端：分类页保持左右结构（窄侧栏 + 右侧子分类），与电脑端一致 */
  .cat-layout { gap: 12px; }
  .cat-sidebar {
    width: 124px;
    flex-shrink: 0;
    position: sticky;
    top: 60px;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    overflow: visible;
  }
  .cat-sidebar-item {
    flex-shrink: 0;
    padding: 10px 10px;
    border-radius: 4px;
    background: transparent;
    border: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .cat-sidebar-item .cat-sidebar-strip { display: block; }
  .cat-sidebar-item.active {
    background: rgba(196, 154, 74, 0.10);
    border-color: transparent;
    color: var(--rare-gold);
  }
  .cat-sidebar-item .cat-sidebar-text {
    flex-direction: column;
    gap: 2px;
    width: 100%;
    min-width: 0;
  }
  .cat-sidebar-item .cat-sidebar-text .zh {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .cat-sidebar-item .cat-sidebar-text .en {
    font-size: 10px;
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .cat-sidebar-item.active .cat-sidebar-text .en,
  .cat-sidebar-item.active .cat-sidebar-count {
    color: var(--rare-gold);
  }
  .cat-sidebar-item .cat-sidebar-count {
    font-size: 10px;
    align-self: flex-start;
    letter-spacing: 0;
  }
  /* 手机端（更窄屏）：子分类卡片保持每行 2 项 */
  .cat-content .subcategory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cat-content .subcategory-card {
    width: auto;
  }
  .cat-content .subcategory-card .card-body { padding: 14px 4px; }
  .cat-content .subcategory-card .card-body h3 { font-size: 13px; margin-bottom: 2px; }
  .cat-content .subcategory-card .card-body .en { font-size: 11px; }
  .cat-content .subcategory-card .card-body .count { font-size: 11px; margin-top: 4px; }
}

/* 单页内容（关于我们 / 联系我们） */
.page-section { padding: 60px 0 84px; }
.page-content { max-width: 760px; margin: 0 auto; font-size: 15px; line-height: 1.9; color: #5A5145; }
.page-content p { margin: 0 0 18px; }
.page-content h3 { font-family: "Bodoni Moda", serif; color: #1A1A1A; font-size: 22px; margin: 30px 0 12px; }
.page-content ul { padding-left: 22px; margin: 0 0 18px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: #C49A4A; }
.page-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 8px 0; }

/* 关于我们：封面图与 CTA 按钮 */
.about-hero { margin: 0 0 28px; border-radius: 6px; overflow: hidden; background: #E8D5B0; }
.about-hero img { width: 100%; height: auto; display: block; margin: 0; }
.about-hero-link { display: block; position: relative; cursor: pointer; }
.about-hero-link img { transition: transform 0.4s ease; }
.about-hero-link::after {
  content: '\2197';
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; line-height: 34px; text-align: center;
  font-size: 18px; color: #fff;
  background: rgba(196,154,74,0.92); border-radius: 50%;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.about-hero-link:hover::after { opacity: 1; }
.about-hero-link:hover img { transform: scale(1.03); }
.about-cta { text-align: center; margin-top: 32px; }
.about-cta .btn-gold { display: inline-block; }

/* 联系我们：封面图（可点击超链接），视觉与关于页一致 */
.contact-hero { margin: 0 0 28px; border-radius: 6px; overflow: hidden; background: #E8D5B0; }
.contact-hero img { width: 100%; height: auto; display: block; margin: 0; }
.contact-hero-link { display: block; position: relative; cursor: pointer; }
.contact-hero-link img { transition: transform 0.4s ease; }
.contact-hero-link::after {
  content: '\2197';
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  background: rgba(255,255,255,.9); color: #1A1A1A; border-radius: 50%;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.contact-hero-link:hover::after { opacity: 1; }
.contact-hero-link:hover img { transform: scale(1.03); }
.contact-text { } /* 继承 .page-content 段落/图片样式 */

@media (max-width: 640px) {
  .page-section { padding: 36px 0 56px; }
  .page-content { padding: 0 4px; }
}

/* 联系我们：联系方式卡片 + 询盘表单 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 10px auto 40px;
}
.contact-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
a.contact-card:hover {
  border-color: var(--rare-gold);
  box-shadow: 0 8px 22px rgba(196,154,74,0.18);
  transform: translateY(-2px);
}
.contact-card .cc-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bone-cream); color: var(--rare-gold);
  margin-bottom: 12px;
}
.contact-card .cc-ico svg { width: 20px; height: 20px; }
.contact-card .cc-label {
  display: block;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--rare-gold); margin-bottom: 4px;
}
.contact-card .cc-value {
  display: block;
  font-family: 'Noto Serif SC', serif;
  font-size: 16px; color: var(--noir); line-height: 1.5;
}
.contact-form {
  max-width: 760px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 30px;
}
.contact-form .form-row { display: flex; gap: 16px; }
.contact-form .form-field { flex: 1; margin-bottom: 16px; }
.contact-form label {
  display: block; font-size: 13px; color: var(--gray-dark); margin-bottom: 6px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 14px; font-family: inherit; color: var(--noir);
  background: var(--bone-cream); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--rare-gold);
}
.contact-form .form-actions { text-align: center; margin-top: 4px; }
.contact-form .btn-gold { border: none; cursor: pointer; }

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { flex-direction: column; gap: 0; }
  .contact-form { padding: 22px 18px; }
}
