/* ============================================================
   SANSHU 消费电子 B2B · 前台样式
   科技冷调：冷灰白底 · 电光蓝主色 · 深海军蓝正文 · 青色点缀
   ============================================================ */

:root {
  --bg: #F5F7FB;
  --bg-soft: #EAF0F7;
  --surface: #FFFFFF;
  --celadon: #1E5EFF;
  --celadon-soft: #7CA7FF;
  --celadon-dark: #1746C8;
  --celadon-deep: #102A5C;
  --terracotta: #00A9C8;
  --terracotta-soft: #66D6E8;
  --gold: #FFB020;
  --ink: #101828;
  --ink-soft: #475467;
  --ink-faint: #8A94A6;
  --line: #E3E9F2;
  --line-soft: #EFF3F9;

  --font-serif: 'Inter', 'PingFang SC', 'Noto Sans SC', -apple-system, 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --font-sans: 'Inter', 'PingFang SC', 'Noto Sans SC', -apple-system, 'Microsoft YaHei', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 20px -6px rgba(16, 42, 92, 0.10);
  --shadow-md: 0 16px 40px -16px rgba(16, 42, 92, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 42, 92, 0.24);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* 跳转链接 */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--celadon-deep); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 0; z-index: 2000;
}
.skip-link:focus { left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-weight: 500;
  font-size: 15px; border: 1.5px solid transparent; transition: var(--transition);
  letter-spacing: 0.02em; line-height: 1.2;
}
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--celadon) 0%, var(--celadon-dark) 100%);
  color: #fff; box-shadow: 0 10px 24px -10px rgba(30, 94, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(30, 94, 255, 0.6); }
.btn-outline { border-color: var(--celadon); color: var(--celadon-dark); background: transparent; }
.btn-outline:hover { background: var(--celadon); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--celadon-deep); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
/* PayPal 直购按钮（Buy Directly）：PayPal 品牌黄 */
.btn-paypal {
  background: #FFC439; color: #003087; border-color: #FFC439;
  font-weight: 600; box-shadow: 0 8px 20px -8px rgba(0,48,135,0.35);
}
.btn-paypal:hover { background: #FFB300; border-color: #FFB300; color: #003087; transform: translateY(-2px); }
.btn-paypal .pp-mark { font-weight: 700; letter-spacing: 0; }
/* 定制入口强调按钮（红色衬托，跨浅色/深色背景都醒目） */
.btn-commission {
  background: #E0231C; color: #fff; border-color: #E0231C;
  box-shadow: 0 10px 22px -8px rgba(224,35,28,.55); font-weight: 600;
}
.btn-commission:hover {
  background: #C01914; border-color: #C01914; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(224,35,28,.62);
}
.btn-commission:active { transform: translateY(0); }
@keyframes commissionPulse {
  0%, 100% { box-shadow: 0 10px 22px -8px rgba(224,35,28,.5); }
  50% { box-shadow: 0 14px 32px -6px rgba(224,35,28,.82); }
}
.btn-commission.is-pulse { animation: commissionPulse 2.2s ease-in-out infinite; }
/* 详情页付款二维码卡片 */
.paypal-qr-card { margin-top: 22px; padding: 18px; border: 1px solid var(--line, #E3E9F2);
  border-radius: 14px; background: #fff; text-align: center; max-width: 280px; }
.paypal-qr-card svg { width: 180px; height: 180px; display: block; margin: 0 auto 10px; }
.paypal-qr-card img { width: 180px; height: 180px; display: block; margin: 0 auto 10px; }
.paypal-qr-card .pp-qr-title { font-weight: 600; color: var(--ink, #101828); margin-bottom: 6px; }
.paypal-qr-card .pp-qr-note { font-size: 13px; color: var(--ink-soft, #475467); line-height: 1.5; }
.paypal-qr-fallback { display: inline-block; margin: 6px 0; padding: 10px 16px; border-radius: 999px;
  background: #FFC439; color: #003087; font-weight: 600; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(16, 42, 92, 0.18); }

/* 第一行：Logo + 右侧操作 */
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--celadon), var(--celadon-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: inset 0 2px 6px rgba(255,255,255,0.35), 0 4px 12px -4px rgba(30, 94, 255,0.5);
}
.brand-logo { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 21px; color: var(--celadon-deep); letter-spacing: 0.01em; }
.brand-slogan { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.14em; }

/* 第二行：栏目导航（单行不换行） */
.main-nav { border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.35); }
.nav-list {
  display: flex; align-items: center; gap: 4px; height: 50px;
  flex-wrap: nowrap; white-space: nowrap;
}
.nav-list > li { flex: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--ink);
  transition: var(--transition); position: relative; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--celadon-dark); background: rgba(30, 94, 255, 0.12); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; margin-left: 3px; }

/* 导航项较多（11 项，其中艺术线是带下拉的 "Original Art"），而 .container 固定 max-width:1200
   （内容区仅 1144px）。默认 15px 字号 + 14px padding 在**任何**桌面宽度都放不下（1600 也会顶出 86px），
   所以收缩档不再限制上界：只要 ≥1025 就统一收紧，再按宽度分两档递进。 */
@media (min-width: 1081px) {
  .nav-list { gap: 0; }
  .nav-link { padding: 9px 8px; font-size: 13.5px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .nav-link { padding: 8px 5px; font-size: 12.5px; letter-spacing: -0.005em; }
  .nav-container { padding: 0 14px; }
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 200px; background: #fff; border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 10;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px);
}
.dropdown li a {
  display: block; padding: 10px 16px; border-radius: 10px; font-size: 14.5px;
  color: var(--ink); transition: var(--transition); white-space: nowrap;
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--celadon-dark); }
/* 末尾项（如 ABOUT US）的下拉改为右对齐，避免居中弹出时溢出视口右侧 */
.nav-list > li.has-dropdown:last-child .dropdown {
  left: auto; right: 0; transform: translateY(10px);
}
.nav-list > li.has-dropdown:last-child:hover .dropdown,
.nav-list > li.has-dropdown:last-child:focus-within .dropdown {
  transform: translateY(6px);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-cta { padding: 10px 22px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }

/* ---------- Hero ---------- */
/* 首屏：图片铺满底层（按 height:100% 撑满，宽度按比例溢出被 hero-slider overflow:hidden 裁切 ~1-3%），
   文字浮在左上方，z-index 高于图片层。不加任何渐变遮罩——尊重"图片直接显示"的要求。 */
.hero { position: relative; }
.hero-slider {
  position: relative; height: 600px; overflow: hidden;
  background: var(--celadon-deep, #1f2f2b);
}
@media (min-height: 900px) { .hero-slider { height: 70vh; max-height: 720px; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero-slide.active { opacity: 1; }

/* 图片层：absolute 铺满 hero-slider，contain 显示。
   height:100% 让图按 hero-slider 高度撑满；宽度按原比例自动计算；
   极宽图（如 2:1 banner）几乎不裁切；竖图会按比例缩小居中。 */
.hero-visual {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-visual img {
  height: 100%; width: auto;
  max-width: none;
  object-fit: contain;       /* 完整显示，仅当图比例超出 hero-slider 时被 overflow 裁切一点点 */
  display: block;
  animation: heroImgIn 1s ease both;
}
@keyframes heroImgIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* 文案层：单栏居中靠左，浮在图片之上；用 text-shadow 加强可读性而非遮罩 */
.hero-inner {
  position: relative; z-index: 2; height: 100%; max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0 28px;
}
.hero-copy { max-width: 560px; }
.hero-kicker, .hero-title, .hero-desc, .hero-price, .hero-price-old {
  text-shadow: 0 2px 16px rgba(0,0,0,0.65), 0 0 4px rgba(0,0,0,0.45);
}
.hero-actions .btn { text-shadow: none; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; }
.hero-kicker {
  color: var(--gold); font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 18px; animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 600; color: #fff;
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.12; max-width: 720px;
  margin-bottom: 22px; animation: fadeUp 0.9s 0.1s ease both;
}
.hero-desc {
  color: rgba(255,255,255,0.9); font-size: 17px; max-width: 560px; line-height: 1.8;
  margin-bottom: 34px; animation: fadeUp 1s 0.2s ease both;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 1.1s 0.3s ease both; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.4); transition: var(--transition); padding: 0; }
.dot.active { width: 26px; background: #fff; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55); background: rgba(0,0,0,0.22);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; transition: var(--transition); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0.85;
}
.hero-arrow:hover { background: rgba(0,0,0,0.45); opacity: 1; }
.hero-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-fallback {
  min-height: 60vh; display: flex; align-items: center;
  background: linear-gradient(120deg, var(--celadon-deep) 0%, var(--celadon-dark) 60%, var(--celadon) 100%);
  position: relative; overflow: hidden;
}
.hero-fallback::after {
  content: '◍'; position: absolute; right: -40px; bottom: -60px; font-size: 340px;
  color: rgba(255,255,255,0.08); line-height: 1;
}
.hero-fallback .hero-kicker, .hero-fallback .hero-title, .hero-fallback .hero-desc { color: #fff; }

/* 首屏商品轮播：文案在左栏，不再整层铺在图上，因此不存在遮挡箭头/圆点的问题。
   （banners 回退时仍用 .hero-content + .hero-caption，保留兼容） */
.hero-caption { position: relative; z-index: 2; }
.hero-caption .container { width: 100%; }
.hero-caption .hero-content { height: auto; max-width: 100%; }
.hero-caption .hero-title { margin-bottom: 16px; }
.hero-price {
  font-family: var(--font-serif); color: #fff; font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px;
  animation: fadeUp 1s 0.2s ease both;
}
.hero-price-old {
  font-family: var(--font-sans, inherit); font-style: normal; font-size: 0.62em;
  color: rgba(255,255,255,0.6); text-decoration: line-through;
}
.btn-outline-light { border-color: rgba(255,255,255,0.85); color: #fff; background: rgba(0,0,0,0.18); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 区块通用 ---------- */
.section { padding: 52px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.section-kicker {
  color: var(--terracotta); font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 14px; position: relative; display: inline-block;
}
.section-kicker::before, .section-kicker::after {
  content: ''; position: absolute; top: 50%; width: 26px; height: 1px; background: var(--terracotta-soft);
}
.section-kicker::before { right: calc(100% + 12px); }
.section-kicker::after { left: calc(100% + 12px); }
.section-kicker.light { color: var(--gold); }
.section-kicker.light::before, .section-kicker.light::after { background: var(--gold); }
.section-title {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px);
  color: var(--celadon-deep); line-height: 1.2; margin-bottom: 16px;
}
.section-sub { color: var(--ink-soft); font-size: 16px; }
.section-more { text-align: center; margin-top: 28px; }

/* ---------- 品牌简介 ---------- */
.about-section { background: var(--bg-soft); }
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-image {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: #fff;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 120px; color: var(--celadon-soft); background: linear-gradient(135deg, #fff, var(--bg-soft));
}
.about-badge {
  position: absolute; bottom: -24px; right: -12px; background: #fff; border-radius: 20px;
  padding: 22px 28px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center;
  border: 1px solid var(--line-soft);
}
.badge-num { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: var(--terracotta); line-height: 1; }
.badge-label { font-size: 13px; color: var(--ink-soft); margin-top: 6px; letter-spacing: 0.05em; }
.about-text .section-kicker { display: block; }
.about-lead { font-size: 17px; color: var(--ink); margin: 8px 0 18px; font-weight: 500; }
.about-desc { color: var(--ink-soft); margin-bottom: 26px; }
.about-desc p { margin-bottom: 12px; }
.about-desc img { border-radius: 12px; margin: 10px 0; }

/* ---------- 产品系列 ---------- */
.series-section { background: var(--bg); }
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.series-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: var(--transition); display: flex; flex-direction: column;
}
.series-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.series-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
/* contain：藏品图（多为 1:1 / 部分竖图）完整呈现，不裁头不切底 */
.series-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.series-card:hover .series-img img { transform: scale(1.03); }
.series-glyph { font-size: 80px; color: var(--celadon-soft); }
.series-info { padding: 22px 24px 24px; }
.series-info h3 { font-family: var(--font-serif); font-size: 22px; color: var(--celadon-deep); margin-bottom: 8px; }
.series-info p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; min-height: 42px; }
.series-more { color: var(--terracotta); font-size: 14px; font-weight: 500; }

/* ---------- 产品系列（新版栏目列表） ---------- */
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.collection-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: var(--transition); display: flex; flex-direction: column;
}
.collection-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.collection-img {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
}
.collection-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.collection-card:hover .collection-img img { transform: scale(1.03); }
.collection-glyph { font-size: 80px; color: var(--celadon-soft); }
.collection-count {
  position: absolute; left: 16px; bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); color: var(--celadon-deep);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 4px 14px -4px rgba(16, 42, 92,0.25);
}
.collection-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.collection-title-link h3 { font-family: var(--font-serif); font-size: 21px; color: var(--celadon-deep); margin-bottom: 6px; }
.collection-title-link:hover h3 { color: var(--terracotta); }
.collection-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; min-height: 42px; }
.collection-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft);
  font-size: 13px; transition: var(--transition);
}
.pill em {
  font-style: normal; background: var(--celadon); color: #fff; font-size: 11px; font-weight: 600;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center;
}
.pill:hover { background: var(--celadon); border-color: var(--celadon); color: #fff; }
.pill:hover em { background: rgba(255,255,255,0.25); }

/* ---------- 精选作品 ---------- */
.works-section { background: var(--bg-soft); }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.work-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: var(--transition); display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.work-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.work-card:hover .work-img img { transform: scale(1.03); }
.work-glyph { font-size: 64px; color: var(--celadon-soft); }
.work-tag {
  position: absolute; top: 14px; left: 14px; background: var(--terracotta); color: #fff;
  font-size: 12px; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.05em; z-index: 2;
}
/* 免运费角标（首页精选 / 产品列表 / 搜索 / 相关作品）：置于图片右上，避开左上 Featured 角标 */
.work-free-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.94); color: var(--celadon-dark);
  border: 1px solid rgba(30, 94, 255, 0.45);
  font-size: 11.5px; font-weight: 600; line-height: 1.3;
  padding: 3px 9px; border-radius: 999px; letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); backdrop-filter: blur(2px);
}
.work-free-tag svg { flex: none; }
.work-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(16, 42, 92,0) 40%, rgba(16, 42, 92,0.55));
  opacity: 0; transition: opacity 0.35s ease; z-index: 1;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-view {
  padding: 9px 22px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.9);
  color: #fff; font-size: 14px; letter-spacing: 0.04em; background: rgba(16, 42, 92,0.25);
  backdrop-filter: blur(4px); transform: translateY(8px); transition: transform 0.35s ease;
}
.work-card:hover .work-view { transform: translateY(0); }
.work-info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.work-cat { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.work-title-link { display: block; }
.work-title {
  font-family: var(--font-serif); font-size: 18px; color: var(--ink); font-weight: 600;
  margin-top: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.2s;
}
.work-title-link:hover .work-title { color: var(--celadon-dark); }
.work-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }
.work-price { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--terracotta); }
.work-price-col { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.work-rating { display: inline-flex; align-items: center; gap: 4px; line-height: 1; }
.work-stars { position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; color: #e2e2e2; line-height: 1; }
.work-stars-bg { display: block; }
.work-stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f5a623; }
.work-stars-num { font-size: 13px; font-weight: 600; color: var(--ink); }
.work-stars-count { font-size: 12px; color: var(--ink-faint); }
.work-view-link { color: var(--ink-faint); font-size: 14px; }
/* 亚马逊风格加购按钮：黄底黑字 + 购物车图标 + Add to Cart 文案 */
.work-add-form { display: flex; flex: 0 0 100%; }
.work-add-btn {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0 16px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #E6A815;
  cursor: pointer;
  background: #FFD814;
  color: #0F1111;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.work-add-btn svg { flex: 0 0 auto; }
.work-add-btn:hover {
  background: #F7CA00;
  border-color: #D69C0A;
  transform: none;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.7);
}
.work-add-btn:active { background: #F2C200; }
.work-add-btn:focus-visible { outline: 2px solid #0F1111; outline-offset: 2px; }
@media (max-width: 480px) {
  .work-add-btn { height: 36px; font-size: 13px; padding: 0 12px; }
}
.work-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 文化传承 ---------- */
.news-section { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-glyph { font-size: 56px; color: var(--celadon-soft); }
.news-body { padding: 20px 22px 24px; }
.news-date { font-size: 12.5px; color: var(--terracotta); letter-spacing: 0.05em; }
.news-title {
  font-family: var(--font-serif); font-size: 19px; color: var(--ink); font-weight: 600;
  margin: 8px 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-desc { color: var(--ink-soft); font-size: 14px; }

/* ---------- CTA ---------- */
.cta-section { padding: 32px 0 64px; background: var(--bg-soft); }
.cta-inner {
  background: linear-gradient(120deg, var(--celadon-deep) 0%, var(--celadon-dark) 55%, var(--celadon) 100%);
  border-radius: 30px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-inner::before { content: '◍'; position: absolute; left: -40px; top: -50px; font-size: 220px; color: rgba(255,255,255,0.07); }
.cta-inner::after { content: '◍'; position: absolute; right: -30px; bottom: -60px; font-size: 260px; color: rgba(255,255,255,0.06); }
.cta-title { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin: 8px 0 12px; position: relative; z-index: 1; }
.cta-desc { color: rgba(255,255,255,0.85); margin-bottom: 30px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- 页面头（面包屑） ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--celadon-deep) 0%, var(--celadon-dark) 100%);
  padding: 40px 0; position: relative; overflow: hidden;
}
.page-hero::after { content: '◍'; position: absolute; right: -30px; top: -40px; font-size: 200px; color: rgba(255,255,255,0.06); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.6; }
.page-title { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 46px); color: #fff; font-weight: 600; position: relative; z-index: 1; }
.page-sub { color: rgba(255,255,255,0.82); margin-top: 10px; max-width: 620px; position: relative; z-index: 1; }
.checkout-hero { padding: 16px 0; }
.checkout-hero .breadcrumb { margin-bottom: 0; }

/* ---------- 栏目页签 ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cat-tab {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft); transition: var(--transition); background: #fff;
}
.cat-tab:hover { border-color: var(--celadon-soft); color: var(--celadon-dark); }
.cat-tab.active { background: var(--celadon); color: #fff; border-color: var(--celadon); }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-link {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft);
  transition: var(--transition); background: #fff;
}
.page-link:hover { border-color: var(--celadon); color: var(--celadon-dark); }
.page-link.active { background: var(--celadon); color: #fff; border-color: var(--celadon); }
.review-pagination { margin-top: 24px; }

/* ---------- 空状态 ---------- */
.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-faint); }
.empty-glyph { font-size: 72px; color: var(--celadon-soft); display: block; margin-bottom: 18px; }

/* ---------- 详情页 ---------- */
.detail-hero { padding: 36px 0; }
.detail-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.detail-gallery { position: sticky; top: 100px; }
.gallery-main {
  border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-soft);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-main-link img { transition: transform .25s ease; }
.gallery-main-link:hover img { transform: scale(1.03); }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumb {
  width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent;
  padding: 0; background: #fff; transition: var(--transition); flex: none; cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--celadon); }
.detail-title { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); color: var(--celadon-deep); font-weight: 600; line-height: 1.3; }
.detail-sub { color: var(--terracotta); font-size: 16px; margin-top: 12px; }
.detail-meta { display: flex; gap: 20px; flex-wrap: wrap; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.meta-item { font-size: 13.5px; color: var(--ink-faint); }
.detail-summary {
  background: var(--bg-soft); border-left: 3px solid var(--celadon); padding: 16px 20px;
  border-radius: 0 12px 12px 0; color: var(--ink-soft); font-size: 15px; margin-bottom: 24px;
}
/* ---------- 商品详情：使用场景标签（办公室 / 家庭 / 礼品赠送…） ---------- */
.detail-scenes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.detail-scenes-label { font-size: 13px; color: var(--ink-faint); margin-right: 2px; }
.scene-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line, #E3E9F2);
  color: var(--ink, #101828); font-size: 13px; text-decoration: none;
  transition: var(--transition, .3s);
}
.scene-tag:hover {
  background: var(--celadon-deep, #102A5C); color: #fff;
  border-color: var(--celadon-deep, #102A5C);
}
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-content-section { padding-top: 20px; background: var(--bg-soft); }
.detail-content { max-width: 860px; margin: 0 auto; }

/* 正文排版 */
.detail-content, .page-content { color: var(--ink); font-size: 16.5px; line-height: 1.9; }
.detail-content h1, .detail-content h2, .detail-content h3, .detail-content h4,
.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  font-family: var(--font-serif); color: var(--celadon-deep); margin: 1.6em 0 0.6em; line-height: 1.3;
}
.detail-content h2, .page-content h2 { font-size: 28px; }
.detail-content h3, .page-content h3 { font-size: 22px; }
.detail-content p, .page-content p { margin-bottom: 1.1em; }
.detail-content img, .page-content img { border-radius: 14px; margin: 18px auto; box-shadow: var(--shadow-sm); }
.detail-content ul, .detail-content ol, .page-content ul, .page-content ol { margin: 0 0 1.2em 1.4em; }
.detail-content li, .page-content li { margin-bottom: 6px; }
.detail-content blockquote, .page-content blockquote {
  border-left: 3px solid var(--terracotta); padding: 12px 20px; margin: 1.4em 0;
  background: var(--bg-soft); border-radius: 0 12px 12px 0; color: var(--ink-soft);
}
.detail-content a, .page-content a { color: var(--terracotta); border-bottom: 1px solid var(--terracotta-soft); }

/* ---------- 视频嵌入 ---------- */
.detail-video-section { background: var(--bg); }
.video-wrap { max-width: 860px; margin: 0 auto; }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px;
  overflow: hidden; background: #000; box-shadow: var(--shadow-md);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player {
  display: block; width: 100%; max-height: 560px; border-radius: 16px;
  background: #000; box-shadow: var(--shadow-md);
}

.related-section { background: var(--bg); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-list { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .fi {
  width: 46px; height: 46px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--celadon), var(--celadon-dark)); color: #fff; font-size: 20px;
}
.contact-list strong { display: block; font-size: 15px; color: var(--celadon-deep); margin-bottom: 2px; }
.contact-list p { color: var(--ink-soft); font-size: 14.5px; }
.contact-list a { color: var(--celadon-deep); }
.contact-list a:hover { text-decoration: underline; }
/* 联系页底部说明：B2B 入口 + 下单前政策指引（Google Ads 要求政策易达） */
.contact-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13.5px; line-height: 1.75; }
.contact-note a { color: var(--celadon-deep); text-decoration: underline; }
.contact-form-card {
  background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.contact-form-card .section-title { margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 7px; }
.form-row .form-field { margin-bottom: 0; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg);
  transition: var(--transition); resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--celadon); background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 94, 255, 0.14);
}
/* 注册页图形验证码 */
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row input { width: 120px; flex: none; letter-spacing: 2px; }
.captcha-img {
  height: 42px; width: 120px; object-fit: cover; cursor: pointer;
  border-radius: 10px; border: 1.5px solid var(--line); background: #EFF6FF;
  flex: none;
}
.captcha-img:hover { border-color: var(--celadon); }
.form-success {
  background: rgba(30, 94, 255, 0.14); color: var(--celadon-deep); padding: 14px 18px;
  border-radius: 12px; margin-bottom: 20px; font-size: 14.5px;
}

/* ---------- 搜索 ---------- */
.search-bar { display: flex; gap: 12px; margin-top: 20px; max-width: 560px; }
.search-bar input {
  flex: 1; padding: 13px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15); color: #fff; font-size: 15px; font-family: inherit;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.6); }
.search-bar input:focus { outline: none; background: rgba(255,255,255,0.22); }
.search-result-count { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- 404 ---------- */
.notfound-section { padding: 100px 0; }
.notfound-inner { text-align: center; }
.notfound-glyph { font-size: 90px; color: var(--celadon-soft); display: block; margin-bottom: 10px; }
.notfound-title { font-family: var(--font-serif); font-size: 96px; color: var(--celadon-deep); line-height: 1; }
.notfound-desc { color: var(--ink-soft); margin: 18px 0 30px; }
.notfound-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: linear-gradient(180deg, #142A55 0%, #081631 100%); color: rgba(255,255,255,0.82); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo .brand-mark { width: 38px; height: 38px; font-size: 20px; }
.footer-logo .brand-name { color: #fff; }
.footer-about { margin: 18px 0 10px; font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.8; }
.footer-slogan { font-size: 13px; color: #66D6E8; letter-spacing: 0.1em; }
.footer-title { font-family: var(--font-serif); font-size: 18px; color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.65); align-items: flex-start; }
.footer-contact-list .fi { color: var(--gold); }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.5); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: rgba(255,255,255,0.9); }
.footer-legal { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-legal .sep { color: rgba(255,255,255,0.3); }
/* 经营主体全称：Google Ads 企业透明度要求，页脚需可见 */
.footer-entity { color: rgba(255,255,255,0.62); }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--celadon); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: var(--transition);
  z-index: 900; cursor: pointer;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--celadon-dark); transform: translateY(-3px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* 860–1024 这段原先仍是 11 项横排导航，但容器此时已缩到 968px 以内，怎么收都塞不下
   （实测整页横向溢出 468px）。导航折叠统一提前到 1024，其余布局仍留在 860 断点。 */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 66px; left: 0; right: 0; background: var(--bg);
    padding: 12px 24px 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%);
    transition: var(--transition); box-shadow: var(--shadow-md); max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav .container { padding: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; height: auto; white-space: normal; flex-wrap: wrap; }
  .nav-link { justify-content: space-between; white-space: normal; font-size: 15px; padding: 9px 14px; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; background: var(--bg-soft); margin: 4px 0 6px 12px; padding: 4px 8px;
  }
  .has-dropdown:hover .dropdown { transform: none; }
  .header-cta { display: none; }
}
@media (max-width: 860px) {
  .about-wrap { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 12px; }
  .detail-wrap { grid-template-columns: 1fr; gap: 32px; }
  .detail-gallery { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 40px 0; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .series-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-slider { height: 64vh; min-height: 440px; }
  .hero-title { font-size: 32px; }
  .cta-inner { padding: 44px 24px; }
  .work-title { font-size: 16px; }
  /* 首屏：窄屏改图片在上、文案在下，高度自适应 */
  .hero-slider { height: auto; }
  .hero-slide { position: relative; inset: auto; opacity: 1; display: none; }
  .hero-slide.active { display: block; opacity: 1; }
  .hero-visual { position: relative; inset: auto; height: 46vh; min-height: 240px; max-height: 380px; }
  .hero-visual img { width: 100%; height: auto; max-height: 100%; }
  .hero-inner { padding: 28px 0 48px; }
  .hero-copy { max-width: none; }
  .hero-dots { bottom: 14px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 18px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 购物车图标 ---------- */
.cart-link { position: relative; display: inline-flex; align-items: center; margin-right: 4px; }
.cart-icon { font-size: 21px; }
.cart-badge {
  position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--terracotta); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* ---------- 产品价格 ---------- */
.detail-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 8px; }
.price-amount { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--terracotta); }
.price-original { font-size: 17px; color: var(--ink-faint); text-decoration: line-through; }
.price-save { font-size: 13px; font-weight: 600; color: #fff; background: var(--terracotta); padding: 3px 10px; border-radius: 999px; }
.price-sku { font-size: 13px; color: var(--ink-faint); }
.detail-actions form { display: inline; }
.detail-stock { margin-bottom: 16px; }
.stock-in { color: var(--celadon-dark); font-weight: 600; font-size: 14px; }
.stock-low { color: var(--terracotta); font-weight: 600; font-size: 14px; }
.stock-out { color: var(--danger); font-weight: 600; font-size: 14px; }
.detail-attrs { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.detail-attrs h3 { font-family: var(--font-serif); font-size: 18px; color: var(--celadon-deep); margin-bottom: 10px; }
.attr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.attr-table tr { border-bottom: 1px solid var(--line-soft); }
.attr-table tr:last-child { border-bottom: 0; }
.attr-table th { text-align: left; color: var(--ink-faint); font-weight: 500; width: 140px; padding: 8px 0; }
.attr-table td { color: var(--ink); padding: 8px 0; }
.leadtime-table thead th { width: auto; color: var(--ink); font-weight: 600; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.leadtime-table tbody th { width: auto; }
.leadtime-table tbody td { padding: 10px 0; }
.leadtime-table thead th:not(:first-child),
.leadtime-table tbody td:not(:first-child) { text-align: center; }
.work-price { display: inline-flex; align-items: baseline; gap: 8px; }
.work-price-old { font-style: normal; font-size: 14px; color: var(--ink-faint); text-decoration: line-through; font-weight: 400; }
.cart-price { display: inline-flex; align-items: baseline; gap: 8px; }
.cart-price-old { font-style: normal; font-size: 13px; color: var(--ink-faint); text-decoration: line-through; font-weight: 400; }
.work-add-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ---------- 购物车页 ---------- */
.cart-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
}
.cart-img { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; flex: none; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.cart-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-info { flex: 1; min-width: 0; }
.cart-title { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink); display: block; }
.cart-title:hover { color: var(--celadon-dark); }
.cart-sub { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.cart-price { font-size: 15px; font-weight: 600; color: var(--terracotta); margin-top: 4px; display: block; }
.cart-qty { display: flex; gap: 6px; align-items: center; }
.cart-qty input { width: 64px; padding: 8px 10px; border-radius: 8px; border: 1.5px solid var(--line); text-align: center; font-size: 14px; }
.cart-line-total { font-weight: 600; min-width: 80px; text-align: right; }
.cart-remove button { color: var(--ink-faint); border-color: transparent; }
.cart-remove button:hover { color: var(--danger); border-color: rgba(192,82,74,0.3); }

.cart-summary { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); position: sticky; top: 100px; }
.cart-summary-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.cart-summary-head h3 { font-family: var(--font-serif); font-size: 20px; color: var(--celadon-deep); margin-bottom: 0; }
.cart-clear { margin: 0; }
.cart-summary h3 { font-family: var(--font-serif); font-size: 20px; color: var(--celadon-deep); margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--ink-soft); }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--ink); }
.cart-summary .btn { margin-top: 10px; }

/* ---------- 结算页 ---------- */
.checkout-wrap { max-width: 1100px; margin: 0 auto; }
.checkout-form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.checkout-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; width: 100%; }
.checkout-col .form-field { margin-bottom: 10px; }
.checkout-col .form-field label { margin-bottom: 4px; font-size: 13px; }
.checkout-col .form-field input, .checkout-col .form-field textarea { padding: 11px 14px; }
.checkout-card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); min-width: 0; }
.checkout-card h3 { font-family: var(--font-serif); font-size: 17px; color: var(--celadon-deep); margin-bottom: 12px; }
.checkout-hint { font-size: 13px; color: var(--ink-faint); margin: -6px 0 10px; }
.pay-methods { display: flex; flex-direction: column; gap: 8px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: var(--transition); }
.pay-method:hover { border-color: var(--celadon-soft); }
.pay-method input { accent-color: var(--celadon); width: 18px; height: 18px; }
.pay-method-body { display: flex; flex-direction: column; }
.pay-method-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.pay-method-desc { font-size: 13px; color: var(--ink-faint); }
.pay-icons { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; align-items: center; }
.pay-icon { height: 16px; width: auto; display: block; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.checkout-summary { position: sticky; top: 100px; }
.checkout-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; max-height: 260px; overflow-y: auto; }
.checkout-items li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.co-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: none; background: var(--bg-soft); }
.co-thumb img { width: 100%; height: 100%; object-fit: contain; }
.co-name { flex: 1; min-width: 0; color: var(--ink); }
.co-price { font-weight: 600; flex: none; }
/* 结算页商品行：可改数量 / 可移除 */
.checkout-items .co-item { align-items: flex-start; }
.co-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.checkout-items .co-name { flex: none; font-weight: 600; line-height: 1.35; }
.co-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.co-qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.co-qty-btn { width: 26px; height: 26px; border: 0; background: transparent; color: var(--ink); font-size: 15px; line-height: 1; cursor: pointer; }
.co-qty-btn:hover { background: var(--bg-soft); }
.co-qty-input { width: 34px; height: 26px; border: 0; text-align: center; font-size: 13px; color: var(--ink); background: transparent; }
.co-qty-input::-webkit-outer-spin-button, .co-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co-unit { font-size: 12.5px; color: var(--ink-faint); }
.co-promo-tag { align-self: flex-start; font-size: 11.5px; color: var(--celadon-dark); background: #EFF6FF; border-radius: 6px; padding: 2px 6px; line-height: 1.4; }
/* 结算明细行内「免运费」标签（与购物车 .ship-free-tag 同一语义，按结算页紧凑排版） */
.co-free-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--celadon-dark); background: #EFF6FF; border-radius: 6px; padding: 2px 6px; line-height: 1.4; }
.co-free-tag svg { flex: none; }
.co-remove { flex: none; border: 0; background: transparent; color: var(--ink-faint); font-size: 14px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.co-remove:hover { color: #c0392b; }
.co-item.co-loading { opacity: 0.5; pointer-events: none; }
.checkout-error { background: rgba(192,82,74,0.1); color: var(--danger); padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 10px 0; }
.checkout-secure { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; }
.order-recap { background: var(--bg-soft); border-radius: 12px; padding: 16px 20px; margin: 18px auto 8px; max-width: 380px; text-align: left; }
.order-recap p { margin-bottom: 6px; font-size: 14px; color: var(--ink-soft); }
.order-recap strong { color: var(--ink); }
.mono { font-family: 'SFMono-Regular', Consolas, monospace; }

/* Airwallex HPP 跳转中间页 */
.co-spinner {
  width: 44px; height: 44px; margin: 0 auto;
  border: 4px solid rgba(98,47,255,0.18);
  border-top-color: #622bff; border-radius: 50%;
  animation: co-spin 0.9s linear infinite;
}
@keyframes co-spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  /* 结算页中屏即改为单列：左栏（表单）占满宽，避免笔记本窗口/大平板横屏下被挤压 */
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 860px) {
  .cart-wrap { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { flex-wrap: wrap; }
  .cart-line-total { text-align: left; }
}

/* ---------- Scan to Pay（PayPal 直购二维码） ---------- */
.scan-to-pay { display: inline-flex; align-items: center; gap: 6px; }
.work-footer { flex-wrap: wrap; gap: 10px; }
/* 详情页横向二维码卡（图左、文字+按钮右），更紧凑且位置合理 */
.paypal-qr-card.detail-qr { display: flex; gap: 16px; align-items: center; text-align: left;
  max-width: 440px; margin-top: 20px; padding: 16px; }
.paypal-qr-card.detail-qr .paypal-qr-img { width: 140px; height: 140px; margin: 0; flex: none;
  border: 1px solid #eee; border-radius: 10px; background: #fff; }
.paypal-qr-card.detail-qr .paypal-qr-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.paypal-qr-card.detail-qr .pp-qr-link { align-self: flex-start; margin-top: 4px; }
@media (max-width: 520px) {
  .paypal-qr-card.detail-qr { flex-direction: column; text-align: center; }
  .paypal-qr-card.detail-qr .pp-qr-link { align-self: center; }
}
/* 二维码弹窗 */
.qr-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 16px; }
.qr-modal.open { display: flex; }
.qr-modal-backdrop { position: absolute; inset: 0; background: rgba(30,26,22,.5); }
.qr-modal-box { position: relative; z-index: 1; background: #fff; border-radius: 18px; padding: 26px 24px 22px;
  width: min(340px, 90vw); text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.qr-modal-close { position: absolute; top: 8px; right: 12px; border: 0; background: transparent; font-size: 26px;
  line-height: 1; color: #8A94A6; cursor: pointer; }
.qr-modal-title { font-family: var(--font-serif); font-size: 18px; color: #101828; margin-bottom: 14px; }
.qr-modal-img { width: 220px; height: 220px; max-width: 100%; object-fit: contain; border: 1px solid #eee;
  border-radius: 12px; background: #fff; margin: 0 auto 14px; display: block; }
.qr-modal-note { font-size: 13px; color: #475467; line-height: 1.5; margin-bottom: 16px; }
.qr-modal .btn-block { width: 100%; }
/* 结算页窄屏兜底：表单两列在窄屏改单列，避免左栏挤压溢出 */
@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- 账号入口 ---------- */
.account-link { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; color: var(--ink); font-size: 14px; }
.account-icon { font-size: 18px; }
.account-name { max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-link:hover { color: var(--celadon-dark); }
@media (max-width: 860px) { .account-name { display: none; } }

/* ---------- 会员中心 ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.account-sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); overflow: hidden; position: sticky; top: 100px; }
.account-user { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(120deg, var(--celadon-deep), var(--celadon-dark)); }
.account-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.2); color: #fff; font-size: 20px; font-weight: 600;
}
.account-username { color: #fff; font-weight: 600; font-size: 15px; }
.account-email { color: rgba(255,255,255,0.75); font-size: 12px; }
.account-nav { display: flex; flex-direction: column; padding: 12px; }
.account-nav a { padding: 11px 14px; border-radius: 10px; font-size: 14px; color: var(--ink-soft); transition: 0.2s; }
.account-nav a:hover { background: var(--bg-soft); color: var(--celadon-dark); }
.account-nav a.active { background: linear-gradient(135deg, rgba(124,154,141,0.5), rgba(124,154,141,0.22)); color: var(--celadon-deep); font-weight: 600; }
.account-nav a.account-logout { color: var(--danger); }
.account-content { min-width: 0; }
.account-content .panel, .account-content .stat-card, .account-content .dash-grid { max-width: 100%; }
.form-error { background: rgba(192,82,74,0.1); color: var(--danger); border: 1px solid rgba(192,82,74,0.3); }

.address-list { display: flex; flex-direction: column; }
.address-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.address-card:last-child { border-bottom: 0; }
.address-card.address-default { background: rgba(124,154,141,0.06); }
.address-body { flex: 1; }
.address-body strong { font-size: 15px; color: var(--ink); }
.address-body p { color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.address-actions { display: flex; gap: 6px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}

/* ---------- 语言切换 ---------- */
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px; cursor: pointer;
  font-family: inherit; transition: var(--transition);
}
.lang-current:hover { border-color: var(--celadon); color: var(--celadon-deep); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 130px;
  background: #fff; border-radius: 12px; padding: 6px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft); opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: var(--transition); z-index: 1100;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li a {
  display: block; padding: 8px 14px; border-radius: 8px; font-size: 14px;
  color: var(--ink); transition: var(--transition);
}
.lang-menu li a:hover { background: var(--bg-soft); }
.lang-menu li a.active { background: rgba(124,154,141,0.15); color: var(--celadon-deep); font-weight: 600; }

/* ---------- SVG 线性图标 ---------- */
.brand-mark svg { width: 22px; height: 22px; }
.footer-logo .brand-mark svg { width: 20px; height: 20px; }
.account-icon, .cart-icon { display: inline-flex; align-items: center; justify-content: center; }
.account-icon svg { width: 20px; height: 20px; }
.cart-icon svg { width: 22px; height: 22px; }
.lang-current svg { width: 16px; height: 16px; }
.contact-list .fi, .footer-contact-list .fi { display: inline-flex; align-items: center; justify-content: center; }
.contact-list .fi svg, .footer-contact-list .fi svg { width: 18px; height: 18px; flex: none; }

/* 会员中心侧边栏 SVG 图标 */
.account-nav a { display: flex; align-items: center; gap: 10px; }
.account-nav a svg { width: 17px; height: 17px; flex: none; }

/* ---------- 视频画廊（主播放器 + 右侧列表） ---------- */
.video-gallery { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .video-gallery { grid-template-columns: 1fr; } }
.video-main { position: relative; min-height: 360px; }
.video-main-item { display: none; }
.video-main-item.active { display: block; }
.video-main-item .video-player, .video-main-item .video-embed { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video-main-item .video-embed iframe { width: 100%; height: 100%; border: 0; }

.video-list-side { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.video-list-head { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; padding: 0 8px; }
.video-side-item { display: flex; gap: 12px; padding: 8px; border-radius: 10px; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.video-side-item:hover { background: var(--bg-soft); }
.video-side-item.active { background: var(--bg-soft); border-color: var(--celadon-soft); }
.video-side-thumb { position: relative; width: 130px; height: 75px; flex: none; border-radius: 8px; overflow: hidden; background: #000; }
.video-side-thumb img, .video-side-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-mark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; pointer-events: none;
}
.video-side-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; flex: 1; }
.video-side-title { font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-side-sub { font-size: 11.5px; color: var(--ink-faint); margin-top: 4px; letter-spacing: 0.02em; }

/* ---------- 结算页政策链接 ---------- */
.checkout-policy { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; line-height: 1.6; }
.checkout-policy a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; }
.checkout-policy a:hover { color: var(--celadon-deep); }

/* ---------- 客户评价 / 星级 ---------- */
.review-section { background: var(--bg); }
.review-summary { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; padding: 24px; background: #fff; border-radius: 14px; border: 1px solid var(--line-soft); }
.review-avg { text-align: center; min-width: 140px; }
.review-avg-num { font-family: var(--font-serif); font-size: 52px; font-weight: 700; color: var(--terracotta); line-height: 1; display: block; }
.review-stars { color: #e0e0e0; letter-spacing: 2px; }
.review-stars .star.filled { color: #f5a623; }
.review-stars .star.half { color: #f5a623; }
.review-stars-lg { font-size: 22px; display: block; margin-top: 6px; }
.review-count { font-size: 13px; color: var(--ink-faint); margin-top: 6px; display: block; }
.review-bars { flex: 1; min-width: 260px; max-width: 420px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-bar-label { width: 34px; font-size: 13px; color: var(--ink-soft); text-align: right; }
.review-bar { flex: 1; height: 12px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.review-bar-fill { height: 100%; background: #f5a623; border-radius: 999px; }
.review-bar-count { width: 28px; font-size: 13px; color: var(--ink-soft); }

.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-item { padding: 18px 20px; background: #fff; border-radius: 12px; border: 1px solid var(--line-soft); }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-stars { font-size: 15px; }
.review-title { font-size: 15px; color: var(--ink); font-weight: 600; }
.review-content { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 8px 0; }
.review-meta { font-size: 12.5px; color: var(--ink-faint); }
.review-author { font-weight: 600; color: var(--ink); }
.review-date { margin-left: 10px; }
.review-empty { color: var(--ink-faint); padding: 20px; background: #fff; border-radius: 12px; border: 1px dashed var(--line); text-align: center; }
/* 评论图片 */
.review-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
.review-photo { width: 86px; height: 86px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); display: block; background: var(--bg-soft); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.review-photo:hover img { transform: scale(1.06); }
.review-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.82); padding: 24px; }
.review-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.review-lightbox-close { position: absolute; top: 16px; right: 22px; font-size: 38px; line-height: 1; color: #fff; cursor: pointer; opacity: .85; }
.review-lightbox-close:hover { opacity: 1; }
/* 评论表单图片选择
   原生 file 控件的按钮/提示文字由浏览器语言决定（中文系统下会显示"选择文件"），
   故隐藏原生控件，改用可走站点翻译的自定义按钮 + 文件名提示。 */
.review-file-picker { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-file-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.review-file-btn { display: inline-block; padding: 8px 16px; font-size: 13px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: color .15s, border-color .15s; }
.review-file-btn:hover { color: var(--celadon-dark); border-color: var(--celadon-soft); }
.review-file-input:focus + .review-file-btn { outline: 2px solid var(--celadon-soft); outline-offset: 2px; }
.review-file-name { font-size: 13px; color: var(--ink-faint); }
.review-file-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.review-file-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-soft); }
.review-notice { margin-bottom: 14px; padding: 10px 14px; font-size: 13px; color: #8a5a00; background: #EFF6FF; border: 1px solid #DBEAFE; border-radius: 8px; }

.review-form-wrap { margin-top: 28px; padding: 24px; background: #fff; border-radius: 14px; border: 1px solid var(--line-soft); }
.review-form-title { font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-bottom: 16px; }
.review-form { max-width: 640px; }
.review-star-input { display: flex; gap: 4px; direction: rtl; }
.review-star-input input { display: none; }
.review-star-input label { font-size: 26px; color: #e0e0e0; cursor: pointer; transition: color 0.15s; }
.review-star-input label:hover, .review-star-input label:hover ~ label,
.review-star-input input:checked ~ label { color: #f5a623; }
@media (max-width: 600px) {
  .review-summary { flex-direction: column; gap: 20px; align-items: flex-start; }
  .review-avg { align-self: center; }
}

/* ---------- 账户/订单表格（亚马逊后台风格，紧凑清晰行） ---------- */
/* 会员端此前无 .table 样式，订单明细图因此以原图尺寸撑大行高；此处统一约束。 */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table thead th {
  text-align: left; padding: 11px 14px; border-bottom: 2px solid var(--line-soft);
  color: var(--ink-faint); font-weight: 600; font-size: 13px; white-space: nowrap;
}
.table tbody td {
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  vertical-align: middle; color: var(--ink);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #F8FAFC; }
.cell-title { display: flex; align-items: center; gap: 12px; }
/* 缩略图固定小尺寸（约原图 1/5），每行清晰、不撑高 */
.cell-thumb {
  width: 48px; height: 48px; border-radius: 6px; object-fit: cover;
  flex: none; border: 1px solid var(--line-soft); background: #F8FAFC;
}
.cell-thumb-empty { display: inline-block; background: #F3EFE8; }

/* ---------- 我的订单（亚马逊风格：状态标签 + 订单卡片） ---------- */
.status-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line, #E3E9F2); background: #fff;
  color: var(--ink-soft, #475467); font-size: 13px; text-decoration: none;
  transition: all .15s;
}
.chip:hover { border-color: #7CA7FF; color: #1746C8; }
.chip.on { background: #1746C8; color: #fff; border-color: transparent; }

.amz-order {
  border: 1px solid var(--line, #E3E9F2); border-radius: 12px;
  background: #fff; margin-bottom: 14px; overflow: hidden;
}
.amz-order-head {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start;
  padding: 12px 16px; background: #F5F7FB; border-bottom: 1px solid var(--line, #E3E9F2);
  font-size: 13px;
}
.amz-muted { color: #8A94A6; font-size: 12px; }
.amz-order-no { color: #1746C8; text-decoration: none; font-weight: 600; font-size: 13px; }
.amz-order-no:hover { text-decoration: underline; }

/* 状态标签（付款后叠加显示里程碑） */
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; margin: 1px 4px 1px 0; line-height: 1.6; }
.tag-on { background: rgba(30, 94, 255,0.15); color: #1746C8; }
.tag-off { background: rgba(154,145,134,0.15); color: #8A94A6; }
.tag-danger { background: rgba(192,82,74,0.15); color: #B04A3E; }
.amz-order-body { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 16px; }
.amz-items { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.amz-item { display: flex; gap: 12px; align-items: flex-start; }
.amz-item-info { min-width: 0; }
.amz-item-title { font-size: 14px; color: var(--ink, #101828); font-weight: 500; line-height: 1.4; }
.amz-actions { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
@media (max-width: 640px) {
  .amz-order-body { flex-direction: column; }
  .amz-actions { min-width: 0; width: 100%; }
}

/* ---------- 视频卡片（跳独立播放页 /watch） ---------- */
.video-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;}
.video-card{display:block;text-decoration:none;background:#fff;border:1px solid #E3E9F2;border-radius:12px;overflow:hidden;color:#101828;transition:box-shadow .2s,transform .2s;}
.video-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.1);transform:translateY(-2px);}
.video-card-thumb{position:relative;width:100%;padding-top:56.25%;background:#0B1220;display:block;}
.video-card-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.video-card-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:rgba(192,128,90,.92);color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.25);}
.video-card-meta{padding:10px 12px;}
.video-card-title{display:block;font-size:14px;font-weight:600;line-height:1.35;color:#101828;}
.video-card-sub{display:block;font-size:12px;color:#8A94A6;margin-top:2px;}
.video-card--inline{margin:16px 0;}
.video-card--inline .video-card-thumb{background:#0B1220;}

/* ============================================================
   TruNeb 风格首页改版 · 2026-09
   顶部通告条 / Trust icons / 3 列特色卡 / 对比表 / 适用人群 / 保障带
   沿用现有陶土色系与字体，仅补充新组件。
   ============================================================ */


/* ---------- Trust icons 横排 ---------- */
.trust-band {
  background: var(--bg-soft, #EAF0F7);
  border-top: 1px solid var(--line-soft, #EFF3F9);
  border-bottom: 1px solid var(--line-soft, #EFF3F9);
  padding: 22px 0;
}
.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 12px;
}
.trust-icon {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: rgba(0, 169, 200, 0.12);
  color: var(--terracotta, #00A9C8);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.trust-title { font-size: 14.5px; font-weight: 600; color: var(--celadon-deep, #102A5C); }
.trust-sub { font-size: 12.5px; color: var(--ink-soft, #475467); margin-top: 3px; }
@media (max-width: 880px) {
  .trust-band-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 8px 6px; }
}
@media (max-width: 480px) {
  .trust-band-grid { grid-template-columns: 1fr; }
}

/* ---------- 3 列特色系列卡（TruNeb 风格：图左 + 文右） ---------- */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-tile {
  background: linear-gradient(135deg, var(--bg-soft, #EAF0F7) 0%, #fff 100%);
  border: 1px solid var(--line-soft, #EFF3F9);
  border-radius: var(--radius, 18px);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  min-height: 200px;
  transition: transform var(--transition, .3s), box-shadow var(--transition, .3s);
}
.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 16px 40px -16px rgba(16, 42, 92, 0.22));
}
.feature-tile.tone-2 {
  background: linear-gradient(135deg, #fff 0%, var(--bg-soft, #EAF0F7) 100%);
}
.feature-tile.tone-3 {
  background: linear-gradient(135deg, var(--celadon-soft, #7CA7FF) 0%, #fff 100%);
}
.feature-tile-visual {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
}
.feature-tile-visual img { width: 100%; height: 100%; object-fit: contain; }
.feature-tile-visual .tile-glyph { font-size: 56px; color: var(--celadon-soft, #7CA7FF); }
.feature-tile-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature-tile-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--celadon-deep, #102A5C);
  line-height: 1.15;
}
.feature-tile-sub {
  color: var(--ink-soft, #475467);
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 6px;
}
.feature-tile-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--terracotta, #00A9C8);
  color: #fff;
  font-size: 13px; font-weight: 500;
  transition: var(--transition, .3s);
  border: 1.5px solid transparent;
}
.feature-tile-cta:hover {
  background: #fff;
  color: var(--terracotta, #00A9C8);
  border-color: var(--terracotta, #00A9C8);
  transform: translateY(-2px);
}
@media (max-width: 880px) {
  .feature-tiles { grid-template-columns: 1fr; }
}

/* ---------- Why Tang Sancai 三列对比 ---------- */
.compare-section {
  background: var(--bg-soft, #EAF0F7);
}
.compare-3col {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.compare-col {
  background: #fff;
  border-radius: var(--radius, 18px);
  padding: 28px 26px;
  border: 1px solid var(--line-soft, #EFF3F9);
  display: flex; flex-direction: column;
}
.compare-col.featured {
  background: linear-gradient(160deg, var(--celadon-deep, #102A5C) 0%, var(--celadon-dark, #1746C8) 100%);
  color: #fff;
  border-color: transparent;
  position: relative;
  transform: translateY(-12px);
  box-shadow: 0 24px 60px -20px rgba(16, 42, 92, 0.4);
}
.compare-col.featured .compare-col-title,
.compare-col.featured .compare-row-label,
.compare-col.featured .compare-row-val { color: #fff; }
.compare-col.featured .compare-divider { background: rgba(255,255,255,0.18); }
.compare-col.featured::before {
  content: '';
  position: absolute; top: -10px; right: 24px;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--terracotta, #00A9C8);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 22px 22px;
  background-position: center;
  background-repeat: no-repeat;
}
.compare-col-visual {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft, #EAF0F7);
  margin-bottom: 18px;
}
.compare-col-visual img { width: 100%; height: 100%; object-fit: contain; }
.compare-col-visual .cv-glyph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 84px; color: var(--celadon-soft, #7CA7FF); }
.compare-col-title {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 600;
  color: var(--celadon-deep, #102A5C);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.compare-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line, #E3E9F2);
  gap: 12px;
}
.compare-col.featured .compare-row { border-bottom-color: rgba(255,255,255,0.18); }
.compare-row:last-child { border-bottom: 0; }
.compare-row-label {
  font-size: 13px;
  color: var(--ink-soft, #475467);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-row-val {
  font-size: 14.5px;
  color: var(--ink, #101828);
  font-weight: 500;
  line-height: 1.45;
}
.compare-row-val.muted { color: var(--ink-faint, #8A94A6); font-weight: 400; }
.compare-col.featured .compare-row-val { color: #fff; }
@media (max-width: 880px) {
  .compare-3col { grid-template-columns: 1fr; }
  .compare-col.featured { transform: none; }
  .compare-row { grid-template-columns: 92px 1fr; }
}

/* ---------- 适用人群胶囊 ---------- */
.use-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.use-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line, #E3E9F2);
  color: var(--ink, #101828);
  font-size: 14.5px;
  font-weight: 500;
  transition: var(--transition, .3s);
}
.use-pill:hover {
  background: var(--celadon-deep, #102A5C);
  color: #fff;
  border-color: var(--celadon-deep, #102A5C);
  transform: translateY(-2px);
}
.use-pill .pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta, #00A9C8);
}
/* 当前所在场景（/scene/<slug>/ 页）高亮 */
.use-pill.active {
  background: var(--celadon-deep, #102A5C);
  color: #fff;
  border-color: var(--celadon-deep, #102A5C);
}
.use-pill.active .pill-dot { background: #fff; }


/* ---------- 价格承诺标签：免运费 + 关税税费由卖家承担 ----------
   全站任何显示价格的位置都要带这句，消除跨境买家对"到手还要不要加钱"的疑虑。
   统一用青瓷绿（正面/可信），避免跟价格主色陶土色抢视觉。 */
.price-note {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; line-height: 1.35;
  color: var(--celadon, #1746C8);
  letter-spacing: 0.005em;
}
/* 首屏轮播：深色大图上的浅色版本 */
.price-note-light {
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6), 0 0 4px rgba(0,0,0,0.4);
  margin: -8px 0 18px;
}

/* 详情页：胶囊标签，视觉权重略高 */
.detail-price-note {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 2px 0 14px; padding: 6px 13px;
  border-radius: 999px;
  background: rgba(30, 94, 255,0.08);
  color: var(--celadon, #1746C8);
  font-size: 12.5px; font-weight: 600;
}
.detail-price-note svg { flex: none; }

/* 发货地 + 送达时效：两个胶囊同一行，窄屏自动折行各占一行 */
.detail-shipline { display: flex; flex-wrap: wrap; gap: 7px 8px; margin: 2px 0 14px; }
.detail-shipline .detail-price-note { margin: 0; }

/* 商品页「提问胶囊」：仿 Alexa/Rufus 的商品页提问胶囊，点一下把问题带进客服浮窗。
   用品牌青瓷色而非蓝色，和站点调性一致；纯文字 pill，不加图标以免抢 Add to Cart 的注意力。 */
.detail-ask { margin: 2px 0 14px; }
.detail-ask-label {
  display: block; margin-bottom: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: #8a8f8c;
}
.detail-ask-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-pill {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(30, 94, 255,0.30); border-radius: 999px;
  background: #fff; color: var(--celadon, #1746C8);
  font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.4;
  text-align: left; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.ask-pill::before {
  content: "?"; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; margin-right: 6px;
  border-radius: 50%;
  background: rgba(30, 94, 255,0.14);
  font-size: 10.5px; font-weight: 700;
}
.ask-pill:hover { background: rgba(30, 94, 255,0.10); border-color: rgba(30, 94, 255,0.55); }
.ask-pill:active { transform: translateY(1px); }

/* 购物车 / 结算 / 订单明细：汇总区下方的说明条 */
.summary-note {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 8px 0 2px; padding: 8px 10px;
  border-radius: 8px;
  background: rgba(30, 94, 255,0.07);
  color: var(--celadon, #1746C8);
  font-size: 12.5px; font-weight: 600; line-height: 1.45;
}
.summary-note svg { flex: none; margin-top: 2px; }

/* 汇总行里 "Duties & taxes" 的值 */
.summary-paid { color: var(--celadon, #1746C8); font-weight: 600; }

/* 支付成功 / 银行转账 / 物流追踪 / 付款链接：金额下方一行 */
.order-recap-note {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 0;
  color: var(--celadon, #1746C8);
  font-size: 12.5px; font-weight: 600;
}
.order-recap-note svg { flex: none; }

/* 订单列表顶部：整页只出现一次，避免每行重复 */
.orders-note {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 12px; padding: 8px 14px;
  border-radius: 8px;
  background: rgba(30, 94, 255,0.07);
  color: var(--celadon, #1746C8);
  font-size: 12.5px; font-weight: 600;
}
.orders-note svg { flex: none; }

@media (max-width: 600px) {
  .price-note { font-size: 11px; }
  .detail-price-note, .summary-note, .order-recap-note, .orders-note { font-size: 12px; }
}

/* ---------- 多件优惠（Bulk discount）---------- */
.cart-promo-tag {
  display: inline-block;
  margin-top: 5px; padding: 2px 9px;
  font-size: 12px; font-weight: 600;
  color: var(--celadon-dark, #1746C8);
  background: rgba(30, 94, 255, .12);
  border: 1px solid rgba(30, 94, 255, .3);
  border-radius: 999px;
}

/* 商品级「免运费」标签（购物车行内 / 结算明细 / 订单明细） */
.ship-free-tag {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 5px; padding: 2px 9px;
  font-size: 12px; font-weight: 600;
  color: var(--celadon-dark, #1746C8);
  background: rgba(30, 94, 255, .12);
  border: 1px solid rgba(30, 94, 255, .3);
  border-radius: 999px;
}
.ship-free-tag svg { flex: none; }
.cart-line-old, .co-price-old {
  display: block; margin-top: 2px;
  font-size: 12px; font-style: normal; font-weight: 400;
  color: var(--ink-faint); text-decoration: line-through;
}
.co-price-old { display: inline-block; margin-left: 6px; }
.summary-discount { color: var(--celadon-dark, #1746C8); }
.summary-discount > span:last-child { font-weight: 600; }
.summary-discount-note {
  display: block; margin-top: 2px;
  font-size: 11px; font-style: normal; font-weight: 400;
  color: var(--ink-faint);
}
@media (max-width: 640px) {
  .cart-promo-tag { font-size: 11px; padding: 2px 7px; }
}

/* 免运进度条（结算页 Order Summary 顶部） */
.free-ship-hint {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  padding: 8px 12px; border-radius: 10px; background: #EFF6FF;
  font-size: 12.5px; color: var(--celadon-deep, #3F5849); line-height: 1.4;
}
.free-ship-hint[hidden] { display: none; }
.free-ship-hint .fsh-bar { flex: 1; min-width: 60px; height: 6px;
  background: rgba(30, 94, 255, 0.18); border-radius: 999px; overflow: hidden; }
.free-ship-hint .fsh-bar > i { display: block; height: 100%; background: var(--celadon, #1E5EFF);
  border-radius: 999px; transition: width .3s; }
.free-ship-hint.unlocked { background: #ECF3EE; font-weight: 600; }
.free-ship-hint .fsh-link { white-space: nowrap; color: var(--celadon-dark, #1746C8); font-weight: 500; }

/* 多件优惠：商品详情页提示条 */
.detail-promo-hint {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 10px 0 2px; padding: 6px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--celadon-dark, #1746C8);
  background: rgba(30, 94, 255, .12);
  border: 1px dashed rgba(30, 94, 255, .45);
  border-radius: 999px;
}
.detail-promo-hint svg { flex: none; }

/* ============================================================
   促销码输入 + 优惠行（购物车页 / 结算页共用）
   ============================================================ */
.promo-form { display: flex; gap: 8px; margin: 0 0 10px; }
.promo-form input[type="text"] {
  flex: 1; min-width: 0; padding: 10px 12px; font-size: 14px;
  border: 1px solid var(--line, #E5DED2); border-radius: 8px; background: var(--surface, #fff);
  color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em;
}
.promo-form input[type="text"]:focus { outline: none; border-color: var(--celadon); }
.promo-form input[readonly] { background: var(--bg-soft); color: var(--celadon-dark); font-weight: 600; }
.promo-form .btn { flex: none; white-space: nowrap; padding: 10px 16px; }
.promo-msg { margin: -4px 0 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.promo-msg.promo-err { color: #C0392B; }
.promo-msg.promo-ok { color: var(--celadon-dark); font-weight: 600; }
@media (max-width: 640px) {
  .promo-form { flex-wrap: wrap; }
  .promo-form input[type="text"] { flex: 1 1 100%; }
}

/* ===== B2B：商品页贸易价与询盘入口 ===== */
.detail-trade-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-top: 10px; padding: 10px 14px; border: 1px dashed var(--celadon, #1E5EFF);
  border-radius: 8px; background: rgba(124,154,141,0.06); }
.detail-trade-price .trade-label { font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-faint, #6B7280); }
.detail-trade-price .trade-amount { font-size: 19px; font-weight: 700;
  color: var(--terracotta, #00A9C8); }
.detail-trade-price .trade-moq { font-size: 12px; color: var(--ink-faint, #6B7280);
  margin-left: auto; }
.detail-trade-teaser { display: flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 12.5px; color: var(--ink-faint, #6B7280); }
.detail-trade-teaser a { color: var(--terracotta, #00A9C8); text-decoration: underline; }
.detail-trade-action { margin-top: 10px; display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap; }
/* B2B 整箱下单：箱数输入 + 实时件数换算 */
.ctn-input { display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border: 1px solid var(--line, #E3E9F2); border-radius: 8px;
  background: #fff; }
.ctn-input-label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-faint, #6B7280); }
.ctn-input .ctn-qty { width: 66px; padding: 4px 6px; text-align: center;
  border: 1px solid var(--line, #E3E9F2); border-radius: 6px; font-weight: 600; }
.ctn-hint { font-size: 12.5px; color: var(--ink-faint, #6B7280); }
.ctn-hint b { color: var(--ink, #3a342e); font-size: 13.5px; }
.ctn-per { color: var(--celadon-dark, #5f7b6f); }
.detail-trade-note { margin: 6px 0 0; font-size: 12px; color: var(--ink-faint, #6B7280); }
.btn-trade { border-color: var(--terracotta, #00A9C8); color: var(--terracotta, #00A9C8); }
.btn-trade:hover { background: rgba(192,128,90,0.08); }

/* ---- Cookie 同意条（首触来源追踪，GDPR/ePrivacy） ---- */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #fff; border-top: 1px solid var(--line, #E3E9F2);
  box-shadow: 0 -6px 24px rgba(59, 55, 50, .10); }
.cookie-consent[hidden] { display: none; }
.cc-inner { max-width: 1200px; margin: 0 auto; padding: 14px 22px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; }
.cc-text { margin: 0; flex: 1 1 320px; font-size: 13px; line-height: 1.6;
  color: var(--ink-soft, #475467); }
.cc-actions { display: flex; gap: 8px; align-items: center; }
.cc-form { margin: 0; }
@media (max-width: 640px) {
  .cc-inner { padding: 12px 16px; }
  .cc-actions { width: 100%; justify-content: flex-end; }
}

/* 第三方登录按钮（Google / Facebook） */
.oauth-wrap { margin-top: 18px; }
.oauth-divider { position: relative; text-align: center; margin: 18px 0 14px; }
.oauth-divider::before { content: ""; position: absolute; left: 0; right: 0;
  top: 50%; height: 1px; background: #E6E2DA; }
.oauth-divider span { position: relative; background: #fff; padding: 0 12px;
  font-size: 12px; color: #8A94A6; }
.btn-oauth { display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-bottom: 10px; padding: 11px 16px;
  background: #fff; color: #101828; border: 1px solid #DDD8CE; border-radius: 6px;
  font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s; }
.btn-oauth:hover { background: #F7F5F1; border-color: #CFC8BC; }
.btn-oauth .oauth-icon { width: 18px; height: 18px; flex: 0 0 18px; }

/* ---------- 场景摆放示例（Styling Ideas） ---------- */
/* 场景落地页顶部：该场合下商品的实拍摆放图 + 文字说明 */
.place-block { margin: 0 0 38px; }
.place-title {
  font-family: var(--font-serif, Georgia, serif);
  color: var(--celadon-deep, #102A5C);
  font-size: 22px; margin: 0 0 18px; text-align: center;
}
.place-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.place-card {
  margin: 0; background: #fff; border: 1px solid var(--line, #E3E9F2);
  border-radius: 10px; overflow: hidden;
  transition: var(--transition, .3s);
}
.place-card:hover { box-shadow: 0 6px 20px rgba(59, 55, 50, .10); }
.place-img {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #F8FAFC;
  display: flex; align-items: center; justify-content: center;
}
.place-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place-glyph { font-size: 40px; opacity: .5; }
.place-info { padding: 14px 16px 18px; }
.place-name {
  font-family: var(--font-serif, Georgia, serif); font-size: 15.5px;
  color: var(--ink, #101828); margin: 0 0 6px; line-height: 1.45;
}
.place-text { margin: 0; font-size: 13.5px; line-height: 1.75; color: #475467; }
.place-link {
  display: inline-block; margin-top: 10px; font-size: 13px;
  color: var(--celadon-deep, #102A5C); text-decoration: none; font-weight: 500;
}
.place-link:hover { text-decoration: underline; }

/* 商品详情页「最適合的位置」：横排紧凑卡片 */
.styled-block { margin: 26px 0 0; }
.styled-block .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 900px) {
  .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .place-grid { grid-template-columns: 1fr; }
  .place-title { font-size: 19px; }
}

/* 详情页摆放示例上的场景名小标 */
.place-scene {
  margin: 0 0 6px; font-size: 12px; letter-spacing: .02em;
  color: var(--celadon-deep, #102A5C); text-transform: uppercase;
}

/* ---------- In Your Space（A+ 实景图集，/scene/） ---------- */
.space-section { margin: 0 0 54px; }
.space-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.space-title {
  font-family: var(--font-serif, Georgia, serif);
  color: var(--celadon-deep, #102A5C); font-size: 26px; margin: 0 0 10px;
}
.space-summary { margin: 0; font-size: 14.5px; line-height: 1.8; color: #475467; }

.space-rows { display: flex; flex-direction: column; gap: 34px; }
.space-row {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px;
  align-items: center;
}
.space-row.reverse .space-media { order: 2; }
.space-row.reverse .space-text { order: 1; }
.space-media {
  border-radius: 12px; overflow: hidden; background: #F8FAFC;
  box-shadow: 0 4px 18px rgba(59, 55, 50, .08);
}
.space-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; }
.space-text { padding: 10px 6px; }
.space-name {
  font-family: var(--font-serif, Georgia, serif); font-size: 21px;
  color: var(--ink, #101828); margin: 0 0 12px; line-height: 1.4;
}
.space-cap { margin: 0; font-size: 15px; line-height: 1.9; color: #5C564E; }
.space-link {
  display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500;
  color: var(--celadon-deep, #102A5C); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.space-link:hover { opacity: .8; }

.space-cta {
  text-align: center; margin-top: 10px; padding: 40px 20px;
  background: #F8FAFC; border-radius: 14px;
}
.space-cta h2 {
  font-family: var(--font-serif, Georgia, serif); color: var(--celadon-deep, #102A5C);
  font-size: 24px; margin: 0 0 8px;
}
.space-cta p { margin: 0 0 18px; color: #475467; font-size: 14.5px; }

/* 应用场景网格（卖点式：3×3 图片 + 文字，无图标 / 无分类 / 不跳转新页面） */
.scene-grid { display: grid; gap: 26px 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scene-card {
  background: #fff; border: 1px solid var(--line, #E3E9F2); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.scene-card-img {
  aspect-ratio: 4 / 3; overflow: hidden; background: #F8FAFC;
}
.scene-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.scene-card:hover .scene-card-img img { transform: scale(1.04); }
.scene-card-info { padding: 16px 16px 20px; }
.scene-card-title { font-family: var(--font-serif, Georgia, serif); font-size: 16px; color: var(--ink, #101828); margin: 0 0 7px; line-height: 1.4; }
.scene-card-cap { margin: 0; font-size: 13.5px; line-height: 1.65; color: #475467; }

@media (max-width: 900px) {
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
}
@media (max-width: 600px) {
  .scene-grid { grid-template-columns: 1fr; }
}

/* 场景分区暂无实景图时的占位提示 */
.space-empty {
  margin: 0; padding: 26px 18px; text-align: center;
  font-size: 14px; color: #475467; background: #FBF8F2;
  border: 1px dashed var(--line, #E3E9F2); border-radius: 12px;
}

/* ============================================================
   首页注册弹窗（Join & Get 15% Off）
   仅在首页 + 未登录时渲染；三步：填邮箱密码 → 邮件验证码 → 展示优惠码
   ============================================================ */
.signup-modal { position: fixed; inset: 0; z-index: 1300; display: none;
  align-items: center; justify-content: center; padding: 16px; }
.signup-modal.open { display: flex; }
.signup-modal-backdrop { position: absolute; inset: 0; background: rgba(30, 26, 22, .55); }
.signup-modal-box { position: relative; z-index: 1; width: min(430px, 100%); background: #fff;
  border-radius: 18px; padding: 30px 28px 24px; text-align: center; box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto; }
.signup-modal-close { position: absolute; top: 6px; right: 14px; border: 0; background: transparent;
  font-size: 26px; line-height: 1; color: var(--ink-faint); cursor: pointer; }
.signup-modal-close:hover { color: var(--ink); }
.signup-badge { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terracotta); border: 1px solid var(--terracotta-soft); border-radius: 999px;
  padding: 4px 12px; margin-bottom: 12px; }
.signup-title { font-family: var(--font-serif); font-size: 26px; font-weight: 600;
  color: var(--ink); margin: 0 0 8px; }
.signup-sub { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.signup-input { width: 100%; box-sizing: border-box; margin-bottom: 10px; padding: 11px 13px;
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; }
.signup-input:focus { outline: none; border-color: var(--celadon); }
.signup-code { text-align: center; letter-spacing: 8px; font-size: 20px; }
.signup-msg { min-height: 18px; margin: 10px 0 0; font-size: 13px; color: var(--terracotta); }
.signup-foot { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }
.signup-foot a { color: var(--celadon-deep); text-decoration: underline; }
.signup-fine { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: var(--ink-faint); }
.signup-link { margin-top: 12px; border: 0; background: none; font-size: 13px;
  color: var(--celadon-deep); text-decoration: underline; cursor: pointer; }
.signup-check { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--celadon); color: #fff; font-size: 28px; line-height: 52px; }
.signup-codebox { margin: 0 0 16px; padding: 12px; font-size: 24px; font-weight: 600;
  letter-spacing: 6px; color: var(--ink); background: var(--bg-soft);
  border: 1px dashed var(--terracotta); border-radius: 10px; }

@media (max-width: 480px) {
  .signup-modal-box { padding: 24px 18px 20px; }
  .signup-title { font-size: 22px; }
  .signup-codebox { font-size: 20px; letter-spacing: 4px; }
}

/* ---------- Factory & Art Center（工艺栏目） ---------- */
.fac-lead { font-size: 17.5px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 1.3em; }
.fac-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 34px; }
.fac-fact { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fac-fact b { display: block; font-size: 21px; line-height: 1.2; color: var(--celadon-deep); margin-bottom: 5px; }
.fac-fact span { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

.fac-stage { margin: 34px 0 4px; }
.fac-stage h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.fac-stage h3 em { font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: 1px;
  color: #fff; background: var(--terracotta); border-radius: 6px; padding: 3px 9px; flex: none; }

figure.fac-fig { margin: 20px 0 26px; }
figure.fac-fig img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-sm); }
figure.fac-fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.7;
  color: var(--ink-soft); text-align: center; }
/* 竖版单图：限高居中，避免一张图占满整屏 */
figure.fac-fig--tall img { width: auto; max-width: 100%; max-height: 700px; margin: 0 auto; }
figure.fac-fig--tall figcaption { max-width: 720px; margin-left: auto; margin-right: auto; }

.fac-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 26px; }
.fac-duo figure.fac-fig { margin: 0; }
.fac-duo figure.fac-fig img { height: 560px; object-fit: cover; }
.fac-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 26px; }
.fac-trio figure.fac-fig { margin: 0; }
.fac-trio figure.fac-fig img { aspect-ratio: 1 / 1; object-fit: cover; }
.fac-trio figure.fac-fig figcaption { font-size: 13px; }

.fac-note { margin: 28px 0; padding: 18px 20px; font-size: 15px; line-height: 1.8;
  color: var(--ink-soft); background: var(--bg-soft);
  border-left: 3px solid var(--terracotta); border-radius: 0 12px 12px 0; }
.fac-cta { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .fac-facts { grid-template-columns: 1fr; }
  .fac-duo, .fac-trio { grid-template-columns: 1fr; }
  .fac-duo figure.fac-fig img { height: auto; }
  .fac-trio figure.fac-fig img { aspect-ratio: 4 / 3; }
}

/* ---------- Official Gifts 轮播 + 16inch 产品卡 ---------- */
.gift-carousel { position: relative; margin: 8px 0 38px; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.gift-carousel__viewport { overflow: hidden; }
.gift-carousel__track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.gift-carousel__slide { flex: 0 0 100%; margin: 0; position: relative; }
.gift-carousel__slide img { width: 100%; height: 560px; object-fit: cover; display: block;
  border-radius: 0; box-shadow: none; margin: 0; }
.gift-carousel__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 24px 20px; color: #fff; font-size: 15.5px; line-height: 1.65; text-align: left;
  background: linear-gradient(transparent, rgba(20,16,12,.74)); }
.gift-carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.82);
  color: #2a2118; font-size: 26px; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.28); transition: background .2s; }
.gift-carousel__arrow:hover { background: #fff; }
.gift-carousel__arrow--prev { left: 14px; }
.gift-carousel__arrow--next { right: 14px; }
.gift-carousel__dots { display: flex; gap: 8px; justify-content: center; padding: 14px 0 4px; }
.gift-carousel__dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: var(--line); cursor: pointer; transition: all .2s; }
.gift-carousel__dot.is-active { background: var(--terracotta); width: 24px; border-radius: 5px; }

.gift-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 14px; }
.gift-product { display: block; text-decoration: none; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink);
  transition: transform .2s, box-shadow .2s; }
.gift-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.gift-product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gift-product__body { display: block; padding: 14px 16px 18px; }
.gift-product__name { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; }
.gift-product__meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.gift-product__price { color: var(--terracotta); font-weight: 700; font-size: 16px; }
.gift-product__size { color: var(--ink-soft); font-size: 13px; }
.gift-products-note { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); margin: 6px 0 4px; }

@media (max-width: 720px) {
  .gift-carousel__slide img { height: auto; aspect-ratio: 4 / 3; }
  .gift-products { grid-template-columns: 1fr; }
}

/* ---------- 16 英寸唐三彩马集合页（Google Ads 落地页） ---------- */
.gift-products--4 { grid-template-columns: repeat(4, 1fr); }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px;
  border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 32%; color: var(--ink-soft); font-weight: 600; background: var(--bg-soft); }
.spec-table td { color: var(--ink); }
@media (max-width: 980px) { .gift-products--4 { grid-template-columns: repeat(2, 1fr); } }
/* 站点全局在 720px 把 .gift-products 收成单列，这里同步，避免 --4 停在两列挤在一起 */
@media (max-width: 720px) { .gift-products--4 { grid-template-columns: 1fr; } }
