/* =========================================================
   MAISON AURELIS — 精品循环交易平台 样式
   设计语言：quiet luxury / 编辑感 / 暖白·象牙·深炭
   ========================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  --bg--warm: #fbfaf7;
  --bg--ivory: #f4f0e8;
  --ink: #211e1a;
  --ink-soft: #6b655c;
  --line: #e4ded2;
  --line-strong: #d8d0c0;
  --accent-gold: #a08b5c;
  --accent-wine: #6e2b2b;

  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --num: "Cormorant Garamond", "Didot", serif;

  --pad-x: clamp(24px, 5vw, 72px);
  --section-y: clamp(72px, 10vw, 140px);
  --maxw: 1280px;

  --radius: 4px;
  --shadow: 0 18px 40px rgba(33, 30, 26, 0.06);
  --shadow-hover: 0 24px 54px rgba(33, 30, 26, 0.12);

  --ease: cubic-bezier(0.25, 0.1, 0, 1);
  --dur: 420ms;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg--warm);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }

.hidden { display: none !important; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300;
}
.skip-link:focus { left: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.narrow { max-width: 860px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- 排版 ---------- */
.h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4.6vw, 46px); line-height: 1.18; letter-spacing: 0.01em; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 30px); line-height: 1.25; letter-spacing: 0.01em; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-gold);
  font-family: var(--sans); font-weight: 500; display: inline-block; margin-bottom: 14px;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap;
}
.section-note { color: var(--ink-soft); max-width: 420px; font-size: 14px; }
.section-head-inline { margin: clamp(40px, 6vw, 64px) 0 22px; }
.section { padding: var(--section-y) 0; }
.section--ivory { background: var(--bg--ivory); }
.lead { font-size: 20px; color: var(--ink); font-family: var(--serif); line-height: 1.7; }
.fine-print { font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
.page-desc { color: var(--ink-soft); margin-top: 10px; max-width: 620px; }

/* ---------- 数字（Cormorant） ---------- */
.price { font-size: 18px; display: inline-flex; align-items: baseline; gap: 2px; color: var(--ink); }
.price em { font-style: normal; font-size: 0.7em; margin-right: 1px; }
.price .num { font-family: var(--num); font-size: 1.35em; font-weight: 600; letter-spacing: 0.01em; }
.price--na { color: var(--ink-soft); font-size: 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 14px; letter-spacing: 0.04em;
  font-weight: 500; border: 1px solid transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: #fbfaf7; }
.btn-ink:hover { background: var(--accent-gold); color: #fff; transform: translateY(-2px); }
.btn-ivory { background: var(--bg--ivory); color: var(--ink); }
.btn-ivory:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-gold { background: var(--accent-gold); color: #fff; }
.btn-gold:hover { background: var(--ink); transform: translateY(-2px); }
.btn-outline { background: rgba(251, 250, 247, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.block { width: 100%; }
.flex-1 { flex: 1; }
.link-btn { color: var(--ink); font-size: 13px; letter-spacing: 0.06em; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.link-btn:hover { color: var(--accent-gold); border-color: var(--accent-gold); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; position: relative; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--bg--ivory); color: var(--accent-gold); }

/* ---------- 公告栏 ---------- */
.announce {
  background: var(--ink); color: #ece7dc; font-size: 12.5px; text-align: center;
  padding: 9px 48px; position: relative; letter-spacing: 0.03em;
}
.announce-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #c9c2b4; line-height: 1; }
.announce-close:hover { color: #fff; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120; background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(33, 30, 26, 0.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 18px; color: var(--ink);
}
.brand-name { font-family: var(--serif); font-size: 17px; letter-spacing: 0.18em; color: var(--ink); white-space: nowrap; }

.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-size: 13.5px; padding: 8px 11px; border-radius: 999px; color: var(--ink); transition: color var(--dur) var(--ease); letter-spacing: 0.02em; }
.site-nav a:hover { color: var(--accent-gold); }
.site-nav .nav-sell a { color: var(--accent-wine); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--accent-wine); color: #fff; font-size: 10.5px;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--num);
}
.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); }

/* 搜索条 */
.search-bar { border-top: 1px solid var(--line); background: var(--bg--warm); }
.search-bar-inner { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 18px; }
.search-bar input {
  flex: 1; border: none; border-bottom: 1px solid var(--line-strong); background: transparent;
  padding: 10px 4px; font-size: 18px; color: var(--ink); font-family: var(--serif); transition: border-color var(--dur) var(--ease);
}
.search-bar input:focus { outline: none; border-color: var(--accent-gold); }

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg--ivory); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0.08) 0%, rgba(20,18,15,0.05) 40%, rgba(20,18,15,0.62) 100%); }
.hero-copy { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 96px); max-width: 620px; color: #fff; }
.hero-kicker { letter-spacing: 0.3em; font-size: 12.5px; text-transform: uppercase; color: #e9e2d2; margin-bottom: 18px; }
.hero-title { font-family: var(--serif); font-size: clamp(40px, 7vw, 74px); font-weight: 600; line-height: 1.08; letter-spacing: 0.02em; }
.hero-sub { margin: 22px 0 30px; font-size: 16.5px; color: #f1ecdf; max-width: 520px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 视图 / 动画 ---------- */
.view { min-height: 60vh; }
[data-reveal] { opacity: 0; }
[data-reveal].reveal { animation: fadeUp 0.5s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 风格探索 ---------- */
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.style-card { position: relative; border-radius: var(--radius); overflow: hidden; text-align: left; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.style-card:hover img { transform: scale(1.04); }
.style-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.style-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.style-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(180deg, transparent, rgba(20,18,15,0.72)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.style-info strong { font-family: var(--serif); font-size: 17px; letter-spacing: 0.04em; }
.style-info small { font-size: 12px; color: #e7e0d0; }
.style-pref { margin-top: 26px; padding: 22px; background: var(--bg--ivory); border-radius: var(--radius); }
.style-pref .cat-grid { margin-top: 18px; }

/* ---------- 编辑精选 ---------- */
.ed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ed-card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ed-card:hover img { transform: scale(1.04); }
.ed-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ed-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ed-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.ed-cat { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-gold); }
.ed-title { font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink); }
.ed-dek { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 品类 / 网格 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); display: block; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat-card:hover img { transform: scale(1.04); }
.cat-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 18px; }
.cat-body strong { font-family: var(--serif); font-size: 16px; }
.cat-body small { font-size: 12px; color: var(--ink-soft); }

/* ---------- 编辑故事横幅 ---------- */
.story-banner { background: var(--ink); color: #efe9da; }
.story-banner .eyebrow { color: var(--accent-gold); }
.story-banner .h2 { color: #fff; }
.story-flex { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-text p { margin: 18px 0 28px; color: #d8d0c0; max-width: 460px; }
.story-media { border-radius: var(--radius); overflow: hidden; }
.story-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- 商品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard { border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pcard:hover img { transform: scale(1.04); }
.pcard-media { position: relative; aspect-ratio: 1 / 1; background: var(--bg--ivory); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard-tag {
  position: absolute; top: 14px; left: 14px; background: var(--accent-wine); color: #fff; font-size: 11px;
  letter-spacing: 0.12em; padding: 4px 10px; border-radius: 999px;
}
.wish {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(251,250,247,0.9);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.wish:hover { color: var(--accent-wine); transform: scale(1.06); }
.wish.is-fav { color: var(--accent-wine); }
.wish.is-fav svg { fill: var(--accent-wine); }
.pcard-body { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px 20px; }
.pcard-brand { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-gold); }
.pcard-name { font-family: var(--serif); font-size: 16px; line-height: 1.4; min-height: 2.8em; }
.pcard-name a:hover { color: var(--accent-gold); }
.pcard-cond { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.pcard-cond.cond-new { color: var(--accent-gold); }
.pcard-cond.cond-nn { color: #4a7c59; }
.pcard-cond.cond-good { color: var(--ink-soft); }
.pcard-foot { margin-top: 10px; }

/* ---------- 流程 ---------- */
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { font-family: var(--num); font-size: 22px; color: var(--accent-gold); letter-spacing: 0.06em; }
.step h3 { font-family: var(--serif); font-size: 15px; margin: 10px 0 6px; }
.step p { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- 品质保障 ---------- */
.assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.assure { padding: 24px 22px; background: var(--bg--ivory); border-radius: var(--radius); }
.assure h3 { font-family: var(--serif); font-size: 17px; margin-bottom: 8px; }
.assure p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 页头页（列表页等） ---------- */
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.page-head { margin-bottom: clamp(28px, 4vw, 44px); }
.page-head .h1 { margin-top: 4px; }
.empty { text-align: center; color: var(--ink-soft); padding: 60px 0; }
.empty-card { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.empty-card p { color: var(--ink-soft); }

/* ---------- 商品列表布局 ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 18px 22px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.filter-toggle { width: 100%; text-align: left; font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em; padding: 12px 2px; display: flex; justify-content: space-between; align-items: center; }
.filter-toggle::after { content: "+"; font-size: 16px; color: var(--accent-gold); transition: transform var(--dur) var(--ease); }
.filter-group.open .filter-toggle::after { transform: rotate(45deg); }
.filter-body { display: none; padding: 4px 2px 12px; flex-direction: column; gap: 6px; }
.filter-group.open .filter-body { display: flex; }
.chip-line { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; cursor: pointer; color: var(--ink-soft); }
.chip-line input { accent-color: var(--accent-gold); }
.chip-line:has(input:checked) span { color: var(--ink); font-weight: 500; }
.price-range { flex-direction: row; align-items: center; gap: 8px; }
.price-range input { width: 70px; padding: 7px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 13px; }
.filters .btn { margin-top: 16px; }
.filters .link-btn { margin-top: 8px; }
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; color: var(--ink-soft); font-size: 13.5px; flex-wrap: wrap; }
.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort select { font: inherit; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); }

/* ---------- 商品详情 ---------- */
.crumb { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 26px; letter-spacing: 0.02em; }
.crumb a { color: var(--ink-soft); }
.crumb a:hover { color: var(--accent-gold); }
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pd-media { position: sticky; top: 96px; }
.pd-main { position: relative; aspect-ratio: 1/1; background: var(--bg--ivory); border-radius: var(--radius); overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-wish { top: 16px; right: 16px; width: 44px; height: 44px; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius); cursor: pointer; border: 1px solid var(--line); transition: border-color var(--dur) var(--ease); }
.pd-thumbs img.active { border-color: var(--accent-gold); }
.pd-info .h1 { margin: 6px 0 14px; }
.pd-price { display: flex; align-items: baseline; gap: 16px; margin: 6px 0 8px; }
.pd-price .price { font-size: 26px; }
.pd-original { color: var(--ink-soft); opacity: 0.7; }
.pd-original .price { font-size: 16px; opacity: 0.8; }
.age-note { display: inline-block; margin: 8px 0 4px; font-size: 12px; color: var(--accent-wine); border: 1px solid var(--accent-wine); border-radius: 999px; padding: 4px 12px; }
.pd-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); margin: 20px 0; overflow: hidden; }
.pd-meta-item { padding: 12px 16px; border-bottom: 1px solid var(--line); position: relative; }
.pd-meta-item:nth-child(odd) { border-right: 1px solid var(--line); }
.pd-meta-item:nth-last-child(-n+2) { border-bottom: none; }
.pd-meta-item span { display: block; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.08em; margin-bottom: 2px; }
.pd-meta-item b { font-weight: 500; font-size: 13.5px; }
.pd-accordions .acc { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.acc summary { cursor: pointer; padding: 13px 18px; font-family: var(--serif); font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--accent-gold); font-size: 18px; transition: transform var(--dur) var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc p { padding: 0 18px 16px; font-size: 13.5px; color: var(--ink-soft); }
.pd-actions { display: flex; gap: 12px; margin-top: 22px; }
.demo-tag { font-size: 11.5px; color: var(--accent-gold); margin-top: 14px; letter-spacing: 0.06em; }

/* ---------- 表单 ---------- */
.form { margin-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--ink); margin-bottom: 7px; letter-spacing: 0.02em; }
.field label em { color: var(--accent-wine); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; font: inherit; color: var(--ink); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(160,139,92,0.12); }
.field .invalid { border-color: var(--accent-wine); }
.upload { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 26px; text-align: center; cursor: pointer; color: var(--ink-soft); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.upload:hover { border-color: var(--accent-gold); background: var(--bg--ivory); }
.upload p span { display: block; font-size: 12px; margin-top: 4px; color: var(--ink-soft); opacity: 0.7; }
.upload-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.up-item { position: relative; border-radius: var(--radius); overflow: hidden; }
.up-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.up-item button { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; line-height: 1; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.form-success { padding: 46px 24px; text-align: center; background: var(--bg--ivory); border-radius: var(--radius); font-family: var(--serif); font-size: 17px; color: var(--ink); }

/* ---------- 购物袋 ---------- */
.cart-lines { display: flex; flex-direction: column; gap: 16px; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto auto 36px; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cart-line > img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); background: var(--bg--ivory); }
.cart-line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line-info strong { font-family: var(--serif); font-size: 15px; }
.cart-line-info small { font-size: 12px; color: var(--ink-soft); }
.cart-line-qty { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.qty-btn { width: 22px; height: 22px; border-radius: 50%; color: var(--ink); font-size: 16px; }
.qty-btn:hover { background: var(--bg--ivory); color: var(--accent-gold); }
.cart-line-qty span { min-width: 16px; text-align: center; font-family: var(--num); font-size: 16px; }
.cart-line-price { font-family: var(--num); font-size: 18px; font-weight: 600; text-align: right; }
.cart-remove:hover { color: var(--accent-wine); }
.cart-summary { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cart-sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; color: var(--ink-soft); font-size: 14px; }
.cart-sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; color: var(--ink); font-size: 17px; }
.cart-sum-row.total .price .num { color: var(--ink); }
.cart-summary .btn { margin-top: 16px; }

/* ---------- 服务 / 品牌 / 文章 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 20px; }
.service-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.service-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-card h3 { font-family: var(--serif); font-size: 18px; padding: 18px 20px 2px; }
.service-card p { font-size: 13px; color: var(--ink-soft); padding: 4px 20px 20px; }
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.brand-article .lead { margin: 26px 0 16px; }
.brand-article p { color: var(--ink-soft); margin-bottom: 16px; max-width: 700px; }
.brand-hero { border-radius: var(--radius); overflow: hidden; }
.brand-hero img { width: 100%; max-height: 440px; object-fit: cover; }
.article { padding-top: 8px; }
.art-dek { font-family: var(--serif); font-size: 19px; color: var(--ink-soft); margin: 16px 0 30px; }
.art-body p { color: var(--ink-soft); margin-bottom: 22px; max-width: 660px; }
.art-fig { margin: 26px 0; border-radius: var(--radius); overflow: hidden; }
.art-fig img { width: 100%; max-height: 460px; object-fit: cover; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card h3 { font-family: var(--serif); font-size: 14px; color: var(--accent-gold); margin-bottom: 6px; letter-spacing: 0.04em; }
.contact-card p { font-size: 13.5px; }
.legal-body p { color: var(--ink-soft); margin-bottom: 16px; max-width: 680px; }

/* ---------- 抽屉 / 侧边购物袋 ---------- */
.drawer-mask, .sheet-mask { position: fixed; inset: 0; background: rgba(20,18,15,0.4); z-index: 200; opacity: 0; transition: opacity var(--dur) var(--ease); }
.drawer-mask:not([hidden]), .sheet-mask:not([hidden]) { opacity: 1; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 84vw); background: var(--bg--warm); z-index: 210;
  transform: translateX(-100%); transition: transform var(--dur) var(--ease); box-shadow: var(--shadow-hover);
}
.drawer:not([hidden]) { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 10px 0 30px; }
.drawer-nav li { border-bottom: 1px solid var(--line); }
.drawer-nav a { display: block; padding: 15px 24px; font-size: 15px; transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.drawer-nav a:hover { color: var(--accent-gold); padding-left: 30px; }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: var(--bg--warm); z-index: 210;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--dur) var(--ease); box-shadow: var(--shadow-hover);
}
.sheet:not([hidden]) { transform: translateX(0); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--serif); font-size: 19px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.sheet-empty { text-align: center; color: var(--ink-soft); padding: 50px 0; }
.sheet-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet-line img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); background: var(--bg--ivory); }
.sheet-line-info { display: flex; flex-direction: column; gap: 2px; }
.sheet-line-info strong { font-family: var(--serif); font-size: 14px; }
.sheet-line-info small { font-size: 12px; color: var(--ink-soft); }
.sheet-line-foot { display: flex; align-items: baseline; gap: 8px; }
.sheet-line-foot span { color: var(--ink-soft); font-size: 13px; }
.sheet-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px); background: var(--ink); color: #f6f1e4;
  padding: 12px 24px; border-radius: 999px; font-size: 13.5px; z-index: 400; opacity: 0; pointer-events: none;
  box-shadow: var(--shadow-hover); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); max-width: 86vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #cfc7b6; font-size: 13px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 40px; }
.footer-brand-name { color: #fff; font-family: var(--serif); font-size: 19px; letter-spacing: 0.18em; }
.footer-tag { margin: 14px 0 8px; color: #b6ad9a; font-size: 13px; }
.footer-note { color: #8d8574; font-size: 12.5px; max-width: 260px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 12.5px; letter-spacing: 0.12em; margin-bottom: 14px; font-weight: 600; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #cfc7b6; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0 30px; font-size: 12px; color: #8d8574; line-height: 1.9; }
.footer-bottom strong { color: #b6ad9a; font-weight: 500; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .assure-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .story-flex { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .style-grid, .ed-grid, .cat-grid, .step-grid, .assure-grid, .service-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr auto; }
  .cart-line > img { width: 64px; height: 64px; }
  .cart-line-qty { grid-column: 2; }
  .cart-line-price { grid-column: 3; }
  .cart-remove { grid-column: 3; justify-self: end; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .pd-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   精细化估价表单 & 闭环
   ========================================================= */
.valuation-page { padding-bottom: 40px; }
.valuation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.vform { min-width: 0; }
.vsection {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg--warm);
  padding: clamp(20px, 3vw, 32px);
  margin: 0 0 24px;
}
.vsection legend {
  display: flex; align-items: center; gap: 16px;
  padding: 0; width: 100%; margin-bottom: 20px;
}
.vstep {
  font-family: var(--serif-num); font-size: 26px; color: var(--accent-gold);
  line-height: 1; min-width: 44px;
}
.vstep-t h3 { font-family: var(--serif); font-size: 19px; margin: 0; }
.vstep-t p { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); }

.checkgrid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px;
}
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent-gold); width: 16px; height: 16px; flex: none; }
.check.agree { margin: 18px 0; line-height: 1.7; color: var(--ink-soft); }
.check.agree strong { color: var(--ink); font-weight: 600; }
.vsubmit { margin-top: 6px; }

/* 右侧栏 */
.valuation-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.estimate-card {
  border: 1px solid var(--line); border-radius: 4px; background: var(--bg--ivory);
  padding: 26px 24px;
}
.estimate-card h3 { font-family: var(--serif); font-size: 17px; margin: 8px 0 14px; }
.estimate-range {
  font-family: var(--serif-num); font-size: 30px; color: var(--ink); line-height: 1.1;
  letter-spacing: .01em;
}
.estimate-meta { font-size: 12.5px; color: var(--ink-soft); margin: 8px 0 16px; }
.estimate-notes { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.estimate-notes li {
  position: relative; padding-left: 16px; font-size: 12.5px; color: var(--ink-soft);
  line-height: 1.6; margin-bottom: 8px;
}
.estimate-notes li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-gold); }
.side-block { border: 1px solid var(--line); border-radius: 4px; background: var(--bg--warm); padding: 22px 24px; }
.side-block h4 { font-family: var(--serif); font-size: 15px; margin: 0 0 14px; }
.side-steps { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-soft); line-height: 2; }
.side-contact p { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.7; }

/* Telegram 按钮 */
.btn-telegram {
  background: var(--ink); color: #f4f0e8;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-telegram:hover { background: var(--accent-gold); }
.btn.block { display: flex; width: 100%; }
.form-msg { font-size: 13.5px; margin: 14px 0 0; display: none; }
.form-msg.error { display: block; color: var(--accent-wine); }

/* 上传区微调（沿用既有 .upload） */
#uploadZone p span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 4px; font-weight: 400; }

/* =========================================================
   提交成功闭环
   ========================================================= */
.done-card {
  max-width: 720px; margin: 8px auto 0; text-align: center;
  border: 1px solid var(--line); border-radius: 4px; background: var(--bg--warm);
  padding: clamp(32px, 6vw, 60px);
  box-shadow: 0 18px 40px rgba(33, 30, 26, .06);
}
.done-check {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg--ivory); color: var(--accent-gold);
}
.done-lead { color: var(--ink-soft); font-size: 15px; line-height: 1.8; margin: 14px 0 28px; }
.done-ref {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 22px;
}
.done-ref > div { background: var(--bg--ivory); padding: 18px 14px; }
.done-ref span { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.done-ref strong { font-family: var(--serif-num); font-size: 17px; color: var(--ink); font-weight: 500; }
.done-note { font-size: 13px; color: var(--ink-soft); line-height: 1.8; margin: 0 0 28px; }
.done-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.done-contact { font-size: 13px; color: var(--ink-soft); margin: 26px 0 0; }
.done-contact a { color: var(--ink); border-bottom: 1px solid var(--accent-gold); }

/* =========================================================
   联系页 Telegram
   ========================================================= */
.contact-telegram {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 4px; background: var(--bg--ivory);
  padding: clamp(20px, 4vw, 30px); margin-bottom: 24px;
}
.ct-telegram-ic {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--ink); color: #f4f0e8;
}
.ct-telegram-t { flex: 1; min-width: 200px; }
.ct-telegram-t h2 { font-family: var(--serif); font-size: 20px; margin: 6px 0 4px; }
.ct-telegram-t p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.contact-card .textlink { font-size: 12.5px; color: var(--accent-gold); border-bottom: 1px solid var(--line); }

/* =========================================================
   首页收尾闭环 CTA
   ========================================================= */
.closing-cta {
  background: var(--ink); color: #f0ece3;
  padding: clamp(72px, 10vw, 120px) 0; text-align: center;
}
.closing-inner { max-width: 820px; }
.eyebrow--light { color: var(--accent-gold); }
.closing-title { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 44px); margin: 14px 0 16px; font-weight: 500; }
.closing-sub { color: rgba(240, 236, 227, .72); font-size: 15px; line-height: 1.9; margin: 0 auto 34px; max-width: 600px; }
.closing-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light { background: transparent; color: #f0ece3; border: 1px solid rgba(240, 236, 227, .4); }
.btn-outline-light:hover { background: #f0ece3; color: var(--ink); border-color: #f0ece3; }
#announceText { transition: opacity .35s ease; }

@media (max-width: 900px) {
  .valuation-grid { grid-template-columns: 1fr; }
  .valuation-side { position: static; }
  .checkgrid { grid-template-columns: 1fr; }
  .done-ref { grid-template-columns: 1fr; }
  .contact-telegram { flex-direction: column; text-align: center; }
  .closing-actions { flex-direction: column; align-items: stretch; }
  .closing-actions .btn { width: 100%; }
  .done-cta { flex-direction: column; align-items: stretch; }
  .done-cta .btn { width: 100%; }
}

/* ===== 动态估价引导（文档流内，压在“免费估价”按钮正上方，不会被 overflow 裁切）===== */
.hint-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}
.hint-pop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #FBFAF7;
  color: #211E1A;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  box-shadow: 0 14px 30px rgba(33,30,26,.24);
  animation: hintBob 2s cubic-bezier(.25,.1,0,1) infinite;
}
.hint-pop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top-color: #FBFAF7;
}
.hint-arrow, .hint-cursor {
  flex: none;
  color: #A08B5C;
}
.hint-arrow { animation: hintPoint 1.3s ease-in-out infinite; }
.hint-cursor { animation: hintTap 1.3s ease-in-out infinite; }
@keyframes hintBob {
  0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-6px); }
}
@keyframes hintPoint {
  0%, 45% { transform: translateY(-2px); opacity: .55; }
  60% { transform: translateY(3px); opacity: 1; }
  100% { transform: translateY(-2px); opacity: .55; }
}
@keyframes hintTap {
  0%, 100% { transform: scale(1); }
  55%, 70% { transform: scale(1.22); }
}
@media (max-width: 520px) {
  .hint-pop { font-size: .78rem; padding: 8px 14px; }
}
