/* ============================================
   华盛医商城 - 全站样式
   淘宝2014经典视觉二次设计 V6
   主色: 淘宝橙 #FF4400 · 白底 · 灰顶栏 · 扁平直角
   ============================================ */

/* ============= 设计变量 ============= */
:root {
  --color-primary: #FF4400;
  --color-primary-dark: #C40000;
  --color-primary-soft: #FFF0EB;
  --color-primary-light: #FF6A00;
  --color-accent: #FF7E29;
  --color-accent-dark: #C40000;
  --color-gold: #FFB03A;
  --color-text: #3C3C3C;
  --color-text-light: #666666;
  --color-text-muted: #9C9C9C;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F5F5;
  --color-bg-section: #F3F3F3;
  --color-bg-deep: #3C3C3C;
  --color-card: #FFFFFF;
  --color-border: #DDD;
  --color-border-soft: #EEE;
  --color-success: #2ECC71;
  --color-danger: #FF4400;
  --color-warning: #F39C12;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-md: 0 3px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 6px 20px rgba(0,0,0,0.15);
  --shadow-xl: 0 10px 30px rgba(0,0,0,0.18);
  --gradient-warm: linear-gradient(135deg, #FF4400 0%, #FF6A00 100%);
  --gradient-soft: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
  --gradient-dark: linear-gradient(135deg, #3C3C3C 0%, #1F1F1F 100%);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --font-sans: Tahoma, Arial, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  --font-serif: "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* ============= 全局重置 ============= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-text); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--color-primary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 13px;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
  color: var(--color-text);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255,68,0,0.10);
}
textarea { resize: vertical; min-height: 100px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; width: 100%; }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 20px; width: 100%; }
main { flex: 1; padding-bottom: 40px; }

/* ============================================
   淘宝式灰色顶栏
   ============================================ */
.tb-topbar {
  background: #F5F5F5;
  border-bottom: 1px solid #E8E8E8;
  font-size: 12px;
  color: #666;
  line-height: 1;
}
.tb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.tb-topbar-left { display: flex; align-items: center; gap: 8px; }
.tb-topbar-dim { color: #9C9C9C; }
.tb-topbar-right { display: flex; align-items: center; gap: 14px; }
.tb-topbar-right a { color: #666; }
.tb-topbar-right a:hover { color: var(--color-primary); }
.tb-topbar-right a.tb-orange { color: var(--color-primary); font-weight: 600; }
.tb-topbar-sep { color: #DDD; }
.tb-topbar-user a { color: var(--color-primary); }

/* ============================================
   淘宝式头部：LOGO + 大搜索 + 购物车
   ============================================ */
.tb-header { background: #FFFFFF; padding: 22px 0 16px; }
.tb-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.tb-brand { display: inline-flex; flex-shrink: 0; }
.tb-logo { display: inline-flex; align-items: center; gap: 12px; }
.tb-logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.tb-logo-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  font-family: var(--font-serif);
  white-space: nowrap;
}
.tb-logo-slogan { font-size: 11px; color: #9C9C9C; letter-spacing: 3px; }

.tb-search-wrap { flex: 1; max-width: 560px; }
.tb-search {
  display: flex;
  border: 2px solid var(--color-primary);
  border-radius: 0;
  overflow: hidden;
  background: white;
}
.tb-search input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 0;
  width: auto;
}
.tb-search input:focus { box-shadow: none; }
.tb-search-btn {
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 34px;
  letter-spacing: 6px;
  transition: background 0.15s;
}
.tb-search-btn:hover { background: var(--color-primary-dark); color: #fff; }
.tb-hotwords {
  margin-top: 7px;
  font-size: 12px;
  color: #9C9C9C;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tb-hotwords a { color: #666; }
.tb-hotwords a:hover { color: var(--color-primary); }

.tb-header-side {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}
.tb-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  position: relative;
  transition: background 0.15s;
}
.tb-cart:hover { background: #FFF0EB; color: var(--color-primary); }
.tb-cart-count {
  min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px; font-weight: 700;
  font-style: normal;
  border-radius: 999px;
  padding: 0 5px;
}
.tb-cart-count.active { background: var(--color-primary-dark); }
.tb-hotline { display: flex; flex-direction: column; line-height: 1.3; }
.tb-hotline-label { font-size: 11px; color: #9C9C9C; }
.tb-hotline strong { font-size: 18px; color: var(--color-primary); letter-spacing: 1px; }

/* ============================================
   淘宝式橙色导航条
   ============================================ */
.tb-nav { background: var(--color-primary); position: sticky; top: 0; z-index: 1000; }
.tb-nav-inner { display: flex; align-items: center; }
.tb-nav-allcat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-dark);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 0 26px;
  height: 44px;
  flex-shrink: 0;
}
.tb-nav-allcat:hover { background: #A60000; color: #fff; }
.tb-nav-links { display: flex; align-items: center; flex: 1; }
.tb-nav-links a {
  display: inline-block;
  padding: 0 22px;
  height: 44px;
  line-height: 44px;
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s;
}
.tb-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.tb-nav-links a.active { color: #FFF3E8; background: rgba(0,0,0,0.10); }
.tb-nav-links a.hot::before {
  content: "热卖";
  font-size: 10px;
  background: #fff;
  color: var(--color-primary);
  border-radius: 2px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: 2px;
  font-weight: 700;
}
.tb-mobile-btn { display: none; }
.tb-link { font-size: 12px; color: #666; }
.tb-link-solid { color: var(--color-primary); font-weight: 600; }

/* ============================================
   淘宝式帮助中心（页脚上部）
   ============================================ */
.tb-help {
  background: #FFFFFF;
  border-top: 1px solid #E8E8E8;
  border-bottom: 1px solid #E8E8E8;
  margin-top: auto;
}
.tb-help-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 220px;
  gap: 24px;
  padding: 36px 20px 30px;
}
.tb-help-col h4 {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tb-hi {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  border-radius: 50%;
}
.tb-hi-2 { background: #FF6A00; }
.tb-hi-3 { background: #C40000; }
.tb-hi-4 { background: #FF7E29; }
.tb-help-col ul { list-style: none; }
.tb-help-col li { margin-bottom: 8px; }
.tb-help-col a { font-size: 12.5px; color: #666; }
.tb-help-col a:hover { color: var(--color-primary); }
.tb-help-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-left: 1px solid #EEE;
  padding-left: 24px;
}
.tb-help-logo { margin-bottom: 8px; }
.tb-help-contact-label { font-size: 12px; color: #9C9C9C; }
.tb-help-phone { font-size: 22px; color: var(--color-primary); letter-spacing: 1px; font-weight: 700; }
.tb-help-mail { font-size: 12px; color: #666; }

/* ============================================
   淘宝式版权页脚
   ============================================ */
.tb-footer {
  background: #FFFFFF;
  padding: 24px 0 32px;
  font-size: 12px;
  color: #9C9C9C;
}
.tb-footer-nav {
  text-align: center;
  color: #DDD;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.tb-footer-nav a { color: #666; padding: 0 10px; border-right: 1px solid #DDD; line-height: 1.4; }
.tb-footer-nav a:last-child { border-right: none; }
.tb-footer-nav a:hover { color: var(--color-primary); }
.tb-footer-about {
  text-align: center;
  padding: 8px 0;
}
.tb-footer-about a { color: #666; margin: 0 10px; }
.tb-footer-about a:hover { color: var(--color-primary); }
.tb-footer-copy { color: #9C9C9C; margin-left: 8px; }
.tb-footer-beian {
  text-align: center;
  line-height: 1.9;
  color: #9C9C9C;
}
.tb-footer-beian .beian { color: #666; }
.tb-footer-beian .beian:hover { color: var(--color-primary); }
.tb-footer-sep { margin: 0 8px; color: #DDD; }

/* ============================================
   首页淘宝版式组件
   ============================================ */
.tb-main {
  margin-top: 14px;
}
.tb-main-grid {
  display: grid;
  grid-template-columns: 190px 1fr 240px;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
}
/* 左侧分类栏 */
.tb-catbox {
  border-right: 1px solid #E8E8E8;
  padding: 8px 0;
}
.tb-catbox-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 6px 16px 8px;
}
.tb-catitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--color-text);
  transition: background 0.12s, color 0.12s;
}
.tb-catitem i {
  font-style: normal;
  color: #CCC;
  font-size: 12px;
}
.tb-catitem:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.tb-catitem:hover i { color: var(--color-primary); }
/* 中部轮播与横幅 */
.tb-banner-zone {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tb-carousel {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: linear-gradient(135deg, #FF7E29 0%, #FF4400 60%, #C40000 100%);
}
.tb-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 56px;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.tb-carousel-slide.on { opacity: 1; pointer-events: auto; }
.tb-carousel-slide h3 { font-size: 34px; color: #fff; margin-bottom: 12px; letter-spacing: 2px; }
.tb-carousel-slide p { font-size: 15px; color: rgba(255,255,255,0.92); margin-bottom: 24px; max-width: 420px; }
.tb-carousel-slide .tb-carousel-btn {
  display: inline-block;
  width: fit-content;
  background: #FFFFFF;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 999px;
}
.tb-carousel-slide .tb-carousel-btn:hover { background: #FFF3E8; color: var(--color-primary-dark); }
.tb-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.tb-carousel-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.15s;
}
.tb-carousel-dots span.on { background: #FFFFFF; }
.tb-promo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tb-promo {
  background: #FFF7F2;
  border: 1px solid #FFE3D5;
  padding: 16px 14px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.tb-promo:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tb-promo strong { display: block; font-size: 15px; color: var(--color-primary-dark); margin-bottom: 4px; }
.tb-promo span { font-size: 12px; color: #9C9C9C; }
/* 右侧信息栏 */
.tb-side-info {
  border-left: 1px solid #E8E8E8;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tb-notice-tabs { display: flex; border-bottom: 2px solid var(--color-primary); }
.tb-notice-tabs span {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  font-weight: 600;
}
.tb-notice-tabs span.on { color: var(--color-primary); }
.tb-notice-body { display: flex; flex-direction: column; gap: 8px; }
.tb-notice-body a {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tb-notice-body a:hover { color: var(--color-primary); }
.tb-user-card {
  border: 1px solid #E8E8E8;
  padding: 14px;
  text-align: center;
}
.tb-user-card .tb-uc-head {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}
.tb-user-card .tb-uc-btns { display: flex; gap: 8px; justify-content: center; }
.tb-user-card .tb-uc-btns a {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  flex: 1;
  text-align: center;
  transition: all 0.15s;
}
.tb-user-card .tb-uc-btns a.primary { background: var(--color-primary); color: #fff; }
.tb-user-card .tb-uc-btns a.primary:hover { background: var(--color-primary-dark); color: #fff; }
.tb-user-card .tb-uc-btns a:hover { background: #FFF0EB; color: var(--color-primary); }
.tb-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #EEE;
  border: 1px solid #EEE;
}
.tb-service-grid a {
  background: #FFFFFF;
  text-align: center;
  font-size: 12px;
  color: #666;
  padding: 10px 4px;
  transition: color 0.15s, background 0.15s;
}
.tb-service-grid a:hover { color: var(--color-primary); background: #FFF7F2; }
.tb-service-grid a strong { display: block; font-size: 16px; color: var(--color-primary); margin-bottom: 2px; font-weight: 700; }

/* ============================================
   淘宝式区块标题
   ============================================ */
.tb-block { margin-top: 32px; }
.tb-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.tb-block-head h2 {
  font-size: 20px;
  color: var(--color-text);
}
.tb-block-head h2::before {
  content: "";
  display: inline-block;
  width: 5px; height: 18px;
  background: var(--color-primary);
  margin-right: 10px;
  vertical-align: -2px;
}
.tb-block-head .kw { font-size: 12px; color: #9C9C9C; }
.tb-block-head .kw a { color: #666; margin-left: 10px; }
.tb-block-head .kw a:hover { color: var(--color-primary); }
.tb-more { font-size: 13px; color: #666; white-space: nowrap; }
.tb-more:hover { color: var(--color-primary); }

/* ============================================
   商品卡（淘宝橙主题）
   ============================================ */
.pcard {
  display: block;
  background: white;
  border: 1px solid #E8E8E8;
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.pcard:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(255,68,0,0.14);
  transform: translateY(-2px);
}
.pcard-img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #FFF7F2;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-img .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
  color: #fff;
}
.pcard-img .badge.hot { background: var(--color-primary); }
.pcard-img .badge.new { background: #2ECC71; }
.pcard-img .badge.eco { background: #C40000; }
.pcard-img .badge.fresh { background: #FF7E29; }

.pcard-info { padding: 12px 14px 14px; }
.pcard-name {
  font-size: 13px;
  line-height: 1.5;
  height: 39px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 400;
}
.pcard:hover .pcard-name { color: var(--color-primary); }
.pcard-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pcard-tags i {
  font-style: normal;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 2px;
  background: #F5F5F5;
  color: #9C9C9C;
  border: 1px solid #E8E8E8;
}
.pcard-tags i.off {
  background: #FFF0EB;
  color: var(--color-primary);
  border-color: transparent;
  font-weight: 600;
}

.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.pcard-price strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}
.pcard-price s {
  font-size: 12px;
  color: var(--color-text-muted);
}

.pcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid #F0F0F0;
  margin-bottom: 10px;
}
.pcard-foot span:last-child { color: #FFB03A; font-weight: 600; }

.pcard-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.btn-add {
  padding: 8px 4px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-add:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #FFF0EB;
}
.btn-buy {
  padding: 8px 4px;
  border: none;
  background: var(--color-primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-buy:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* pcard 分类差异化 - 淘宝橙红系 */
.pcard[data-style] .pcard-price strong { color: var(--color-primary); }
.pcard[data-style] .btn-buy { background: var(--color-primary); }
.pcard[data-style="tea"] { border-top: 2px solid #FF7E29; }
.pcard[data-style="moxa"] { border-top: 2px solid #C40000; }
.pcard[data-style="device"] { border-top: 2px solid #FFB03A; }
.pcard[data-style="tonic"] { border-top: 2px solid #FF4400; }

/* ============================================
   通用区块（淘宝化）
   ============================================ */
.section { padding: 40px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 10px;
}
.section-head .titles .eyebrow {
  display: none;
}
.section-head .titles h2 {
  font-size: 20px;
  color: var(--color-text);
  line-height: 1.2;
}
.section-head .titles .sub {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 4px;
}
.section-head .more {
  color: #666;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-head .more:hover { color: var(--color-primary); }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}
.section-title h2 { font-size: 20px; }
.section-title h2 small { color: var(--color-text-muted); font-size: 13px; font-weight: 400; margin-left: 8px; }
.section-title a { color: #666; font-size: 13px; }
.section-title a:hover { color: var(--color-primary); }

/* ============================================
   分类入口 - 淘宝方格风
   ============================================ */
.category-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  position: relative;
  display: block;
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  padding: 24px 16px 20px;
  text-align: center;
  transition: all 0.2s;
  overflow: hidden;
  color: var(--color-text);
}
.cat-card:hover { box-shadow: 0 4px 12px rgba(255,68,0,0.14); border-color: var(--color-primary); color: var(--color-text); transform: translateY(-2px); }
.cat-card .emoji {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cat-color, var(--color-primary));
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.cat-card h3 {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cat-card p {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.cat-card .count {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--cat-color, var(--color-primary));
  font-weight: 600;
}

/* ============================================
   商品卡 V2（列表组件）
   ============================================ */
.product-card {
  position: relative;
  background: white;
  border: 1px solid #E8E8E8;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(255,68,0,0.14);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}
.product-card .img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #FFF7F2;
}
.product-card .img-wrap .img,
.product-card .img-wrap > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  line-height: 1;
  color: #DDD;
}
.product-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
  color: #fff;
}
.product-card .badge.hot { background: var(--color-primary); }
.product-card .badge.new { background: var(--color-success); }
.product-card .badge.eco { background: var(--color-primary-dark); }
.product-card .badge.fresh { background: #FF7E29; }
.product-card .fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.15s;
  z-index: 2;
}
.product-card .fav:hover { color: var(--color-primary); transform: scale(1.08); }
.product-card-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 {
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 6px;
  height: 39px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--font-sans);
  font-weight: 400;
}
.product-card h3 a { color: var(--color-text); }
.product-card h3 a:hover { color: var(--color-primary); }
.product-card .tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  min-height: 18px;
}
.product-card .tag-mini {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 2px;
  background: #F5F5F5;
  color: #9C9C9C;
  border: 1px solid #E8E8E8;
}
.product-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.product-card .price { color: var(--color-primary); font-size: 20px; font-weight: 700; line-height: 1; }
.product-card .price .yen { font-size: 13px; font-weight: 500; }
.product-card .price .dec { font-size: 12px; font-weight: 500; }
.product-card .old-price { color: var(--color-text-muted); font-size: 12px; text-decoration: line-through; }
.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: auto;
  padding-top: 8px;
}
.product-card .meta .sales { display: inline-flex; align-items: center; gap: 3px; }
.product-card .meta .rating { display: inline-flex; align-items: center; gap: 2px; color: #FFB03A; }
.product-card .actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F0F0F0;
}
.product-card .actions .btn { flex: 1; padding: 8px 0; font-size: 12.5px; }

/* 横向滚动商品条 */
.product-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.product-scroll::-webkit-scrollbar { height: 6px; }
.product-scroll::-webkit-scrollbar-track { background: #F5F5F5; border-radius: 999px; }
.product-scroll::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: 999px; }
.product-scroll .product-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

/* ============================================
   服务承诺条 V3（淘宝化）
   ============================================ */
.service-bar-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.sb3-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #E8E8E8;
  padding: 14px 16px;
  transition: all 0.15s;
}
.sb3-item:hover { box-shadow: 0 3px 10px rgba(255,68,0,0.12); border-color: var(--color-primary-light); }
.sb3-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}
.sb3-item strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.3;
}
.sb3-item span {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
  display: block;
}

/* ============================================
   品牌故事区（淘宝化浅色）
   ============================================ */
.brand-story {
  background: #F5F5F5;
  border-top: 1px solid #E8E8E8;
  padding: 48px 0;
}
.brand-story-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.brand-story-content .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.brand-story-content .eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--color-primary);
}
.brand-story-content h2 {
  font-size: 28px;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}
.brand-story-content p {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 12px;
}
.brand-story-content .signature {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #DDD;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-story-content .signature .line { display: none; }
.brand-story-content .signature .info {
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 700;
}
.brand-story-content .signature .info small {
  display: block;
  font-size: 12px;
  color: #9C9C9C;
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 0.12em;
}
.brand-story-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.story-card {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  padding: 22px 20px;
  transition: all 0.2s;
}
.story-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(255,68,0,0.12);
}
.story-card .num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #E8E8E8;
}
.story-card .label {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ============================================
   资质保障区
   ============================================ */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.qual-card {
  background: white;
  border: 1px solid #E8E8E8;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.2s;
}
.qual-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(255,68,0,0.12); border-color: var(--color-primary-light); }
.qual-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.qual-card h4 { font-size: 15px; margin-bottom: 6px; }
.qual-card p { font-size: 12.5px; color: var(--color-text-muted); line-height: 1.6; }

/* ============================================
   分类胶囊子导航
   ============================================ */
.category-strip {
  background: white;
  border-bottom: 1px solid #E8E8E8;
}
.category-strip-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.cat-pill {
  font-size: 13px;
  color: #666;
  background: #F5F5F5;
  border: 1px solid #E8E8E8;
  border-radius: 999px;
  padding: 5px 16px;
  transition: all 0.15s;
}
.cat-pill:hover { color: var(--color-primary); border-color: var(--color-primary); background: #FFF0EB; }
.cat-pill.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-weight: 600; }

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  color: white;
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
.btn-accent {
  background: var(--color-primary-light);
  color: white;
  border-color: var(--color-primary-light);
}
.btn-accent:hover { background: var(--color-primary-dark); color: white; }
.btn-outline {
  background: white;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}
.btn-ghost {
  background: white;
  color: #666;
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; }
.btn-block { display: block; width: 100%; }
.btn-danger { background: var(--color-primary-dark); color: white; }
.btn-danger:hover { background: #9E0000; color: white; }

/* ============================================
   卡片 / 栅格 / 列表
   ============================================ */
.card {
  background: var(--color-card);
  border-radius: 4px;
  border: 1px solid #E8E8E8;
  overflow: hidden;
  transition: all 0.15s;
}
.card:hover { box-shadow: var(--shadow-sm); }
.card-body { padding: 18px; }
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #FFF7F2;
}
.grid { display: grid; gap: 14px; }
.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); }

/* 标签 / 徽章 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  background: #F5F5F5;
  color: #666;
  margin-right: 4px;
  border: 1px solid #E8E8E8;
}
.tag-primary { background: #FFF0EB; color: var(--color-primary); border-color: transparent; }
.tag-accent { background: #FFF3E6; color: var(--color-primary-light); border-color: transparent; }
.tag-danger { background: #FFF0EB; color: var(--color-primary-dark); border-color: transparent; }
.tag-success { background: #E8F8EF; color: #1E9E56; border-color: transparent; }
.tag-info { background: #E8F1FD; color: #3B82D6; border-color: transparent; }
.tag-warn { background: #FFF8E6; color: #C98A00; border-color: transparent; }

/* 面包屑 */
.breadcrumb {
  background: #F5F5F5;
  border-bottom: 1px solid #E8E8E8;
  padding: 10px 0;
  font-size: 12.5px;
  color: #666;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; color: #CCC; }
.breadcrumb .current { color: var(--color-text); font-weight: 600; }

/* 列表 / Tab */
.tabs { display: flex; gap: 0; border-bottom: 2px solid #E8E8E8; margin-bottom: 20px; flex-wrap: wrap; }
.tab {
  padding: 11px 20px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-weight: 500;
  font-family: inherit;
}
.tab:hover { color: var(--color-primary); }
.tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

/* 表单 */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-text); }
.form-group label .req { color: var(--color-primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #E8E8E8; }
.form-help { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }
.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: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: all 0.15s;
  background: white;
}
.radio-item:hover, .checkbox-item:hover { border-color: var(--color-primary); color: var(--color-primary); }
.radio-item input, .checkbox-item input { width: auto; margin: 0; }
.radio-item.checked, .checkbox-item.checked {
  background: #FFF0EB;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 模态框 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.active { display: flex; }
.modal {
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 380px;
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border-radius: 50%;
  color: #666;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
}
.modal-close:hover { background: #E8E8E8; color: var(--color-primary); }
.modal-title { text-align: center; font-size: 17px; margin-bottom: 18px; font-weight: 700; }
.modal-body { text-align: center; }
.modal-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  padding: 8px;
  background: white;
}
.modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.modal-amount { font-size: 15px; margin: 12px 0; color: var(--color-text); }
.modal-amount .price { color: var(--color-primary); font-size: 24px; font-weight: 700; margin-left: 4px; }
.modal-tip { font-size: 13px; color: #666; margin: 12px 0 18px; line-height: 1.5; }
.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: rgba(0,0,0,0.85);
  color: white;
  padding: 11px 24px;
  border-radius: 4px;
  z-index: 10000;
  font-size: 14px;
  transition: transform 0.3s;
  box-shadow: var(--shadow-lg);
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-primary-dark); }
.toast.warn { background: var(--color-warning); }

/* 工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-primary-light); }
.text-danger { color: var(--color-primary-dark); }
.text-light { color: #666; }
.text-sm { font-size: 12.5px; }
.text-lg { font-size: 17px; }
.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-1 { margin-top: 8px; }
.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: #E8E8E8; margin: 16px 0; }
.placeholder-img {
  width: 100%;
  height: 100%;
  background: #FFF7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

/* 分页 */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 28px; }
.pagination a, .pagination span {
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 13px;
  color: var(--color-text);
  background: white;
  transition: all 0.15s;
}
.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.pagination .active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.pagination .disabled { color: #CCC; pointer-events: none; background: #F5F5F5; }

/* ============================================
   登录注册 - 左侧品牌 + 右侧表单（淘宝化）
   ============================================ */
.auth-page { min-height: calc(100vh - 80px); display: flex; }
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  min-height: 680px;
}
.auth-brand {
  position: relative;
  background: var(--gradient-warm);
  color: white;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-brand::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.auth-brand .top { position: relative; z-index: 1; }
.auth-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}
.auth-brand .brand-row .name {
  font-size: 22px;
  font-weight: 700;
  color: white;
}
.auth-brand .brand-row .slogan {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2em;
  margin-top: 3px;
}
.auth-brand h2 {
  font-size: 32px;
  line-height: 1.3;
  color: white;
  margin-bottom: 16px;
  max-width: 460px;
}
.auth-brand .lead {
  font-size: 14.5px;
  color: rgba(255,255,255,0.9);
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 28px;
}
.auth-brand .features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.auth-brand .features .item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.auth-brand .features .item .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: rgba(255,255,255,0.22);
  color: #fff;
  flex-shrink: 0;
}
.auth-brand .bottom {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.auth-brand .bottom .stat .num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.auth-brand .bottom .stat .label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}
.auth-form-side {
  background: white;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.auth-tabs {
  display: inline-flex;
  background: #F5F5F5;
  border-radius: 4px;
  padding: 3px;
  margin-bottom: 28px;
}
.auth-tabs .tab-btn {
  padding: 9px 26px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.15s;
  cursor: pointer;
}
.auth-tabs .tab-btn.active {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-xs);
  font-weight: 700;
}
.auth-form-title {
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700;
}
.auth-form-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 26px;
}
.auth-form .form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #666;
}
.auth-form .form-group .input-wrap { position: relative; }
.auth-form .form-group .input-wrap .ic {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #9C9C9C;
  font-size: 14px;
  pointer-events: none;
}
.auth-form .form-group input {
  padding-left: 38px;
  height: 44px;
  border-radius: 4px;
  background: white;
  border: 1px solid var(--color-border);
  font-size: 14px;
}
.auth-form .form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,68,0,0.10);
}
.auth-form .form-group .input-wrap.captcha input { padding-right: 124px; }
.auth-form .form-group .input-wrap.captcha .cap-img {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  border-radius: 4px;
  cursor: pointer;
}
.auth-form .form-group .input-wrap.toggle input { padding-right: 44px; }
.auth-form .form-group .input-wrap .toggle-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #9C9C9C;
  font-size: 15px;
}
.auth-form .submit-row { margin-top: 22px; }
.auth-form .submit-row .btn { height: 46px; border-radius: 4px; font-size: 15px; font-weight: 600; }
.auth-form .row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin: 13px 0 4px;
}
.auth-form .row-between label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #666;
}
.auth-form .row-between a { color: var(--color-primary); }
.auth-form .agree {
  font-size: 12.5px;
  color: #666;
  margin-top: 14px;
  line-height: 1.6;
}
.auth-form .agree a { color: var(--color-primary); }
.auth-form .alt-entry {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed #E8E8E8;
  text-align: center;
}
.auth-form .alt-entry .text {
  font-size: 12.5px;
  color: #9C9C9C;
  margin-bottom: 13px;
  position: relative;
}
.auth-form .alt-entry .text::before,
.auth-form .alt-entry .text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: #E8E8E8;
}
.auth-form .alt-entry .text::before { left: 0; }
.auth-form .alt-entry .text::after { right: 0; }
.auth-form .alt-entry .text span { background: white; padding: 0 10px; }
.auth-form .social-row { display: flex; gap: 12px; justify-content: center; }
.auth-form .social-row .sb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: white;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.15s;
  cursor: pointer;
}
.auth-form .social-row .sb:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.auth-form .social-row .sb.wechat { color: #07C160; }
.auth-form .social-row .sb.qq { color: #12B7F5; }
.auth-form .social-row .sb.weibo { color: #E6162D; }

/* ============================================
   布局组件（新闻/列表/模块）
   ============================================ */
.news-layout, .review-layout, .service-layout { display: grid; grid-template-columns: 260px 1fr 240px; gap: 20px; }
.list-layout { display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.info-card { display: flex; gap: 16px; background: white; border: 1px solid #E8E8E8; padding: 18px; }
.info-card img { width: 220px; height: 150px; object-fit: cover; flex-shrink: 0; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module-card { background: white; border: 1px solid #E8E8E8; padding: 18px; transition: all 0.15s; }
.module-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.industry-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ============================================
   管理后台
   ============================================ */
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-tab {
  padding: 9px 18px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-size: 13.5px;
  color: #666;
  background: white;
  transition: all 0.15s;
}
.admin-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.admin-tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); font-weight: 600; }
.admin-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid #E8E8E8; }
.admin-table th, .admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #E8E8E8;
  font-size: 13px;
  text-align: left;
}
.admin-table th { background: #F5F5F5; font-weight: 600; color: var(--color-text); }
.admin-table tr:hover td { background: #FFF9F6; }
.admin-header {
  background: var(--color-primary);
  color: #fff;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}

/* 兼容旧页脚/旧导航结构（历史页面残留引用） */
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.service-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-item { padding: 12px 16px; border-right: 1px solid #E8E8E8; }

/* hero 兼容（通用回退样式） */
.hero { padding: 48px 0 40px; background: #F5F5F5; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 34px; margin-bottom: 14px; }
.hero-content .lead { font-size: 15px; color: #666; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { height: 340px; background: #FFF0EB; border: 1px solid #FFE3D5; }
.hero-float-card { position: absolute; background: white; border: 1px solid #E8E8E8; padding: 12px 16px; font-size: 13px; box-shadow: var(--shadow-sm); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1200px) {
  .tb-search-wrap { max-width: 420px; }
  .tb-hotline { display: none; }
}
@media (max-width: 1024px) {
  .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: 160px 1fr !important; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand { padding: 40px 32px; }
  .auth-form-side { padding: 40px 32px; }
  .brand-story-inner { grid-template-columns: 1fr; gap: 32px; }
  .category-entries { grid-template-columns: repeat(3, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .service-bar-v3 { grid-template-columns: repeat(2, 1fr); }
  .tb-main-grid { grid-template-columns: 1fr; }
  .tb-catbox { border-right: none; border-bottom: 1px solid #E8E8E8; }
  .tb-side-info { border-left: none; border-top: 1px solid #E8E8E8; }
  .tb-help-inner { grid-template-columns: repeat(2, 1fr); }
  .tb-help-contact { border-left: none; padding-left: 0; }
  .module-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 900px) {
  .tb-header-inner { flex-wrap: wrap; gap: 14px; }
  .tb-search-wrap { order: 3; max-width: 100%; flex: 1 1 100%; }
  .tb-header-side { margin-left: auto; }
  .tb-nav-inner { flex-wrap: wrap; }
  .tb-nav-links { flex-wrap: wrap; }
  .tb-nav-links a { padding: 0 14px; font-size: 13.5px; height: 40px; line-height: 40px; }
  .tb-nav { position: static; }
  .tb-nav.mobile-open .tb-nav-links { display: flex; flex-direction: column; align-items: stretch; }
  .tb-nav-links { display: none; }
  .tb-nav-allcat { width: 100%; }
  .tb-mobile-btn {
    display: inline-block;
    margin-left: auto;
    color: #fff;
    font-size: 13px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.15);
  }
  .tb-topbar-right a:nth-child(n+4) { display: none; }
}
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .hero { padding: 40px 0 32px; }
  .hero-content h1 { font-size: 28px; }
  .hero-visual { height: 280px; }
  .industry-entries { grid-template-columns: repeat(2, 1fr); }
  .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; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-card { flex-direction: column; }
  .info-card img { width: 100%; height: 180px; }
  .section { padding: 32px 0; }
  .news-layout, .review-layout, .service-layout { grid-template-columns: 1fr !important; }
  .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; }
  .auth-brand h2 { font-size: 26px; }
  .service-bar-v3 { grid-template-columns: repeat(2, 1fr); }
  .category-entries { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: 1fr; }
  .brand-story { padding: 40px 0; }
  .brand-story-content h2 { font-size: 24px; }
  .tb-carousel { height: 220px; }
  .tb-carousel-slide { padding: 0 24px; }
  .tb-carousel-slide h3 { font-size: 22px; }
  .tb-promo-row { grid-template-columns: repeat(2, 1fr); }
  .tb-help-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .industry-entries { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .auth-form-side { padding: 32px 22px; }
  .auth-brand { padding: 32px 22px; }
  .tb-logo-name { font-size: 17px; }
  .tb-search-btn { padding: 10px 18px; letter-spacing: 2px; }
  .tb-hotline { display: none; }
}
