:root {
  --ink: #171714;
  --muted: #77736d;
  --line: #d8d3cc;
  --paper: #f7f5f1;
  --warm: #ece6dc;
  --white: #fff;
  --accent: #8d5d35;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.announcement {
  height: 32px;
  display: grid;
  place-items: center;
  background: #1d1c19;
  color: #f3f0ea;
  font-size: 11px;
  letter-spacing: .18em;
}

.site-header {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  background: rgba(247,245,241,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; width: max-content; }
.brand-en { font-family: Georgia, "Times New Roman", serif; letter-spacing: .16em; font-size: 20px; }
.brand-cn { font-family: "Songti SC", SimSun, serif; font-size: 14px; letter-spacing: .25em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 12px; letter-spacing: .1em; }
.main-nav a { padding: 29px 0 25px; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-color: var(--ink); }
.nav-menu { position: relative; }
.nav-submenu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 30;
  min-width: 156px;
  padding: 7px 16px;
  background: #fbfaf8;
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: .2s ease;
}
.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-submenu a { display: block; padding: 11px 0; white-space: nowrap; border-bottom: 1px solid var(--line); }
.nav-submenu a:last-child { border-bottom: 0; }
.cart-trigger {
  justify-self: end;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .08em;
}
.cart-trigger span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 10px;
}

.product-shell {
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(380px, .72fr);
  background: var(--white);
}
.media-column {
  min-width: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: #eee9e1;
}
.thumb-rail { display: flex; flex-direction: column; gap: 10px; }
.thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  background: #f8f6f2;
  cursor: pointer;
  overflow: hidden;
}
.thumb.active { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #faf9f6; }
.hero-media { margin: 0; min-width: 0; min-height: 720px; position: relative; overflow: hidden; isolation: isolate; background: #e5ddd1; }
.hero-background { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-product {
  position: absolute;
  inset: 1% 5% 0;
  z-index: 1;
  width: 90%;
  height: 99%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 18px rgba(55, 39, 24, .16));
}
.hero-media figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(18,17,15,.72);
  font-size: 10px;
  letter-spacing: .14em;
}

.buy-panel {
  padding: 34px 42px 26px;
  background: #fbfaf8;
  overflow: auto;
}
.eyebrow { display: flex; align-items: flex-start; justify-content: space-between; color: #5e5a54; }
.eyebrow span:first-child { font-family: Georgia, serif; font-size: 17px; letter-spacing: .02em; }
.eyebrow span:last-child { font-family: "Songti SC", SimSun, serif; font-size: 14px; }
.buy-panel h1 {
  margin: 14px 0 5px;
  font-family: "Songti SC", SimSun, serif;
  font-weight: 400;
  font-size: clamp(29px, 2.6vw, 42px);
  letter-spacing: .06em;
}
.model-line { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.intro { margin: 18px 0 24px; color: #66625c; line-height: 1.8; font-size: 12px; }
.selector-block { border-top: 1px solid var(--line); padding-top: 18px; }
.selector-title { display: flex; align-items: baseline; justify-content: space-between; font-size: 11px; margin-bottom: 11px; }
.selector-title strong { font-weight: 500; color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.swatch { padding: 0; border: 1px solid transparent; background: transparent; cursor: pointer; text-align: left; }
.swatch.is-selected { border-color: var(--ink); padding: 3px; }
.swatch-color { display: block; width: 100%; aspect-ratio: 1.1; border: 1px solid rgba(0,0,0,.08); }
.swatch-color.natural { background: #ae7748; }
.swatch-color.weathered { background: #9a9184; }
.swatch-color.walnut { background: #685044; }
.swatch-color.black { background: #262524; }
.swatch small { display: block; margin: 5px 2px 1px; font-size: 9px; color: #625e58; }
.variant-label { display: block; margin: 20px 0 8px; font-size: 11px; }
.select-wrap { position: relative; }
.select-wrap::after { content: "⌄"; position: absolute; right: 14px; top: 11px; pointer-events: none; }
select {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 13px;
  appearance: none;
  border: 1px solid #aaa59e;
  border-radius: 0;
  color: var(--ink);
  background: #fbfaf8;
  font-size: 12px;
}
.price-row { display: flex; align-items: flex-end; justify-content: space-between; margin: 22px 0 14px; }
.price { font-family: Georgia, serif; font-size: 28px; }
.price-unit { font-size: 11px; color: var(--muted); }
.price-row p { margin: 0 0 4px; color: var(--muted); font-size: 10px; }
.price-row p strong { color: var(--ink); font-weight: 500; }
.purchase-row { display: grid; grid-template-columns: 98px 1fr; gap: 6px; }
.quantity { height: 46px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border: 1px solid var(--ink); background: var(--white); }
.quantity button { height: 100%; border: 0; background: transparent; cursor: pointer; }
.quantity span { text-align: center; font-size: 12px; }
.add-button { height: 46px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; letter-spacing: .12em; font-size: 12px; }
.add-button:hover { background: #3a3833; }
.dispatch { margin: 14px 0 22px; font-size: 10px; color: #625e58; }
.service-list { border-top: 1px solid var(--line); }
.service-list details { border-bottom: 1px solid var(--line); }
.service-list summary { display: flex; justify-content: space-between; padding: 16px 0; cursor: pointer; list-style: none; font-size: 11px; }
.service-list summary::-webkit-details-marker { display: none; }
.service-list summary::after { content: "+"; font-size: 15px; font-weight: 300; }
.service-list details[open] summary::after { content: "−"; }
.service-list p { margin: -5px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.recommended { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; margin-top: 22px; }
.recommended img { width: 72px; height: 58px; object-fit: contain; background: #fff; }
.recommended span, .recommended small { display: block; color: var(--muted); font-size: 9px; }
.recommended strong { display: block; margin: 4px 0; font-family: "Songti SC", SimSun, serif; font-size: 12px; font-weight: 400; }
.recommended a { border-bottom: 1px solid var(--ink); font-size: 10px; padding-bottom: 2px; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f2efe9; }
.trust-strip div { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { font-family: Georgia, "Songti SC", serif; font-weight: 400; font-size: 19px; }
.trust-strip span { margin-top: 7px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }

.collection { padding: 86px 5vw 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.section-heading > div > span, .guide-copy > span { color: var(--muted); font: 10px/1 Georgia, serif; letter-spacing: .18em; }
.section-heading h2, .guide h2 { margin: 10px 0 0; font: 400 clamp(30px, 4vw, 52px)/1.1 "Songti SC", SimSun, serif; letter-spacing: .05em; }
.filter-tabs { display: flex; gap: 8px; }
.filter-tabs button { border: 1px solid #b9b4ad; background: transparent; padding: 8px 16px; cursor: pointer; font-size: 10px; }
.filter-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 16px; }
.product-card { min-width: 0; cursor: pointer; }
.product-card[hidden] { display: none; }
.product-card-image { position: relative; aspect-ratio: 1.2; overflow: hidden; background: #e8e2d9; }
.product-card-image img { width: 100%; height: 100%; padding: 10px; object-fit: contain; display: block; mix-blend-mode: multiply; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card-image .tone { position: absolute; right: 12px; bottom: 12px; width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.product-meta { display: grid; grid-template-columns: 1fr auto; gap: 5px 16px; padding-top: 13px; border-top: 1px solid var(--ink); }
.product-meta h3 { margin: 0; font-family: "Songti SC", SimSun, serif; font-weight: 400; font-size: 15px; }
.product-meta strong { font-family: Georgia, serif; font-weight: 400; font-size: 14px; }
.product-meta p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }

.scene-preview { padding: 90px 5vw 100px; background: #ebe6de; }
.scene-preview-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.scene-preview-heading > span { color: var(--muted); font: 10px/1 Georgia, serif; letter-spacing: .18em; }
.scene-preview-heading h2 { margin: 12px 0 14px; font: 400 clamp(32px, 4vw, 54px)/1.1 "Songti SC", SimSun, serif; letter-spacing: .05em; }
.scene-preview-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.scene-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.scene-preview-card { position: relative; min-height: 460px; overflow: hidden; background: #d9d1c6; }
.scene-preview-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease; }
.scene-preview-card:hover img { transform: scale(1.025); }
.scene-preview-card > div { position: absolute; inset: auto 0 0; padding: 26px 28px; color: #fff; background: rgba(21, 19, 16, .72); }
.scene-preview-card span { font: 9px/1 Georgia, serif; letter-spacing: .2em; }
.scene-preview-card h3 { margin: 7px 0 5px; font: 400 25px/1.2 "Songti SC", SimSun, serif; }
.scene-preview-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 10px; }
.scene-all-link { display: block; width: max-content; margin: 34px auto 0; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 11px; letter-spacing: .12em; }

.guide { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; padding: 90px 7vw; background: #dfd8ce; }
.guide-copy p { max-width: 460px; color: #676159; line-height: 1.9; font-size: 12px; }
.guide ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid #9f988d; }
.guide li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #9f988d; }
.guide li b { font: 400 20px/1 Georgia, serif; }
.guide li span { color: #5e5953; font-size: 11px; line-height: 1.7; }
.guide li strong { display: block; margin-bottom: 5px; color: var(--ink); font-family: "Songti SC", SimSun, serif; font-size: 16px; font-weight: 400; }

footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; padding: 54px 5vw; background: #1d1c19; color: #eeebe5; }
footer p { color: #aaa59e; font-size: 10px; line-height: 1.8; }
footer strong { font-size: 11px; font-weight: 500; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-size: 10px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 49; background: rgba(0,0,0,.35); }
.cart-drawer { position: fixed; z-index: 50; top: 0; right: 0; width: min(430px, 94vw); height: 100%; padding: 26px; background: #fbfaf8; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font: 400 25px/1 "Songti SC", SimSun, serif; }
.cart-head button { border: 0; background: none; font-size: 28px; cursor: pointer; }
.cart-items { flex: 1; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 58px; height: 58px; object-fit: cover; }
.cart-item strong, .cart-item span, .cart-item small { display: block; }
.cart-item strong { font-size: 12px; font-weight: 500; }
.cart-item span, .cart-item small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.cart-item button { align-self: start; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 11px; }
.cart-empty { margin: auto; color: var(--muted); font-family: "Songti SC", SimSun, serif; }
.cart-foot { border-top: 1px solid var(--line); padding-top: 18px; }
.cart-foot > div { display: flex; justify-content: space-between; margin-bottom: 14px; }
.cart-foot > div span { font-size: 11px; }
.cart-foot > div strong { font: 400 20px/1 Georgia, serif; }
.cart-foot > button { width: 100%; height: 46px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.cart-foot small { display: block; margin-top: 10px; color: var(--muted); line-height: 1.6; font-size: 9px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; padding: 11px 18px; background: var(--ink); color: #fff; font-size: 11px; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.payment-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.payment-modal.open { opacity: 1; visibility: visible; }
.payment-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(20, 19, 17, .62); cursor: default; }
.payment-dialog { position: relative; width: min(720px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fbfaf8; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.payment-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 28px 32px 22px; border-bottom: 1px solid var(--line); }
.payment-head span { color: var(--muted); font: 9px/1 Georgia, serif; letter-spacing: .2em; }
.payment-head h2 { margin: 7px 0 0; font: 400 27px/1.2 "Songti SC", SimSun, serif; }
.payment-head > button { border: 0; background: transparent; font-size: 29px; line-height: 1; cursor: pointer; }
.payment-body { display: grid; grid-template-columns: .86fr 1.14fr; }
.checkout-summary { padding: 28px 26px; border-right: 1px solid var(--line); background: #f1eee8; }
.checkout-summary > span, .customer-fields legend, .payment-methods legend { display: block; margin-bottom: 16px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
#checkoutItems { display: grid; gap: 12px; }
.checkout-line { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding-bottom: 12px; border-bottom: 1px solid #d2ccc3; }
.checkout-line strong { font-size: 11px; font-weight: 500; }
.checkout-line span, .checkout-line small { color: var(--muted); font-size: 9px; }
.checkout-line small { grid-column: 1 / -1; }
.checkout-summary > p { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 0; }
.checkout-summary > p span { font-size: 11px; }
.checkout-summary > p strong { font: 400 24px/1 Georgia, serif; }
#paymentForm { padding: 28px 30px 30px; }
.customer-fields, .payment-methods { margin: 0; padding: 0; border: 0; }
.customer-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.customer-fields legend, .payment-methods legend { grid-column: 1 / -1; width: 100%; }
.customer-fields label { display: grid; gap: 7px; color: #514d47; font-size: 10px; }
.customer-fields .full-field { grid-column: 1 / -1; }
.customer-fields input { width: 100%; height: 40px; box-sizing: border-box; padding: 0 11px; border: 1px solid #bcb6ad; border-radius: 0; background: #fff; color: var(--ink); outline: 0; }
.customer-fields input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.payment-methods { display: grid; gap: 8px; margin-top: 24px; }
.payment-method { display: grid; grid-template-columns: auto 36px 1fr auto; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid #c8c2ba; cursor: pointer; }
.payment-method.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.payment-method input { margin: 0; accent-color: #222; }
.payment-method > span:nth-of-type(2) { min-width: 0; }
.payment-method strong, .payment-method small { display: block; }
.payment-method strong { font-size: 11px; font-weight: 500; }
.payment-method small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.payment-method em { color: var(--muted); font-size: 9px; font-style: normal; }
.payment-method em.ready { color: #257a46; }
.payment-method em.unavailable { color: #95664b; }
.pay-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #fff; font-size: 16px; font-weight: 600; }
.wechat-mark { background: #16a45b; }
.payment-notice { min-height: 34px; margin: 17px 0 12px; padding: 10px 12px; box-sizing: border-box; color: #6a635b; background: #eeeae3; font-size: 9px; line-height: 1.55; }
.payment-notice.error { color: #8f3f31; background: #f3e5e1; }
.pay-submit { width: 100%; height: 46px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; font-size: 12px; letter-spacing: .12em; }
.pay-submit:disabled { border-color: #aaa49a; background: #aaa49a; cursor: wait; }
.payment-legal { display: block; margin-top: 9px; color: var(--muted); font-size: 8px; line-height: 1.6; }
.wechat-qr-view { padding: 38px 32px 42px; text-align: center; }
.wechat-qr-view[hidden] { display: none; }
.wechat-qr-view h3 { margin: 17px 0 8px; font: 400 24px/1.2 "Songti SC", SimSun, serif; }
.wechat-qr-view > p { margin: 0; color: var(--muted); font-size: 10px; }
.wechat-qr-view > p strong { color: var(--ink); font: 400 14px/1 Georgia, serif; }
.qr-frame { width: 238px; height: 238px; margin: 22px auto 13px; padding: 10px; box-sizing: border-box; border: 1px solid var(--line); background: #fff; }
.qr-frame img { width: 100%; height: 100%; display: block; }
.wechat-qr-view .qr-status { color: #257a46; }
#backToPayment { margin-top: 20px; padding: 9px 18px; border: 1px solid #aaa49a; background: transparent; cursor: pointer; font-size: 10px; }

@media (max-width: 1080px) {
  .product-shell { grid-template-columns: 1.45fr minmax(350px, .8fr); }
  .buy-panel { padding: 28px; }
  .hero-media { min-height: 660px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .announcement { font-size: 9px; letter-spacing: .1em; }
  .site-header { height: 64px; grid-template-columns: 1fr auto; padding: 0 18px; }
  .main-nav { display: none; }
  .product-shell { display: block; }
  .media-column { grid-template-columns: 1fr; padding: 0; }
  .thumb-rail { order: 2; flex-direction: row; padding: 8px 12px 12px; }
  .thumb { width: 58px; }
  .hero-media { min-height: 0; aspect-ratio: 1.18; }
  .hero-product { inset: 0 3%; width: 94%; height: 100%; }
  .hero-media figcaption { left: 12px; bottom: 12px; }
  .buy-panel { padding: 30px 20px 38px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .collection { padding: 62px 18px 72px; }
  .section-heading { display: block; }
  .filter-tabs { margin-top: 24px; overflow-x: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .scene-preview { padding: 64px 16px 72px; }
  .scene-preview-grid { grid-template-columns: 1fr; }
  .scene-preview-card { min-height: 340px; }
  .guide { grid-template-columns: 1fr; gap: 44px; padding: 68px 22px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .payment-dialog { max-height: calc(100vh - 24px); }
  .payment-body { grid-template-columns: 1fr; }
  .checkout-summary { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 480px) {
  .brand-en { font-size: 17px; }
  .swatches { gap: 5px; }
  .purchase-row { grid-template-columns: 90px 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-meta { display: block; }
  .product-meta strong, .product-meta p { margin-top: 6px; }
  .payment-modal { padding: 8px; }
  .payment-head, #paymentForm, .checkout-summary { padding-left: 18px; padding-right: 18px; }
  .customer-fields { grid-template-columns: 1fr; }
  .customer-fields .full-field { grid-column: 1; }
  .payment-method { grid-template-columns: auto 34px 1fr; }
  .payment-method em { grid-column: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
