/* ==========================================================================
   LECENS — Design System
   Palette derived from the brand mark (#585858 neutral) + warm paper tones.
   ========================================================================== */

:root {
  --ink: #1e1c19;
  --ink-2: #3a3733;
  --muted: #746e65;
  --line: #e4ded4;
  --line-soft: #efeae2;
  --paper: #fcfaf6;
  --sand: #f2ede4;
  --sand-deep: #e8e0d3;
  --brand: #585858;
  --clay: #8c6a4e;
  --white: #ffffff;
  --ok: #3f6b4f;
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(30, 28, 25, .06);
  --shadow-md: 0 18px 50px -24px rgba(30, 28, 25, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4 {
  font-family: Fraunces, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.06;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1320px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 3rem); margin-inline: auto; }

.eyebrow {
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-bottom: 1.1rem;
}

.lede { font-size: 1.0625rem; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: .8125rem; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 2rem;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-size: .6875rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--clay); border-color: var(--clay); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-underline {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: opacity .3s var(--ease);
}
.link-underline:hover { opacity: .55; }

/* ---------- Announcement + header ---------------------------------------- */
.announce {
  background: var(--ink);
  color: #efece6;
  text-align: center;
  font-size: .71875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .65rem 2.4rem .65rem 1rem;
  position: relative;
}
.announce b { font-weight: 600; color: #fff; }
.announce__close {
  position: absolute; right: .85rem; top: 50%; transform: translateY(-50%);
  color: #cfc9c0; font-size: 1rem; line-height: 1; padding: .2rem .3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 250, 246, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
/* 页头三段式：品牌靠左、导航靠右、工具区最后。
   早期版本把 logo 绝对居中、导航挤在左边，结果阅读顺序是「类目 → logo → 图标」，
   视线要先穿过一排小字才看到品牌，落地页第一屏的主视觉被割裂。
   改成 logo 左对齐后，品牌成为视线起点，导航与购物袋收在右侧形成「工具区」，
   这也是 Aesop / Schoolhouse / West Elm 这类家居站的标准排布。 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
}
.brand img { width: 48px; height: 48px; }
/* 页头只留图标：标记内部本身已含 LECENS 字样，再放文字标就是重复两次，
   而且 40px 下圈内小字根本读不出来。48px 是这枚标记能被认出的最小尺寸，
   再小就只剩一团灰。 */

.nav-main { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-main a {
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.nav-main a:hover { border-color: var(--ink); color: var(--ink); }

/* 导航与工具区要一起靠右：导航吃满剩余空间（margin-left:auto），
   工具区用固定间距紧跟其后，中间不会出现两块平分空白的情况。
   checkout / 404 / success 这些没有导航的页面则靠工具区自己 margin-left:auto 顶到右边。 */
.nav-main + .header-actions { margin-left: 2.75rem; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1.15rem; margin-left: auto; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .3s var(--ease);
}
.icon-btn:hover { color: var(--clay); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.cart-count {
  position: absolute; top: -7px; right: -10px;
  background: var(--clay); color: #fff;
  font-size: .625rem; font-weight: 600;
  width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center;
  letter-spacing: 0;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.is-on { transform: scale(1); }
.burger { display: none; }

/* ---------- Hero --------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; min-height: min(76vh, 720px); background: var(--sand); }
.hero__media { position: relative; overflow: hidden; isolation: isolate; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 火焰动画：原火焰先压暗（hero-fire-dim.png 与原图同比例，cover 后逐像素对齐），
   再叠 canvas 重建的动态火焰。JS 未启用时两层都不出现，页面就是原图。 */
.hero__dim,
.hero__fire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__dim {
  background: url("../img/hero-fire-dim.png") center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__fire {
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .28s ease;
}
.hero__media.is-lit .hero__dim { opacity: 1; }
.hero__media.is-lit .hero__fire { opacity: 1; }
.hero__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 5vw, 5.5rem);
}
.hero__body h1 { margin-bottom: 1.4rem; }
.hero__body p { color: var(--ink-2); font-size: 1.0625rem; max-width: 38ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__note { margin-top: 2.4rem; display: flex; align-items: center; gap: .6rem; font-size: .8125rem; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }

/* ---------- Value strip -------------------------------------------------- */
.values { border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { padding: 2.15rem 1.6rem; border-left: 1px solid var(--line-soft); }
.value:first-child { border-left: 0; padding-left: 0; }
.value h4 { font-family: Inter, sans-serif; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: .45rem; }
.value p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ETL 认证徽标：印章式圆标 + 两行小字。
   注意这是自绘的「事实徽章」，不是 Intertek 的官方 ETL 商标图形 ——
   ATM 规定官方标志用于广告须先取得 Intertek 书面同意；
   拿到授权后把 svg 换成工厂提供的官方 mark 文件即可。 */
.etl-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: .5rem .8rem .5rem .55rem;
  margin-top: 1.05rem;
}
.etl-badge svg { width: 38px; height: 38px; color: var(--ink); flex: 0 0 auto; }
.etl-badge b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.etl-badge em { display: block; font-style: normal; font-size: .65rem; letter-spacing: .06em; color: var(--muted); margin-top: .1rem; }

/* ---------- Section chrome ----------------------------------------------- */
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #f4f0e9; }
.section--ink .eyebrow, .section--ink .muted { color: #a9a29a; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.section-head p { margin: .9rem 0 0; color: var(--muted); max-width: 46ch; }
.section--ink .section-head p { color: #a9a29a; }

/* ---------- Category tiles ----------------------------------------------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cat {
  position: relative; display: block; overflow: hidden;
  background: var(--sand-deep); aspect-ratio: 3 / 4;
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat:hover img { transform: scale(1.045); }
.cat__label {
  position: absolute; inset: auto 0 0 0;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(to top, rgba(20, 18, 16, .62), rgba(20, 18, 16, 0));
  color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem;
}
.cat__label strong { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 1.2rem; letter-spacing: -.01em; }
.cat__label em { font-style: normal; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* ---------- Product grid ------------------------------------------------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.1rem 1.15rem; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; margin-bottom: 1rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s var(--ease); }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img:first-child { transform: scale(1.03); }
.card:hover .card__media img + img { opacity: 1; }
.card__tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--paper); color: var(--ink);
  font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: .38rem .6rem;
}
.card__tag--sale { background: var(--clay); color: #fff; }
.card__quick {
  position: absolute; inset: auto .8rem .8rem auto; z-index: 2;
  background: rgba(252, 250, 246, .94);
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.card:hover .card__quick { opacity: 1; transform: none; }
.card__quick:hover { background: var(--ink); color: #fff; }
.card__quick svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.card__name { font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; margin: 0 0 .2rem; }
.card__meta { font-size: .75rem; color: var(--muted); margin: 0 0 .5rem; }
.card__price { font-size: .9375rem; display: flex; align-items: baseline; gap: .5rem; }
.card__price s { color: var(--muted); font-size: .8125rem; }
.card__ship { font-size: .75rem; color: var(--ok); margin-top: .35rem; }
.card--promo { background: var(--sand); padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.card--promo h3 { margin-bottom: .8rem; }
.card--promo p { font-size: .875rem; color: var(--ink-2); margin-bottom: 1.4rem; }

/* ---------- Editorial split ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__media { position: relative; min-height: 460px; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5vw, 5rem); }
.split__body h2 { margin-bottom: 1.2rem; }
.split__body p { color: var(--ink-2); max-width: 44ch; }

/* ---------- Steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step__num {
  font-family: Fraunces, Georgia, serif;
  font-size: 1rem; color: var(--clay); display: block;
  border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 1rem; margin-bottom: 1rem;
}
.section--ink .step__num { border-color: rgba(255, 255, 255, .22); color: #c8a483; }
.step h3 { margin-bottom: .6rem; color: inherit; }
.step p { font-size: .9375rem; color: #b8b1a8; margin: 0; }
.section--ink .step p { color: #b8b1a8; }

/* ---------- Reviews ------------------------------------------------------ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.review { background: var(--white); border: 1px solid var(--line-soft); padding: 1.8rem; }
.stars { color: var(--clay); font-size: .8125rem; letter-spacing: .12em; margin-bottom: .8rem; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: .5rem; }
.check { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.check__num { display: block; font-size: .6875rem; letter-spacing: .18em; color: var(--clay); margin-bottom: .7rem; }
.check h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.check p { font-size: .875rem; color: var(--muted); line-height: 1.65; margin: 0; }
.checks__note { margin-top: 2rem; font-size: .8125rem; color: var(--muted); max-width: 76ch; border-left: 2px solid var(--sand-deep); padding-left: 1rem; }
.review p { font-size: .9375rem; color: var(--ink-2); margin-bottom: 1rem; }
.review footer { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Newsletter --------------------------------------------------- */
.newsletter { text-align: center; }
.newsletter h2 { margin-bottom: .9rem; }
.newsletter p { color: var(--ink-2); max-width: 48ch; margin: 0 auto 1.8rem; }
.nl-form { display: flex; gap: .5rem; max-width: 480px; margin: 0 auto; }
.nl-form input {
  flex: 1; padding: 1rem 1.1rem; background: transparent;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .9375rem;
}
.nl-form input:focus { outline: none; border-color: var(--ink); }
.nl-note { font-size: .75rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cfc9c0; padding: 4.5rem 0 2rem; font-size: .875rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 48px; height: 48px; }
.footer-col h4 { font-family: Inter, sans-serif; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: #f4f0e9; margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; padding: .3rem 0; color: #b3aca3; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 1.8rem; flex-wrap: wrap; font-size: .75rem; color: #8f8880; }
.pay-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.pay-pill { border: 1px solid rgba(255, 255, 255, .18); padding: .3rem .5rem; font-size: .625rem; letter-spacing: .08em; color: #b3aca3; }

/* ---------- Cart drawer -------------------------------------------------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(20, 18, 16, .42);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); z-index: 90;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--paper); z-index: 100;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: var(--shadow-md);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line-soft); }
.drawer__head h3 { font-size: 1.05rem; }
.drawer__close { font-size: 1.35rem; line-height: 1; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.drawer__foot { border-top: 1px solid var(--line-soft); padding: 1.2rem 1.5rem 1.5rem; background: var(--paper); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 76px; height: 76px; object-fit: cover; background: var(--sand); }
.line-item h4 { font-family: Inter, sans-serif; font-size: .8125rem; font-weight: 500; margin: 0 0 .15rem; line-height: 1.35; }
.line-item .li-var { font-size: .6875rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.li-controls { margin-top: .5rem; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--muted); font-size: .875rem; }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 24px; text-align: center; font-size: .8125rem; }
.li-price { font-size: .875rem; text-align: right; }
.li-remove { font-size: .6875rem; color: var(--muted); text-decoration: underline; margin-top: .5rem; display: inline-block; }
.totals { display: flex; justify-content: space-between; font-size: .9375rem; margin-bottom: .5rem; }
.totals--grand { font-size: 1.05rem; font-weight: 600; margin: 1rem 0 1.1rem; }
.ship-note { font-size: .75rem; color: var(--ok); margin-bottom: 1rem; }
.empty-cart { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-cart p { margin-bottom: 1.5rem; }

/* ---------- Breadcrumb / PDP -------------------------------------------- */
.crumbs { font-size: .75rem; color: var(--muted); padding: 1.4rem 0 0; display: flex; gap: .5rem; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 4vw, 4.5rem); padding: 1.8rem 0 4rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr; gap: .7rem; }
.gallery__main { background: var(--sand); aspect-ratio: 1 / 1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: .6rem; }
.gallery__thumbs button { width: 78px; height: 78px; overflow: hidden; border: 1px solid transparent; padding: 0; opacity: .65; transition: opacity .3s, border-color .3s; }
.gallery__thumbs button.is-active { opacity: 1; border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { position: sticky; top: calc(var(--nav-h) + 24px); }
.pdp-info h1 { font-size: clamp(1.9rem, 2.6vw, 2.6rem); margin-bottom: .7rem; }
.pdp-price { font-size: 1.25rem; display: flex; align-items: baseline; gap: .6rem; margin-bottom: .3rem; }
.pdp-price s { font-size: 1rem; color: var(--muted); }
.payline { font-size: .8125rem; color: var(--muted); margin-bottom: 1.4rem; }
.pdp-proof { display: flex; flex-wrap: wrap; gap: .45rem .6rem; margin-bottom: 1.4rem; }
.proof__item { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; letter-spacing: .01em; color: var(--ink-2); border: 1px solid var(--line); padding: .38rem .6rem; background: #fff; }
.proof__item svg { width: 14px; height: 14px; fill: none; stroke: var(--clay); stroke-width: 1.4; stroke-linecap: round; flex: 0 0 auto; }
.swatches { display: flex; gap: .55rem; margin: .6rem 0 1.5rem; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.swatch.is-active { box-shadow: 0 0 0 1px var(--ink); }
.swatch span { position: absolute; inset: 3px; border-radius: 50%; }
.field-label { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: block; margin-bottom: .1rem; }
.pdp-actions { display: flex; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.pdp-actions .qty { height: 52px; border-color: var(--ink); }
.pdp-actions .qty button { width: 40px; height: 100%; font-size: 1rem; }
.pdp-actions .qty span { min-width: 30px; font-size: .9375rem; }
.pdp-actions .btn { flex: 1; padding: 0 1rem; }
.pdp-assure { border-top: 1px solid var(--line-soft); padding-top: 1.4rem; display: grid; gap: .9rem; }
.assure { display: flex; gap: .75rem; font-size: .875rem; color: var(--ink-2); }
.assure svg { width: 18px; height: 18px; flex: none; stroke: var(--clay); fill: none; stroke-width: 1.4; margin-top: 2px; }
.assure b { font-weight: 600; }

.acc { border-top: 1px solid var(--line-soft); margin-top: 1.6rem; }
.acc details { border-bottom: 1px solid var(--line-soft); }
.acc summary {
  cursor: pointer; list-style: none; padding: 1.05rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.1rem; color: var(--muted); font-weight: 400; }
.acc details[open] summary::after { content: "–"; }
.acc .acc__body { padding: 0 0 1.3rem; font-size: .9375rem; color: var(--ink-2); }
.acc .acc__body ul { margin: 0; padding-left: 1.1rem; }
.acc .acc__body li { margin-bottom: .35rem; }
table.spec { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.spec td { padding: .45rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.spec td:first-child { color: var(--muted); width: 42%; }

/* ---------- Shop filters ------------------------------------------------- */
.shop-head { padding: 3rem 0 1.8rem; border-bottom: 1px solid var(--line-soft); }
.shop-head h1 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); margin-bottom: .7rem; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 2rem; flex-wrap: wrap; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); padding: .5rem .95rem;
  font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 500;
  transition: all .3s var(--ease); background: transparent;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.select-sort { border: 1px solid var(--line); background: transparent; padding: .55rem 2rem .55rem .8rem; font-size: .75rem; letter-spacing: .06em; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23746e65' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; }

/* ---------- Checkout ----------------------------------------------------- */
.checkout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); padding: 2.5rem 0 5rem; align-items: start; }
.co-step { margin-bottom: 2.2rem; }
.co-step__head { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.1rem; }
.co-step__head h2 { font-size: 1.25rem; }
.co-step__head span { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: .8rem; }
.form-row--one { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: var(--white);
  padding: .85rem .9rem; font-size: .9375rem; border-radius: var(--radius);
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.opt {
  display: flex; align-items: flex-start; gap: .8rem;
  border: 1px solid var(--line); padding: 1rem; cursor: pointer; margin-bottom: .6rem;
  transition: border-color .25s, background .25s;
}
.opt:hover { border-color: var(--ink-2); }
.opt input { margin-top: .25rem; accent-color: var(--ink); }
.opt.is-active { border-color: var(--ink); background: var(--sand); }
.opt strong { display: block; font-size: .875rem; font-weight: 600; }
.opt em { font-style: normal; font-size: .8125rem; color: var(--muted); }
.opt .price { margin-left: auto; font-size: .875rem; white-space: nowrap; }
.co-summary { background: var(--sand); padding: 1.8rem; position: sticky; top: calc(var(--nav-h) + 24px); }
.co-summary h3 { font-size: 1.05rem; margin-bottom: 1.2rem; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; padding: .6rem 0; align-items: center; font-size: .8125rem; }
.co-line img { width: 56px; height: 56px; object-fit: cover; }
.co-line small { display: block; color: var(--muted); font-size: .6875rem; }
.co-totals { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.co-totals div { display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: .5rem; }
.co-totals .grand { font-size: 1.05rem; font-weight: 600; padding-top: .6rem; border-top: 1px solid var(--line); margin-top: .6rem; }
.co-trust { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 1rem; font-size: .6875rem; color: var(--muted); letter-spacing: .06em; flex-wrap: wrap; }
.co-note { font-size: .75rem; color: var(--muted); margin-top: 1rem; line-height: 1.55; }
.pay-badge { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); padding: .7rem .9rem; font-size: .75rem; color: var(--muted); background: var(--white); }

/* ---------- Static content pages ----------------------------------------- */
.page-hero { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { max-width: 20ch; }
.page-hero p { margin-top: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.prose { max-width: 760px; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: 1.6rem; }
.prose h3 { margin: 2rem 0 .7rem; }
.prose p, .prose li { color: var(--ink-2); font-size: .9688rem; }
.prose ul { padding-left: 1.1rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.5rem 0; }
.callout { background: var(--sand); padding: 1.5rem 1.7rem; border-left: 2px solid var(--clay); margin: 1.8rem 0; font-size: .9375rem; }
.callout p:last-child { margin: 0; }

/* ---------- Mobile nav --------------------------------------------------- */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  background: var(--paper);
  padding: calc(var(--nav-h) + 3.2rem) 1.5rem 2.5rem;
  transform: translateY(-102%);
  transition: transform .45s var(--ease);
  box-shadow: var(--shadow-md);
  max-height: 100dvh;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav a {
  display: block;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: -.01em;
}
.mobile-nav .mn-foot { display: flex; gap: 1.5rem; margin-top: 1.6rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.burger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* ---------- Utilities ---------------------------------------------------- */
.hr { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-main { display: none; }
  .burger { display: inline-flex; }
  /* 窄屏没有导航占位，logo 回到居中，两侧留给菜单与购物袋 */
  .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .header-inner .header-actions { margin-left: auto; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__body { padding: 2.4rem 1.5rem 2.8rem; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .value { padding: 1.4rem 1rem; }
  .value:nth-child(odd) { border-left: 0; padding-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 0; width: 100%; aspect-ratio: 4 / 3; }
  .steps, .reviews { grid-template-columns: 1fr; gap: 1.8rem; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 1.6rem .9rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .wrap { width: calc(100% - 2rem); }
  .narrow { width: calc(100% - 2rem); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .announce { font-size: .625rem; letter-spacing: .06em; }
  .card__quick { display: none; }
}

@media (max-width: 480px) {
  .cats { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .cat__label em { display: none; }
  .cat__label { padding: .9rem .8rem; }
  .cat__label strong { font-size: 1rem; }
  .cats .cat:nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
