/* ==========================================================
   南方源商城 NFY MALL - 全站样式
   设计语言：圆润卡片 / 暖橙活力式
   暖纸白底 · 弥散光斑 · 大圆角浮卡 · 胶囊按钮 · 圆点装饰
   ========================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 色板（页面内联样式引用这些变量） */
  --color-primary: #ED6A1E;          /* 南方源橙 */
  --color-primary-dark: #B44A0E;     /* 深橙 */
  --color-primary-light: #FF9445;    /* 亮橙 */
  --color-accent: #F5A623;           /* 琥珀金 */
  --color-accent-dark: #D9820B;      /* 深琥珀 */
  --color-accent-light: #FFC968;     /* 浅琥珀 */
  --color-text: #4A3B30;
  --color-text-light: #8A7A6D;
  --color-bg: #FFF8F2;               /* 暖纸白底 */
  --color-bg-soft: #FDEDDF;          /* 柔和暖橙 */
  --color-bg-section: #FADFC8;       /* 区块浅橙 */
  --color-border: #F0D9C0;
  --color-line: #F7E6D3;
  --color-gold: #ED6A1E;
  --color-success: #ED6A1E;
  --color-danger: #EF6A5A;
  --color-warning: #F5A623;

  /* 圆润 / 柔和投影（值改写为大圆角 + 柔和双色投影） */
  --radius: 24px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --radius-circle: 999px;

  --shadow-sm: 0 6px 18px rgba(180, 90, 20, .07), 0 2px 6px rgba(245, 166, 35, .05);
  --shadow: 0 18px 40px rgba(180, 90, 20, .13), 0 6px 14px rgba(245, 166, 35, .08);
  --shadow-lg: 0 34px 80px rgba(180, 90, 20, .18), 0 14px 30px rgba(245, 166, 35, .10);

  --max-width: 1220px;
  --font-display: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---------- 暖橙底色：暖纸白 + 弥散低饱和光斑 ---------- */
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  background:
    radial-gradient(1100px 520px at 92% -4%, rgba(245, 166, 35, .10), transparent 60%),
    radial-gradient(900px 480px at -8% 12%, rgba(237, 106, 30, .08), transparent 55%),
    radial-gradient(760px 420px at 30% 110%, rgba(255, 148, 69, .07), transparent 60%),
    radial-gradient(520px 320px at 110% 70%, rgba(255, 201, 104, .08), transparent 60%),
    var(--color-bg);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(237, 106, 30, .18); color: var(--color-primary-dark); }

/* ---------- 表单：圆角 + 暖橙描边 + 柔和聚焦光晕 ---------- */
input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #C4B5A6; }
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(237, 106, 30, .13);
  background: #FFFFFF;
}
select option { background: #fff; color: var(--color-text); }
textarea { resize: vertical; min-height: 110px; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.35; color: var(--color-text); }
h1 { font-size: 34px; }
h2 { font-size: 25px; }
h3 { font-size: 18px; }
h1, h2, .hero h1, .section-title h2, .footer h4 { font-family: var(--font-display); letter-spacing: .01em; }

/* ============= 容器 ============= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 22px; width: 100%; }
.container-wide { max-width: 1420px; margin: 0 auto; padding: 0 22px; width: 100%; }
main { flex: 1; padding-bottom: 40px; }

/* ==========================================================
   顶部信息条 - 暖橙留白行（悬浮导航之上）
   ========================================================== */
.topbar {
  padding: 10px 0 2px;
  font-size: 13px;
  color: #9A8574;
}
.topbar a { color: #9A8574; padding: 3px 8px; border-radius: var(--radius-circle); transition: all .2s; }
.topbar a:hover { color: var(--color-primary); }
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.topbar-info { display: flex; gap: 20px; color: #8A7A6D; margin-right: auto; }
.topbar-info .tb-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info .tb-item::before { content: "●"; font-size: 7px; color: var(--color-primary); opacity: .6; }
.topbar-links { display: flex; gap: 4px; align-items: center; }

/* ==========================================================
   顶部导航 - 悬浮圆角胶囊条
   顶部预留暖橙留白，导航为独立大圆角浅色胶囊栏
   ========================================================== */
.nav-wrap {
  padding: 14px 0 12px;
  background: transparent;
}
.navbar {
  position: static;
  width: 100%;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(240, 217, 192, .9);
  box-shadow: 0 12px 30px rgba(180, 90, 20, .10), 0 4px 12px rgba(245, 166, 35, .06);
  overflow: hidden;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 18px;
  padding: 0 14px;
}
/* 品牌：圆形渐变 logo 标 */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-left: 6px; }
.brand-chip {
  width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #FF9445, #ED6A1E 55%, #8F3A09);
  color: #FFF8F2;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(237, 106, 30, .32), inset 0 -3px 6px rgba(140, 60, 10, .35);
}
.brand-chip.small { width: 42px; height: 42px; font-size: 14px; }
.brand-text b { display: block; font-size: 15px; white-space: nowrap; color: var(--color-text); letter-spacing: .02em; font-family: var(--font-display); }
.brand-text small { display: block; font-size: 10px; color: var(--color-text-light); font-weight: 400; letter-spacing: .1em; margin-top: 2px; }

/* 居中导航项 */
.nav-list { display: flex; gap: 2px; list-style: none; flex: 1; min-width: 0; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.nav-list a {
  display: block;
  flex-shrink: 0;
  padding: 10px 14px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-circle);
  transition: all .2s;
  white-space: nowrap;
}
.nav-list a:hover { background: rgba(237, 106, 30, .08); color: var(--color-primary-dark); }
.nav-list a.active {
  color: var(--color-primary-dark);
  background: linear-gradient(145deg, #FBE3CC, #F5CFA8);
  font-weight: 700;
  box-shadow: inset 0 1px 3px rgba(255,255,255,.6), 0 4px 10px rgba(237, 106, 30, .14);
}
.nav-mall-btn {
  background: linear-gradient(145deg, #FF9445, #ED6A1E);
  color: #FFF8F2 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-circle);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(237, 106, 30, .30);
}
.nav-mall-btn:hover { filter: brightness(1.05); color: #fff !important; box-shadow: 0 10px 22px rgba(237, 106, 30, .36); transform: translateY(-2px); }
/* 返回官网：描边胶囊，与绿渐变主按钮形成主次关系 */
.nav-home-btn {
  border: 1.5px solid rgba(237, 106, 30, .45);
  color: var(--color-primary) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-circle);
  font-weight: 600;
  background: rgba(255, 255, 255, .65);
}
.nav-home-btn:hover { background: rgba(237, 106, 30, .10); box-shadow: 0 6px 14px rgba(237, 106, 30, .18); transform: translateY(-2px); }

/* 右侧按钮区：购物车 / 登录 做成小胶囊 */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-actions a, .nav-actions button { color: var(--color-text-light); font-size: 13px; display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: var(--radius-circle); transition: all .2s; }
.nav-actions a:hover { color: var(--color-primary); background: rgba(237, 106, 30, .07); }
.nav-search { letter-spacing: .02em; font-weight: 500; }
.cart-icon { position: relative; display: inline-flex; font-size: 19px; padding: 8px; }
.cart-count {
  position: absolute; top: 0; right: -2px;
  background: var(--color-danger); color: #fff;
  font-size: 11px; padding: 1px 5px; border-radius: 12px;
  min-width: 16px; text-align: center; display: none;
  box-shadow: 0 2px 6px rgba(239, 106, 90, .4);
}
.cart-count.active { display: block; }
.mobile-menu-btn { display: none; font-size: 22px; color: var(--color-text); padding: 6px 10px; border-radius: var(--radius-circle); background: var(--color-bg-soft); }

/* ==========================================================
   页脚 - 大圆角浅色分区 + 圆角色块 + 圆点分隔 + 胶囊标签
   ========================================================== */
.footer {
  background:
    radial-gradient(720px 300px at 92% 0%, rgba(245, 166, 35, .10), transparent 60%),
    radial-gradient(640px 300px at 4% 0%, rgba(255, 148, 69, .14), transparent 55%),
    var(--color-bg-soft);
  color: #7A6A5C;
  margin: 70px 22px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 217, 192, .9);
  padding: 46px 20px 22px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.footer::before, .footer::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.footer::before { top: -70px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 201, 104, .16), transparent 66%); }
.footer::after { bottom: -60px; left: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 148, 69, .16), transparent 66%); }
.footer-wave { display: none; }
.footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 26px; margin-bottom: 28px; }
.footer h4 { color: var(--color-primary-dark); font-size: 15px; margin-bottom: 16px; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.footer h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); box-shadow: 0 0 0 4px rgba(237, 106, 30, .12); flex-shrink: 0; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 9px; }
.footer-list a { color: #7A6A5C; font-size: 13px; padding: 4px 12px; border-radius: var(--radius-circle); background: rgba(255,255,255,.55); border: 1px solid rgba(240, 217, 192, .7); display: inline-block; transition: all .2s; }
.footer-list a:hover { color: var(--color-primary); border-color: rgba(237, 106, 30, .4); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.footer-info p { margin-bottom: 5px; color: #7A6A5C; font-size: 13px; line-height: 1.8; }
.footer-info p strong { color: var(--color-primary-dark); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand h4 { margin: 0; }
.footer-brand h4::before { display: none; }
.footer-brand .brand-chip.small { box-shadow: 0 6px 14px rgba(237, 106, 30, .3), inset 0 -3px 6px rgba(140, 60, 10, .3); }
.footer-slogan { color: var(--color-primary) !important; letter-spacing: .08em; font-weight: 600; }
.footer-scope { margin-top: 8px; line-height: 1.8; }
.footer-sep { letter-spacing: 10px; color: var(--color-primary-light); opacity: .6; margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px dashed rgba(237, 106, 30, .25);
  padding-top: 20px;
  text-align: center;
  color: #A8907C;
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom a { color: #A8907C; }
.footer-bottom a:hover { color: var(--color-primary); }
.beian { display: inline-flex; align-items: center; gap: 4px; }

/* ==========================================================
   按钮体系 - 胶囊实底 + 柔和投影
   ========================================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-circle);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: .02em;
  line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(145deg, #FF9445, #ED6A1E);
  color: #FFF8F2;
  box-shadow: 0 10px 22px rgba(237, 106, 30, .32);
}
.btn-primary:hover { filter: brightness(1.05); color: #fff; box-shadow: 0 14px 30px rgba(237, 106, 30, .40); }
.btn-accent {
  background: linear-gradient(145deg, #FFC968, #F5A623);
  color: #6B4210;
  box-shadow: 0 10px 22px rgba(245, 166, 35, .30);
}
.btn-accent:hover { filter: brightness(1.04); color: #6B4210; box-shadow: 0 14px 28px rgba(245, 166, 35, .40); }
.btn-outline {
  background: rgba(255,255,255,.7);
  color: var(--color-primary-dark);
  border-color: rgba(237, 106, 30, .5);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: #FBE3CC; border-color: var(--color-primary); }
.btn-ghost { background: transparent; color: var(--color-text); border: 1.5px dashed rgba(237, 106, 30, .55); }
.btn-ghost:hover { background: var(--color-bg-soft); border-color: var(--color-primary); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { display: block; width: 100%; }
.btn-danger { background: linear-gradient(145deg, #F2704F, #EF6A5A); color: #fff; box-shadow: 0 10px 22px rgba(239, 106, 90, .30); }
.btn-danger:hover { filter: brightness(1.05); color: #fff; }

/* ============= 卡片 ============= */
.card {
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 217, 192, .9);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all .28s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: rgba(237, 106, 30, .35); }
.card-body { padding: 22px; }
.card-img { width: 100%; height: 190px; object-fit: cover; background: var(--color-bg-section); }

/* ============= 栅格 ============= */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ============= 通用区块（圆角浅色分区） ============= */
.section { padding: 52px 0; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
}
.section-title h2 { font-size: 23px; display: flex; align-items: center; gap: 10px; }
.section-title h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); box-shadow: 0 0 0 6px rgba(237, 106, 30, .10); flex-shrink: 0; }
.section-title h2 small { color: var(--color-text-light); font-size: 14px; font-weight: 400; margin-left: 6px; }
.section-title a { color: var(--color-text-light); font-size: 14px; padding: 6px 14px; border-radius: var(--radius-circle); background: rgba(255,255,255,.6); border: 1px solid var(--color-border); transition: all .2s; }
.section-title a:hover { color: var(--color-primary); border-color: rgba(237, 106, 30, .5); transform: translateY(-2px); }
.alt-section {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(245, 166, 35, .08), transparent 60%),
    radial-gradient(600px 300px at 6% 100%, rgba(255, 148, 69, .10), transparent 55%),
    linear-gradient(180deg, rgba(251, 227, 204, .0), rgba(253, 240, 227, .6));
  border: none;
  border-radius: var(--radius-lg);
  margin: 0 14px;
  padding-left: 26px;
  padding-right: 26px;
}

/* ==========================================================
   Hero（首页） - 左文右图圆角大面板
   ========================================================== */
.hero {
  background: transparent;
  color: var(--color-text);
  padding: 20px 0 30px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { top: -90px; right: -30px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(245, 166, 35, .16), transparent 66%); }
.hero::after { left: -60px; bottom: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 148, 69, .16), transparent 66%); }
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(620px 320px at 88% 10%, rgba(245, 166, 35, .13), transparent 60%),
    radial-gradient(560px 320px at 8% 92%, rgba(255, 148, 69, .12), transparent 58%),
    linear-gradient(165deg, #FDEDDF 0%, #FFF8F2 55%, #FADFC8 100%);
  border: 1px solid rgba(240, 217, 192, .95);
  box-shadow: var(--shadow);
  padding: 56px 60px;
  color: var(--color-text);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-layout { grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
/* 泡泡装饰 */
.hero-bubbles, .bubble-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.8), rgba(255, 148, 69, .14));
  border: 1px solid rgba(255, 148, 69, .25);
  animation: bob 7s ease-in-out infinite;
}
.bubble.b1 { width: 46px; height: 46px; top: 12%; right: 34%; animation-delay: 0s; }
.bubble.b2 { width: 26px; height: 26px; top: 24%; left: 30%; animation-delay: 1.2s; }
.bubble.b3 { width: 66px; height: 66px; bottom: 14%; right: 18%; animation-delay: 2s; }
.bubble.b4 { width: 18px; height: 18px; top: 14%; left: 46%; background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.9), rgba(245, 166, 35, .16)); animation-delay: .6s; }
.bubble.b5 { width: 30px; height: 30px; bottom: 22%; left: 14%; animation-delay: 3s; }
.bubble.b6 { width: 38px; height: 38px; top: 6%; right: 12%; background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.85), rgba(245, 166, 35, .13)); animation-delay: 1.8s; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
/* 曲线装饰 */
.hero-curve { position: absolute; bottom: -60px; right: -40px; width: 340px; height: 200px; border-radius: 50%; transform: rotate(-12deg); background: linear-gradient(150deg, rgba(255, 148, 69, .14), rgba(255, 201, 104, .10)); filter: blur(6px); pointer-events: none; z-index: 0; }
/* 圆点分区 */
.hero-dots { position: absolute; top: 24px; right: 30px; display: grid; gap: 8px; grid-template-columns: repeat(4, 6px); pointer-events: none; z-index: 0; }
.hdot { width: 6px; height: 6px; border-radius: 50%; background: rgba(237, 106, 30, .22); }
.hdot.on { background: var(--color-primary); box-shadow: 0 0 0 4px rgba(237, 106, 30, .12); }

.hero-copy { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.75);
  color: var(--color-primary-dark);
  border: 1px solid rgba(237, 106, 30, .35);
  padding: 6px 16px;
  border-radius: var(--radius-circle);
  font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.hero-badge::before { content: "●"; font-size: 8px; color: var(--color-primary); }
.hero h1 { font-size: 40px; margin-bottom: 16px; line-height: 1.26; color: var(--color-text); letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--color-primary); }
.hero p { font-size: 17px; margin-bottom: 28px; color: var(--color-text-light); line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-outline { background: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: #FBE3CC; }

/* 特性气泡统计 */
.hero-stats { display: flex; gap: 16px; margin-top: 14px; padding-top: 22px; flex-wrap: wrap; }
.hs {
  padding: 12px 18px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(240, 217, 192, .9);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 110px;
  text-align: center;
}
.hs b { display: block; font-size: 24px; color: var(--color-primary); font-family: var(--font-display); }
.hs span { font-size: 12px; color: var(--color-text-light); }

/* 右侧视觉图面板 */
.hero-visual { position: relative; z-index: 1; }
.hero-panel-img {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 148, 69, .18), transparent 50%),
    #FADFC8;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), var(--shadow-sm);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-panel-leaves { position: absolute; bottom: 14px; left: 18px; font-size: 44px; opacity: .7; filter: drop-shadow(0 6px 8px rgba(180, 90, 20, .2)); }
.hero-panel-chip { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.85); border: 1px solid rgba(237, 106, 30, .3); padding: 6px 12px; border-radius: var(--radius-circle); font-size: 12px; color: var(--color-primary-dark); font-weight: 600; box-shadow: var(--shadow-sm); }

/* ============= 分类：大圆形图标胶囊横排 ============= */
.cat-circles { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.cat-circles .entry-card { flex: 1 1 auto; min-width: 120px; padding: 10px 6px; }
.cat-circles .entry-card:hover { border: 1px solid rgba(237, 106, 30, .3); background: rgba(255,255,255,.6); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cat-circle { text-align: center; flex: 1 1 auto; min-width: 120px; transition: all .25s; cursor: pointer; color: var(--color-text); }
.cat-circle:hover { transform: translateY(-6px) rotate(-1.5deg); }
.cat-circle:hover:nth-child(even) { transform: translateY(-6px) rotate(1.5deg); }
.cat-circle-icon {
  width: 92px; height: 92px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #F7DDBE, #FFC08A 55%, #FF9445);
  color: var(--color-primary-dark);
  box-shadow: inset 0 -5px 12px rgba(140, 60, 10, .20), inset 0 3px 6px rgba(255,255,255,.6), 0 12px 24px rgba(237, 106, 30, .20);
  border: 2px solid rgba(255,255,255,.7);
  transition: all .25s;
}
.cat-circles .cat-circle:nth-child(3n+2) .cat-circle-icon { background: radial-gradient(circle at 30% 25%, #FCE3C8, #FFD9A8 55%, #F5A623); box-shadow: inset 0 -5px 12px rgba(150,90,30,.22), inset 0 3px 6px rgba(255,255,255,.65), 0 12px 24px rgba(245, 166, 35, .20); }
.cat-circle:hover .cat-circle-icon { transform: scale(1.06) rotate(2deg); }
.cat-circle h3 { font-size: 16px; margin-bottom: 3px; color: var(--color-text); }
.cat-circle p { font-size: 13px; color: var(--color-text-light); }

/* 兼容旧容器（grid-5 包裹 entry-card 时） */
.entry-card {
  background: transparent;
  text-align: center;
  transition: all .25s;
  display: block;
  color: var(--color-text);
  padding: 12px 8px;
}
.entry-card:hover { transform: translateY(-4px) rotate(-1deg); color: var(--color-text); }
.entry-card:hover:nth-child(even) { transform: translateY(-4px) rotate(1deg); }
.entry-icon {
  font-size: 34px; margin-bottom: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #F7DDBE, #FFC08A 55%, #FF9445);
  color: var(--color-primary-dark);
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: inset 0 -5px 12px rgba(140, 60, 10, .18), inset 0 3px 6px rgba(255,255,255,.6), 0 12px 24px rgba(237, 106, 30, .18);
}
.entry-card h3 { font-size: 15px; margin-bottom: 3px; }
.entry-card p { font-size: 12px; color: var(--color-text-light); }

/* ============= 信息卡 ============= */
.info-card {
  display: flex;
  gap: 18px;
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 217, 192, .9);
  padding: 18px;
  margin-bottom: 14px;
  transition: all .25s;
  box-shadow: var(--shadow-sm);
}
.info-card:hover { box-shadow: var(--shadow); border-color: rgba(237, 106, 30, .4); transform: translateY(-4px); }
.info-card img { width: 170px; height: 118px; object-fit: cover; border-radius: 16px; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.info-card-body { flex: 1; min-width: 0; }
.info-card h3 { font-size: 16px; margin-bottom: 6px; }
.info-card h3 a { color: var(--color-text); }
.info-card h3 a:hover { color: var(--color-primary); }
.info-card-meta { display: flex; gap: 12px; color: var(--color-text-light); font-size: 12px; margin-bottom: 6px; flex-wrap: wrap; align-items: center; }
.info-card-meta .tag { background: rgba(237, 106, 30, .1); color: var(--color-primary-dark); }
.info-card p { color: var(--color-text-light); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================
   商品卡 - 大圆角浮卡 + 圆角色带/斑块 + 柔和双色投影
   ========================================================== */
.product-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 217, 192, .9);
  overflow: visible;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.product-card::before {
  content: ""; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: 46%; height: 8px;
  background: linear-gradient(90deg, transparent, #FF9445, transparent);
  border-radius: var(--radius-circle);
  opacity: .7;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-9px); border-color: rgba(237, 106, 30, .4); }
.product-card:hover .product-img, .product-card:hover .p-img { transform: scale(1.04); }
/* 叶片/泡泡点缀 */
.product-card::after {
  content: ""; position: absolute; right: 12px; bottom: 50px;
  font-size: 16px; opacity: 0; color: var(--color-primary-light);
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.product-card:hover::after { opacity: .5; transform: rotate(12deg); }
.product-card .img { width: 100%; height: 205px; background: var(--color-bg-section); object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.product-img {
  height: 205px;
  background: #FADFC8 center/contain no-repeat;
  position: relative;
  transition: transform .35s;
  border-radius: var(--radius) var(--radius) 0 0;
}
.product-img .cat-chip, .p-cat-chip {
  position: absolute; right: 10px; bottom: 10px;
  background: linear-gradient(145deg, #FFC968, #F5A623); color: #6B4210;
  padding: 4px 12px; border-radius: var(--radius-circle); font-size: 12px; font-weight: 600;
  box-shadow: 0 6px 14px rgba(245, 166, 35, .3);
}
.product-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 15px; line-height: 1.45; margin-bottom: 10px; height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card .price { color: var(--color-primary); font-size: 22px; font-weight: 800; margin-bottom: 8px; font-family: var(--font-display); }
.product-card .price small { font-size: 12px; color: var(--color-text-light); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.product-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-light); margin-top: auto; padding: 6px 0; }
.product-card .meta .stars { color: var(--color-primary); }
.product-card .actions { display: flex; gap: 8px; margin-top: 12px; }
.product-card .actions .btn { flex: 1; padding: 9px 10px; }

/* ============= 面包屑：胶囊碎块 ============= */
.breadcrumb {
  padding: 14px 0 2px;
  font-size: 13px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a {
  color: var(--color-text-light);
  background: #FDEDDF;
  border: 1px solid rgba(240, 217, 192, .9);
  padding: 5px 14px;
  border-radius: var(--radius-circle);
  transition: all .2s;
}
.breadcrumb a:hover { color: var(--color-primary); border-color: rgba(237, 106, 30, .5); background: #FBE3CC; }
.breadcrumb .sep { margin: 0 8px; color: #F0C79A; font-weight: 700; }
.breadcrumb .current {
  color: var(--color-primary-dark);
  font-weight: 700;
  background: linear-gradient(145deg, #FBE3CC, #F5CFA8);
  border: 1px solid rgba(237, 106, 30, .3);
  padding: 5px 14px;
  border-radius: var(--radius-circle);
}

/* ============= 标签 / 徽章 ============= */
.tag {
  display: inline-block;
  padding: 3px 13px;
  border-radius: var(--radius-circle);
  font-size: 12px;
  background: #FDF3EA;
  color: var(--color-text-light);
  margin-right: 4px;
  border: 1px solid var(--color-border);
}
.tag-primary { background: rgba(237, 106, 30, .1); color: var(--color-primary-dark); border-color: rgba(237, 106, 30, .35); }
.tag-accent { background: rgba(245, 166, 35, .12); color: var(--color-accent-dark); border-color: rgba(245, 166, 35, .4); }
.tag-danger { background: rgba(239, 106, 90, .1); color: var(--color-danger); border-color: rgba(239, 106, 90, .4); }
.tag-success { background: rgba(237, 106, 30, .1); color: var(--color-primary-dark); border-color: rgba(237, 106, 30, .4); }
.tag-info { background: rgba(237, 106, 30, .1); color: #ED6A1E; border-color: rgba(237, 106, 30, .4); }
.tag-warn { background: rgba(245, 166, 35, .1); color: var(--color-accent-dark); border-color: rgba(245, 166, 35, .4); }

/* ============= Tab：胶囊转场 ============= */
.tabs { display: flex; gap: 8px; border-bottom: 2px solid var(--color-border); margin-bottom: 26px; flex-wrap: wrap; }
.tab {
  padding: 10px 22px;
  font-size: 15px;
  color: var(--color-text-light);
  cursor: pointer;
  border-radius: var(--radius-circle);
  border: 1px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  font-weight: 500;
}
.tab:hover { color: var(--color-primary); background: rgba(237, 106, 30, .07); }
.tab.active { color: #FFF8F2; background: linear-gradient(145deg, #FF9445, #ED6A1E); border-color: transparent; font-weight: 700; box-shadow: 0 8px 18px rgba(237, 106, 30, .28); }

/* ============= 表单 ============= */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--color-text); }
.form-group label .req { color: var(--color-danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--color-border); }
.form-help { font-size: 12px; color: var(--color-text-light); margin-top: 6px; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-item, .checkbox-item {
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; padding: 8px 16px;
  border: 1px solid var(--color-border); border-radius: var(--radius-circle);
  transition: all .2s; color: var(--color-text);
}
.radio-item:hover, .checkbox-item:hover { border-color: var(--color-primary); }
.radio-item input, .checkbox-item input { width: auto; margin: 0; accent-color: var(--color-primary); }
.radio-item.checked, .checkbox-item.checked { background: rgba(237, 106, 30, .08); border-color: var(--color-primary); color: var(--color-primary-dark); }

/* ============= 模态框：大圆角 + 柔和投影 + 顶部圆角色带 ============= */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(140, 60, 10, .32);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-mask.active { display: flex; }
.modal {
  background: #FFF8F2;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  width: 100%; max-width: 400px;
  padding: 34px 30px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 10px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 0 0 var(--radius-circle) var(--radius-circle);
  opacity: .5;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: #FAE8D8;
  border-radius: 50%;
  color: var(--color-text-light); font-size: 18px; line-height: 1; cursor: pointer;
  transition: all .2s;
}
.modal-close:hover { background: rgba(239, 106, 90, .15); color: var(--color-danger); }
.modal-title { text-align: center; font-size: 19px; margin-bottom: 20px; font-family: var(--font-display); }
.modal-body { text-align: center; }
.modal-qr {
  width: 210px; height: 210px;
  margin: 0 auto 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 10px; background: #fff;
  box-shadow: var(--shadow-sm);
}
.modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.modal-amount { font-size: 16px; margin: 12px 0; color: var(--color-text); }
.modal-amount .price { color: var(--color-danger); font-size: 24px; font-weight: 700; margin-left: 4px; }
.modal-tip { font-size: 13px; color: var(--color-text-light); margin: 12px 0 20px; line-height: 1.7; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* ============= Toast ============= */
.toast {
  position: fixed; top: 20px; left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 13px 26px;
  border-radius: var(--radius-circle);
  z-index: 10000;
  font-size: 14px;
  transition: transform .3s;
  box-shadow: var(--shadow-lg);
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #ED6A1E; border-color: #ED6A1E; color: #FFF8F2; font-weight: 600; box-shadow: 0 12px 26px rgba(237, 106, 30, .35); }
.toast.error { background: #EF6A5A; border-color: #EF6A5A; color: #fff; font-weight: 600; }
.toast.warn { background: #F5A623; border-color: #F5A623; color: #6B4210; font-weight: 600; }

/* ============= 通用辅助 ============= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary-dark); }
.text-accent { color: var(--color-accent-dark); }
.text-danger { color: var(--color-danger); }
.text-light { color: var(--color-text-light); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 8px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--color-border); margin: 16px 0; }
.placeholder-img {
  width: 100%; height: 100%;
  background: var(--color-bg-section);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-light); font-size: 13px;
}

/* ============= 分页 ============= */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-circle);
  font-size: 14px;
  color: var(--color-text);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.pagination .active { background: linear-gradient(145deg, #FF9445, #ED6A1E); color: #FFF8F2; border-color: transparent; font-weight: 700; box-shadow: 0 8px 18px rgba(237, 106, 30, .28); }
.pagination .disabled { color: #C4B5A6; pointer-events: none; }

/* ============= 列表/详情布局 ============= */
.list-layout { display: grid; grid-template-columns: 210px 1fr; gap: 26px; }
.detail-layout { display: grid; grid-template-columns: 480px 1fr; gap: 34px; }
.news-layout, .review-layout, .service-layout { display: grid; grid-template-columns: 300px 1fr; gap: 26px; }
.news-layout > aside:last-child, .review-layout > aside:last-child, .service-layout > aside:last-child { align-self: start; }
.cat-link { padding: 9px 16px; border-radius: var(--radius-circle); color: var(--color-text); font-size: 14px; transition: all .2s; display: block; margin-bottom: 6px; }
.cat-link:hover { background: rgba(237, 106, 30, .07); color: var(--color-primary); }
.cat-link.active { background: linear-gradient(145deg, #FBE3CC, #F5CFA8); color: var(--color-primary-dark); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(237, 106, 30, .3); }
.sort-btn {
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-circle);
  background: #fff;
  color: var(--color-text-light);
  font-size: 13px; cursor: pointer;
  transition: all .2s;
}
.sort-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.sort-btn.active { background: linear-gradient(145deg, #FF9445, #ED6A1E); border-color: transparent; color: #FFF8F2; font-weight: 600; box-shadow: 0 8px 16px rgba(237, 106, 30, .24); }

/* ============= 后台 ============= */
.admin-topbar {
  background: linear-gradient(135deg, #8F3A09, #B44A0E);
  border-bottom: 3px solid var(--color-accent);
  padding: 14px 0;
  border-radius: 0 0 22px 22px;
  margin: 0 12px;
  box-shadow: var(--shadow);
}
.admin-topbar .inner { display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h1 { font-size: 20px; color: #FDEDDF; font-family: var(--font-display); }
.admin-topbar a { color: #FFC968; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-tab {
  padding: 10px 18px;
  border-radius: var(--radius-circle);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 14px; cursor: pointer; transition: all .2s;
}
.admin-tab:hover { color: var(--color-primary); border-color: var(--color-primary); }
.admin-tab.active { background: linear-gradient(145deg, #FF9445, #ED6A1E); color: #FFF8F2; font-weight: 700; border-color: transparent; box-shadow: 0 8px 16px rgba(237, 106, 30, .24); }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.module-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.module-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.module-card.active { border-color: var(--color-primary); background: #FDF3EA; }
.module-card .m-icon { font-size: 30px; margin-bottom: 8px; }
.module-card h3 { font-size: 15px; margin-bottom: 4px; }
.module-card p { font-size: 12px; color: var(--color-text-light); }

/* ============= 表格 ============= */
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th {
  background: #FADFC8;
  color: var(--color-primary-dark);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--color-primary);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-line);
  color: #8A7A6D;
  vertical-align: middle;
}
.data-table tbody tr:nth-child(even) { background: #FFFBF6; }
.data-table tbody tr:hover { background: #FDF3EA; }
.data-table .op a, .data-table .op button { font-size: 13px; margin-right: 10px; }

/* ============= 统计卡片 ============= */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stat-card .num { font-size: 32px; font-weight: 800; color: var(--color-primary); font-family: var(--font-display); }
.stat-card .label { font-size: 13px; color: var(--color-text-light); margin-top: 4px; }

/* ============= 状态灯 ============= */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.dot-ok { background: var(--color-success); box-shadow: 0 0 0 4px rgba(237, 106, 30, .12); }
.dot-pending { background: var(--color-warning); box-shadow: 0 0 0 4px rgba(245, 166, 35, .12); }
.dot-bad { background: var(--color-danger); box-shadow: 0 0 0 4px rgba(239,106,90,.12); }

/* ============= 滚动条 ============= */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #FDEDDF; border-radius: 6px; }
::-webkit-scrollbar-thumb { background: #FFC08A; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #FF9445; }

/* ============= 详情页信息格 / 数量框 ============= */
.pstage { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(240, 217, 192, .9); }
.info-grid { display: grid; grid-template-columns: 90px 1fr; gap: 10px 14px; font-size: 14px; }
.info-grid .k { color: var(--color-text-light); }
.info-grid span { line-height: 1.7; }
.big-price { font-size: 34px; font-weight: 800; color: var(--color-danger); font-family: var(--font-display); }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: var(--radius-circle); overflow: hidden; background:#fff; }
.qty-box .qty-btn { width: 38px; height: 38px; font-size: 20px; color: var(--color-text-light); transition: all .2s; }
.qty-box .qty-btn:hover { background: #FDEDDF; color: var(--color-primary); }
.qty-box input { width: 52px; border: none; text-align: center; padding: 0; height: 38px; }

/* ============= 响应式 ============= */
@media (max-width: 1024px) {
  .hero-layout, .hero-panel { grid-template-columns: 1fr !important; gap: 24px; }
  .hero-panel { padding: 40px 34px; }
  .hero-visual .hero-panel-img { min-height: 260px; }
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-layout, .review-layout, .service-layout { grid-template-columns: 200px 1fr !important; }
  .news-layout > aside:last-child, .review-layout > aside:last-child, .service-layout > aside:last-child { display: none; }
  .list-layout { grid-template-columns: 170px 1fr !important; }
  .detail-layout { grid-template-columns: 1fr !important; }
  .module-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-circles { gap: 16px; }
}
@media (max-width: 768px) {
  h1 { font-size: 27px; }
  h2 { font-size: 21px; }
  .hero { padding: 12px 0 24px; }
  .hero-panel { padding: 32px 22px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-wrap { padding: 12px 0 0; }
  .navbar-inner { height: 62px; }
  .nav-list { display: none; }
  .mobile-menu-btn { display: block; }
  /* 悬浮胶囊导航的移动端下拉 */
  .navbar { position: relative; border-radius: 26px; }
  .nav-list.mobile-open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(255, 255, 255, .98);
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav-list.mobile-open a { padding: 12px 16px; }
  .brand-text { display: none; }
  .footer { margin: 50px 12px 18px; padding: 34px 16px 18px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .info-card { flex-direction: column; }
  .info-card img { width: 100%; height: 190px; }
  .section { padding: 32px 0; }
  .alt-section { margin: 0 6px; padding-left: 16px; padding-right: 16px; }
  .news-layout, .review-layout, .service-layout { grid-template-columns: 1fr !important; }
  .news-layout > aside, .review-layout > aside, .service-layout > aside { display: block; }
  .list-layout { grid-template-columns: 1fr !important; }
  .list-layout > aside { margin-bottom: 16px; }
  .admin-tabs { font-size: 12px; }
  .admin-tab { padding: 10px 12px; }
  .module-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .cat-circles { gap: 12px; }
  .cat-circle { min-width: 40%; }
  .cat-circle-icon { width: 76px; height: 76px; font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { display: none; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-stats { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}