:root {
  --bg: #fbf9f6; --surface: #fff; --ink: #1d1b18; --muted: #6e675d; --line: #e8e2d8;
  --accent: #1d1b18; --soft: #f1ebe2; --warn: #fff4c2; --warn-ink: #6b5400;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

/* 占位提示 */
.preview-bar { background: var(--warn); color: var(--warn-ink); text-align: center; font-size: 13px; padding: 6px 16px; }
.ph-mark { display: inline-block; font-size: 10px; font-weight: 700; padding: 0 5px; border: 1px dashed currentColor; border-radius: 4px; opacity: .75; vertical-align: middle; }
.ph-block { background: var(--warn); color: var(--warn-ink); border: 1px dashed #c9a800; border-radius: 6px; padding: 8px 12px; font-size: 14px; }

/* 页头 */
.promo { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 8px 16px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 800; letter-spacing: .12em; text-decoration: none; font-size: 18px; }
.site-header nav { display: flex; gap: 20px; flex: 1; }
.site-header nav a, .cart-link { text-decoration: none; font-size: 15px; }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

/* 首页 */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px 0; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 16px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; border: 0; padding: 14px 28px; border-radius: 999px; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-ghost { display: inline-block; padding: 13px 26px; border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; margin-left: 8px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row div { font-size: 14px; color: var(--muted); }
.trust-row b { display: block; color: var(--ink); font-size: 15px; }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: 28px; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; text-decoration: none; }
.cat span { position: absolute; left: 14px; bottom: 12px; background: var(--surface); padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--soft); border-radius: 16px; padding: 40px; }
.story h2 { font-size: 30px; margin: 0 0 12px; }
.reviews-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* 产品卡片 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { text-decoration: none; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-body { padding: 12px 14px 16px; }
.card-name { font-weight: 600; }
.card-tag, .card-colours { font-size: 13.5px; color: var(--muted); }
.card-price { margin-top: 6px; font-weight: 600; }

/* 列表页 */
.page-head { padding: 40px 0 16px; }
.page-head h1 { margin: 0 0 12px; font-size: 36px; }
#filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 详情页 */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 32px 0 56px; }
.pdp-gallery > img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.crumb { font-size: 14px; color: var(--muted); text-decoration: none; }
.pdp-info h1 { font-size: 34px; margin: 8px 0 10px; }
.rating { margin-bottom: 12px; }
.pdp-price { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.afterpay { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.lead { color: var(--muted); }
.opt { margin: 20px 0; }
.opt-label { font-size: 14px; margin-bottom: 8px; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch, .size { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 14px; cursor: pointer; color: var(--ink); }
.size { min-width: 52px; }
.swatch.active, .size.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fit-note { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
#add { width: 100%; }
.add-msg { min-height: 24px; font-size: 14px; margin-top: 8px; }
.assurances { list-style: none; padding: 16px 0; margin: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.assurances li::before { content: "✓  "; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }

/* 文字页面 */
.prose { max-width: 760px; padding: 40px 0 64px; }
.prose h1 { font-size: 38px; }
.prose h2 { margin-top: 36px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--surface); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: center; }
.prose th { background: var(--soft); }
.table-scroll { overflow-x: auto; }

/* 购物车 */
.cart-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row img { border-radius: 8px; }
button.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.cart-total { max-width: 360px; margin-left: auto; padding-top: 20px; }
.cart-total > div { display: flex; justify-content: space-between; padding: 4px 0; }
.cart-total .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 18px; }
.cart-total .btn-primary { width: 100%; margin: 16px 0 12px; }

/* 页脚 */
.site-footer { background: var(--soft); margin-top: 40px; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 24px; }
.site-footer h4 { margin: 0 0 10px; }
.site-footer a { display: block; text-decoration: none; color: var(--muted); padding: 2px 0; }
.signup { display: flex; gap: 8px; }
.signup input { flex: 1; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.signup button { background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 0 16px; }
.legal { color: var(--muted); margin-top: 32px; font-size: 12.5px; }

@media (max-width: 860px) {
  .hero, .story, .pdp { grid-template-columns: 1fr; gap: 24px; }
  .grid, .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-row, .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-ph { grid-template-columns: 1fr; }
  .story { padding: 24px; }
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 8px 16px; }
  .site-header nav { order: 3; flex-basis: 100%; gap: 16px; font-size: 14px; }
  .cart-link { margin-left: auto; }
  .btn-ghost { margin: 10px 0 0; }
}
.pdp > *, .hero > *, .story > *, .grid > *, .cats > * { min-width: 0; }

/* 简洁版 */
#filters { padding: 28px 0 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.site-header .wrap { justify-content: space-between; }
.head-link { text-decoration: none; font-size: 15px; }
.card-brand { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.thumbs img { cursor: pointer; }
#buy { width: 100%; margin-top: 8px; }
.buy-msg { min-height: 24px; font-size: 14px; margin: 10px 0; }
.small { font-size: 14px; color: var(--muted); }
.site-footer { font-size: 14px; color: var(--muted); }
.site-footer a { display: inline; }
#filters { display: block; }
.chip { font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
