/* =========================================================
   云帆商城 · 全站样式
   仿照目标站版式实现：浅蓝灰渐变底 + 白色圆角卡片 + 绿色渐变主色
   设计令牌：主色 #07c160 → #05a050，正文 #2c3e50，标题 #1e293b
   断点：1280 容器 / 1024 / 780 / 480
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
a { text-decoration: none; }
body {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  min-height: 100vh;
  color: #2c3e50;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部导航 ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #07c160, #05a050);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.logo-area i {
  -webkit-text-fill-color: #07c160;
  font-size: 26px;
}
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
  color: #2c3e50;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}
.nav-menu a i { font-size: 16px; color: #64748b; transition: color .25s; }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #07c160;
  transition: width .25s;
}
.nav-menu a.active::after, .nav-menu a:hover::after { width: 100%; }
.nav-menu a.active, .nav-menu a:hover { color: #07c160; }
.nav-menu a.active i, .nav-menu a:hover i { color: #07c160; }

.mobile-nav-controls { display: none; align-items: center; gap: 12px; }
.mobile-category-toggle {
  background: #07c160;
  border: none;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: .2s;
}
.mobile-category-toggle:hover { background: #05a050; }

/* ---------------- Hero ---------------- */
.hero { padding: 60px 0 40px; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 700; color: #1e293b; margin-bottom: 16px; }
.hero h1 span {
  background: linear-gradient(135deg, #07c160, #05a050);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 18px; color: #64748b; max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* ---------------- 通用板块 ---------------- */
.section { padding: 40px 0; }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title h2 { font-size: 30px; font-weight: 700; color: #1e293b; }
.section-title p { color: #94a3b8; font-size: 15px; margin-top: 6px; }

/* ---------------- 首页服务分类卡片 ---------------- */
.h-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-category-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px 26px;
  transition: .3s;
  border: 1px solid rgba(0, 0, 0, .03);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .02);
  display: flex;
  flex-direction: column;
}
.h-category-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
  transform: translateY(-3px);
}
.h-category-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.h-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.h-category-title { font-size: 18px; font-weight: 700; color: #1e293b; }
.h-category-desc { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.h-category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #07c160, #05a050);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  transition: .25s;
  width: fit-content;
  margin-top: 4px;
}
.h-category-btn:hover { box-shadow: 0 6px 18px rgba(7, 193, 96, .3); }
.h-category-btn i { font-size: 12px; }

/* 分类图标配色（与目标站一致的渐变体系） */
.sky-blue .h-category-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.turquoise-water .h-category-icon { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.carmine .h-category-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.purple .h-category-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.pink .h-category-icon { background: linear-gradient(135deg, #ec4899, #db2777); }
.orange .h-category-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.amber .h-category-icon { background: linear-gradient(135deg, #f97316, #ea580c); }
.cyan .h-category-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); }

/* ---------------- 服务卡（关于我们 / 联系我们） ---------------- */
.services-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px 30px;
  text-align: center;
  transition: .3s;
  border: 1px solid rgba(0, 0, 0, .03);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .02);
}
.service-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .05); }
.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #07c160, #05a050);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  color: #fff;
}
.service-title { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.service-content p { color: #64748b; font-size: 15px; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: #f1f4f8;
  border-radius: 30px;
  font-size: 13px;
  color: #2c3e50;
}
.service-tag i { color: #07c160; }

/* ---------------- 页脚 ---------------- */
.footer-wrap {
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .05);
  margin-top: 40px;
  padding: 32px 0 28px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}
.footer-brand-section { display: flex; align-items: center; gap: 16px; }
.footer-brand-section .brand-icon { font-size: 30px; color: #07c160; }
.footer-brand-section .brand-name {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #07c160, #05a050);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand-section .badge {
  background: #07c160;
  color: #fff;
  font-size: 12px;
  padding: 2px 14px;
  border-radius: 30px;
  font-weight: 600;
  -webkit-text-fill-color: #fff;
}
.footer-brand-section .desc { color: #94a3b8; font-size: 14px; margin-left: 4px; }
.footer-links-section { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-links-section a {
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
  transition: .2s;
  position: relative;
}
.footer-links-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #07c160;
  transition: width .25s;
}
.footer-links-section a:hover::after { width: 100%; }
.footer-links-section a:hover { color: #07c160; }
.footer-links-section .divider { color: #d0d7de; font-size: 14px; }
.footer-copy-section {
  width: 100%;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  padding-top: 18px;
  margin-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .05);
}

/* ---------------- 移动端底部导航 ---------------- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .05);
  padding: 10px 0 14px;
  z-index: 998;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .04);
}
.mobile-bottom-nav-list {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  transition: .2s;
  background: none;
  border: none;
  padding: 4px 16px;
}
.mobile-bottom-nav-item i { font-size: 22px; color: #94a3b8; transition: .2s; }
.mobile-bottom-nav-item.active i,
.mobile-bottom-nav-item.active .mobile-bottom-nav-text { color: #07c160; }
.mobile-bottom-nav-item.active { color: #07c160; }

/* 移动端"更多服务"弹层 */
.mobile-more-sheet {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 78px;
  z-index: 999;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .12);
  padding: 18px 20px 22px;
}
.mobile-more-sheet.open { display: block; }
.mobile-more-sheet h4 { font-size: 15px; color: #1e293b; margin-bottom: 12px; }
.mobile-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mobile-more-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: #f1f4f8;
  border-radius: 14px;
  font-size: 12px;
  color: #2c3e50;
}
.mobile-more-grid a i { font-size: 20px; color: #07c160; }

/* 移动端全屏菜单 */
.nav-menu .mobile-menu-header { display: none; }
.close-menu { display: none; }

/* ---------------- 子页：搜索栏（列表页 a- 模板） ---------------- */
.a-search-section { margin: 24px 0 20px; display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.a-search-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  padding: 0 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
  border: 1px solid #e9edf2;
  transition: .2s;
}
.a-search-wrapper:focus-within {
  border-color: #07c160;
  box-shadow: 0 0 0 3px rgba(7, 193, 96, .12);
}
.a-search-wrapper i { color: #94a3b8; font-size: 16px; flex-shrink: 0; }
.a-search-wrapper input {
  border: none;
  padding: 14px 12px;
  font-size: 15px;
  flex: 1;
  background: none;
  outline: 0;
  min-width: 60px;
}

/* ---------------- 子页：列表页布局 ---------------- */
.a-main-layout { display: flex; gap: 28px; margin: 12px 0 30px; align-items: flex-start; }
.a-sidebar-category {
  flex: 0 0 240px;
  min-width: 200px;
  background: #fff;
  border-radius: 20px;
  padding: 20px 14px 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .04);
  max-height: 580px;
  display: flex;
  flex-direction: column;
}
.a-sidebar-category h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.a-category-list-wrap { overflow-y: auto; flex: 1; padding-right: 4px; }
.a-category-list-wrap::-webkit-scrollbar { width: 5px; }
.a-category-list-wrap::-webkit-scrollbar-track { background: none; }
.a-category-list-wrap::-webkit-scrollbar-thumb { background: #d0d7de; border-radius: 10px; }
.a-category-list-wrap a {
  display: block;
  padding: 9px 16px;
  margin-bottom: 4px;
  border-radius: 30px;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
  transition: .2s;
}
.a-category-list-wrap a:hover { background: #eef2f6; }
.a-category-list-wrap a.active {
  background: linear-gradient(135deg, #07c160, #05a050);
  color: #fff;
  box-shadow: 0 4px 12px rgba(7, 193, 96, .25);
}
.a-product-area { flex: 1; min-width: 0; }
.a-product-header {
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .02);
}
.a-product-header h2 { font-size: 26px; font-weight: 700; color: #2c3e50; display: flex; align-items: center; gap: 10px; }
.a-product-header h2 i { color: #07c160; }
.a-product-header p { color: #64748b; margin-top: 10px; line-height: 1.7; font-size: 15px; }
.a-product-grid {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .02);
}
.a-product-row {
  display: grid;
  grid-template-columns: 5fr 1fr 1fr 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  transition: .2s;
}
.a-product-row:last-child { border-bottom: none; }
.a-product-row:hover { background: #fafcfd; box-shadow: 0 4px 14px rgba(0, 0, 0, .02); }
.product-name { font-weight: 500; color: #1e293b; font-size: 15px; word-break: break-word; padding-right: 10px; }
.product-status { display: flex; align-items: center; gap: 8px; color: #155724; font-weight: 500; font-size: 14px; }
.product-status .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #07c160;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(7, 193, 96, .2);
}
.product-price { font-weight: 700; color: #e74c3c; font-size: 20px; letter-spacing: .3px; }
.product-price small { font-size: 14px; font-weight: 400; color: #94a3b8; margin-left: 2px; }
.a-btn-buy {
  background: linear-gradient(135deg, #07c160, #05a050);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: .25s;
  justify-self: end;
  min-width: 100px;
}
.a-btn-buy:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(7, 193, 96, .3); }
.empty-state { padding: 50px 20px; text-align: center; color: #94a3b8; font-size: 18px; }
.empty-state i { font-size: 44px; color: #d0d7de; margin-bottom: 16px; display: block; }

/* ---------------- 子页：卡片网格（p- 模板，带描述） ---------------- */
.p-products-section { max-width: 1280px; margin: 24px auto 0; }
.p-filter-container {
  background: #fff;
  border-radius: 20px;
  padding: 22px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .02);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tab {
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  background: #f1f4f8;
  cursor: pointer;
  transition: .25s;
  border: 2px solid transparent;
  white-space: nowrap;
  user-select: none;
}
.filter-tab:hover { background: #e9edf2; color: #2c3e50; }
.filter-tab.active {
  background: linear-gradient(135deg, #07c160, #05a050);
  color: #fff;
  border-color: #07c160;
  box-shadow: 0 4px 12px rgba(7, 193, 96, .2);
}
.search-row { display: flex; align-items: center; width: 100%; }
.search-container {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  padding: 0 18px;
  border: 2px solid #e9edf2;
  transition: .2s;
  width: 100%;
}
.search-container:focus-within {
  border-color: #07c160;
  box-shadow: 0 0 0 3px rgba(7, 193, 96, .1);
}
.search-icon { color: #94a3b8; font-size: 16px; flex-shrink: 0; }
.search-input {
  border: none;
  padding: 12px 12px;
  font-size: 15px;
  flex: 1;
  background: none;
  outline: 0;
  width: 100%;
  min-width: 0;
}
.p-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-product-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 24px;
  transition: .3s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .02);
  border: 1px solid rgba(0, 0, 0, .03);
  display: flex;
  flex-direction: column;
}
.p-product-card:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, .06); }
.p-product-header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.p-product-image {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
/* 图片占位块（未配置 image 时显示，可替换为在线占位图） */
.p-product-image.image-placeholder,
.tc-product-image .image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.p-product-image.image-placeholder { font-size: 26px; }
.p-product-info { flex: 1; min-width: 0; }
.p-product-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-tag, .tc-tag {
  display: inline-block;
  padding: 2px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(7, 193, 96, .12);
  color: #07c160;
}
.p-product-card-content { flex: 1; display: flex; flex-direction: column; }
.p-product-card-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.p-product-card-footer, .tc-product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .04);
}
.p-product-price, .tc-product-price { font-size: 22px; font-weight: 700; color: #e74c3c; }
.p-product-price::before, .tc-product-price::before {
  content: '¥';
  font-size: 16px;
  font-weight: 600;
}
.p-product-card-btn, .tc-product-card-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, #07c160, #05a050);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: .25s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.p-product-card-btn:hover, .tc-product-card-btn:hover { box-shadow: 0 6px 18px rgba(7, 193, 96, .3); }

/* ---------------- 子页：卡片网格（tc- 模板，图在上） ---------------- */
.tc-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tc-product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: .3s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .02);
  border: 1px solid rgba(0, 0, 0, .03);
  display: flex;
  flex-direction: column;
}
.tc-product-card:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, .06); }
.tc-product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  font-size: 42px;
}
.tc-product-image img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.tc-product-card:hover .tc-product-image img { transform: scale(1.03); }
.tc-product-info { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tc-tag { width: fit-content; margin-bottom: 8px; }
.tc-product-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.tc-product-card-btn { padding: 8px 20px; }

/* ---------------- 轻提示 Toast ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(30, 41, 59, .92);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 2000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .h-category-grid { grid-template-columns: repeat(2, 1fr); }
  .services-showcase { grid-template-columns: repeat(2, 1fr); }
  .p-products-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .navbar { height: 60px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .98);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    z-index: 150;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9edf2;
    margin-bottom: 12px;
    width: 100%;
  }
  .close-menu {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #2c3e50;
    background: none;
    border: none;
    padding: 4px;
  }
  .nav-menu a { font-size: 16px; width: 100%; padding: 10px 0; border-bottom: 1px solid #f1f4f8; }
  .mobile-nav-controls { display: flex; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .h-category-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .h-category-card { padding: 18px 16px 20px; }
  .h-category-icon { width: 40px; height: 40px; font-size: 18px; }
  .h-category-title { font-size: 16px; }
  .h-category-desc { font-size: 13px; }
  .services-showcase { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer-brand-section { flex-wrap: wrap; justify-content: center; }
  .footer-links-section { justify-content: center; gap: 16px 20px; }
  .footer-links-section .divider { display: none; }
  .footer-copy-section { padding-top: 14px; margin-top: 10px; font-size: 12px; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 80px; }

  /* 列表页移动端 */
  .a-search-section { flex-wrap: nowrap; gap: 0; }
  .a-search-wrapper { flex: 1; min-width: 0; padding: 0 14px; }
  .a-search-wrapper input { padding: 12px 10px; font-size: 14px; min-width: 40px; }
  .a-main-layout { flex-direction: column; gap: 16px; }
  .a-sidebar-category {
    flex: unset;
    width: 100%;
    min-width: unset;
    max-height: none;
    padding: 16px;
    display: none;
  }
  .a-sidebar-category.open { display: flex !important; }
  .a-category-list-wrap {
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding-right: 0;
  }
  .a-category-list-wrap a {
    padding: 8px 10px;
    font-size: 13px;
    text-align: center;
    background: #f1f4f8;
    border-radius: 30px;
    margin-bottom: 0;
  }
  .a-product-grid { background: none; border-radius: 0; box-shadow: none; }
  .a-product-row {
    display: block;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
    border-radius: 20px;
    margin-bottom: 15px;
  }
  .a-product-row:hover { transform: none; box-shadow: none; background: #fff; }
  .product-name { font-size: 16px; font-weight: 600; padding-right: 0; margin-bottom: 12px; line-height: 1.4; }
  .a-product-row .a-btn-buy,
  .product-price,
  .product-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 15px;
    width: 100%;
  }
  .product-status .dot { display: none; }
  .product-status::before { content: '库存'; color: #64748b; font-weight: 400; flex-shrink: 0; }
  .product-status .status-text { font-weight: 600; color: #155724; }
  .product-price { color: #e74c3c; font-weight: 700; font-size: 18px; }
  .product-price::before { content: '价格'; color: #64748b; font-weight: 400; font-size: 15px; flex-shrink: 0; }
  .a-product-row .a-btn-buy {
    background: none;
    color: #2c3e50;
    padding: 8px 0;
    min-width: unset;
    justify-self: unset;
    font-weight: 400;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .a-product-row .a-btn-buy::before {
    content: '购买';
    color: #64748b;
    font-weight: 400;
    font-size: 15px;
    flex-shrink: 0;
  }
  .a-product-row .a-btn-buy .a-buy-btn-inner {
    background: linear-gradient(135deg, #07c160, #05a050);
    color: #fff;
    padding: 6px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
    display: inline-block;
    cursor: pointer;
    border: none;
  }
  .a-product-row .a-btn-buy .a-buy-btn-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(7, 193, 96, .3);
  }
  .empty-state { padding: 40px 20px; font-size: 16px; }

  /* 卡片页移动端 */
  .p-products-section { padding: 0 20px; }
  .p-filter-container { padding: 18px 20px; gap: 14px; }
  .p-products-grid, .tc-products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .h-category-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .section-title h2 { font-size: 24px; }
  .footer-brand-section .desc { display: none; }
  .service-card { padding: 20px 18px; }
  .a-category-list-wrap { grid-template-columns: repeat(2, 1fr); }
  .a-product-header h2 { font-size: 22px; }
  .a-product-row { padding: 14px 14px; }
  .product-name { font-size: 15px; }
  .product-price { font-size: 17px; }
  .p-products-grid, .tc-products-grid { grid-template-columns: 1fr; }
}
@media (min-width: 781px) {
  .a-main-layout .a-sidebar-category { display: flex !important; }
  .mobile-more-sheet { display: none !important; }
}

/* ---------------- 后台设置页 ---------------- */
.admin-wrap { max-width: 1280px; margin: 24px auto 40px; padding: 0 20px; }
.admin-layout { display: flex; gap: 24px; align-items: flex-start; }
.admin-side {
  flex: 0 0 220px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .04);
}
.admin-side button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 6px;
  border: none;
  background: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  cursor: pointer;
  transition: .2s;
  text-align: left;
}
.admin-side button:hover { background: #eef2f6; }
.admin-side button.active {
  background: linear-gradient(135deg, #07c160, #05a050);
  color: #fff;
  box-shadow: 0 4px 12px rgba(7, 193, 96, .25);
}
.admin-panel { flex: 1; min-width: 0; }
.admin-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
  margin-bottom: 20px;
}
.admin-card h3 { font-size: 20px; color: #1e293b; margin-bottom: 6px; }
.admin-card > p.hint { color: #94a3b8; font-size: 13px; margin-bottom: 18px; line-height: 1.7; }
.form-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 180px; }
.form-field label { font-size: 13px; color: #64748b; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid #e9edf2;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: #2c3e50;
  outline: none;
  transition: .2s;
  background: #fff;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 72px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: #07c160;
  box-shadow: 0 0 0 3px rgba(7, 193, 96, .12);
}
.repeat-item {
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fafcfd;
}
.repeat-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.repeat-item-head strong { font-size: 14px; color: #2c3e50; }
.btn {
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s;
}
.btn-primary { background: linear-gradient(135deg, #07c160, #05a050); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(7, 193, 96, .3); }
.btn-ghost { background: #f1f4f8; color: #2c3e50; }
.btn-ghost:hover { background: #e9edf2; }
.btn-danger { background: #fff1f0; color: #e74c3c; }
.btn-danger:hover { background: #ffe1e0; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.repeat-group { margin-top: 4px; }
.repeat-group > .btn { margin-top: 2px; }
.form-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #07c160;
  box-shadow: none;
}
.admin-top {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-top .brand { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #1e293b; }
.admin-top .brand i { color: #07c160; }
.admin-top a { color: #64748b; font-size: 14px; text-decoration: none; transition: .2s; }
.admin-top a:hover { color: #07c160; }
.admin-login {
  max-width: 420px;
  margin: 70px auto;
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
  text-align: center;
}
.admin-login h2 { color: #1e293b; margin-bottom: 8px; }
.admin-login p { color: #94a3b8; font-size: 13px; margin-bottom: 20px; line-height: 1.7; }
.admin-login input {
  width: 100%;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 16px;
  outline: none;
}
.admin-login input:focus { border-color: #07c160; box-shadow: 0 0 0 3px rgba(7, 193, 96, .12); }
@media (max-width: 780px) {
  .admin-layout { flex-direction: column; }
  .admin-side { flex: unset; width: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
  .admin-side button { width: auto; }
}
