:root {
  --ink: #33262c;
  --muted: #77686f;
  --rose: #d76c91;
  --rose-dark: #b74c73;
  --cream: #fff8f4;
  --line: #ead9dd;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fffdfb;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 251, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  padding: 10px 13px;
  border-radius: 4px;
  color: var(--muted);
  white-space: nowrap;
}
.main-nav a.active, .main-nav a:hover { color: var(--rose-dark); background: #fff1f5; }
.lang-switch { white-space: nowrap; color: var(--muted); }
.lang-switch a.active { color: var(--rose-dark); font-weight: 700; }
.nav-toggle { display: none; margin-left: auto; }

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(43, 25, 32, .40), rgba(43, 25, 32, .10)),
    #2b1920 center/cover;
}
.hero-copy { width: min(1180px, calc(100% - 32px)); margin: 0 auto; color: #fff; }
.hero-copy p { margin: 0 0 12px; font-size: 18px; }
.hero-copy h1 { max-width: 760px; margin: 0 0 28px; font-size: clamp(34px, 5vw, 64px); line-height: 1.15; font-weight: 700; letter-spacing: 0; }
.primary-btn { background: var(--rose); border-color: var(--rose); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 54px 0 22px; }
.section-head h1, .section-head h2 { margin: 0; font-size: 32px; line-height: 1.25; }
.section-head a { color: var(--rose-dark); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(120, 76, 88, .14); }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream); }
.product-card span { display: block; color: var(--rose-dark); padding: 16px 16px 4px; font-size: 13px; }
.product-card h3 { margin: 0; padding: 0 16px 18px; font-size: 18px; line-height: 1.35; }

.intro-band {
  margin: 58px 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--cream);
}
.intro-band img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.intro-band h2 { margin: 0 0 14px; font-size: 30px; }
.intro-band p { color: var(--muted); margin-bottom: 24px; }

.page-layout { padding: 54px 0 72px; max-width: 980px; }
.page-layout h1 { margin: 0 0 24px; font-size: 38px; line-height: 1.25; }
.page-image { width: 100%; max-height: 430px; object-fit: cover; margin-bottom: 28px; border-radius: 8px; }
.content { color: #4f4248; font-size: 16px; white-space: normal; }
.product-label { color: var(--rose-dark); font-weight: 700; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.category-tabs a {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
}
.category-tabs a.active, .category-tabs a:hover { color: #fff; background: var(--rose); border-color: var(--rose); }

.contact-layout {
  padding: 58px 0 76px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.contact-layout h1 { margin-top: 0; font-size: 38px; }
.social-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-list a {
  padding: 8px 14px;
  color: var(--rose-dark);
  background: #fff1f5;
  border-radius: 4px;
}
.map-image { width: 100%; min-height: 360px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner strong { color: var(--ink); font-size: 16px; }
.footer-inner p { margin: 6px 0 0; font-size: 14px; }
.footer-meta { text-align: right; }
.footer-meta a { color: var(--rose-dark); text-decoration: underline; }
.footer-meta p { margin: 0 0 4px; }

/* Product detail */
.product-intro { margin-bottom: 28px; }
.product-intro p { margin: 0 0 12px; }
.product-intro p:last-child { margin-bottom: 0; }

/* Product gallery - images stacked vertically, no borders or spacing */
.product-gallery { margin: 0; }
.product-gallery img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; margin: 0; padding: 0; background: transparent; }

/* FAQ & after-sales */
.faq-section { margin-top: 42px; }
.faq-section h2 { font-size: 26px; margin: 0 0 18px; }
.faq-list { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  padding: 16px 18px; font-weight: 700; cursor: pointer; background: var(--cream); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 18px 18px; color: #4f4248; }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Return card */
.return-card { margin-top: 46px; padding: 28px; background: var(--cream); border-radius: 8px; }
.return-card h2 { font-size: 26px; margin: 0 0 14px; }
.return-intro { color: var(--muted); margin: 0 0 18px; }
.return-form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.return-row { display: flex; gap: 20px; margin-bottom: 14px; }
.return-row label { display: flex; align-items: center; gap: 6px; }
.return-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--rose); }
.return-fields { display: grid; gap: 12px; }
.return-fields div { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 10px; }
.return-fields span { color: var(--muted); font-size: 14px; }
.return-fields input { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; background: #fafafa; }
.return-address { margin: 18px 0 0; color: var(--ink); }

/* Contact QR */
.qr-section { text-align: center; }
.qr-section h2 { font-size: 22px; margin: 0 0 16px; }
.qr-image { max-width: 220px; margin: 0 auto 12px; border-radius: 8px; border: 1px solid var(--line); }
.qr-section p { color: var(--muted); font-size: 14px; }

/* Content emphasis */
.content strong { color: var(--ink); }
.content p { margin: 0 0 14px; }
.content p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; min-height: 68px; padding: 12px 0; }
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; width: 100%; order: 4; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .lang-switch { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-band, .contact-layout { grid-template-columns: 1fr; padding: 28px 0; background: transparent; }
  .return-fields div { grid-template-columns: 1fr; align-items: start; }
  .return-fields span { margin-bottom: 2px; }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .brand strong { font-size: 15px; }
  .hero { min-height: 430px; }
  .product-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .page-layout h1, .contact-layout h1 { font-size: 30px; }
  .return-row { flex-direction: column; gap: 10px; }
  .qr-image { max-width: 180px; }
}
