/* ============================================================
   BORAHAE — 高级紫色主题（重设计版）
   ============================================================ */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #221533;
  --muted: #8b7fa3;
  --violet: #6c3bd6;
  --violet-deep: #4b2496;
  --violet-soft: #efe8ff;
  --pink: #f04e8a;
  --gold: #f4b942;
  --line: #efe7f2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(34,21,51,.05), 0 4px 14px rgba(76,36,150,.06);
  --shadow: 0 2px 6px rgba(34,21,51,.05), 0 14px 34px rgba(76,36,150,.10);
  --shadow-lg: 0 8px 24px rgba(34,21,51,.08), 0 30px 60px rgba(76,36,150,.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部通知条 ---------- */
.topbar {
  background: linear-gradient(90deg, #2a1748, #4b2496 55%, #6c3bd6);
  color: #f3ecff; font-size: 13px; text-align: center; padding: 9px 16px;
  letter-spacing: .3px;
}
.topbar b { color: #fff; }

/* ---------- 导航 ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.85); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(239,231,242,.9);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo .dot {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; box-shadow: 0 6px 16px rgba(108,59,214,.35);
}
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--muted); font-weight: 600; transition: color .18s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--violet); border-radius: 2px; transition: right .22s;
}
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; gap: 12px; align-items: center; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  background: var(--violet-soft); color: var(--violet-deep);
  padding: 9px 16px; border-radius: 26px; font-weight: 700; font-size: 14px;
  transition: background .18s, transform .12s;
}
.cart-btn:hover { background: #e4d8ff; transform: translateY(-1px); }
.cart-count {
  background: var(--pink); color: #fff; font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.burger { display: none; font-size: 24px; background: none; border: none; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #241040 0%, #3d1a86 48%, #6c3bd6 100%);
  color: #fff; padding: 88px 0 104px;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.hero::before {
  width: 480px; height: 480px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(240,78,138,.45), transparent 70%);
}
.hero::after {
  width: 420px; height: 420px; left: -120px; bottom: -220px;
  background: radial-gradient(circle, rgba(244,185,66,.25), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: #d9c6ff; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #ff8fc0, #ffb86b);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: 17px; color: #e5d9ff; max-width: 480px; margin-bottom: 32px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .meta { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero .meta div { font-size: 13.5px; color: #cfbff2; }
.hero .meta b { display: block; font-size: 18px; color: #fff; font-weight: 800; }

/* Hero 装饰产品卡 */
.hero-card {
  position: relative; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px);
  border-radius: 24px; padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.3);
}
.hero-card .ph { height: 220px; border-radius: 16px; margin-bottom: 20px; }
.hero-card h3 { font-size: 19px; margin-bottom: 4px; }
.hero-card .hc-price { color: #ffd76b; font-weight: 800; font-size: 20px; }
.hero-card .hc-tag { color: #cfbff2; font-size: 13.5px; margin-bottom: 10px; }
.hero-float {
  position: absolute; right: -14px; top: -14px;
  background: var(--pink); color: #fff; font-size: 12px; font-weight: 800;
  padding: 7px 14px; border-radius: 20px; box-shadow: 0 10px 24px rgba(240,78,138,.4);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 30px; padding: 14px 32px; font-size: 15px; font-weight: 700;
  transition: transform .15s, box-shadow .2s, background .2s; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--violet-deep); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(0,0,0,.3); }
.btn-purple { background: var(--violet); color: #fff; box-shadow: 0 10px 24px rgba(108,59,214,.32); }
.btn-purple:hover { background: var(--violet-deep); }
.btn-ghost { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { background: #fff; border: 1.5px solid var(--line); color: var(--violet-deep); }
.btn-outline:hover { border-color: var(--violet); background: var(--violet-soft); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ---------- 区块 ---------- */
section.block { padding: 72px 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.block-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.block-head .en-sub { color: var(--muted); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }

/* ---------- 产品网格 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.prod-grid[data-count="1"] { grid-template-columns: minmax(260px, 400px); justify-content: center; }
.prod-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column; border: 1px solid var(--line);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-img { display: block; aspect-ratio: 1/1; position: relative; cursor: pointer; overflow: hidden; background: var(--violet-soft); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .prod-img img { transform: scale(1.06); }
.prod-badge {
  position: absolute; top: 14px; left: 14px;
  background: #fff; color: var(--violet-deep); font-size: 12px; font-weight: 800;
  padding: 5px 12px; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.prod-badge.sold { background: #2b2b33; color: #fff; }
.prod-info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-name { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; line-height: 1.35; }
.prod-name:hover { color: var(--violet); }
.prod-desc {
  color: var(--muted); font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.price { color: var(--violet-deep); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.add-btn {
  background: var(--violet); color: #fff; border: none; border-radius: 22px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 700; transition: background .18s, transform .12s;
}
.add-btn:hover { background: var(--violet-deep); transform: translateY(-1px); }
.add-btn.done { background: #1fa86a; }

/* 产品占位图（无实拍图时） */
.ph {
  width: 100%; height: 100%; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ph .emoji { font-size: 62px; z-index: 1; filter: drop-shadow(0 8px 18px rgba(76,36,150,.25)); }
.ph .ring {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.65), rgba(255,255,255,0) 65%);
}

/* ---------- 分类卡（首页） ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .18s, box-shadow .2s; cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .ico { font-size: 30px; margin-bottom: 12px; }
.cat-card h3 { font-size: 17px; margin-bottom: 4px; }
.cat-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- 筛选 ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-tabs button {
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 22px; padding: 8px 20px; font-size: 14px; font-weight: 600; transition: all .18s;
}
.filter-tabs button:hover { border-color: var(--violet); color: var(--violet); }
.filter-tabs button.on { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ---------- 快速查看 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(20,10,40,.55); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 22px; max-width: 780px; width: 100%;
  max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
}
.modal .m-img { min-height: 340px; position: relative; background: var(--violet-soft); }
.modal .m-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.modal .m-body { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.modal h3 { font-size: 22px; letter-spacing: -.01em; }
.modal .m-price { font-size: 24px; color: var(--violet-deep); font-weight: 800; }
.modal .m-desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.m-close {
  position: absolute; top: 14px; right: 16px; border: none; background: rgba(0,0,0,.35);
  color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; z-index: 2;
}
@media (max-width: 640px) { .modal { grid-template-columns: 1fr; } .modal .m-img { min-height: 240px; } }

/* ---------- 购物车 ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 880px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: none; }
.cart-item .thumb {
  width: 76px; height: 76px; border-radius: 14px; background: var(--violet-soft);
  display: flex; align-items: center; justify-content: center; font-size: 30px; overflow: hidden;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-name { font-weight: 700; font-size: 15px; }
.ci-price { color: var(--muted); font-size: 13px; margin-top: 2px; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-ctrl button { width: 28px; height: 28px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; line-height: 1; color: var(--ink); transition: all .15s; }
.qty-ctrl button:hover { border-color: var(--violet); color: var(--violet); }
.qty-ctrl span { min-width: 24px; text-align: center; font-weight: 800; }
.ci-right { text-align: right; }
.ci-sub { font-weight: 800; color: var(--violet-deep); }
.ci-del { background: none; border: none; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.ci-del:hover { color: #e5484d; }
.cart-empty { text-align: center; padding: 56px 0; color: var(--muted); }
.cart-empty .big { font-size: 52px; margin-bottom: 10px; }

.summary-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 88px; box-shadow: var(--shadow-sm);
}
.summary-box h3 { font-size: 17px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14.5px; color: var(--muted); }
.sum-row span:last-child { color: var(--ink); font-weight: 600; }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.sum-row.total span:last-child { color: var(--violet-deep); }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 14px; font-size: 14.5px; font-family: inherit; background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.checkout-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 22px; box-shadow: var(--shadow-sm); }
.checkout-box h3 { font-size: 17px; margin-bottom: 16px; }
.ok-banner { display: none; background: #eafaf0; border: 1px solid #bfe9cf; color: #18794e; border-radius: 14px; padding: 16px; font-size: 14.5px; margin-top: 16px; }
.ok-banner.show { display: block; }
.hint { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ---------- 品牌故事 ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }
.story .visual {
  border-radius: 26px; min-height: 320px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #b388ff, #6c3bd6 55%, #f04e8a);
  display: flex; align-items: center; justify-content: center; font-size: 76px;
}
.story .visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.4), transparent 55%); }
.story h2 { font-size: 28px; margin-bottom: 16px; letter-spacing: -.02em; }
.story p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.story .values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.story .values span {
  background: var(--violet-soft); color: var(--violet-deep);
  font-size: 13px; font-weight: 700; padding: 7px 15px; border-radius: 18px;
}

/* ---------- 订阅 ---------- */
.subscribe { background: linear-gradient(120deg, #2a1748, #6c3bd6); color: #fff; padding: 60px 0; }
.subscribe h2 { font-size: 26px; margin-bottom: 8px; letter-spacing: -.02em; }
.subscribe p { color: #d9c6ff; font-size: 15px; margin-bottom: 22px; }
.sub-form { display: flex; gap: 10px; max-width: 470px; }
.sub-form input { flex: 1; border: none; border-radius: 28px; padding: 13px 20px; font-size: 14.5px; background: #fff; }
.sub-form input:focus { outline: none; }
.sub-form button { border-radius: 28px; border: none; padding: 13px 28px; font-weight: 800; background: var(--pink); color: #fff; transition: transform .15s, box-shadow .2s; }
.sub-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240,78,138,.4); }

/* ---------- Footer ---------- */
footer.site { background: #1c102f; color: #b6a6d4; padding: 52px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-grid p { line-height: 1.6; }
.foot-grid a { display: block; margin-bottom: 10px; color: #b6a6d4; }
.foot-grid a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.09); display: flex; align-items: center; justify-content: center; font-size: 15px; margin: 0; transition: background .18s; }
.socials a:hover { background: var(--violet); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 12.5px; color: #7c6a9c; }

/* ---------- 移动端 ---------- */
@media (max-width: 760px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { max-width: 340px; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 16px;
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .hero { padding: 56px 0 72px; }
  section.block { padding: 48px 0; }
}

/* ---------- 首屏（浅紫居中文字型，参考 Shopify 风格） ---------- */
.hero-light { position: relative; overflow: hidden; background: #f4eefb; padding: 76px 0 68px; text-align: center; }
.hero-light h1 {
  font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.025em;
  color: var(--ink); margin-bottom: 26px;
}
.hero-light p {
  max-width: 700px; margin: 0 auto 18px; color: #4b3e6b;
  font-size: 15.5px; font-weight: 500; line-height: 1.85;
  text-shadow: 0 1px 2px rgba(255,255,255,.7), 0 0 18px rgba(255,255,255,.85);
}
.hero-light p:last-child { margin-bottom: 0; }

/* ---------- 首屏背景淡装饰层（可整层移除或替换为素材图） ---------- */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco svg { width: 100%; height: 100%; display: block; }
.hero-light .container { position: relative; z-index: 1; }

/* 文字后方的柔光垫层：提高压在照片上的文字清晰度（不影响照片本身） */
.hero-light .container::before {
  content: ""; position: absolute; inset: -26px -70px; z-index: -1;
  background: radial-gradient(58% 76% at 50% 46%, rgba(244,238,251,.8), rgba(244,238,251,0) 72%);
  pointer-events: none;
}

/* ---------- 首屏素材照片层（淡化铺底，不抢文字；整层可移除或替换） ---------- */
.hero-photo {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 72%;
  object-fit: cover; object-position: center 30%;
  opacity: .42;
  filter: saturate(.92) brightness(1.05);
  pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 26%, #000 52%, #000 80%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 26%, #000 52%, #000 80%, transparent 100%);
}
@media (max-width: 680px) {
  .hero-photo { height: 62%; opacity: .34; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(90px);
  background: #221533; color: #fff; padding: 12px 24px; border-radius: 28px;
  font-size: 14px; z-index: 300; opacity: 0; transition: all .3s; pointer-events: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Logo 图片标 ---------- */
.logo-mark { width: 34px; height: 34px; border-radius: 11px; display: block; box-shadow: 0 6px 16px rgba(108,59,214,.35); }

/* ---------- 品牌故事视觉块 ---------- */
.story-viz { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-align: center; }
.story-viz .kword { font-size: 56px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; text-shadow: 0 6px 24px rgba(30,10,60,.25); }
.story-viz .kcap { font-size: 15.5px; color: #f3ebff; letter-spacing: .3px; }

/* ---------- 产品角标扩展 ---------- */
.prod-badge.new { background: var(--violet); color: #fff; }
.prod-badge.low { background: #f6a609; color: #fff; }

/* ---------- 页脚免责声明 ---------- */
.foot-note { color: #8471a8; font-size: 12px; line-height: 1.7; text-align: center; margin: 0 auto 18px; max-width: 840px; padding: 0 10px; }

/* ---------- 政策页 / FAQ / 联系 ---------- */
.policy-wrap { max-width: 800px; }
.policy-wrap .policy-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 8px; }
.policy-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.policy-wrap h3 { font-size: 18px; margin: 30px 0 10px; letter-spacing: -.01em; }
.policy-wrap p, .policy-wrap li { color: #5f5478; font-size: 15px; line-height: 1.85; }
.policy-wrap p { margin-bottom: 12px; }
.policy-wrap ul { padding-left: 22px; margin: 10px 0 14px; }
.policy-wrap li { margin-bottom: 6px; }
.policy-wrap a { color: var(--violet); font-weight: 600; }
.policy-wrap a:hover { text-decoration: underline; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-weight: 800; font-size: 19px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: #5f5478; font-size: 14.5px; line-height: 1.8; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow-sm); max-width: 640px; text-align: center; }
.contact-card .mail-ico { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--violet); }
.contact-card .cta-text { color: #5f5478; font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
.contact-card .mail-link { font-size: 21px; font-weight: 800; color: var(--violet-deep); }
.contact-card .mail-link:hover { color: var(--violet); }
.contact-card .hint { margin-top: 14px; }

/* ============================================================
   产品详情页（PDP）
   ============================================================ */
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 22px 0 8px; }
.crumbs a:hover { color: var(--violet); }
.crumbs span { opacity: .45; }
.crumbs em { font-style: normal; color: var(--ink); font-weight: 600; }
.pdp-loading { padding: 90px 0; text-align: center; color: var(--muted); }

.pdp-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: start; padding: 10px 0 30px; }
.pdp-main {
  aspect-ratio: 4/5; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-main .ph { height: 100%; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb {
  width: 78px; height: 78px; padding: 0; border-radius: 12px; overflow: hidden;
  border: 2px solid transparent; background: #fff; box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
}
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.on { border-color: var(--violet); }

.pdp-info h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin: 8px 0 8px; }
.pdp-badge {
  display: inline-block; background: var(--violet); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 14px;
}
.pdp-sub { color: #5f5478; font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.pdp-price-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.pdp-price { font-size: 30px; font-weight: 800; color: var(--violet-deep); letter-spacing: -.02em; }
.pdp-stock { font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 12px; }
.pdp-stock.ok { background: #e9f9ef; color: #1d7a43; }
.pdp-stock.low { background: #fff4e0; color: #b7791f; }
.pdp-stock.out { background: #f1f2f4; color: #8a8f98; }
.pdp-desc { color: #5f5478; font-size: 15px; line-height: 1.8; margin-bottom: 16px; }

.pdp-feat { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pdp-feat li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.pdp-feat li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--violet); font-weight: 800; }

.pdp-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.pdp-qty { margin-top: 0; }
.pdp-qty span { min-width: 28px; font-size: 15px; }
.pdp-add { flex: 1; min-width: 190px; padding: 14px 24px; }
.pdp-add.done { background: #1fa86a; }
.pdp-buynow {
  width: 100%; background: #ffc439; color: #1a1a1a; border: none; border-radius: 30px;
  padding: 13px 20px; font-weight: 800; font-size: 14.5px; margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(255,195,57,.28); transition: transform .15s, box-shadow .2s;
}
.pdp-buynow:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255,195,57,.36); }
.pdp-promo {
  font-size: 13.5px; font-weight: 600; color: var(--violet-deep);
  background: var(--violet-soft); border-radius: 12px;
  padding: 10px 14px; text-align: center; margin: -6px 0 16px;
}

.pdp-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 11px;
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.pdp-trust div { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #5f5478; }
.pdp-trust svg { width: 17px; height: 17px; flex: none; color: var(--violet); }

.pdp-acc details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.pdp-acc summary {
  cursor: pointer; font-weight: 700; font-size: 14.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: "+"; color: var(--violet); font-weight: 800; font-size: 18px; }
.pdp-acc details[open] summary::after { content: "−"; }
.pdp-acc .acc-body { padding-top: 10px; color: #5f5478; font-size: 14px; line-height: 1.8; }
.pdp-acc .acc-body p { margin-bottom: 8px; }
.pdp-acc .acc-body ul { padding-left: 20px; margin: 4px 0; }
.pdp-acc .acc-body li { margin-bottom: 4px; }
.pdp-spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 4px; }
.pdp-spec-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 9px 12px 9px 0; width: 36%; vertical-align: top; }
.pdp-spec-table td { padding: 9px 0; color: var(--ink); }
.pdp-spec-table tr + tr th, .pdp-spec-table tr + tr td { border-top: 1px solid var(--line); }

/* 详情页图片叙事块 */
.pdp-showcase { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.show-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.show-img { border-radius: 22px; overflow: hidden; background: var(--violet-soft); box-shadow: var(--shadow); }
.show-img img { width: 100%; height: 100%; object-fit: cover; }
.show-txt .kicker { display: inline-block; font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase; font-weight: 800; color: var(--violet); margin-bottom: 12px; }
.show-txt h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; margin-bottom: 12px; }
.show-txt p { color: #5f5478; font-size: 15px; line-height: 1.85; }

/* 卖点卡 */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.why-card .ico {
  width: 42px; height: 42px; border-radius: 13px; background: var(--violet-soft); color: var(--violet);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.why-card .ico svg { width: 20px; height: 20px; }
.why-card h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.01em; }
.why-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* 参数区 */
.pdp-specs .spec-wrap { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); }

/* 好评区 */
.pdp-reviews { background: #fff; border-top: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.review-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
}
.rv-stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.rv-stars .rv-dim { color: #ddd2ea; }
.review-card h3 { font-size: 16px; letter-spacing: -.01em; }
.rv-text { color: #5f5478; font-size: 14px; line-height: 1.75; }
.rv-photos { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 2px; }
.rv-photos.two { grid-template-columns: 1fr 1fr; }
.rv-photos img { width: 100%; height: 210px; object-fit: cover; border-radius: 12px; background: var(--violet-soft); }
.rv-photos.two img { height: 150px; }
.rv-who { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.rv-who b { color: var(--ink); }
.rv-tag { font-size: 11px; font-weight: 700; color: var(--violet-deep); background: var(--violet-soft); padding: 3px 9px; border-radius: 10px; }

/* 找不到产品 */
.pdp-notfound { text-align: center; padding: 90px 0 60px; }
.pdp-notfound .big { font-size: 54px; margin-bottom: 12px; }
.pdp-notfound h2 { font-size: 24px; margin-bottom: 10px; letter-spacing: -.02em; }
.pdp-notfound p { color: var(--muted); margin-bottom: 22px; }

@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 10px; }
  .show-row { grid-template-columns: 1fr; gap: 22px; }
  .pdp-trust { grid-template-columns: 1fr; }
  .pdp-price { font-size: 26px; }
}
