/* 全站基础样式 —— 单一来源，禁止在页面内联样式 */

:root {
  /* Lux editorial 配色：ivory 底 / charcoal 字 / champagne gold 强调。
     禁红、禁高饱和蓝绿紫、禁纯黑 —— 这三条是调性的地基，改配色前先想清楚。 */
  --ivory: #FAFAF7;
  --ivory-2: #F4F2EC;
  --ink: #1A1A1A;
  --ink-2: #3A3A38;
  --ink-3: #8A8780;
  --line: #E5E2D9;
  --gold: #C9A86A;
  --gold-deep: #A88848;
  --rose: #E8C5B7;

  --bg: var(--ivory);
  --bg-soft: var(--ivory-2);
  --accent: var(--gold-deep);
  --accent-2: var(--gold);
  --accent-soft: #F0E7D4;
  --warn-bg: var(--ivory-2);
  --warn-line: var(--line);
  --ok: #4A6B4F;
  /* 折扣不用红色，划线原价走灰、强调走 charcoal */
  --sale: var(--ink);

  /* 全站直角，圆角=休闲感，跟 editorial 调性冲突 */
  --radius: 0;
  --wrap: 1360px;

  /* 标题衬线 + 正文无衬线。中文字形不在这两套里，由栈里的宋体/苹方兜住 */
  --serif: "Playfair Display", "Noto Serif SC", Georgia, "Songti SC", "SimSun", serif;
  --sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --font: var(--sans);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(34px, 4.4vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
h3 { font-size: 19px; line-height: 1.3; }
h1, h2, h3, h4 { overflow-wrap: break-word; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: rgba(250, 250, 247, 0.82); }
.section--dark h2 { color: var(--ivory); }
.section--dark .section__sub { color: rgba(250, 250, 247, 0.7); }
.section--dark .section__eyebrow { color: var(--gold); }

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
  font-weight: 500;
}
/* eyebrow 前的金色短横线是 editorial 的签名元素，别删 */
.section__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section__sub { color: var(--ink-3); margin: 16px 0 0; max-width: 560px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 11px; letter-spacing: 0.18em; }

/* ---------- 顶部公告条 ---------- */
.announce {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 24px;
}
.announce span { color: var(--gold); }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* 三栏：品牌居左 / 导航居中 / 工具居右。两侧 1fr 等宽才能让导航真正居中 */
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.brand::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.nav {
  display: flex;
  gap: 34px;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a {
  position: relative;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .25s ease;
}
/* 下划线从中间向两边展开，比整条淡入更有编辑感 */
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: left .3s ease, right .3s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { left: 0; right: 0; }
.nav a.is-active { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  justify-self: start;
}

/* ---------- 主视觉 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  height: calc(100vh - 130px);
  min-height: 620px;
  max-height: 880px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background: var(--ivory-2);
}
/* 编辑感底图：真图到位前用双层径向渐变 + 斜向织纹顶着，不留空白块 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 65% 38%, rgba(232, 197, 183, 0.5), transparent 55%),
    radial-gradient(ellipse at 28% 72%, rgba(201, 168, 106, 0.3), transparent 52%),
    repeating-linear-gradient(118deg, #E8DFD2 0 22px, #DED3C2 22px 23px),
    linear-gradient(180deg, #EFE7D9 0%, #D8C9B2 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(26, 26, 26, 0.72) 0%,
    rgba(26, 26, 26, 0.45) 45%, rgba(26, 26, 26, 0.08) 78%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.hero__content { max-width: 760px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero__title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-wrap: balance;
}
.hero__subtitle {
  margin: 0 0 40px;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(250, 250, 247, 0.85);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.hero__btn--primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero__btn--primary:hover { background: var(--gold); color: var(--ivory); border-color: var(--gold); }
.hero__btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(250, 250, 247, 0.45);
}
.hero__btn--ghost:hover { background: rgba(250, 250, 247, 0.12); border-color: var(--ivory); }
.hero__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(250, 250, 247, 0.6);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero__scroll-mouse {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(250, 250, 247, 0.5), transparent);
}

/* ---------- 信任条 ---------- */
/* 公告条已经是深色，这里走 ivory 底 + 金色菱形分隔，避免连着两条黑 */
.trustbar {
  background: var(--ivory);
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
}
.trustbar__track {
  display: flex;
  gap: 56px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: slide 42s linear infinite;
}
.trustbar__track span { color: var(--ink-2); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* 卡片无边框无阴影：editorial 靠留白和图本身分隔，加框反而显廉价 */
.card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: opacity .6s ease;
}
.card__body { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card__tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 6px;
}
.card__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--ink);
}
.card__desc { font-size: 13px; color: var(--ink-3); margin: 0 0 14px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.card__spec { color: var(--ink-3); }
.card__link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.card__link:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }

/* ---------- 商品主图：1:1 白底，参考站的产品摄影规范 ---------- */
.card__media,
.pdp__media {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #FFFFFF;
  isolation: isolate;
}
.card__media > img,
.pdp__media > img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .8s cubic-bezier(.2, .7, .3, 1);
}
.card:hover .card__media > img { transform: scale(1.04); }

/* 分类卡 */
.cat-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--ivory);
  transition: border-color .3s ease, background .3s ease, opacity .6s ease;
}
.cat-card:hover { border-color: var(--gold); background: #fff; }
.cat-card h3 { font-family: var(--serif); font-weight: 400; margin-bottom: 10px; }
/* 卡片上只给概览，全文在分类落地页 products.html?cat=xxx */
.cat-card p {
  font-size: 14px; color: var(--ink-3); margin-bottom: 16px; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  line-clamp: 3; overflow: hidden;
}
.list-intro {
  max-width: 680px; margin: 16px 0 0;
  font-size: 14px; line-height: 1.75; color: var(--ink-3);
}
.cat-card__count {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th {
  font-weight: 600; color: var(--ink); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tscroll > .table { min-width: 460px; }
.pdp > * { min-width: 0; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 11px; font-weight: 600; margin-bottom: 8px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field__err { color: #a32d2d; font-size: 13px; margin-top: 5px; display: none; }
.field.has-error .field__err { display: block; }
.field.has-error input, .field.has-error textarea { border-color: #a32d2d; }

/* ---------- 提示条 ---------- */
.notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- 产品详情 ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px 0 96px; }
.pdp__variants { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 24px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; cursor: pointer; background: #fff; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--ivory); font-weight: 500; }

/* ---------- 筛选侧栏 ---------- */
.layout-side { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 72px 0 96px; }
.filter h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-2); margin-bottom: 16px;
}
.filter a {
  display: block; padding: 8px 0; font-size: 14px; color: var(--ink-3);
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.filter a:hover { color: var(--ink); }
.filter a.is-active { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- 评价 ---------- */
.quote { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: transparent; }
.quote p { font-size: 14px; color: var(--ink-2); }
.quote__who { font-size: 13px; font-weight: 600; margin-top: 14px; }
.quote__where { font-size: 12px; color: var(--ink-3); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 250, 247, 0.7);
  padding: 80px 0 32px;
  font-size: 13px;
}
.site-footer a { color: rgba(250, 250, 247, 0.7); transition: color .25s ease; }
.site-footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__grid h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 10px; }
.footer__disclaimer {
  border-top: 1px solid rgba(250, 250, 247, 0.14);
  padding-top: 26px;
  font-size: 11px;
  color: rgba(250, 250, 247, 0.45);
  line-height: 1.8;
  letter-spacing: 0.05em;
}
.footer__entity { color: rgba(250, 250, 247, 0.6); }

/* ---------- 法务/正文页 ---------- */
.prose { max-width: 760px; padding: 80px 0 96px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { padding-left: 20px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose__meta { font-size: 13px; color: var(--ink-3); }
/* 条款页「标签 值」行：间距交给 CSS，避免中文全角冒号后再多一个 HTML 空格。 */
.prose li > [data-i18n] { margin-right: .35em; }

.empty { padding: 96px 0; text-align: center; color: var(--ink-3); }

/* ---------- 价格 ---------- */
.card__specline { font-size: 12px; color: var(--ink-3); margin: 0 0 10px; }
.card__price { font-weight: 600; color: var(--ink); font-size: 15px; letter-spacing: -0.01em; }
.card__price small { font-weight: 500; color: var(--ink-3); }
.price-block { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 22px; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: 80px; left: 0; right: 0; background: var(--ivory);
    border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px;
  }
  .nav-toggle { display: block; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .layout-side { grid-template-columns: 1fr; gap: 24px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
}

@media (max-width: 640px) {
  .hero { height: auto; min-height: 560px; max-height: none; }
  .hero__inner { padding: 88px 20px 96px; }
  .hero__eyebrow { letter-spacing: 0.2em; }
  .hero__actions { gap: 12px; }
  .hero__btn { padding: 15px 22px; flex: 1 1 auto; justify-content: center; }
  .announce { font-size: 10px; letter-spacing: 0.14em; }
  .trustbar__track { gap: 32px; }
}

@media (max-width: 560px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero__title { font-size: clamp(30px, 9vw, 40px); }
  .hero__btn { width: 100%; }
}

/* ---------- 视觉特效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

.fx-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .trustbar__track { animation: none; }
  .hero__btn { transition: none; }
}

/* ==========================================================================
   服装站扩展：语言切换 / 购物车 / 商品卡 / 详情 / 尺码表 / 悬浮 Zalo
   ========================================================================== */

/* 字体文件由 tools/build-fonts.py 生成，别手工替换，见 assets/fonts/README.md */
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/BeVietnamPro-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/BeVietnamPro-SemiBold.woff2") format("woff2");
  font-weight: 600; font-display: swap; font-style: normal;
}
/* 可变字体，一个文件覆盖 400–900，标题按需取字重 */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Variable.woff2") format("woff2");
  font-weight: 400 900; font-display: swap; font-style: normal;
}

/* ---------- 页头工具区 ---------- */
.header__tools { display: flex; align-items: center; gap: 14px; justify-self: end; }
.langsw { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.langsw__btn {
  border: 0; background: #fff; color: var(--ink-3); cursor: pointer;
  padding: 6px 10px; font-size: 13px; font-weight: 600; font-family: inherit;
}
.langsw__btn.is-active { background: var(--ink); color: var(--ivory); }
.langsw__btn:not(.is-active):hover { background: var(--bg-soft); color: var(--ink); }

.cartbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius); border: 1px solid var(--line);
  font-size: 17px; text-decoration: none;
}
.cartbtn:hover, .cartbtn.is-active { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.cartbtn__count {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--radius); background: var(--ink); color: var(--ivory);
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.cartbtn__count.is-empty { display: none; }

/* ---------- 商品卡片 ---------- */
.card__was { color: var(--ink-3); text-decoration: line-through; font-weight: 400; font-size: 12px; margin-left: 8px; }

/* ---------- 商品详情 ---------- */
.pdp__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3vw, 42px); line-height: 1.12; margin: 10px 0 14px;
}
.pdp__summary { color: var(--ink-3); margin: 0 0 24px; line-height: 1.65; }
.pdp__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 10px; }
.pdp__hint { font-size: 13px; margin: 0 0 26px; }
.price-block { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 24px; flex-wrap: wrap; }
.price-main { font-family: var(--serif); font-size: 34px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.price-was { font-size: 16px; color: var(--ink-3); text-decoration: line-through; }
.opt { margin-bottom: 6px; }
.opt h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-2); margin: 0 0 10px;
}
.chip { font-family: inherit; }

/* ---------- 数量选择 ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.qty button {
  width: 38px; height: 38px; border: 0; background: #fff; cursor: pointer;
  font-size: 18px; color: var(--ink-2); font-family: inherit;
}
.qty button:hover { background: var(--bg-soft); color: var(--accent); }
.qty input { width: 54px; height: 38px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 15px; font-family: inherit; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input { -moz-appearance: textfield; }
.qty--sm { margin: 0; }
.qty--sm button { width: 30px; height: 30px; font-size: 15px; }
.qty--sm span { display: inline-block; min-width: 36px; text-align: center; font-size: 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 30px; }

/* ---------- 购物车页 ---------- */
.cart__table th:last-child, .cart__table td:last-child { text-align: right; }
.cartrow { display: flex; gap: 12px; align-items: center; }
.cartrow img { width: 60px; height: 75px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.cartrow a { font-weight: 600; font-size: 14px; display: block; margin-bottom: 3px; }
.cartrow small { display: block; font-size: 12px; color: var(--ink-3); }
.cart__amount { font-weight: 700; white-space: nowrap; }
.cart__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin: 26px 0; }
.cart__sum { min-width: 240px; }
.cart__sum > div { display: flex; justify-content: space-between; gap: 24px; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.cart__grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; font-size: 17px !important; color: var(--ink) !important; }
.cart__grand strong { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.cart__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.btn--lg { padding: 14px 30px; font-size: 16px; }
.linkbtn { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 13px; text-decoration: underline; font-family: inherit; padding: 0; }
.linkbtn:hover { color: var(--sale); }

/* ---------- 尺码表 ---------- */
.sizeblock { margin-bottom: 56px; }
.sizeblock h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 16px; }

/* ---------- 悬浮 Zalo 按钮（越南用户几乎全在手机端） ---------- */
.zalo-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink); color: var(--ivory);
  font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 104, 255, .42);
  transition: transform .2s ease;
}
.zalo-fab:hover { background: var(--gold); color: var(--ivory); }

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 14px); z-index: 70;
  background: var(--ink); color: var(--ivory); padding: 12px 20px;
  border-radius: var(--radius); font-size: 13px; max-width: 88vw; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .layout-side { grid-template-columns: 1fr; gap: 20px; }
  .filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .filter h4 { display: none; }
  .filter a { white-space: nowrap; padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius); }
}
@media (max-width: 640px) {
  .header__tools { margin-left: auto; order: 2; gap: 8px; }
  .nav-toggle { order: 3; margin-left: 4px; }
  .nav { order: 4; }
  .pdp__title { font-size: 22px; }
  .price-main { font-size: 25px; }
  .cart__foot { flex-direction: column; align-items: stretch; }
  .cart__cta { align-items: stretch; }
  .cart__cta .btn { width: 100%; }
  .cartrow img { width: 48px; height: 60px; }
}
@media (max-width: 400px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 商品图画廊 ---------- */
.gal__main { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.gal__main > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal__strip { display: flex; gap: 9px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gal__thumb {
  flex: 0 0 76px; width: 76px; aspect-ratio: 1 / 1; padding: 0; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft);
}
.gal__thumb.is-active { border-color: var(--accent); }
.gal__thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer__entity { font-size: 11px; letter-spacing: .05em; }
