/* ============================================================
   Wemings 唐三彩陶瓷 · 前台样式
   柔和陶瓷美学：米白瓷色 · 青瓷绿 · 陶土暖调
   ============================================================ */

:root {
  --bg: #FAF7F2;
  --bg-soft: #F4EEE5;
  --surface: #FFFFFF;
  --celadon: #7C9A8D;
  --celadon-soft: #A9BFB5;
  --celadon-dark: #547168;
  --celadon-deep: #3F5B52;
  --terracotta: #C0805A;
  --terracotta-soft: #D9A878;
  --gold: #C6A15B;
  --ink: #3B3732;
  --ink-soft: #6E675E;
  --ink-faint: #9A9186;
  --line: #E9E1D5;
  --line-soft: #F1EBE1;

  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', 'STSong', Georgia, serif;
  --font-sans: 'Inter', 'PingFang SC', 'Noto Sans SC', -apple-system, 'Microsoft YaHei', 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 20px -6px rgba(63, 91, 82, 0.12);
  --shadow-md: 0 16px 40px -16px rgba(63, 91, 82, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(63, 91, 82, 0.28);
  --transition: 0.3s 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(84, 113, 104, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(84, 113, 104, 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); }

/* ---------- 页头 ---------- */
.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(63, 91, 82, 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(84,113,104,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(124, 154, 141, 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; }

.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); }

.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 ---------- */
.hero { position: relative; }
.hero-slider { position: relative; height: 76vh; min-height: 520px; max-height: 720px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero-slide.active { opacity: 1; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform 7s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(34, 45, 41, 0.72) 0%, rgba(34, 45, 41, 0.35) 55%, rgba(34,45,41,0.1) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; 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-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; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 区块通用 ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.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: 44px; }

/* ---------- 品牌简介 ---------- */
.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: 4 / 3; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.series-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.series-card:hover .series-img img { transform: scale(1.06); }
.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: 4 / 3; overflow: hidden;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
}
.collection-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection-card:hover .collection-img img { transform: scale(1.06); }
.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(63,91,82,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: cover; transition: transform 0.6s ease; }
.work-card:hover .work-img img { transform: scale(1.06); }
.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;
}
.work-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(63,91,82,0) 40%, rgba(63,91,82,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(63,91,82,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; margin-top: auto; padding-top: 12px; }
.work-price { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--terracotta); }
.work-view-link { color: var(--ink-faint); font-size: 14px; }
.work-add-form { display: inline-flex; }
.work-add-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--celadon), var(--celadon-dark)); color: #fff;
  font-size: 19px; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -6px rgba(84,113,104,0.6); transition: transform 0.2s, box-shadow 0.2s;
}
.work-add-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 10px 18px -6px rgba(84,113,104,0.7); }
.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: 40px 0 100px; 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: 56px 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; }

/* ---------- 栏目页签 ---------- */
.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); }

/* ---------- 空状态 ---------- */
.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: cover; }
.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;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.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-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-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 label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 7px; }
.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(124, 154, 141, 0.14);
}
.form-success {
  background: rgba(124, 154, 141, 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, #2F3D38 0%, #26332E 100%); color: rgba(255,255,255,0.82); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; 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: var(--gold); 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; }
.footer-legal .sep { color: rgba(255,255,255,0.3); }

/* ---------- 回到顶部 ---------- */
.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; }
}
@media (max-width: 860px) {
  .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; }
  .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; }
  .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: 60px 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; }
}

/* 减弱动画偏好 */
@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; }
.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: cover; }
.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 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: 1.2fr 1fr; gap: 28px; align-items: start; }
.checkout-col { display: flex; flex-direction: column; gap: 20px; }
.checkout-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.checkout-card h3 { font-family: var(--font-serif); font-size: 19px; color: var(--celadon-deep); margin-bottom: 18px; }
.checkout-hint { font-size: 13.5px; color: var(--ink-faint); margin: -8px 0 16px; }
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px; 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); }
.checkout-summary { position: sticky; top: 100px; }
.checkout-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; max-height: 300px; 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: cover; }
.co-name { flex: 1; min-width: 0; color: var(--ink); }
.co-price { font-weight: 600; flex: none; }
.checkout-error { background: rgba(192,82,74,0.1); color: var(--danger); padding: 12px 16px; border-radius: 10px; font-size: 14px; margin: 14px 0; }
.checkout-secure { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; }
.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; }

@media (max-width: 860px) {
  .cart-wrap { grid-template-columns: 1fr; }
  .checkout-form { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .cart-item { flex-wrap: wrap; }
  .cart-line-total { text-align: left; }
}

/* ---------- 账号入口 ---------- */
.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; }
