:root {
  --ink: #1c2a23;
  --ink-soft: #4d5b52;
  --muted: #7c877f;
  --paper: #f7f3eb;
  --paper-2: #efe8dc;
  --paper-3: #e7dfcf;
  --line: #ddd3c1;
  --line-soft: #e9e1d3;
  --green: #1f3a2e;
  --green-2: #2d5240;
  --green-3: #3d6a54;
  --clay: #b4552d;
  --clay-2: #9a4524;
  --gold: #c39a5b;
  --white: #fffdf8;
  --danger: #a83a32;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(38, 48, 40, .08);
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: rgba(180, 85, 45, .2); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.wrap { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .04em;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-2); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--green); color: var(--green); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }

/* ---------- top bar / header ---------- */
.topbar { background: var(--green); color: #e9e3d6; font-size: 12.5px; letter-spacing: .04em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.topbar-note { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar-meta { display: flex; gap: 18px; white-space: nowrap; color: #c9d2c9; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 243, 235, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 46px; height: 46px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 25px; letter-spacing: .12em; }
.brand-text small { margin-top: 5px; font-size: 9px; letter-spacing: .28em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.main-nav a { position: relative; font-size: 14.5px; font-weight: 500; padding: 6px 0; white-space: nowrap; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--clay); }
.header-search {
  margin-left: auto; display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 253, 248, .7); padding: 3px 4px 3px 16px; width: 235px;
}
.header-search input { border: 0; background: transparent; width: 100%; min-width: 0; font-size: 13.5px; outline: none; padding: 7px 0; }
.header-search button { border: 0; background: var(--green); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.header-search button:hover { background: var(--clay); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.cart-link .cart-count {
  min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px;
  background: var(--clay); color: #fff; font-size: 11.5px; display: grid; place-items: center;
}
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.mobile-nav { display: none; border-top: 1px solid var(--line-soft); padding: 14px 0 20px; }
.mobile-nav a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.mobile-nav .mobile-search { display: flex; gap: 8px; margin-top: 12px; }
.mobile-nav .mobile-search input { flex: 1; min-height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 0 18px; }

/* ---------- flash / toast ---------- */
.flash { margin: 22px auto 0; width: min(1240px, calc(100% - 56px)); padding: 13px 18px; border-radius: 10px; font-size: 14px; border: 1px solid; }
.flash-success { background: #edf3ec; border-color: #bfd4c2; color: #2f5137; }
.flash-error { background: #fbeeea; border-color: #e6c2b7; color: #8b3b25; }
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow); transition: all .22s ease; max-width: calc(100% - 40px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(195, 154, 91, .16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(31, 58, 46, .08), transparent 40%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; padding: 70px 0 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .24em; color: var(--clay); font-weight: 600; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--clay); }
.hero h1 { margin: 22px 0 24px; font-family: var(--serif); font-size: clamp(44px, 5.4vw, 72px); letter-spacing: .02em; font-weight: 700; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--green-2); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(195, 154, 91, .28); z-index: -1; }
.hero-sub { max-width: 520px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-collage { position: relative; height: 520px; }
.hero-card { position: absolute; overflow: hidden; background: var(--paper-3); border: 1px solid rgba(31, 58, 46, .08); box-shadow: 0 24px 60px rgba(31, 44, 36, .14); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-card:hover img { transform: scale(1.04); }
.hero-card.a { width: 330px; height: 430px; right: 40px; top: 10px; border-radius: 170px 170px 22px 22px; z-index: 2; }
.hero-card.b { width: 190px; height: 240px; left: 8px; top: 92px; border-radius: 18px 18px 18px 80px; z-index: 1; }
.hero-card.c { width: 200px; height: 210px; right: 0; bottom: 0; border-radius: 18px 18px 90px 18px; z-index: 3; }
.hero-stamp {
  position: absolute; left: 40px; bottom: 46px; z-index: 4;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--clay); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-size: 15px; line-height: 1.45; letter-spacing: .1em;
  box-shadow: 0 12px 28px rgba(180, 85, 45, .3); transform: rotate(-7deg);
}
.hero-stamp small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .18em; opacity: .8; }

/* ---------- trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .45); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 13px; padding: 20px 22px; border-right: 1px solid var(--line-soft); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--green-2); flex: none; }
.trust-item strong { display: block; font-size: 13.5px; font-weight: 600; }
.trust-item span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ---------- sections ---------- */
.section { padding: 78px 0; }
.section-tight { padding: 54px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); letter-spacing: .03em; margin-top: 12px; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 540px; font-size: 14px; }
.section-head .link-arrow { flex: none; margin-bottom: 6px; }
.section-head-center { display: block; text-align: center; margin-bottom: 36px; }
.section-head-center p { margin-left: auto; margin-right: auto; }

/* ---------- categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-card {
  position: relative; padding: 24px 20px 20px; border: 1px solid var(--line);
  background: rgba(255, 253, 248, .62); border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.category-card:hover { transform: translateY(-4px); border-color: var(--green-2); background: var(--white); }
.category-letter {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); color: var(--green); font-family: var(--serif); font-size: 21px;
  margin-bottom: 16px;
}
.category-card h3 { font-size: 16.5px; letter-spacing: .05em; }
.category-card p { margin: 7px 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.65; min-height: 42px; }
.category-card .count { font-size: 11px; color: var(--clay); letter-spacing: .08em; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.product-media > a { display: block; width: 100%; height: 100%; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.field-error { font-size: 11.5px; color: var(--danger); line-height: 1.5; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d9a79a; background: #fdf7f4; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px; background: var(--clay); color: #fff;
  font-size: 10.5px; letter-spacing: .08em;
}
.product-badge.dark { background: var(--green); }
.quick-add {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(31, 58, 46, .92); color: #fff; display: grid; place-items: center;
  transform: translateY(6px); opacity: 0; transition: all .22s ease;
}
.product-card:hover .quick-add { transform: translateY(0); opacity: 1; }
.quick-add:hover { background: var(--clay); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.product-cat { font-size: 10.5px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.product-name { margin: 6px 0 5px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.product-name a:hover { color: var(--clay); }
.product-sub { margin: 0 0 12px; font-size: 12px; color: var(--muted); line-height: 1.55; min-height: 19px; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { color: var(--clay); font-weight: 700; font-size: 20px; letter-spacing: .01em; }
.price small { font-size: 12px; font-weight: 600; margin-right: 1px; }
.price-original { color: #a5aaa4; font-size: 12px; text-decoration: line-through; }
.product-stock { margin-left: auto; font-size: 11px; color: var(--muted); }

/* ---------- story band ---------- */
.story-band { background: var(--green); color: #eef0e8; position: relative; overflow: hidden; }
.story-band::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1); right: -140px; top: -180px;
}
.story-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07); right: -40px; top: -80px;
}
.story-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 84px 0; }
.story-band .eyebrow { color: var(--gold); }
.story-band .eyebrow::before { background: var(--gold); }
.story-band h2 { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 48px); margin: 16px 0 22px; line-height: 1.3; }
.story-band p { color: #c8d2c9; font-size: 15px; line-height: 1.9; max-width: 560px; }
.story-list { display: grid; gap: 20px; margin-top: 30px; }
.story-list li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.story-list .num { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--gold); }
.story-list strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.story-list span { display: block; font-size: 12.5px; color: #aebbb0; line-height: 1.7; }
.story-visual { position: relative; height: 460px; }
.story-visual img { position: absolute; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); }
.story-visual .one { width: 68%; height: 72%; right: 0; top: 0; }
.story-visual .two { width: 46%; height: 48%; left: 0; bottom: 0; border-radius: 80px 18px 18px 18px; }
.story-fact {
  position: absolute; right: 8%; bottom: 22px; background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: 16px 20px; text-align: center; box-shadow: var(--shadow); z-index: 2;
}
.story-fact strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--clay); line-height: 1; }
.story-fact span { font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }

/* ---------- service strip / CTA ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: rgba(255, 253, 248, .58); }
.service-card .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }
.cta-band { border-top: 1px solid var(--line); background: var(--paper-2); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 0; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.cta-inner p { margin: 0; color: var(--muted); font-size: 13.5px; }
.cta-actions { display: flex; gap: 10px; flex: none; }

/* ---------- footer ---------- */
.site-footer { background: #15231c; color: #c7d0c8; font-size: 13px; }
.footer-main { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.2fr; gap: 44px; padding: 64px 0 46px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #f2eee4; margin-bottom: 18px; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand strong { font-family: var(--serif); font-size: 24px; letter-spacing: .12em; display: block; }
.footer-brand small { font-size: 9px; letter-spacing: .26em; color: #94a398; }
.footer-about p { color: #94a398; line-height: 1.9; max-width: 340px; }
.footer-links h4 { color: #f2eee4; font-size: 13px; letter-spacing: .08em; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { margin: 0 0 8px; color: #94a398; }
.footer-contact strong { color: #e8e2d6; font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 20px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #7f8f84; font-size: 11.5px; }
.footer-bottom a { color: #a7b4aa; }
.footer-bottom a:hover { color: var(--gold); }
.footer-pay { display: inline-flex; align-items: center; gap: 7px; color: #a7b4aa; }
.footer-pay b { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 4px; background: #1677ff; color: #fff; font-size: 10px; }

/* ---------- breadcrumbs / page hero ---------- */
.breadcrumbs { padding: 22px 0 0; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a:hover { color: var(--clay); }
.breadcrumbs span { color: #b3aea2; }
.page-hero { padding: 38px 0 30px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); letter-spacing: .03em; }
.page-hero p { margin: 14px 0 0; max-width: 680px; color: var(--ink-soft); font-size: 14.5px; }
.page-hero .eyebrow { margin-bottom: 4px; }

/* ---------- filters / pagination ---------- */
.filter-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 24px 0 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; background: rgba(255, 253, 248, .55); }
.chip:hover { border-color: var(--green-2); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.filter-right { display: flex; align-items: center; gap: 12px; }
.filter-right label { font-size: 12px; color: var(--muted); }
.select {
  min-height: 38px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); padding: 0 36px 0 14px; font-size: 12.5px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.result-meta { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 26px; color: var(--muted); font-size: 12.5px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 44px 0 10px; flex-wrap: wrap; }
.page-link { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; background: rgba(255, 253, 248, .55); }
.page-link:hover { border-color: var(--green); }
.page-link.active { background: var(--green); color: #fff; border-color: var(--green); }
.page-link.disabled { opacity: .4; pointer-events: none; }
.empty-state { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255, 253, 248, .4); }
.empty-state h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); font-size: 13.5px; }
.empty-mark { width: 70px; height: 70px; margin: 0 auto 20px; opacity: .85; }

/* ---------- product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; padding: 34px 0 20px; align-items: start; }
.gallery-main { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper-2); aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; background: var(--paper-2); aspect-ratio: 1 / 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(31, 58, 46, .12); }
.product-info .product-cat { font-size: 11px; letter-spacing: .18em; color: var(--clay); }
.product-info h1 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); margin: 10px 0 12px; letter-spacing: .02em; }
.product-info .subtitle { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.price-panel { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 24px; }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-now { color: var(--clay); font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.price-now small { font-size: 18px; margin-right: 2px; }
.price-was { color: #9ba197; font-size: 14px; text-decoration: line-through; }
.price-save { margin-left: auto; font-size: 11.5px; color: var(--green-2); border: 1px solid rgba(47, 82, 64, .25); padding: 4px 9px; border-radius: 999px; }
.price-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.buy-row { display: flex; align-items: stretch; gap: 12px; margin: 24px 0 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 19px; color: var(--ink-soft); }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 46px; height: 100%; border: 0; text-align: center; background: transparent; font-weight: 600; font-size: 14px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { min-height: 50px; flex: 1; min-width: 140px; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.service-list li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-soft); }
.service-list li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: #e9efe7; color: var(--green-2); font-size: 10px; display: grid; place-items: center; flex: none; }
.sku-line { margin-top: 18px; font-size: 11.5px; color: var(--muted); letter-spacing: .05em; }

.detail-section { padding: 50px 0 10px; border-top: 1px solid var(--line); margin-top: 54px; }
.detail-section > h2 { font-family: var(--serif); font-size: 30px; margin-bottom: 22px; }
.detail-intro { max-width: 820px; font-size: 15.5px; line-height: 2; color: var(--ink-soft); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 10px; }
.highlight-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: rgba(255, 253, 248, .55); }
.highlight-card .idx { font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: .16em; display: block; margin-bottom: 12px; }
.highlight-card p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.7; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; vertical-align: top; }
.spec-table th { width: 180px; color: var(--muted); font-weight: 500; background: rgba(239, 232, 220, .4); }
.detail-copy { max-width: 860px; margin-top: 30px; font-size: 15px; line-height: 2; color: var(--ink-soft); }
.detail-copy h3 { font-family: var(--serif); color: var(--ink); font-size: 22px; margin: 28px 0 10px; }
.detail-copy ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.detail-copy li { margin-bottom: 6px; }
.detail-gallery { display: grid; gap: 14px; margin-top: 32px; }
.detail-gallery img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-soft); }
.buy-note { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: rgba(239, 232, 220, .34); font-size: 12.5px; color: var(--ink-soft); margin-top: 30px; }
.buy-note strong { color: var(--ink); }
.mobile-buybar { display: none; }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; padding: 34px 0 70px; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--white); }
.cart-thumb img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.cart-item h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 5px; }
.cart-item .meta { font-size: 12px; color: var(--muted); }
.cart-item .unit-price { color: var(--clay); font-weight: 600; margin-top: 8px; display: inline-block; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-actions .subtotal { font-weight: 700; font-size: 16px; }
.cart-remove { border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: var(--danger); }
.cart-item .qty { height: 40px; }
.cart-item .qty button { width: 34px; }
.cart-item .qty input { width: 36px; }
.summary-card { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); padding: 26px; }
.summary-card h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; padding: 8px 0; color: var(--ink-soft); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; align-items: baseline; color: var(--ink); }
.summary-row.total strong { font-size: 27px; color: var(--clay); font-family: var(--serif); }
.summary-card .btn { margin-top: 18px; }
.summary-note { margin-top: 14px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.progress-note { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 11px 14px; border-radius: 10px; background: #edf2e9; color: #35573f; font-size: 11.5px; }

/* ---------- checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; padding: 34px 0 70px; }
.checkout-card { border: 1px solid var(--line); border-radius: 18px; background: var(--white); padding: 28px; margin-bottom: 22px; }
.checkout-card h2 { font-family: var(--serif); font-size: 23px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.field label span { color: var(--clay); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fdfbf6;
  padding: 12px 14px; font-size: 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(45, 82, 64, .08); }
.field textarea { min-height: 88px; resize: vertical; }
.field .hint { font-size: 11px; color: var(--muted); }
.pay-method { display: flex; align-items: center; gap: 14px; border: 1px solid var(--green); border-radius: 12px; background: #f7faf5; padding: 16px; }
.pay-method input { accent-color: var(--green); width: 17px; height: 17px; }
.pay-method .pay-logo { width: 38px; height: 38px; border-radius: 9px; background: #1677ff; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.pay-method strong { display: block; font-size: 14px; }
.pay-method span { display: block; font-size: 11.5px; color: var(--muted); }
.pay-method .check { margin-left: auto; color: var(--green-2); font-size: 12px; }
.order-mini { border-bottom: 1px solid var(--line-soft); max-height: 280px; overflow: auto; margin-bottom: 14px; }
.order-mini-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.order-mini-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-soft); }
.order-mini-item .name { font-size: 12.5px; line-height: 1.5; }
.order-mini-item .qty-text { font-size: 11px; color: var(--muted); }
.order-mini-item .amount { font-size: 12.5px; font-weight: 600; }
.checkout-submit { margin-top: 8px; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.secure-note::before { content: "●"; color: var(--green-3); font-size: 8px; margin-top: 5px; }

/* ---------- pay ---------- */
.pay-page { padding: 46px 0 76px; }
.pay-wrap { width: min(760px, 100%); margin: 0 auto; }
.pay-card { border: 1px solid var(--line); border-radius: 20px; background: var(--white); padding: 36px; box-shadow: var(--shadow); }
.pay-head { text-align: center; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
.pay-head .eyebrow { justify-content: center; }
.pay-head .eyebrow::before { display: none; }
.pay-amount { font-family: var(--serif); font-size: 54px; color: var(--clay); line-height: 1.1; margin: 12px 0 6px; }
.pay-amount small { font-size: 24px; margin-right: 4px; }
.pay-order-no { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.pay-step { text-align: center; position: relative; font-size: 11.5px; color: var(--muted); }
.pay-step::before { content: ""; display: block; width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 8px; background: var(--paper-2); border: 1px solid var(--line); }
.pay-step.active::before { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 6px var(--white); }
.pay-step.active { color: var(--ink); font-weight: 600; }
.pay-step-line { position: absolute; top: 13px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 1px; background: var(--line); }
.pay-step:last-child .pay-step-line { display: none; }
.pay-items { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 6px 0; margin: 10px 0 20px; }
.pay-item { display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; padding: 6px 0; color: var(--ink-soft); }
.pay-address { font-size: 12.5px; color: var(--ink-soft); background: var(--paper-2); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; line-height: 1.8; }
.pay-address strong { color: var(--ink); }
.btn-alipay { width: 100%; min-height: 54px; background: #1677ff; color: #fff; border: 0; border-radius: 10px; font-size: 16px; font-weight: 600; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-alipay:hover { background: #0f5fd7; }
.btn-alipay .ali { font-size: 12px; background: rgba(255, 255, 255, .18); padding: 2px 7px; border-radius: 4px; }
.pay-countdown { text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); }
.pay-countdown strong { color: var(--clay); font-variant-numeric: tabular-nums; }
.pay-help { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--muted); line-height: 1.8; }
.pay-tip { display: flex; gap: 9px; margin-top: 16px; padding: 12px 14px; background: #f6f2e8; border-radius: 10px; font-size: 11.5px; color: #6f6a5c; }
.pay-state { text-align: center; padding: 30px 10px; }
.pay-state .big { font-family: var(--serif); font-size: 34px; margin-bottom: 8px; }
.pay-state p { color: var(--muted); font-size: 13px; }

/* ---------- order ---------- */
.order-page { padding: 34px 0 76px; }
.order-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; background: var(--white); margin-bottom: 24px; }
.order-hero h1 { font-family: var(--serif); font-size: 30px; margin-bottom: 6px; }
.order-hero p { margin: 0; color: var(--muted); font-size: 12.5px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pending { background: #fbf0e2; color: #9a6420; }
.status-paid { background: #e9f1e6; color: #35633c; }
.status-shipped { background: #e7eef5; color: #2e5b7e; }
.status-done { background: #e9efe7; color: #2f5137; }
.status-closed { background: #eeece8; color: #77726a; }
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.order-card { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 24px 26px; margin-bottom: 20px; }
.order-card h2 { font-family: var(--serif); font-size: 21px; margin-bottom: 16px; }
.order-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.order-item:last-child { border-bottom: 0; }
.order-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-soft); }
.order-item .name { font-size: 14px; font-weight: 500; }
.order-item .meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.order-item .amount { font-weight: 600; font-size: 13.5px; }
.order-timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 8px 0 4px; }
.order-step { text-align: center; position: relative; font-size: 11.5px; color: var(--muted); padding-top: 32px; }
.order-step::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--line); z-index: 2; }
.order-step::after { content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 1px; background: var(--line); }
.order-step:last-child::after { display: none; }
.order-step.done { color: var(--green-2); font-weight: 600; }
.order-step.done::before { background: var(--green); border-color: var(--green); }
.order-step.done::after { background: var(--green-3); }
.address-block { font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }
.address-block strong { color: var(--ink); }
.order-meta-list { display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.order-meta-list span { color: var(--ink-soft); }
.order-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ---------- static page ---------- */
.page-body { padding: 50px 0 80px; }
.prose { max-width: 820px; margin: 0 auto; font-size: 15.5px; line-height: 2.05; color: var(--ink-soft); }
.prose h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 34px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 24px; margin: 0 0 18px; }
.prose a { color: var(--clay); border-bottom: 1px solid rgba(180, 85, 45, .35); }
.prose strong { color: var(--ink); }
.query-form { max-width: 620px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 30px; }
.query-form .form-grid { grid-template-columns: 1fr 1fr; }
.query-form .btn { margin-top: 18px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 20px 130px; }
.notfound .code { font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--paper-3); letter-spacing: .06em; }
.notfound h1 { font-family: var(--serif); font-size: 34px; margin: 16px 0 10px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- 会员入口 ---------- */
.account-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; white-space: nowrap; color: var(--ink-soft); }
.account-link:hover { color: var(--clay); }
.account-label { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
.mobile-nav .mobile-logout { margin: 0; }
.mobile-nav .mobile-logout button {
  display: block; width: 100%; text-align: left; padding: 11px 4px;
  border: 0; border-bottom: 1px solid var(--line-soft); background: transparent;
  font-size: 15px; color: var(--clay);
}

/* ---------- 登录 / 注册 ---------- */
.auth-page { padding: 34px 0 80px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 540px) 1fr; gap: 32px; align-items: start; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px 34px; }
.auth-card h2 { font-family: var(--serif); font-size: 27px; margin-bottom: 8px; }
.auth-lead { color: var(--muted); font-size: 12.5px; line-height: 1.8; margin-bottom: 4px; }
.auth-card .field { margin-top: 16px; }
.auth-flash { width: auto; margin: 14px 0 0; }
.auth-check { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0 2px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; cursor: pointer; }
.auth-check input { margin-top: 4px; accent-color: var(--green); flex: none; }
.auth-check a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.auth-submit { margin-top: 22px; }
.auth-switch { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.auth-switch a { color: var(--green-2); font-weight: 600; margin-left: 4px; text-decoration: underline; text-underline-offset: 3px; }
.password-wrap { position: relative; }
.password-wrap input { width: 100%; padding-right: 58px; }
.password-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 6px 8px;
}
.password-toggle:hover { color: var(--green-2); }
.auth-aside {
  background: var(--green); color: #e7e2d5; border-radius: 18px; padding: 32px 34px;
  background-image: radial-gradient(circle at 90% 8%, rgba(195, 154, 91, .2), transparent 45%);
}
.auth-aside h3 { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 20px; }
.auth-aside li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.auth-aside li:last-child { border-bottom: 0; }
.auth-aside strong { display: block; font-size: 14px; color: #fff; margin-bottom: 4px; }
.auth-aside li span { display: block; font-size: 12px; color: #b9c7bd; line-height: 1.75; }
.auth-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 11.5px; color: #b9c7bd; line-height: 1.8; }
.auth-note p:last-child { margin-bottom: 0; }
.auth-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 会员中心 ---------- */
.member-hero { background: linear-gradient(120deg, #f3ede1, #faf7f0 60%, #efe7d8); border-bottom: 1px solid var(--line); padding: 36px 0 30px; }
.member-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.member-identity { display: flex; align-items: center; gap: 18px; }
.member-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 27px; flex: none;
  box-shadow: 0 10px 24px rgba(31, 58, 46, .18);
}
.member-identity h1 { font-family: var(--serif); font-size: 32px; margin: 2px 0 4px; }
.member-identity p { margin: 0; color: var(--muted); font-size: 12.5px; }
.member-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.member-hero-actions form { margin: 0; }
.member-page { padding: 30px 0 80px; }
.member-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member-stat { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: border-color .18s ease, transform .18s ease; }
a.member-stat:hover { border-color: var(--green-2); transform: translateY(-2px); }
.member-stat > span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.member-stat strong { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--green); margin: 6px 0 2px; }
.member-stat strong.clay { color: var(--clay); }
.member-stat small { display: block; font-size: 10.5px; color: var(--muted); }
.member-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; margin-top: 24px; }
.member-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.member-card-head h2 { font-family: var(--serif); font-size: 21px; }
.member-orders-card { margin-bottom: 0; }
.member-order-list { display: grid; }
.member-order-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.member-order-item:last-child { border-bottom: 0; padding-bottom: 0; }
.member-order-item:hover .member-order-no { color: var(--clay); }
.member-order-no { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.member-order-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.member-order-names { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.member-order-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.member-order-side strong { font-family: var(--serif); font-size: 18px; color: var(--clay); }
.member-empty { text-align: center; padding: 40px 20px 30px; }
.member-empty p { color: var(--muted); font-size: 13px; }
.member-links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-soft); }
.member-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.member-links a:hover { color: var(--clay); }
.member-links .count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--paper-2); color: var(--green-2); font-size: 11px; display: grid; place-items: center; }
.member-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.member-tabs a { padding: 10px 16px; font-size: 13px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.member-tabs a:hover { color: var(--ink); }
.member-tabs a.active { color: var(--green); border-color: var(--green); font-weight: 600; }
.member-order-cards { display: grid; gap: 16px; }
.member-order-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.member-order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.member-order-date { font-size: 12.5px; color: var(--muted); margin-right: 12px; }
.member-order-body { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.member-order-goods { font-size: 13.5px; line-height: 1.6; }
.member-order-amount { text-align: right; flex: none; }
.member-order-amount span { display: block; font-size: 10.5px; color: var(--muted); }
.member-order-amount strong { font-family: var(--serif); font-size: 21px; color: var(--clay); }
.member-order-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.member-order-actions form { margin: 0; }
.member-order-tip { font-size: 11px; color: var(--danger); }
.member-empty-state { margin-top: 0; }
.profile-layout { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
.profile-actions { display: flex; gap: 10px; margin-top: 18px; }
.profile-layout .order-card { margin-bottom: 20px; }
@media (max-width: 1120px) {
  .account-link .account-label { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .main-nav { gap: 18px; }
  .header-search { width: 190px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-card.a { width: 300px; height: 400px; right: 20px; }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .cart-link { margin-left: 0; }
  .mobile-nav.open { display: block; }
  .hero-grid { grid-template-columns: 1fr; padding: 54px 0 60px; gap: 30px; }
  .hero-collage { height: 420px; max-width: 560px; }
  .hero-card.a { width: 240px; height: 320px; right: 20%; top: 0; }
  .hero-card.b { width: 150px; height: 190px; left: 0; top: 60px; }
  .hero-card.c { width: 160px; height: 170px; right: 0; bottom: 0; }
  .hero-stamp { width: 100px; height: 100px; left: 18px; bottom: 26px; font-size: 13px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr; padding: 64px 0; gap: 36px; }
  .story-visual { height: 380px; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .cart-layout, .checkout-layout, .order-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .checkout-layout { gap: 10px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .topbar-meta { display: none; }
  .topbar .wrap { justify-content: center; }
  .header-inner { min-height: 68px; gap: 14px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 22px; }
  .section { padding: 54px 0; }
  .section-head { display: block; margin-bottom: 26px; }
  .section-head .link-arrow { margin-top: 14px; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 15px 12px; border-bottom: 1px solid var(--line-soft); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { padding: 18px 16px; }
  .category-letter { width: 38px; height: 38px; font-size: 18px; margin-bottom: 12px; }
  .category-card p { min-height: 0; font-size: 11.5px; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .product-name { font-size: 13.5px; }
  .product-sub { display: none; }
  .price { font-size: 17px; }
  .product-stock { display: none; }
  .quick-add { opacity: 1; transform: none; width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .product-badge { left: 8px; top: 8px; font-size: 9.5px; padding: 3px 8px; }
  .page-hero { padding: 28px 0 22px; }
  .filter-bar { padding-top: 16px; }
  .filter-right { width: 100%; justify-content: space-between; }
  .highlight-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .cta-inner { display: block; padding: 36px 0; }
  .cta-actions { margin-top: 18px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 46px 0 30px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { display: block; line-height: 2; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .buy-row { gap: 8px; }
  .buy-row .qty { height: 46px; }
  .buy-row .btn { min-height: 46px; font-size: 14px; }
  .buy-row .btn-ghost { display: none; }
  .service-list { grid-template-columns: 1fr; }
  .detail-section { margin-top: 34px; padding-top: 34px; }
  .detail-section > h2 { font-size: 25px; }
  .spec-table th { width: 110px; padding: 11px 10px; }
  .spec-table td { padding: 11px 10px; }
  .cart-item { grid-template-columns: 82px 1fr; gap: 14px; }
  .cart-item-actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-thumb { grid-row: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-card { padding: 20px; }
  .pay-card { padding: 24px 20px; }
  .pay-amount { font-size: 44px; }
  .order-hero { padding: 22px; }
  .order-hero h1 { font-size: 25px; }
  .order-card { padding: 20px; }
  .order-item { grid-template-columns: 58px 1fr auto; }
  .order-item img { width: 58px; height: 58px; }
  .order-timeline { margin-top: 4px; }
  .order-step { font-size: 10px; }
  .prose { font-size: 15px; }
  .mobile-buybar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center;
    box-shadow: 0 -10px 24px rgba(31, 44, 36, .08);
  }
  .mobile-buybar .price { font-size: 20px; }
  .mobile-buybar .btn { flex: 1; min-height: 44px; }
  body.has-buybar { padding-bottom: 78px; }
  .flash { width: calc(100% - 36px); }
}
@media (max-width: 420px) {
  .product-grid, .product-grid.cols-3 { gap: 10px; }
  .product-cat { display: none; }
  .hero-collage { height: 360px; }
  .hero-card.a { width: 210px; height: 290px; right: 16%; }
  .hero-card.b { width: 130px; height: 165px; }
  .hero-card.c { width: 140px; height: 150px; }
  .hero-stamp { width: 88px; height: 88px; font-size: 12px; }
  .pay-steps { gap: 4px; }
  .pay-step { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 980px) {
  .auth-layout, .member-layout, .profile-layout { grid-template-columns: 1fr; }
  .auth-aside { order: 2; }
  .member-stats { grid-template-columns: repeat(2, 1fr); }
  .member-layout aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .member-layout aside .order-card { margin-bottom: 0; }
}
@media (max-width: 760px) {
  .auth-page, .member-page { padding-top: 22px; padding-bottom: 56px; }
  .auth-card, .auth-aside { padding: 24px 20px; }
  .auth-card h2 { font-size: 24px; }
  .auth-aside { display: none; }
  .member-hero { padding: 26px 0 22px; }
  .member-identity { gap: 13px; }
  .member-avatar { width: 52px; height: 52px; font-size: 22px; }
  .member-identity h1 { font-size: 26px; }
  .member-stats { gap: 10px; }
  .member-stat { padding: 15px 16px; }
  .member-stat strong { font-size: 24px; }
  .member-stat small { display: none; }
  .member-layout aside { grid-template-columns: 1fr; }
  .member-order-card { padding: 16px 18px; }
  .member-order-head, .member-order-body { display: block; }
  .member-order-head .status-pill { margin-top: 8px; }
  .member-order-date { display: block; margin: 0 0 3px; }
  .member-order-body { padding: 12px 0; }
  .member-order-amount { text-align: left; margin-top: 8px; }
  .member-order-actions { justify-content: flex-start; }
  .member-order-actions .btn { flex: 1; min-width: 110px; }
  .member-order-actions form { flex: 1; }
  .member-order-actions form .btn { width: 100%; }
  .member-order-item { gap: 10px; }
  .member-tabs { gap: 0; overflow-x: auto; flex-wrap: nowrap; }
  .member-tabs a { padding: 9px 13px; white-space: nowrap; }
}
