/* ============================================
   Panko 非遗盘扣网站 · 样式表
   主色：中国红 #C41E3A
   背景：云白 / 素雅浅灰
   风格：东方美学
   ============================================ */

/* ---------- 基础变量（东方韵味配色） ---------- */
:root {
  --color-red: #C41E3A;           /* 中国红 · 主色 */
  --color-red-dark: #9E1830;       /* 深红 · 悬停/强调 */
  --color-red-light: #E8A4B0;     /* 浅红 · 点缀 */
  --color-bg: #F9F8F4;            /* 宣纸色 · 主背景 */
  --color-bg-alt: #F5F2EC;        /* 浅米色 · 区块背景 */
  --color-text: #2B2B2B;          /* 墨黑色 · 主文字 */
  --color-text-muted: #5C5C5C;    /* 次要文字 */
  --color-border: #D4CEC8;        /* 边框/分割线 */
  --color-gold-line: rgba(212, 175, 55, 0.35);  /* 金丝线分隔 */
  --font-serif: "Playfair Display", "Noto Sans SC", serif;      /* 标题：英文衬线 + 中文思源 */
  --font-sans: "Lato", "PingFang SC", "Microsoft YaHei", sans-serif;  /* 正文：英文流畅 + 中文系统字体 */
  --font-calligraphy: "Ma Shan Zheng", "Noto Sans SC", cursive;  /* 书法体 · 中文标题点缀 */
  --shadow-soft: 0 4px 20px rgba(196, 30, 58, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --transition: 0.25s ease;
}

/* ---------- 全局重置与基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 中文模式：正文保持 Lato + 中文系统字体，保证英文流畅 */
html[lang="zh-CN"] body,
html[lang="zh-CN"] .section-desc,
html[lang="zh-CN"] .about-text,
html[lang="zh-CN"] .social-impact-desc,
html[lang="zh-CN"] .trust-desc,
html[lang="zh-CN"] .modal-symbolism,
html[lang="zh-CN"] .craft-panel-desc {
  font-family: "Lato", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

html[lang="zh-CN"] .hero-title,
html[lang="zh-CN"] .section-title,
html[lang="zh-CN"] .about-title,
html[lang="zh-CN"] .diy-ticket-title,
html[lang="zh-CN"] .diy-save-modal-tagline {
  font-family: "Ma Shan Zheng", "Playfair Display", "Noto Sans SC", cursive;
}

/* 标题：Playfair Display（英文衬线）+ Noto Sans SC（中文） */
h1, h2, h3 {
  font-family: "Playfair Display", "Noto Sans SC", serif;
  letter-spacing: 0.03em;
}

/* 中英混排特殊字眼：DIY / CART / NEW / Collection 等，增加字间距避免字母挤在一起 */
.en-letter-spacing {
  letter-spacing: 0.05em;
}

/* 中文模式下，混排元素保持 Playfair Display 渲染英文，避免中文字体过大导致英文突兀 */
html[lang="zh-CN"] .en-letter-spacing {
  font-family: "Playfair Display", "Noto Sans SC", serif;
  letter-spacing: 0.05em;
}

/* 可点击元素：统一指针与过渡 */
button,
a,
[role="button"],
input[type="submit"],
input[type="button"],
.cart-trigger,
.quick-view-btn,
.diy-shape-btn,
.diy-color-btn,
.craft-step-node {
  cursor: pointer;
}

button,
a,
.cart-trigger,
.quick-view-btn,
.diy-shape-btn,
.diy-color-btn,
.craft-step-node,
.footer-legal-link {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

/* ---------- 导航栏（滚动时半透明云白 + 模糊） ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

/* 玻璃拟态：滚动 > 50px 时，半透明白 + 模糊 + 极细底部阴影 */
.header.header--scrolled {
  background: rgba(249, 248, 244, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

/* 购物车图标 */
.cart-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.cart-trigger:hover {
  color: var(--color-red);
}

.cart-icon {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--color-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge.is-empty {
  display: none;
}

/* 多语言切换器：胶囊形状 */
.lang-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 2px;
}

.lang-btn {
  padding: 0.35rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: #fff;
  color: var(--color-red);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

/* 导航链接下划线 · 东方线条感 */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-red);
}

/* ---------- 板块淡入升起（Reveal on scroll）· 30px 上浮，0.8s 淡入 ---------- */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 锚点滚动：避免固定导航栏遮挡标题 */
#home, #collection, #diy-lab, #craftsmanship-journey, #social-impact, #about, #artisan-profile, #feedback, #newsletter, #partners-section {
  scroll-margin-top: 72px;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 金丝线分隔符（板块之间） ---------- */
/* 板块之间：1px 金丝线分隔 */
.section-reveal + .section-reveal {
  border-top: 1px solid var(--color-gold-line);
}

/* ---------- Hero 大图展示区 ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 56px; /* 为固定导航留出高度 */
}

/* Hero 背景层：Ken Burns 缓慢缩放效果（呼吸感） */
.hero-bg {
  position: absolute;
  inset: -5%;
  z-index: 0;
  background: url("https://placehold.co/1920x900/f5f0eb/C41E3A?text=Panko") center/cover no-repeat;
  animation: ken-burns 28s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(249, 248, 244, 0.4), rgba(249, 248, 244, 0.85));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(196, 30, 58, 0.15);
  overflow: hidden;
  opacity: 0;
  animation: heroTitleReveal 2s steps(32) 0.4s forwards;
}

@keyframes heroTitleReveal {
  0% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  opacity: 0;
  animation: heroSubtitleReveal 0.8s ease-out 1.8s forwards;
}

@keyframes heroSubtitleReveal {
  to { opacity: 1; }
}

/* ---------- Craftsmanship Journey：工艺步骤进度条 ---------- */
.craftsmanship {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.craftsmanship .section-title {
  margin-bottom: 0.5rem;
}

.craftsmanship .section-desc {
  margin-bottom: 2.5rem;
}

/* 进度条容器：水平线 + 节点 */
.craft-progress-wrap {
  position: relative;
  margin-bottom: 2.5rem;
}

.craft-progress-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
  transform: translateY(-50%);
}

.craft-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 0.5rem;
}

.craft-step-node {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D4AF37;
  border: 2px solid rgba(212, 175, 55, 0.6);
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.craft-step-node:hover {
  transform: scale(1.12);
}

.craft-step-node.active {
  background: #C41E3A;
  border-color: #C41E3A;
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.2);
}

.craft-step-name {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  pointer-events: none;
}

/* 内容切换区 */
.craft-content-area {
  position: relative;
  min-height: 320px;
}

.craft-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.craft-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.craft-panel-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-gold-line);
}

.craft-panel-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.craft-panel-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.craft-panel-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

/* ---------- Social Impact：赋能匠人 · 传承文化 ---------- */
.social-impact {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  /* 柔和淡色 + 织物纹理感 */
  background: linear-gradient(180deg, #FDFBF8 0%, #FAF7F2 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='none' stroke='%23D4AF37' stroke-opacity='0.06' stroke-width='0.5' d='M0 30 L60 30 M30 0 L30 60'/%3E%3C/svg%3E"), linear-gradient(180deg, #FDFBF8 0%, #FAF7F2 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.social-impact .section-title {
  margin-bottom: 0.5rem;
}

.social-impact-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

.social-impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-impact-card {
  text-align: center;
  padding: 1rem 0;
}

.social-impact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--color-red);
}

.social-impact-icon svg {
  width: 100%;
  height: 100%;
}

.social-impact-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.social-impact-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0;
  text-align: center;
}

.social-impact-footer {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  letter-spacing: 0.02em;
}

/* ---------- 售卖板块：产品展示（出海电商高级感） ---------- */
.products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-red);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  overflow: hidden;
}

/* 打字机 + 渐显：section 进入视口时标题动画 */
.section-reveal .section-title {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.section-reveal.is-visible .section-title,
.section-reveal.is-visible .about-title {
  animation: sectionTitleReveal 1.2s steps(22) 0.15s forwards;
}

.section-reveal .about-title {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  overflow: hidden;
}

@keyframes sectionTitleReveal {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.section-desc {
  font-family: var(--font-sans);
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* 卡片：宣纸色背景、圆角、轻微阴影 · 东方简约 */
.product-card {
  background: #F9F8F4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* 图片区域：包裹图 + Quick View 悬浮按钮 */
.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg);
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}

.product-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-image-wrap:hover .product-image img {
  transform: scale(1.05);
}

.product-image-wrap:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Quick View：悬停时显示 */
.quick-view-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-red);
  border: 1px solid var(--color-red);
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.product-image-wrap:hover .quick-view-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.quick-view-btn:hover {
  background: var(--color-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.25);
}

.product-info {
  padding: 1.5rem;
  text-align: center;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.product-price {
  font-size: 1.1rem;
  color: var(--color-red);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* View Details / Collection 按钮：呼吸感 + 轻微阴影扩大 */
.btn-view {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.08);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-view:hover {
  background: var(--color-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.2);
}

/* ---------- 产品详情弹窗 (Modal) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  background: var(--color-bg);
  border-radius: 16px;
  border: 1px solid var(--color-gold-line);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-box--product {
  max-width: 780px;
}

.modal.is-open .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: rgba(249, 248, 244, 0.95);
  border: 1px solid var(--color-gold-line);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  background: var(--color-red);
  color: #fff;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
}

.modal-image-wrap {
  background: var(--color-bg-alt);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-product-image {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: contain;
  padding: 1.5rem;
}

.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-product-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.modal-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.modal-symbolism {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  flex: 1;
}

/* 价格行 + 小标签 */
.modal-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.modal-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-red);
}

.modal-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: rgba(196, 30, 58, 0.1);
  color: var(--color-red);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* 产品弹窗 · 标签页 */
.modal-tabs {
  position: relative;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-gold-line);
}

.modal-tab {
  flex: 1;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.25s ease;
  text-align: center;
}

.modal-tab:hover {
  color: var(--color-text);
}

.modal-tab.active {
  color: var(--color-red);
}

.modal-tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--color-red);
  width: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-tabs:has(.modal-tab[data-tab="reviews"].active) .modal-tab-indicator,
.modal-tabs.is-reviews .modal-tab-indicator {
  transform: translateX(100%);
}

/* 标签页内容区 */
.modal-tab-panel {
  display: none;
  animation: modal-tab-fade 0.3s ease;
  min-height: 180px;
}

.modal-tab-panel.is-active {
  display: block;
}

@keyframes modal-tab-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reviews 面板 */
.modal-reviews-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.modal-reviews-score {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-red);
}

.modal-reviews-score-max {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.modal-reviews-stars {
  display: flex;
  gap: 0.15rem;
  color: #D4AF37;
  font-size: 1.1rem;
}

.modal-reviews-stars .star-partial {
  opacity: 0.9;
}

.modal-reviews-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.modal-reviews-list::-webkit-scrollbar {
  width: 4px;
}

.modal-reviews-list::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 2px;
}

.modal-review-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-review-item:last-child {
  border-bottom: none;
}

.modal-review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
}

.modal-review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0;
  opacity: 0.85;
}

.modal-review-author {
  font-weight: 600;
  color: var(--color-text);
}

.modal-review-badge {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  background: rgba(45, 122, 74, 0.15);
  color: #2d7a4a;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.btn-add-cart {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

.btn-add-cart:hover:not(.is-added) {
  background: var(--color-red-dark);
}

.btn-add-cart:active:not(.is-added) {
  transform: scale(0.97);
}

.btn-add-cart.is-added {
  background: #2d7a4a;
  color: #fff;
  cursor: default;
}

/* 产品弹窗：数量、定制选项、信任标识 */
.modal-options {
  margin-bottom: 1.25rem;
}

.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.modal-qty-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  min-width: 4rem;
}

.modal-qty-input {
  width: 72px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-gold-line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--color-bg);
}

.modal-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.modal-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-red);
}

.modal-checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text);
}

.modal-notes-row {
  margin-bottom: 0;
}

.modal-notes-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.modal-notes-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-gold-line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--color-bg);
  resize: vertical;
  min-height: 56px;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-buy-now {
  flex: 1;
  padding: 0.9rem 1.5rem;
  background: transparent;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.15s ease;
}

.btn-buy-now:hover {
  background: var(--color-red);
  color: #fff;
}

.btn-buy-now:active {
  transform: scale(0.97);
}

.modal-actions .btn-add-cart {
  flex: 1;
}

.modal-trust {
  padding-top: 1rem;
  border-top: 1px solid var(--color-gold-line);
  text-align: center;
}

.modal-payment-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.payment-icon {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.modal-trust-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

.modal-trust-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

/* ---------- 电子收藏证书弹窗 ---------- */
.certificate-modal .modal-box {
  max-width: 520px;
  padding: 0;
}

.certificate-content {
  padding: 2.5rem 2rem;
  text-align: center;
}

.certificate-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.certificate-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.certificate-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.certificate-border {
  border: 2px solid var(--color-gold-line);
  border-radius: 12px;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(253, 251, 248, 0.5) 0%, rgba(249, 248, 244, 0.9) 100%);
}

.certificate-label {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.certificate-id {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.certificate-craft {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.certificate-team {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}

.btn-certificate-close {
  padding: 0.75rem 1.5rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-certificate-close:hover {
  background: var(--color-red-dark);
}

.btn-share-friends {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: transparent;
  border: 1px solid var(--color-red);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-red);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-share-friends:hover {
  background: var(--color-red);
  color: #fff;
}

.certificate-referral-wrap {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-gold-line);
  text-align: center;
}

.certificate-referral-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.certificate-referral-link {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.08em;
  margin: 0.25rem 0;
}

.certificate-referral-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0;
}

/* ---------- DIY Lab：三列布局（形状 + 杰作 + 颜色） ---------- */
.diy-lab {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.diy-lab .section-title {
  margin-bottom: 0.5rem;
  text-align: center;
}

.diy-lab .section-desc {
  margin-bottom: 2rem;
  text-align: center;
}

/* 三列网格 */
.diy-three-columns {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.2fr) 1fr;
  gap: 2rem;
  align-items: start;
}

.diy-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.diy-column-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}

.diy-column-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

/* 文化寓意 ? 图标 + 悬停提示 */
.diy-column-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.diy-shape-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.diy-shape-help-icon {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.diy-shape-help:hover .diy-shape-help-icon {
  color: var(--color-red);
  border-color: var(--color-red);
  background: rgba(196, 30, 58, 0.06);
}

.diy-shape-help-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  transform: translateX(-50%);
  width: 280px;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-gold-line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-text);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 50;
  pointer-events: none;
}

.diy-shape-help-tooltip strong {
  color: var(--color-red);
  font-size: 0.85rem;
}

.diy-shape-help:hover .diy-shape-help-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

/* 左列：Choose Shape - 形状按钮 */
.diy-shape-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 140px;
}

.diy-shape-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.5rem;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.diy-shape-btn .diy-shape-label {
  display: none;
}

.diy-shape-btn:hover {
  border-color: var(--color-gold-line);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

.diy-shape-btn.active {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
}

.diy-shape-thumb {
  width: 38px;
  height: 38px;
  color: var(--color-red);
  pointer-events: none;
  flex-shrink: 0;
}

.diy-shape-btn.active .diy-shape-thumb {
  color: var(--color-red);
}

.diy-shape-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  pointer-events: none;
}

/* 中列：Your Masterpiece - 预览区 */
.diy-column-masterpiece {
  padding: 1rem 0;
}

.diy-masterpiece-display {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-gold-line);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.diy-masterpiece-display:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.diy-knot-svg {
  width: 160px;
  height: 160px;
  color: var(--color-red);
  transition: color 0.3s ease;
}

.diy-knot-svg .knot-fill {
  fill: currentColor;
}

.btn-save-design {
  padding: 0.7rem 1.5rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-save-design:hover {
  background: var(--color-red-dark);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.3);
}

.btn-add-custom-cart {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-add-custom-cart:hover {
  background: var(--color-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.25);
}

/* 右列：Choose Color - 颜色按钮 */
.diy-color-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 80px;
  margin: 0 auto;
}

.diy-color-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  margin: 0 auto;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.diy-color-btn:hover {
  transform: scale(1.1);
  border-color: var(--color-text-muted);
  box-shadow: var(--shadow-soft);
}

.diy-color-btn.active {
  border-color: var(--color-text);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.25);
}

/* Save My Design 弹窗 · 非遗展览门票风格 */
.diy-save-modal .modal-box {
  max-width: 520px;
  padding: 0;
}

.diy-save-modal-box.diy-ticket {
  border: 2px solid var(--color-red);
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(196, 30, 58, 0.2), inset 0 0 0 1px rgba(212, 175, 55, 0.3);
  background: linear-gradient(180deg, #FDFBF8 0%, #F9F8F4 50%, #F5F2EC 100%);
}

.diy-ticket-content {
  padding: 2rem 2.5rem 2.5rem;
  text-align: center;
  position: relative;
}

.diy-ticket-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed rgba(196, 30, 58, 0.35);
}

.diy-ticket-badge {
  font-family: var(--font-calligraphy);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-red);
  letter-spacing: 0.2em;
}

.diy-ticket-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.08em;
}

/* 门票撕口线（虚线分隔） */
.diy-ticket-perforation {
  height: 0;
  margin: 0 0 1.5rem;
  border-top: 2px dashed rgba(196, 30, 58, 0.3);
}

.diy-save-modal-content {
  padding: 2.5rem 2rem;
  text-align: center;
}

.diy-save-modal-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 2rem;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-gold-line);
}

.diy-save-modal-preview svg {
  width: 200px;
  height: 200px;
  color: var(--color-red);
}

.diy-save-modal-preview svg .knot-fill {
  fill: currentColor;
}

.diy-save-modal-tagline {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.diy-save-modal-hint {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem 0;
  font-style: italic;
}

.btn-diy-save-close {
  padding: 0.65rem 2rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-diy-save-close:hover {
  background: var(--color-red-dark);
}

.btn-diy-save-close:active {
  transform: scale(0.98);
}

/* ---------- 变色成功小提示 Toast ---------- */
.diy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 0.75rem 1.5rem;
  background: var(--color-text);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.diy-toast.diy-toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---------- About Us：团队与传承故事 ---------- */
.about {
  /* 宣纸色 + 淡淡祥云纹纹理 */
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23C41E3A' fill-opacity='0.035' d='M50 20c-5 0-10 3-14 7 2-1 5-2 8-2 8 0 14 6 14 14s-6 14-14 14c-3 0-6-1-8-2 4 4 9 7 14 7 11 0 20-9 20-20S61 20 50 20z'/%3E%3C/svg%3E");
  padding: 4rem 1.5rem;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  padding: 0.5rem 0;
}

/* 标题：衬线字体，优雅庄重 */
.about-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

/* 毛笔签名占位：手写感字体 */
.about-signature {
  font-family: var(--font-calligraphy);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.08em;
  font-style: italic;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* 小标题：衬线 */
.about-subtitle {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.03em;
}

/* 正文：行高 1.8，中英混排视觉对齐 */
.about-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0 0 0.75rem 0;
  text-align: justify;
  text-justify: inter-character;
}

.about-body .about-text:last-of-type {
  margin-bottom: 0;
}

/* ---------- 匠人档案：核心匠人深度介绍 · 左图右文大两列 ---------- */
.artisan-profile {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background: #FAF9F6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%23D4AF37' fill-opacity='0.03' d='M40 0 L80 40 L40 80 L0 40 Z'/%3E%3C/svg%3E");
  border-top: 1px solid var(--color-gold-line);
}

.artisan-profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.artisan-profile-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.artisan-profile-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.artisan-profile-image-wrap:hover .artisan-profile-image {
  transform: scale(1.03) translateY(-1%);
}

.artisan-profile-content {
  padding: 0.5rem 0;
}

.artisan-profile-name {
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.artisan-profile-intro {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-align: justify;
  text-justify: inter-character;
}

.artisan-profile-quote {
  margin: 0 0 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--color-red);
  border-radius: 0 8px 8px 0;
  position: relative;
}

.artisan-profile-quote::before,
.artisan-profile-quote::after {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--color-red);
  opacity: 0.4;
  line-height: 0;
}

.artisan-profile-quote::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}

.artisan-profile-quote::after {
  content: '"';
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
}

.artisan-quote-text {
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0.5rem 0;
}

.artisan-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.artisan-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.artisan-tag-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #D4AF37;
}

/* ---------- 底部反馈表单 ---------- */
.feedback {
  max-width: 560px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.feedback .section-title {
  margin-bottom: 0.5rem;
}

.feedback .section-desc {
  margin-bottom: 2rem;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-gold-line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  padding: 0.85rem 2rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--color-red-dark);
}

.btn-submit:active {
  transform: scale(0.98);
}

/* ---------- Trust & Logistics：全球信任与物流 ---------- */
.trust-logistics {
  background: var(--color-bg);
  border-top: 1px solid var(--color-gold-line);
  padding: 2.5rem 1.5rem;
}

.trust-logistics-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: #D4AF37;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.trust-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- 品牌背书墙：Strategic Support ---------- */
.partners-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--color-bg);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.partners-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 140px;
}

.partner-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

.partner-item:hover .partner-logo {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.15);
}

.partner-logo-text {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 0.5rem;
}

.partner-name {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
  max-width: 160px;
}

/* ---------- Newsletter Subscription：Join the Heritage ---------- */
.newsletter {
  background: #2B2B2B;
  padding: 4rem 1.5rem;
  text-align: center;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #FDFBF8;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.newsletter-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(253, 251, 248, 0.85);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #FDFBF8;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.newsletter-input::placeholder {
  color: rgba(253, 251, 248, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: #D4AF37;
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  padding: 0.85rem 1.5rem;
  background: #D4AF37;
  color: #2B2B2B;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.newsletter-btn:hover {
  background: #E5C04A;
}

.newsletter-btn:active {
  transform: scale(0.98);
}

.newsletter-success {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: #D4AF37;
  margin: 0;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.newsletter-success.is-visible {
  opacity: 1;
}

.newsletter-form.is-hidden {
  display: none;
}

/* ---------- 购物车侧边栏 ---------- */
.cart-sidebar {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.cart-sidebar.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cart-sidebar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.cart-sidebar.is-open .cart-sidebar-overlay {
  opacity: 1;
}

.cart-sidebar-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--color-bg);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.cart-sidebar.is-open .cart-sidebar-panel {
  transform: translateX(0);
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-gold-line);
}

.cart-sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-red);
  margin: 0;
  letter-spacing: 0.03em;
}

.cart-sidebar-close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cart-sidebar-close:hover {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  text-align: center;
  padding: 2rem;
}

.cart-empty p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  padding-right: 2rem;
  border-bottom: 1px solid var(--color-gold-line);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.cart-item-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--color-red);
  font-weight: 600;
}

/* 删除按钮：右上角 × */
.cart-item-remove {
  position: absolute;
  top: 0.75rem;
  right: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  color: var(--color-red);
  border-color: var(--color-red);
  background: rgba(196, 30, 58, 0.06);
}

/* 数量加减器 */
.cart-item-qty-row {
  margin-top: 0.5rem;
}

.cart-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-bg);
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  color: var(--color-red);
  background: rgba(196, 30, 58, 0.08);
}

.cart-qty-value {
  min-width: 28px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

/* 备注修改 */
.cart-item-note-wrap {
  margin-top: 0.4rem;
}

.cart-edit-note-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--color-red);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cart-edit-note-btn:hover {
  color: var(--color-red-dark);
}

.cart-note-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.cart-note-input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.cart-note-input:focus {
  outline: none;
  border-color: var(--color-red);
}

.cart-note-input::placeholder {
  color: var(--color-text-muted);
}

.cart-note-update-btn {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cart-note-update-btn:hover {
  background: var(--color-red-dark);
}

.cart-note-update-btn:active {
  transform: scale(0.97);
}

.cart-item-note-preview {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

.cart-item-qty {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.cart-sidebar-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-gold-line);
  background: var(--color-bg-alt);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.cart-subtotal-value {
  color: var(--color-red);
  font-size: 1.15rem;
}

.btn-checkout {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-checkout:hover {
  background: var(--color-red-dark);
}

/* ---------- 页脚 ---------- */
.footer {
  padding: 2rem 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-newsletter {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.footer-newsletter-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-newsletter-input {
  flex: 1;
  min-width: 180px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--color-red);
}

.footer-newsletter-btn {
  padding: 0.5rem 1rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.footer-newsletter-btn:hover {
  background: var(--color-red-dark);
}

.footer-newsletter-form.is-hidden {
  display: none;
}

.footer-newsletter-success {
  font-size: 0.9rem;
  color: var(--color-red);
  margin: 0.5rem 0 0;
}

.footer-links {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}

.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-red);
}

.footer-copyright {
  text-align: center;
  margin: 0 0 0.75rem 0;
  font-size: 0.85rem;
}

/* 社交关注按钮：Instagram / TikTok */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social-label {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background: rgba(196, 30, 58, 0.05);
}

/* 社交 Coming Soon 弹窗 */
.social-modal .modal-box {
  max-width: 400px;
}

.social-modal-content {
  padding: 2rem;
  text-align: center;
}

.social-modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.social-modal-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-social-close {
  padding: 0.65rem 1.5rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-social-close:hover {
  background: var(--color-red-dark);
}

.footer-legal-links {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.footer-legal-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--color-red);
}

.footer-legal-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

/* 合规性 Demo 弹窗 */
.legal-demo-modal .modal-box {
  max-width: 420px;
}

.legal-demo-content {
  padding: 2rem;
  text-align: center;
}

.legal-demo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 1rem;
}

.legal-demo-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.btn-legal-demo-close {
  padding: 0.6rem 1.5rem;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-legal-demo-close:hover {
  background: var(--color-red-dark);
}

/* 图片加载失败占位 */
.img-error-placeholder {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-red);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ---------- 响应式微调 ---------- */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-links {
    gap: 0.75rem;
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .cart-trigger {
    order: 1;
    flex-shrink: 0;
  }

  .lang-switcher {
    margin-left: auto;
    flex-shrink: 0;
    order: 2;
  }

  .lang-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
    min-width: 2.5rem;
  }

  .hero {
    min-height: 70vh;
  }

  .craftsmanship {
    padding: 3rem 1rem;
  }

  .craft-progress-wrap {
    margin-bottom: 2rem;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .craft-progress-line {
    display: none;
  }

  .craft-steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    min-width: auto;
    width: 100%;
  }

  .craft-step-node {
    margin: 0 auto;
    flex-direction: column;
    display: inline-flex;
    align-items: center;
  }

  .craft-step-name {
    position: static;
    transform: none;
    margin-bottom: 0;
    margin-top: 0.35rem;
    white-space: normal;
    text-align: center;
  }

  .craft-step-node {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .craft-step-name {
    font-size: 0.6rem;
    white-space: normal;
    text-align: center;
    max-width: 64px;
    line-height: 1.2;
    margin-bottom: 0.35rem;
  }

  .craft-content-area {
    min-height: 280px;
  }

  .craft-panel {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0.5rem;
  }

  .craft-panel-image img {
    aspect-ratio: 16 / 10;
  }

  .craft-panel-title {
    font-size: 1.2rem;
  }

  .craft-panel-desc {
    font-size: 0.9rem;
  }

  .social-impact-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .social-impact {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .trust-logistics-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .partners-section {
    padding: 2.5rem 1rem;
  }

  .partners-row {
    gap: 1.5rem;
  }

  .partner-logo {
    width: 64px;
    height: 64px;
  }

  .partner-name {
    font-size: 0.75rem;
    max-width: 120px;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter {
    padding: 3rem 1.5rem;
  }

  .newsletter-title {
    font-size: 1.35rem;
  }

  .products {
    padding: 3rem 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .diy-lab {
    padding: 3rem 1rem;
  }

  .diy-three-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .diy-column-title {
    font-size: 1rem;
  }

  .diy-column-desc {
    margin-bottom: 1rem;
  }

  .diy-shape-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    gap: 0.6rem;
  }

  .diy-shape-btn {
    width: 56px;
    height: 56px;
    padding: 0.4rem;
  }

  .diy-shape-btn .diy-shape-label {
    display: none;
  }

  .diy-shape-thumb {
    width: 28px;
    height: 28px;
  }

  .diy-color-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    gap: 0.6rem;
  }

  .diy-color-btn {
    width: 40px;
    height: 40px;
  }

  .diy-masterpiece-display {
    min-height: 180px;
    padding: 1rem;
  }

  .diy-knot-svg {
    width: 120px;
    height: 120px;
  }

  .btn-save-design {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .diy-save-modal-content {
    padding: 1.5rem;
  }

  .diy-save-modal-preview {
    min-height: 200px;
    padding: 1.5rem;
  }

  .diy-save-modal-preview svg {
    width: 160px;
    height: 160px;
  }

  .diy-save-modal-tagline {
    font-size: 1.2rem;
  }

  .diy-toast {
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    transform: translateY(100px);
  }

  .diy-toast.diy-toast-visible {
    transform: translateY(0);
  }

  .modal-content {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .modal-image-wrap {
    min-height: 220px;
  }

  .modal-product-image {
    max-height: 260px;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .cart-sidebar-panel {
    max-width: 100%;
  }

  /* 购物车：手机端触控目标 ≥44px，备注输入框 16px 防 iOS 缩放 */
  .cart-qty-btn {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .cart-item-remove {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .cart-edit-note-btn,
  .cart-note-update-btn {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
  }

  .modal-close,
  .cart-sidebar-close {
    min-width: 44px;
    min-height: 44px;
  }

  .btn-add-cart,
  .btn-buy-now,
  .btn-checkout,
  .btn-certificate-close,
  .btn-share-friends {
    min-height: 48px;
  }

  .cart-item-info {
    min-width: 0;
  }

  .cart-note-input {
    font-size: 16px;
    min-width: 0;
  }

  .cart-note-input-wrap {
    min-width: 0;
  }

  .certificate-content {
    padding: 1.75rem 1.5rem;
  }

  .certificate-title {
    font-size: 1.25rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .artisan-profile {
    padding: 3rem 1rem;
  }

  .artisan-profile-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .artisan-profile-image-wrap {
    order: 0;
  }

  .artisan-profile-content {
    order: 1;
  }

  .artisan-profile-name {
    font-size: 1.5rem;
  }

  .about-image-wrap {
    order: 0;
  }

  .about-content {
    order: 1;
  }

  .about-title {
    font-size: 1.5rem;
  }

  .feedback {
    padding: 3rem 1rem;
  }

  .about {
    padding: 3rem 1rem;
  }
}

/* 超小屏优化 (≤480px) */
@media (max-width: 480px) {
  .cart-sidebar-panel {
    max-width: 100%;
  }

  .craft-step-node {
    width: 32px;
    height: 32px;
  }

  .craft-step-name {
    font-size: 0.55rem;
    max-width: 52px;
  }

  .craftsmanship {
    padding: 2.5rem 0.75rem;
  }

  .diy-lab {
    padding: 2.5rem 0.75rem;
  }

  .diy-shape-btn {
    width: 48px;
    height: 48px;
  }

  .diy-shape-thumb {
    width: 24px;
    height: 24px;
  }

  .diy-color-btn {
    width: 36px;
    height: 36px;
  }

  .diy-knot-svg {
    width: 100px;
    height: 100px;
  }

  .diy-masterpiece-display {
    min-height: 160px;
  }
}
