:root {
  --ink: #181716;
  --muted: #706b64;
  --line: #e2ded7;
  --brand: #9a6a32;
  --brand-dark: #2f2923;
  --accent: #d4a15d;
  --bg: #f7f4ef;
  --white: #fff;
  --shadow: 0 18px 50px rgba(24, 23, 22, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #111, var(--brand));
  border-radius: 8px;
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; }
.main-nav { display: flex; gap: clamp(14px, 3vw, 34px); font-size: 15px; color: #3e3933; }

.quote-button, .cart-head button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.quote-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand-dark);
  border-radius: 8px;
}
.quote-button strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  font-size: 13px;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 36px;
  padding: 110px clamp(18px, 5vw, 72px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 14, 12, 0.92), rgba(16, 14, 12, 0.28)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=85") center / cover;
}
.hero-content { max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(40px, 6vw, 76px); line-height: 1.06; }
h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
h3 { margin-bottom: 8px; font-size: 20px; }
.hero p:not(.eyebrow) { max-width: 660px; color: rgba(255, 255, 255, 0.88); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.button.primary { color: var(--white); background: var(--brand); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.12); }
.hero-stats { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; box-shadow: var(--shadow); }
.hero-stats div { padding: 24px; background: rgba(47, 41, 35, 0.8); }
.hero-stats strong { display: block; color: var(--accent); font-size: 34px; }
.hero-stats span { color: rgba(255,255,255,.84); }

.section { padding: 76px clamp(18px, 5vw, 72px); }
.section-head { max-width: 800px; margin-bottom: 30px; }
.section-head p { color: var(--muted); line-height: 1.75; }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.category-grid, .product-grid, .trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-grid article, .product-card, .trust-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.category-grid img { width: 100%; height: 240px; object-fit: cover; }
.category-grid h3, .category-grid p { padding: 0 20px; }
.category-grid h3 { margin-top: 20px; }
.category-grid p { color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 320px);
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.search-box input { width: 100%; border: 0; outline: 0; font: inherit; }
.product-card { display: flex; flex-direction: column; }
.product-card img { width: 100%; height: 250px; object-fit: cover; background: #eee8df; }
.product-content { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 20px; }
.product-content p { color: var(--muted); }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { color: var(--brand-dark); font-size: 22px; font-weight: 900; }
.tag { width: max-content; padding: 5px 9px; color: var(--brand-dark); background: #f3e8d6; border-radius: 999px; font-size: 12px; font-weight: 800; }

.process {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(320px, 1fr);
  gap: 36px;
  padding: 70px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24,23,22,.94), rgba(47,41,35,.84)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=85") center / cover;
}
.process .eyebrow { color: var(--accent); }
.process ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process li { position: relative; display: grid; gap: 4px; padding: 18px 18px 18px 64px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.process li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; display: grid; width: 32px; height: 32px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; font-weight: 900; }
.process span { color: rgba(255,255,255,.84); line-height: 1.7; }
.trust-grid article { display: grid; gap: 10px; min-height: 150px; padding: 24px; }
.trust-grid strong { font-size: 21px; }
.trust-grid span { color: var(--muted); line-height: 1.75; }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1fr); gap: 36px; align-items: start; }
.contact-form { display: grid; gap: 16px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.contact-form label { display: grid; gap: 8px; color: #3e3933; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(100%, 420px);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform .24s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head, .cart-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; }
.cart-head button { width: 38px; height: 38px; background: #eee8df; border-radius: 8px; font-size: 28px; line-height: 1; }
.cart-items { flex: 1; overflow: auto; padding: 14px 20px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.cart-item h3 { margin: 0 0 4px; font-size: 15px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.qty-controls { display: inline-flex; align-items: center; gap: 8px; }
.qty-controls button { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; cursor: pointer; }
.cart-foot { border-top: 1px solid var(--line); border-bottom: 0; }
.cart-foot span, .cart-foot strong { display: block; }
.cart-foot span { color: var(--muted); font-size: 13px; }
.cart-foot strong { font-size: 22px; }
.overlay { position: fixed; inset: 0; z-index: 30; display: none; background: rgba(24,23,22,.42); }
.overlay.open { display: block; }
.empty-cart { color: var(--muted); text-align: center; padding: 60px 10px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 26px clamp(18px, 5vw, 72px); color: var(--white); background: var(--ink); }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero, .process, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 72px; }
  .category-grid, .product-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  h1 { font-size: 38px; }
  .quote-button { padding-inline: 10px; }
  .section, .process { padding-block: 54px; }
  .section-head.split { align-items: stretch; flex-direction: column; }
  .category-grid, .product-grid, .trust-grid { grid-template-columns: 1fr; }
  .product-card img, .category-grid img { height: 220px; }
}
