/* =====================================================
   杞皓桉食品店 - 前台样式
   ===================================================== */
:root {
  --goji: #a62b26;
  --goji-deep: #7e1f1b;
  --goji-light: #c44038;
  --gold: #b8894a;
  --gold-soft: #e9b44c;
  --cream: #fbf8f3;
  --cream-2: #f4ede3;
  --ink: #2a211d;
  --ink-soft: #4c413a;
  --muted: #8a7c71;
  --line: #e8dfd3;
  --green: #5c7a4f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(60, 35, 25, .08);
  --shadow-lift: 0 18px 44px rgba(60, 35, 25, .14);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 92vw); margin: 0 auto; }
i, em { font-style: normal; }

/* ---------- 顶部条 & 头部 ---------- */
.topbar { background: var(--goji-deep); color: rgba(255, 255, 255, .85); font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.topbar-tel strong { color: var(--gold-soft); letter-spacing: .5px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; }
.brand-text strong { font-family: var(--serif); font-size: 22px; letter-spacing: 2px; color: var(--goji-deep); display: block; line-height: 1.15; }
.brand-text em { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-item > a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.main-nav > a:hover, .nav-item > a:hover { color: var(--goji); background: var(--cream-2); }
.main-nav > a.active, .nav-item.active > a { color: #fff; background: var(--goji); }
.nav-item { position: relative; }
.nav-item .sub-nav {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift);
  padding: 8px; min-width: 150px; display: grid; opacity: 0; visibility: hidden; transition: .22s;
}
.nav-item:hover .sub-nav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); }
.sub-nav a:hover { background: var(--cream-2); color: var(--goji); }

.header-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; width: 210px; transition: border-color .2s, box-shadow .2s; }
.header-search:focus-within { border-color: var(--goji-light); box-shadow: 0 0 0 3px rgba(166, 43, 38, .1); }
.header-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13.5px; color: var(--ink); }
.header-search button { border: 0; background: var(--cream-2); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink-soft); }
.header-search button:hover { background: var(--goji); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- 闪存消息 ---------- */
.flash { margin-top: 14px; padding: 12px 18px; border-radius: 10px; font-size: 14px; }
.flash-success { background: #e9f4e4; color: #3a6b2f; border: 1px solid #cde4c2; }
.flash-error { background: #fbeae8; color: var(--goji-deep); border: 1px solid #efc9c5; }
.flash-warning { background: #faf3e2; color: #8a6413; border: 1px solid #ecdcae; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; transition: .22s; line-height: 1.4;
}
.btn-primary { background: var(--goji); color: #fff; box-shadow: 0 8px 20px rgba(166, 43, 38, .28); }
.btn-primary:hover { background: var(--goji-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(166, 43, 38, .34); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--goji-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .25); }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  background: var(--cream-2); border: 1px solid var(--line); color: var(--goji-deep);
  font-size: 12.5px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--goji); }
.hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 52px); line-height: 1.25; letter-spacing: 2px; color: var(--ink); }
.hero-sub { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 34px; margin-top: 44px; }
.hero-stats dt { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--goji); }
.hero-stats dd { font-size: 12.5px; color: var(--muted); letter-spacing: .5px; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 24px 24px 24px 90px; box-shadow: var(--shadow-lift);
}
.hero-tag {
  position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.hero-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 通用 Section ---------- */
.section { padding: 66px 0; }
.section-muted { background: var(--cream-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--goji); margin-bottom: 8px; }
.section-title { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); letter-spacing: 1.5px; }
.section-sub { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.link-more { color: var(--goji); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.link-more:hover { color: var(--goji-deep); }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: .22s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.cat-thumb { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; flex: none; background: var(--cream-2); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-body strong { display: block; font-size: 15.5px; }
.cat-body em { font-size: 12px; color: var(--muted); }
.cat-arrow { margin-left: auto; color: var(--line); font-size: 18px; transition: .2s; }
.cat-card:hover .cat-arrow { color: var(--goji); transform: translateX(4px); }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.product-thumb { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-flag {
  position: absolute; top: 12px; left: 12px; background: var(--goji); color: #fff;
  font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .5px;
}
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11.5px; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.product-name { font-size: 16px; line-height: 1.45; }
.product-sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product-price { color: var(--goji); font-family: var(--serif); font-weight: 700; font-size: 20px; }
.product-price i { font-size: 13px; margin-right: 1px; }
.product-price small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 2px; }
.product-price del { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.product-more { font-size: 12.5px; color: var(--muted); transition: .2s; white-space: nowrap; }
.product-card:hover .product-more { color: var(--goji); }

/* ---------- 品牌承诺 ---------- */
.promise-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.promise-visual { position: relative; margin: 0; }
.promise-visual img { border-radius: 24px 90px 24px 24px; box-shadow: var(--shadow-lift); aspect-ratio: 4/3; object-fit: cover; }
.promise-badge {
  position: absolute; top: 20px; right: 20px; background: var(--gold-soft); color: #4a3005;
  font-weight: 700; font-size: 13px; padding: 8px 18px; border-radius: 999px; letter-spacing: 2px;
}
.promise-list { margin: 26px 0 30px; display: grid; gap: 18px; }
.promise-list li { display: grid; grid-template-columns: 16px 1fr; gap: 14px; }
.promise-list li::before { content: "✓"; grid-row: 1 / span 2; color: var(--green); font-weight: 800; font-size: 17px; line-height: 1.8; }
.promise-list strong { font-size: 16px; }
.promise-list p { color: var(--muted); font-size: 14px; }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-grid-4 { grid-template-columns: repeat(4, 1fr); }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.news-cover { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--cream-2); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-cover img { transform: scale(1.05); }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.news-meta i { background: var(--cream-2); color: var(--goji-deep); font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.news-title { padding: 12px 18px 0; font-size: 15.5px; line-height: 1.55; }
.news-summary { padding: 6px 18px 18px; color: var(--muted); font-size: 13px; }

.news-lead {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; transition: .25s;
}
.news-lead:hover { box-shadow: var(--shadow-lift); }
.news-lead-cover { display: block; min-height: 300px; overflow: hidden; }
.news-lead-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-lead-body { padding: 34px 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.news-lead-body strong { font-family: var(--serif); font-size: 23px; line-height: 1.45; }
.news-lead-body p { color: var(--muted); font-size: 14.5px; }

/* ---------- 次横幅 ---------- */
.secondary-inner {
  border-radius: 22px; padding: 58px 54px; background-size: cover; background-position: center;
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.secondary-copy h2 { font-family: var(--serif); font-size: 30px; letter-spacing: 2px; }
.secondary-copy p { margin: 10px 0 22px; color: rgba(255, 255, 255, .82); }

/* ---------- 页头（内页） ---------- */
.page-hero {
  background: var(--cream-2) center/cover; padding: 64px 0 58px; border-bottom: 1px solid var(--line);
}
.page-hero-slim { background: linear-gradient(120deg, var(--cream-2), #fbf6ee); }
.page-title { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 2px; margin-top: 14px; }
.page-sub { color: var(--muted); margin-top: 10px; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--goji); }
.crumbs b { color: var(--ink-soft); font-weight: 600; }
.crumbs-light a, .crumbs-light b { color: rgba(255, 255, 255, .9); }
.crumbs-light span { color: rgba(255, 255, 255, .5); }
.about-hero .page-title, .about-hero .page-sub { color: #fff; }

/* ---------- 产品列表页 ---------- */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.products-side { position: sticky; top: 92px; display: grid; gap: 18px; }
.side-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-block h3 { font-size: 15.5px; margin-bottom: 14px; letter-spacing: 1px; }
.side-cats { display: grid; gap: 4px; }
.side-cats a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; color: var(--ink-soft); transition: .18s; }
.side-cats a:hover { background: var(--cream-2); color: var(--goji); }
.side-cats a.active { background: var(--goji); color: #fff; font-weight: 600; }
.side-help p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.side-help strong { display: block; font-size: 20px; color: var(--goji); margin-bottom: 12px; }
.products-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 22px;
}
.result-count { font-size: 13.5px; color: var(--muted); }
.result-count b { color: var(--goji); }
.sort-links { display: flex; gap: 4px; flex-wrap: wrap; }
.sort-links a { padding: 6px 13px; border-radius: 999px; font-size: 13px; color: var(--ink-soft); }
.sort-links a:hover { background: var(--cream-2); }
.sort-links a.active { background: var(--goji); color: #fff; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; padding: 0 10px;
}
.pagination a.active, .pagination a:hover { background: var(--goji); border-color: var(--goji); color: #fff; }

.empty-state { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state strong { font-size: 17px; }
.empty-state p { color: var(--muted); margin: 8px 0 18px; }

/* ---------- 产品详情 ---------- */
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; margin-top: 26px; }
.detail-gallery { position: relative; margin: 0; }
.detail-gallery img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.detail-flag { position: absolute; top: 16px; left: 16px; background: var(--goji); color: #fff; padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.detail-cat { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.detail-info h1 { font-family: var(--serif); font-size: 30px; line-height: 1.35; margin-top: 8px; }
.detail-sub { color: var(--muted); margin-top: 8px; font-size: 15px; }
.detail-price { margin: 22px 0; background: linear-gradient(120deg, #fdf3f2, var(--cream-2)); border-radius: 14px; padding: 18px 22px; display: flex; align-items: baseline; gap: 8px; }
.detail-price strong { color: var(--goji); font-family: var(--serif); font-size: 34px; }
.detail-price i { font-size: 16px; }
.detail-price span { color: var(--muted); }
.detail-price del { color: var(--muted); font-size: 13.5px; margin-left: 8px; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-badges span { border: 1px solid var(--goji-light); color: var(--goji); font-size: 12.5px; padding: 4px 14px; border-radius: 999px; background: #fdf6f5; }
.detail-summary { color: var(--ink-soft); font-size: 14.5px; }
.detail-specs { margin: 22px 0 26px; border-top: 1px dashed var(--line); padding-top: 18px; display: grid; gap: 10px; }
.detail-specs > div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; font-size: 14px; }
.detail-specs dt { color: var(--muted); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-tip { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.detail-content { margin-top: 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; }
.detail-content-title { font-family: var(--serif); font-size: 22px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rich-text { font-size: 15px; color: var(--ink-soft); line-height: 2; }
.rich-text p { margin-bottom: 14px; }
.rich-text img { border-radius: 12px; margin: 10px 0; }
.rich-text ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.rich-text h3, .rich-text h4 { font-family: var(--serif); margin: 18px 0 10px; }
.detail-related { margin-top: 60px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: start; }
.about-copy p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.brand-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.brand-words > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.brand-words b { font-family: var(--serif); font-size: 30px; color: var(--goji); display: block; line-height: 1.2; }
.brand-words span { font-size: 12.5px; color: var(--muted); line-height: 1.7; display: block; margin-top: 8px; }
.about-visual { margin: 0; }
.about-visual img { border-radius: 18px; box-shadow: var(--shadow-lift); }
.about-visual figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: .22s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.value-card b { font-family: var(--serif); color: var(--gold-soft); font-size: 15px; letter-spacing: 2px; }
.value-card h3 { font-size: 17px; margin: 10px 0 8px; }
.value-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 文章详情 ---------- */
.article-page-title { font-size: clamp(22px, 3vw, 32px); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.article-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; }
.article-meta { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.article-meta i { background: var(--cream-2); color: var(--goji-deep); font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.article-lead {
  background: var(--cream-2); border-left: 3px solid var(--goji); border-radius: 0 10px 10px 0;
  padding: 14px 18px; color: var(--ink-soft); margin-bottom: 24px; font-size: 14.5px;
}
.article-nav { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.article-nav a { font-size: 13.5px; color: var(--ink-soft); }
.article-nav a:hover { color: var(--goji); }
.article-side { position: sticky; top: 92px; display: grid; gap: 18px; }
.side-hot { display: grid; gap: 12px; }
.side-hot li { border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.side-hot li:last-child { border: 0; padding: 0; }
.side-hot a { font-size: 13.5px; line-height: 1.6; display: block; }
.side-hot a:hover { color: var(--goji); }
.side-hot time { font-size: 11.5px; color: var(--muted); }

/* ---------- 联系我们 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-size: 26px; }
.contact-intro { color: var(--muted); font-size: 14px; margin: 10px 0 24px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.contact-list b { display: block; font-size: 12.5px; color: var(--gold); letter-spacing: 1px; margin-bottom: 4px; }
.contact-list span { font-size: 14.5px; }
.contact-note { margin-top: 22px; background: linear-gradient(120deg, var(--goji-deep), var(--goji-light)); color: #fff; border-radius: 14px; padding: 20px 22px; }
.contact-note strong { font-size: 15px; }
.contact-note p { font-size: 13px; color: rgba(255, 255, 255, .85); margin-top: 6px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; }
.contact-form h3 { font-size: 19px; }
.form-tip { font-size: 12.5px; color: var(--muted); margin: 6px 0 18px; }
.form-tip i { color: var(--goji); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: block; margin-bottom: 16px; }
.form-field > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.form-field > span i { color: var(--goji); font-style: normal; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-size: 14px; font-family: inherit; background: var(--cream); color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--goji-light); background: #fff; box-shadow: 0 0 0 3px rgba(166, 43, 38, .1);
}
.form-field textarea { resize: vertical; }

/* ---------- 错误页 ---------- */
.error-section { padding: 100px 0; }
.error-inner { text-align: center; }
.error-inner b { font-family: var(--serif); font-size: 90px; color: var(--goji); opacity: .25; display: block; line-height: 1; }
.error-inner h1 { font-family: var(--serif); font-size: 26px; margin: 14px 0 10px; }
.error-inner p { color: var(--muted); margin-bottom: 26px; }
.error-inner .hero-actions { justify-content: center; }

/* ---------- 页脚 ---------- */
.site-footer { background: #241b16; color: rgba(255, 255, 255, .72); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.15fr 1.6fr 1fr; grid-template-areas: "brand store contact";
  gap: 48px; padding: 54px 0 40px;
}
.footer-brand { grid-area: brand; }
.footer-store { grid-area: store; }
.footer-col { grid-area: contact; }
.brand-inverse strong { color: #fff; }
.footer-slogan { color: var(--gold-soft); font-size: 13.5px; letter-spacing: 1px; margin-top: 12px; }
.footer-desc { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 12px; line-height: 1.9; }
.footer-col h4, .footer-store h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); padding: 4px 0; }
.footer-col a:hover { color: var(--gold-soft); }

/* 页脚：拼多多官方店铺 */
.footer-store-inner { display: flex; align-items: flex-start; gap: 18px; }
.footer-store-copy { min-width: 0; flex: 1 1 auto; }
.footer-qr {
  flex: 0 0 auto; display: inline-flex; padding: 8px; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}
.footer-qr img { width: 104px; height: 104px; display: block; border-radius: 6px; }
.footer-store-desc { font-size: 12.5px; line-height: 1.85; color: rgba(255, 255, 255, .62); max-width: 23em; }
.footer-store-points { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.footer-store-points li {
  display: flex; align-items: baseline; gap: 9px;
  font-size: 12.5px; color: rgba(255, 255, 255, .52);
}
.footer-store-points li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: 0 0 auto;
  transform: translateY(-1px);
}
.footer-store-points b { color: var(--gold-soft); font-weight: 600; flex: 0 0 auto; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255, 255, 255, .42);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid, .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cat-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "brand contact" "store store"; gap: 34px 40px; }
  .hero-inner, .promise-inner, .about-grid, .detail-grid, .contact-layout { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .products-side { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .article-layout { grid-template-columns: 1fr; }
  .header-search { width: 160px; }
}
@media (max-width: 720px) {
  .topbar-note { display: none; }
  .header-search { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 5vw 18px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
  }
  .main-nav.open { display: flex; }
  .nav-item .sub-nav { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0; }
  .product-grid, .product-grid-3, .news-grid, .news-grid-4, .cat-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 34px 0 44px; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 18px 40px; }
  .section { padding: 46px 0; }
  .products-side { grid-template-columns: 1fr; }
  .brand-words { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .article-main { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; grid-template-areas: "brand" "store" "contact"; gap: 26px; }
  .news-lead { grid-template-columns: 1fr; }
  .news-lead-cover { min-height: 200px; }
  .secondary-inner { padding: 36px 26px; }
}
@media (max-width: 460px) {
  .product-grid, .product-grid-3, .news-grid, .news-grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-store-inner { gap: 14px; }
  .footer-store-desc { max-width: none; }
  .footer-qr img { width: 92px; height: 92px; }
}

@media (max-width: 560px) {
  .cat-card { position: relative; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
  .cat-thumb { width: 100%; height: 86px; border-radius: 12px; }
  .cat-body { min-width: 0; }
  .cat-body strong { font-size: 15px; line-height: 1.4; }
  .cat-body em { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.7; }
  .cat-arrow {
    position: absolute; top: 22px; right: 22px; margin: 0;
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--goji);
    font-size: 13px; box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  }
  .cat-card:hover .cat-arrow { transform: none; }
}

/* ---------- 产品详情图：缩略图切换 + 实拍宫格 + 灯箱 ---------- */
.detail-media { min-width: 0; }
.detail-main { display: block; cursor: zoom-in; }
.detail-thumbs { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.detail-thumb {
  width: 70px; height: 70px; padding: 0; overflow: hidden; border-radius: 10px;
  border: 2px solid transparent; background: var(--cream-2); cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.detail-thumb:hover { transform: translateY(-2px); }
.detail-thumb.is-active { border-color: var(--goji); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.detail-shots { margin-top: 52px; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.shot {
  display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); cursor: zoom-in;
}
.shot img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .5s; }
.shot:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center;
  background: rgba(22, 15, 12, .92); padding: 4vh 4vw; animation: lbIn .2s ease;
}
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lift); cursor: zoom-out; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .28); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 720px) {
  .shot-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
