/* =============================================================
   四川了如茶业有限公司 · 企业官网主样式
   茶文化主题 · 深酒红 + 米金
   ============================================================= */

:root {
  --wine-950: #2a0709;
  --wine-900: #3a0b0f;
  --wine-800: #4c1015;
  --wine-700: #62181b;
  --wine-600: #8a2f28;
  --wine-500: #a8493c;
  --wine-100: #f5e7e3;
  --wine-50: #fbf4f1;

  --gold-700: #8a6d2f;
  --gold: #b08d43;
  --gold-400: #d6bd80;
  --gold-200: #eddfc4;

  --cream: #f8f5f0;
  --cream-2: #f2ece2;
  --ink: #2b2622;
  --ink-2: #514a44;
  --ink-3: #8d857c;
  --line: #e6ded3;
  --white: #ffffff;
  --danger: #c0392b;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(58, 11, 15, 0.06);
  --shadow: 0 8px 30px rgba(58, 11, 15, 0.10);
  --shadow-lg: 0 20px 50px rgba(58, 11, 15, 0.16);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 14px; }

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

.serif { font-family: var(--serif); }

/* ---------- 通用标题 ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream-2); }
.section--green { background: var(--wine-900); color: #f6eae2; }

.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .en {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.sec-head h2 {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  color: var(--wine-900); letter-spacing: 2px; line-height: 1.3;
}
.sec-head .sub { color: var(--ink-3); font-size: 14px; margin-top: 14px; letter-spacing: 1px; }
.sec-head .deco { width: 56px; height: 2px; background: var(--gold); margin: 20px auto 0; position: relative; }
.sec-head .deco::before, .sec-head .deco::after {
  content: ""; position: absolute; top: -3px; width: 8px; height: 8px;
  background: var(--gold); transform: rotate(45deg);
}
.sec-head .deco::before { left: -16px; }
.sec-head .deco::after { right: -16px; }
.section--green .sec-head h2 { color: #fff; }
.section--green .sec-head .sub { color: rgba(246, 234, 226, .6); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 34px; font-size: 14px; letter-spacing: 2px;
  border-radius: var(--radius); transition: all .3s ease; white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary { background: var(--wine-800); color: #fff; }
.btn--primary:hover { background: var(--wine-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--wine-800); color: var(--wine-800); }
.btn--outline:hover { background: var(--wine-800); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--wine-900); }
.btn--sm { padding: 8px 20px; font-size: 13px; letter-spacing: 1px; }
.btn--block { width: 100%; }
.btn--disabled, .btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- 页头 ---------- */
.header {
  background: #fff; position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 rgba(58,11,15,.08);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.logo .logo-text .name {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--wine-900); letter-spacing: 3px; line-height: 1.2;
}
.logo .logo-text .tag { font-size: 10.5px; letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li > a {
  display: block; padding: 0 20px; height: 88px; line-height: 88px;
  font-size: 15.5px; letter-spacing: 1.5px; color: var(--ink); position: relative;
}
.nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 26px; width: 0; height: 2px;
  background: var(--gold); transform: translateX(-50%); transition: width .3s;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--wine-800); }
.nav > li > a:hover::after, .nav > li.active > a::after { width: 26px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; }
.cart-btn:hover { color: var(--wine-800); }
.cart-count {
  position: absolute; top: -8px; right: -12px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--gold); color: #fff; border-radius: 10px; font-size: 11px;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.icon-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle { display: none; }

/* 下拉菜单 */
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; min-width: 180px; box-shadow: var(--shadow);
  border-top: 2px solid var(--gold); padding: 8px 0;
  opacity: 0; visibility: hidden; transition: all .28s; z-index: 20;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 22px; font-size: 14px; letter-spacing: 1px; }
.dropdown a:hover { background: var(--wine-50); color: var(--wine-800); }

/* ---------- 首页主视觉 ---------- */
.hero { position: relative; height: 620px; overflow: hidden; background: var(--wine-950); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(24,4,6,.82) 0%, rgba(24,4,6,.5) 45%, rgba(24,4,6,.25) 100%);
}
.hero-inner {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center;
}
.hero-copy { max-width: 640px; color: #fff; }
.hero-copy .kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px;
  letter-spacing: 5px; color: var(--gold-400); text-transform: uppercase; margin-bottom: 22px;
}
.hero-copy .kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold-400); }
.hero-copy h1 {
  font-family: var(--serif); font-size: 54px; line-height: 1.28; letter-spacing: 5px;
  font-weight: 700; margin-bottom: 24px; text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-copy p { font-size: 17px; letter-spacing: 1.5px; color: rgba(255,255,255,.86); margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 42px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 12px; }
.hero-dots button {
  width: 34px; height: 3px; background: rgba(255,255,255,.35); transition: all .3s;
}
.hero-dots button.active { background: var(--gold); width: 52px; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats .stat { text-align: center; padding: 10px 20px; border-right: 1px solid rgba(255,255,255,.14); }
.stats .stat:last-child { border-right: none; }
.stats .stat .num { font-family: var(--serif); font-size: 42px; color: var(--gold-400); line-height: 1.1; font-weight: 700; }
.stats .stat .num small { font-size: 18px; margin-left: 4px; }
.stats .stat .label { font-size: 13.5px; letter-spacing: 2px; color: rgba(246,234,226,.7); margin-top: 8px; }

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

/* ---------- 产品卡片 ---------- */
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .35s ease; display: flex; flex-direction: column;
  border: 1px solid rgba(58,11,15,.05);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .pc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--wine-50); }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.product-card:hover .pc-media img { transform: scale(1.08); }
.pc-badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff;
  font-size: 11.5px; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 2px; z-index: 2;
}
.pc-badge--new { background: var(--wine-700); }
.pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 12px; color: var(--gold-700); letter-spacing: 2px; margin-bottom: 8px; }
.pc-title {
  font-family: var(--serif); font-size: 18.5px; font-weight: 700; color: var(--wine-900);
  letter-spacing: .5px; line-height: 1.45; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-title a:hover { color: var(--wine-600); }
.pc-sum {
  font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pc-price { display: flex; align-items: baseline; gap: 8px; }
.pc-price .now { color: var(--danger); font-size: 22px; font-weight: 700; font-family: var(--serif); }
.pc-price .now::before { content: "¥"; font-size: 14px; margin-right: 1px; }
.pc-price .old { color: var(--ink-3); font-size: 13px; text-decoration: line-through; }
.pc-add {
  width: 38px; height: 38px; border-radius: 50%; background: var(--wine-800); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: all .3s; flex-shrink: 0;
}
.pc-add:hover { background: var(--gold); transform: rotate(90deg); }

/* ---------- 新闻卡片 ---------- */
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .35s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .nc-media { aspect-ratio: 16/9; overflow: hidden; background: var(--wine-50); }
.news-card .nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.news-card:hover .nc-media img { transform: scale(1.06); }
.news-card .nc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.nc-date { font-size: 12.5px; color: var(--gold-700); letter-spacing: 1.5px; margin-bottom: 10px; display: flex; gap: 14px; align-items: center; }
.nc-title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--wine-900); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-title a:hover { color: var(--wine-600); }
.nc-sum { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.nc-more { margin-top: 18px; font-size: 13px; color: var(--wine-700); letter-spacing: 1px; display: inline-flex; align-items: center; gap: 6px; }
.news-card:hover .nc-more { color: var(--gold); }

/* 新闻列表项 */
.news-row { display: flex; gap: 26px; background: #fff; padding: 22px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all .3s; }
.news-row:hover { box-shadow: var(--shadow); transform: translateX(6px); }
.news-row .nr-media { width: 240px; height: 150px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--wine-50); }
.news-row .nr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.news-row:hover .nr-media img { transform: scale(1.06); }
.news-row .nr-body { flex: 1; display: flex; flex-direction: column; }
.news-row .nr-body h3 { font-family: var(--serif); font-size: 19px; color: var(--wine-900); margin-bottom: 10px; line-height: 1.5; }
.news-row .nr-body h3 a:hover { color: var(--wine-600); }
.news-row .nr-body p { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.news-row .nr-meta { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 22px; }

/* ---------- 页面横幅 ---------- */
.page-hero {
  position: relative; height: 300px; display: flex; align-items: center;
  background: linear-gradient(120deg, var(--wine-950), var(--wine-800));
  background-size: cover; background-position: center; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(24,4,6,.55); }
.page-hero .container { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-family: var(--serif); font-size: 40px; letter-spacing: 6px; font-weight: 700; }
.page-hero .crumb { font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.72); margin-top: 14px; }
.page-hero .crumb a:hover { color: var(--gold-400); }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .5px; }
.form-group label .req { color: var(--danger); margin-left: 4px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); transition: all .25s; outline: none;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--wine-600); box-shadow: 0 0 0 3px rgba(138,47,40,.14); }
.textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination button {
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); font-size: 14px; color: var(--ink-2); transition: all .25s;
}
.pagination button:hover { border-color: var(--wine-600); color: var(--wine-800); }
.pagination button.active { background: var(--wine-800); border-color: var(--wine-800); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 页脚 ---------- */
.footer { background: var(--wine-950); color: rgba(246,234,226,.68); padding-top: 70px; font-size: 13.5px; }
.footer .f-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { font-family: var(--serif); color: #fff; font-size: 16px; letter-spacing: 2px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.footer .f-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer .f-brand img { width: 50px; height: 50px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.06); padding: 4px; }
.footer .f-brand .n { font-family: var(--serif); color: #fff; font-size: 19px; letter-spacing: 2px; }
.footer .f-brand .t { font-size: 11px; letter-spacing: 2px; color: var(--gold-400); }
.footer p { line-height: 2; }
.footer .f-links li { margin-bottom: 12px; }
.footer .f-links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.7; }
.footer .f-contact .k { color: var(--gold-400); flex-shrink: 0; }
.footer .f-qr { text-align: center; }
.footer .f-qr img { width: 110px; height: 110px; object-fit: cover; background: #fff; padding: 6px; border-radius: 8px; margin: 0 auto 10px; }
.footer .f-qr span { font-size: 12px; color: rgba(246,234,226,.6); display: block; }
.footer .f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; flex-wrap: wrap; gap: 10px; }
.footer .f-bottom a:hover { color: var(--gold-400); }

/* ---------- 浮动侧栏 ---------- */
.float-bar { position: fixed; right: 20px; bottom: 90px; z-index: 150; display: flex; flex-direction: column; gap: 10px; }
.float-bar a, .float-bar button {
  width: 52px; height: 52px; background: #fff; border-radius: 8px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--wine-800); font-size: 10px; transition: all .3s;
}
.float-bar a:hover, .float-bar button:hover { background: var(--wine-800); color: #fff; transform: translateY(-3px); }
.float-bar svg { width: 20px; height: 20px; }

/* ---------- 面包屑 ---------- */
.crumb-line { font-size: 13px; color: var(--ink-3); padding: 20px 0; letter-spacing: 1px; }
.crumb-line a:hover { color: var(--wine-700); }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 80px 20px; color: var(--ink-3); }
.empty svg { width: 70px; height: 70px; opacity: .3; margin-bottom: 18px; }
.empty p { font-size: 15px; }

/* ---------- 提示 ---------- */
.toast-wrap { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--wine-900); color: #fff; padding: 13px 26px; border-radius: 50px;
  font-size: 14px; letter-spacing: .5px; box-shadow: var(--shadow-lg);
  animation: toastIn .35s ease; max-width: 90vw;
}
.toast--error { background: var(--danger); }
.toast--gold { background: var(--gold-700); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 加载 ---------- */
.loading { text-align: center; padding: 60px 0; color: var(--ink-3); }
.spinner {
  width: 34px; height: 34px; border: 3px solid var(--wine-100); border-top-color: var(--wine-700);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 产品筛选 ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-cats button {
  padding: 9px 22px; font-size: 14px; letter-spacing: 1px; border-radius: 30px;
  color: var(--ink-2); transition: all .3s; border: 1px solid transparent;
}
.filter-cats button:hover { color: var(--wine-800); background: var(--wine-50); }
.filter-cats button.active { background: var(--wine-800); color: #fff; }
.filter-tools { display: flex; gap: 12px; align-items: center; }
.search-box { position: relative; }
.search-box input { width: 200px; padding: 10px 40px 10px 16px; border: 1px solid var(--line); border-radius: 30px; outline: none; }
.search-box input:focus { border-color: var(--wine-600); }
.search-box button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; color: var(--ink-3); display: flex; align-items: center; justify-content: center; }
.search-box button:hover { background: var(--wine-50); color: var(--wine-800); }

/* ---------- 产品详情 ---------- */
.pd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.pd-gallery .pd-main { border-radius: var(--radius-lg); overflow: hidden; background: #fff; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumbs .thumb { width: 88px; height: 88px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all .25s; background: #fff; }
.pd-thumbs .thumb.active { border-color: var(--gold); }
.pd-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-family: var(--serif); font-size: 30px; color: var(--wine-900); line-height: 1.4; letter-spacing: 1px; }
.pd-info .pd-sub { color: var(--ink-3); font-size: 14px; margin-top: 10px; letter-spacing: 1px; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.pd-tags span { font-size: 12.5px; color: var(--wine-700); background: var(--wine-50); border: 1px solid var(--wine-100); padding: 4px 12px; border-radius: 30px; }
.pd-price-box { background: linear-gradient(120deg, var(--wine-50), #fff); padding: 24px 26px; border-radius: var(--radius-lg); margin: 22px 0; border: 1px solid var(--wine-100); }
.pd-price-box .now { font-family: var(--serif); color: var(--danger); font-size: 38px; font-weight: 700; }
.pd-price-box .now::before { content: "¥"; font-size: 20px; }
.pd-price-box .old { color: var(--ink-3); text-decoration: line-through; font-size: 15px; margin-left: 12px; }
.pd-meta { margin-top: 14px; font-size: 13px; color: var(--ink-3); display: flex; gap: 26px; flex-wrap: wrap; }
.pd-meta b { color: var(--danger); font-weight: 600; }
.pd-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.pd-row .lbl { font-size: 14px; color: var(--ink-2); width: 60px; flex-shrink: 0; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty-box button { width: 40px; height: 42px; font-size: 18px; color: var(--ink-2); transition: all .2s; }
.qty-box button:hover { background: var(--wine-50); color: var(--wine-800); }
.qty-box input { width: 62px; height: 42px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); outline: none; font-size: 15px; }
.pd-actions { display: flex; gap: 14px; margin-top: 8px; }
.pd-actions .btn { flex: 1; }

/* 详情 tab */
.tabs { margin-top: 70px; }
.tabs-head { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs-head button { padding: 16px 32px; font-size: 15.5px; letter-spacing: 2px; color: var(--ink-2); position: relative; transition: color .25s; }
.tabs-head button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.tabs-head button.active { color: var(--wine-900); font-weight: 600; }
.tabs-head button.active::after { transform: scaleX(1); }
.tabs-panel { padding: 36px 4px; display: none; animation: fadeIn .4s; }
.tabs-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.rich-text { font-size: 15px; line-height: 2; color: var(--ink-2); }
.rich-text p { margin-bottom: 16px; }
.rich-text strong { color: var(--wine-900); }
.rich-text img { border-radius: 8px; margin: 16px 0; }

/* ---------- 企业介绍 ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-intro .ai-media { position: relative; }
.about-intro .ai-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about-intro .ai-media .badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--wine-800); color: #fff;
  padding: 22px 26px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-lg);
}
.about-intro .ai-media .badge .n { font-family: var(--serif); font-size: 34px; color: var(--gold-400); line-height: 1; }
.about-intro .ai-media .badge .t { font-size: 12px; letter-spacing: 2px; margin-top: 6px; opacity: .85; }
.about-intro h2 { font-family: var(--serif); font-size: 32px; color: var(--wine-900); line-height: 1.4; margin-bottom: 20px; letter-spacing: 2px; }
.about-intro .lead { font-size: 15.5px; color: var(--ink-2); line-height: 2.1; margin-bottom: 18px; }
.about-intro .lead + .lead { color: var(--ink-3); font-size: 14.5px; }

.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.culture-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); padding: 40px 34px; border-radius: var(--radius-lg); transition: all .35s; }
.culture-card:hover { background: rgba(255,255,255,.07); transform: translateY(-6px); border-color: rgba(176,141,67,.5); }
.culture-card .ico { width: 54px; height: 54px; border-radius: 50%; background: rgba(176,141,67,.16); color: var(--gold-400); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.culture-card h3 { font-family: var(--serif); font-size: 20px; color: #fff; letter-spacing: 2px; margin-bottom: 14px; }
.culture-card p { color: rgba(246,234,226,.72); font-size: 14px; line-height: 1.9; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--wine-100)); }
.timeline li { position: relative; padding: 0 0 34px 0; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.timeline .yr { font-family: var(--serif); font-size: 22px; color: var(--wine-800); font-weight: 700; letter-spacing: 1px; }
.timeline .tx { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; line-height: 1.8; }

.honor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.honor-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-sm); font-size: 14.5px; color: var(--ink-2); transition: all .3s; }
.honor-list li:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.honor-list li svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; }
.contact-info .ci-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px dashed var(--line); }
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--wine-50); color: var(--wine-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .ci-ico svg { width: 22px; height: 22px; }
.contact-info .ci-t { font-size: 13px; color: var(--ink-3); letter-spacing: 2px; margin-bottom: 4px; }
.contact-info .ci-v { font-size: 16px; color: var(--wine-900); font-weight: 600; line-height: 1.6; }
.contact-card { background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-card h3 { font-family: var(--serif); font-size: 24px; color: var(--wine-900); margin-bottom: 8px; letter-spacing: 2px; }
.contact-card .hint { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }

.qr-panel { text-align: center; background: linear-gradient(160deg, var(--wine-900), var(--wine-700)); border-radius: var(--radius-lg); padding: 40px 30px; color: #fff; box-shadow: var(--shadow); }
.qr-panel h3 { font-family: var(--serif); font-size: 22px; letter-spacing: 2px; margin-bottom: 8px; }
.qr-panel .q-sub { font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 24px; }
.qr-panel .q-img { width: 190px; height: 190px; background: #fff; padding: 12px; border-radius: 12px; margin: 0 auto 20px; }
.qr-panel .q-img img { width: 100%; height: 100%; object-fit: cover; }
.qr-panel .q-tip { font-size: 12.5px; color: rgba(255,255,255,.66); line-height: 1.8; }

.map-box { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 340px; background: var(--wine-50); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 购物车 ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.cart-table { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.cart-head, .cart-item { display: grid; grid-template-columns: 46px 1fr 120px 130px 110px 60px; gap: 12px; align-items: center; padding: 16px 22px; }
.cart-head { background: var(--wine-50); font-size: 13.5px; color: var(--ink-2); letter-spacing: 1px; border-bottom: 1px solid var(--line); }
.cart-item { border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: none; }
.cart-check { width: 18px; height: 18px; accent-color: var(--wine-700); cursor: pointer; }
.cart-prod { display: flex; gap: 16px; align-items: center; }
.cart-prod img { width: 74px; height: 74px; object-fit: cover; border-radius: 6px; }
.cart-prod .cp-name { font-family: var(--serif); font-size: 15.5px; color: var(--wine-900); line-height: 1.5; }
.cart-prod .cp-unit { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.cart-summary { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px 26px; position: sticky; top: 110px; }
.cart-summary h3 { font-family: var(--serif); font-size: 20px; color: var(--wine-900); margin-bottom: 22px; letter-spacing: 1px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 10px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; font-size: 15px; align-items: baseline; }
.sum-row.total .val { font-family: var(--serif); font-size: 28px; color: var(--danger); font-weight: 700; }
.cart-remove { color: var(--ink-3); font-size: 13px; }
.cart-remove:hover { color: var(--danger); }

/* ---------- 结算页 ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px; }
.panel-title { font-family: var(--serif); font-size: 20px; color: var(--wine-900); letter-spacing: 1.5px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.panel-title .step { width: 26px; height: 26px; border-radius: 50%; background: var(--wine-800); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; font-family: var(--sans); }
.order-item-mini { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.order-item-mini:last-child { border-bottom: none; }
.order-item-mini img { width: 62px; height: 62px; object-fit: cover; border-radius: 6px; }
.order-item-mini .oim-name { font-size: 14px; color: var(--ink); line-height: 1.5; }
.order-item-mini .oim-unit { font-size: 12px; color: var(--ink-3); }
.order-item-mini .oim-qty { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.order-item-mini .oim-price { font-size: 14px; color: var(--danger); font-weight: 600; min-width: 70px; text-align: right; }

.pay-methods { display: flex; gap: 14px; flex-wrap: wrap; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: all .25s; min-width: 180px; }
.pay-method:hover { border-color: var(--wine-600); }
.pay-method.active { border-color: var(--wine-700); background: var(--wine-50); }
.pay-method .pm-ico { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.pay-method .pm-name { font-size: 14px; color: var(--ink); }
.pay-method input { display: none; }

.step-tabs { display: flex; gap: 0; margin-bottom: 40px; justify-content: center; }
.step-tab { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 14px; letter-spacing: 1px; }
.step-tab .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.step-tab.active { color: var(--wine-800); font-weight: 600; }
.step-tab.active .n { background: var(--wine-800); color: #fff; border-color: var(--wine-800); }
.step-tab.done { color: var(--gold-700); }
.step-tab .line { width: 60px; height: 1px; background: var(--line); margin: 0 16px; }

/* 支付结果 */
.pay-result { text-align: center; padding: 40px 0; }
.pay-result .pr-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--wine-50); color: var(--wine-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
.pay-result h2 { font-family: var(--serif); font-size: 28px; color: var(--wine-900); margin-bottom: 12px; letter-spacing: 2px; }
.pay-result p { color: var(--ink-2); margin-bottom: 8px; }
.pay-result .order-no { font-size: 15px; color: var(--gold-700); font-weight: 600; letter-spacing: 1px; }
.pay-result .pr-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* 订单状态标签 */
.status-tag { display: inline-block; padding: 3px 12px; border-radius: 30px; font-size: 12.5px; letter-spacing: .5px; }
.status-pending { background: #fdf3e3; color: #b7791f; }
.status-paid { background: #e6f4ec; color: #2d6a4f; }
.status-shipped { background: #e6eef7; color: #2b5c8a; }
.status-completed { background: #e9f5ea; color: #2f7d32; }
.status-cancelled { background: #f6e9e9; color: #a33; }

/* ---------- 文章详情 ---------- */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article-head { text-align: center; padding: 20px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-head h1 { font-family: var(--serif); font-size: 32px; color: var(--wine-900); line-height: 1.5; letter-spacing: 1px; }
.article-meta { display: flex; justify-content: center; gap: 26px; margin-top: 20px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-sm); }
.article-body { font-size: 16px; line-height: 2.1; color: var(--ink-2); }
.article-body p { margin-bottom: 20px; }
.article-body strong { color: var(--wine-900); }
.article-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-foot .af-item { font-size: 14px; color: var(--ink-2); max-width: 45%; }
.article-foot .af-item a:hover { color: var(--wine-700); }
.article-foot .af-lbl { color: var(--ink-3); font-size: 12.5px; margin-bottom: 4px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer .f-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-actions .icon-btn.hide-sm { display: none; }
  .nav {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 90px 0 20px;
    box-shadow: -8px 0 40px rgba(0,0,0,.14); transition: right .35s; z-index: 300; overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav > li > a { height: auto; line-height: 1.5; padding: 15px 30px; border-bottom: 1px solid var(--line); }
  .nav > li > a::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding-left: 16px; background: var(--wine-50); }
  .mask { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 290; opacity: 0; visibility: hidden; transition: all .3s; }
  .mask.show { opacity: 1; visibility: visible; }
  .hero { height: 520px; }
  .hero-copy h1 { font-size: 36px; letter-spacing: 3px; }
  .about-intro, .contact-grid, .pd-wrap { grid-template-columns: 1fr; gap: 34px; }
  .culture-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(2) { border-right: none; }
  .stats .stat { border-bottom: 1px solid rgba(255,255,255,.14); padding: 18px 10px; }
  .about-intro .ai-media .badge { right: 10px; bottom: -14px; }
  .news-row { flex-direction: column; }
  .news-row .nr-media { width: 100%; height: 200px; }
  .cart-head { display: none; }
  .cart-item { grid-template-columns: 40px 1fr 100px; grid-template-areas: "chk prod price" ". qty remove"; row-gap: 10px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .grid-4, .grid-3, .culture-grid, .honor-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 25px; }
  .hero { height: 470px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy p { font-size: 15px; }
  .page-hero h1 { font-size: 28px; letter-spacing: 3px; }
  .footer .f-top { grid-template-columns: 1fr; }
  .tabs-head { overflow-x: auto; }
  .tabs-head button { padding: 14px 18px; white-space: nowrap; }
  .step-tab .line { width: 24px; margin: 0 8px; }
  .pd-actions { flex-direction: column; }
  .float-bar { right: 10px; bottom: 70px; }
  .float-bar a, .float-bar button { width: 44px; height: 44px; }
}

/* ---------- 移动端补强 ---------- */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }

@media (max-width: 900px) {
  .search-box input { width: 160px; }
  .pd-thumbs { overflow-x: auto; }
}

@media (max-width: 640px) {
  /* 防止 iOS 输入框聚焦自动放大 */
  input, select, textarea { font-size: 16px; }

  /* 搜索框在窄屏下占满一行 */
  .search-box { width: 100%; }
  .search-box input { width: 100%; }

  /* 筛选工具栏允许换行防溢出 */
  .filter-tools { width: 100%; flex-wrap: wrap; }

  /* 分页按钮允许换行 */
  .pagination { flex-wrap: wrap; row-gap: 10px; }

  /* 支付方式每项独占一行 */
  .pay-method { min-width: 0; flex: 1 1 100%; }

  /* 文章底部上/下篇堆叠 */
  .article-foot { flex-direction: column; gap: 16px; }
  .article-foot .af-item { max-width: 100%; }

  /* 面板内边距收紧 */
  .panel { padding: 22px 16px; }
  .tabs-panel { padding: 26px 0; }

  /* 步骤条收紧 */
  .step-tab { font-size: 12px; letter-spacing: 0; gap: 6px; }
  .step-tab .n { width: 24px; height: 24px; font-size: 12px; }

  /* 首页 Hero 文案适配 */
  .hero-copy h1 { letter-spacing: 2px; line-height: 1.35; }
  .hero-copy .kicker { font-size: 12px; letter-spacing: 2px; }

  /* 页脚二维码区居中防溢出 */
  .footer .f-qr img { width: 96px; height: 96px; }

  /* 订单商品行适配 */
  .order-item-mini .oim-price { min-width: 60px; }

  /* 联系页/关于页图片间距 */
  .about-intro .ai-media .badge { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 380px) {
  .hero { height: 430px; }
  .hero-copy h1 { font-size: 26px; }
  .sec-head h2 { font-size: 23px; }
  .step-tab .line { width: 14px; margin: 0 6px; }
}