/* ========== 全局重置 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #e83e3e;
  --primary-dark: #c52929;
  --primary-light: #ff6b6b;
  --accent: #ff9500;
  --secondary: #ff6b35;
  --bg: #f5f5f5;
  --bg-white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --border: #e8e8e8;
  --border-dark: #d0d0d0;
  --success: #52c41a;
  --warning: #faad14;
  --danger: #ff4d4f;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --container: 1200px;
  --header-h: 140px;
}
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Hiragino Sans GB", "WenQuanYi Micro Hei", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; width: 100%; }
.main-content { flex: 1; }

/* ========== 顶部信息栏 ========== */
.top-bar { background: #f7f7f7; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-light); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.top-bar-right { display: flex; align-items: center; gap: 4px; }
.top-link:hover { color: var(--primary); }
.divider { color: var(--border-dark); margin: 0 2px; }

/* ========== 主导航 ========== */
.header-main { background: var(--bg-white); padding: 16px 0; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.header-main-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(232,62,62,0.3);
}
.logo-text { display: flex; flex-direction: column; }
.logo-text strong { font-size: 22px; color: var(--text); letter-spacing: 1px; }
.logo-text small { font-size: 12px; color: var(--text-lighter); }

.search-box { flex: 1; max-width: 600px; display: flex; }
.search-box input {
  flex: 1; height: 40px; border: 2px solid var(--primary); border-right: none;
  padding: 0 16px; border-radius: var(--radius) 0 0 var(--radius); outline: none;
}
.search-box input:focus { box-shadow: inset 0 0 0 1px var(--primary-light); }
.search-btn {
  background: var(--primary); color: #fff; padding: 0 28px; height: 40px;
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; font-weight: 500;
  transition: background 0.2s;
}
.search-btn:hover { background: var(--primary-dark); }

.header-actions { display: flex; align-items: center; }
.cart-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 20px; border: 1px solid var(--border-dark);
  border-radius: var(--radius); position: relative;
  transition: all 0.2s;
}
.cart-link:hover { border-color: var(--primary); color: var(--primary); }
.cart-icon { font-size: 18px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--primary); color: #fff; font-size: 11px;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; font-weight: 600;
}

/* ========== 导航栏 ========== */
.nav-bar { background: var(--bg-white); border-top: 2px solid var(--primary); box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.nav-inner { display: flex; gap: 4px; height: 44px; align-items: center; }
.nav-item {
  padding: 0 20px; height: 100%; display: flex; align-items: center;
  font-size: 15px; font-weight: 500; color: var(--text);
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.nav-item:hover, .nav-item.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ========== 首页 Banner ========== */
.home-banner {
  background: linear-gradient(135deg, #e83e3e 0%, #ff6b35 100%);
  color: #fff; padding: 40px 0; text-align: center;
  position: relative; overflow: hidden;
}
.home-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.home-banner::after {
  content: ''; position: absolute; bottom: -30%; left: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.home-banner h1 { font-size: 32px; margin-bottom: 8px; position: relative; }
.home-banner p { font-size: 16px; opacity: 0.9; position: relative; }
.banner-features { display: flex; justify-content: center; gap: 40px; margin-top: 24px; position: relative; }
.banner-feature { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.banner-feature span { font-size: 22px; }

/* ========== 商品区块 ========== */
.section { padding: 24px 0; }
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.section-title {
  font-size: 22px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.section-title .tag {
  font-size: 12px; font-weight: 600; padding: 2px 8px;
  border-radius: 4px; background: var(--primary); color: #fff;
}
.section-title .tag.hot { background: var(--secondary); }
.section-title .tag.new { background: var(--success); }
.section-more { color: var(--text-light); font-size: 13px; }
.section-more:hover { color: var(--primary); }

/* 商品网格 */
.product-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all 0.3s; cursor: pointer; position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.product-card .product-img {
  width: 100%; aspect-ratio: 1; background: #f9f9f9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-card .product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card .product-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: #fff; font-size: 11px;
  padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.product-card .product-badge.new { background: var(--success); }
.product-card .product-info { padding: 12px; }
.product-card .product-name {
  font-size: 14px; color: var(--text); line-height: 1.4;
  height: 39px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card .product-price {
  margin-top: 8px; display: flex; align-items: baseline; gap: 8px;
}
.product-card .price-current {
  font-size: 18px; font-weight: 700; color: var(--primary);
}
.product-card .price-current small { font-size: 12px; }
.product-card .price-original {
  font-size: 12px; color: var(--text-lighter); text-decoration: line-through;
}
.product-card .product-meta {
  margin-top: 6px; font-size: 12px; color: var(--text-lighter);
  display: flex; justify-content: space-between;
}

/* 热销横向滚动 */
.hot-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.hot-scroll .product-card { min-width: 180px; flex-shrink: 0; }
.hot-scroll::-webkit-scrollbar { height: 6px; }
.hot-scroll::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }

/* ========== 商品列表页 ========== */
.list-page { display: flex; gap: 20px; padding: 20px 0; }
.list-sidebar {
  width: 200px; flex-shrink: 0; background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow);
  height: fit-content; position: sticky; top: 20px;
}
.sidebar-title {
  font-size: 16px; font-weight: 700; padding-bottom: 12px;
  border-bottom: 2px solid var(--primary); margin-bottom: 12px;
}
.cat-item {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font-size: 14px; color: var(--text); margin-bottom: 4px;
  transition: all 0.2s;
}
.cat-item:hover { background: #fff5f5; color: var(--primary); }
.cat-item.active { background: var(--primary); color: #fff; font-weight: 500; }

.list-main { flex: 1; }
.list-toolbar {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 12px 16px; margin-bottom: 16px; box-shadow: var(--shadow);
  display: flex; justify-content: space-between; align-items: center;
}
.sort-tabs { display: flex; gap: 4px; }
.sort-tab {
  padding: 6px 16px; border-radius: var(--radius); font-size: 13px;
  color: var(--text-light); transition: all 0.2s;
}
.sort-tab:hover, .sort-tab.active { background: var(--primary); color: #fff; }
.list-info { font-size: 13px; color: var(--text-light); }

.product-list-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 32px;
}
.page-btn {
  min-width: 36px; height: 36px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg-white); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; padding: 0 12px;
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:disabled { color: var(--text-lighter); cursor: not-allowed; }

/* ========== 商品详情页 ========== */
.detail-page { padding: 20px 0; }
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-lighter); }

.detail-main {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); display: flex; gap: 32px;
}
.detail-img { width: 400px; flex-shrink: 0; }
.detail-img img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg); background: #f9f9f9;
}
.detail-info { flex: 1; }
.detail-name { font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.detail-desc { color: var(--text-light); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.detail-price-box {
  background: linear-gradient(135deg, #fff5f5, #fff0f0);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px;
}
.detail-price-label { font-size: 13px; color: var(--text-light); }
.detail-price {
  font-size: 32px; font-weight: 700; color: var(--primary);
}
.detail-price small { font-size: 16px; }
.detail-price-original {
  font-size: 14px; color: var(--text-lighter);
  text-decoration: line-through; margin-left: 12px;
}
.detail-meta {
  display: flex; gap: 32px; padding: 16px 0;
  border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.detail-meta-item { font-size: 13px; color: var(--text-light); }
.detail-meta-item strong { color: var(--text); font-size: 15px; }

.qty-selector {
  display: flex; align-items: center; gap: 0; margin-bottom: 24px;
}
.qty-label { font-size: 14px; color: var(--text-light); margin-right: 16px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border-dark); border-radius: var(--radius); }
.qty-btn {
  width: 36px; height: 36px; font-size: 18px; color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { color: var(--primary); }
.qty-input {
  width: 60px; height: 36px; text-align: center; border: none;
  border-left: 1px solid var(--border-dark); border-right: 1px solid var(--border-dark);
  outline: none; font-size: 14px;
}

.detail-actions { display: flex; gap: 12px; }
.btn {
  padding: 12px 32px; border-radius: var(--radius); font-size: 15px;
  font-weight: 500; transition: all 0.2s; display: inline-flex;
  align-items: center; justify-content: center; gap: 6px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: #fff5f5; }
.btn-secondary { border: 1px solid var(--border-dark); color: var(--text); background: #fff; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-large { padding: 14px 48px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.related-section { margin-top: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ========== 购物车页 ========== */
.cart-page { padding: 20px 0; }
.page-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.cart-container {
  background: var(--bg-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.cart-header, .cart-item {
  display: grid; grid-template-columns: 40px 80px 1fr 120px 100px 80px 60px;
  align-items: center; gap: 16px; padding: 16px;
}
.cart-header {
  background: #fafafa; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-light); font-weight: 500;
}
.cart-item { border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.cart-item-name { font-size: 14px; color: var(--text); }
.cart-item-name:hover { color: var(--primary); }
.cart-item-price { color: var(--primary); font-weight: 600; }
.cart-item-qty { display: flex; align-items: center; border: 1px solid var(--border-dark); border-radius: var(--radius); width: fit-content; }
.cart-item-qty .qty-btn { width: 28px; height: 28px; }
.cart-item-qty .qty-input { width: 40px; height: 28px; font-size: 13px; }
.cart-item-total { color: var(--primary); font-weight: 700; font-size: 15px; }
.cart-item-remove { color: var(--text-lighter); font-size: 13px; }
.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: #fafafa;
}
.cart-selected-info { font-size: 14px; color: var(--text-light); }
.cart-total-box { display: flex; align-items: center; gap: 16px; }
.cart-total-label { font-size: 14px; color: var(--text-light); }
.cart-total {
  font-size: 24px; font-weight: 700; color: var(--primary);
}
.cart-empty {
  text-align: center; padding: 60px 20px; color: var(--text-lighter);
}
.cart-empty .empty-icon { font-size: 64px; margin-bottom: 16px; }
.cart-empty p { margin-bottom: 16px; }

/* ========== 结算页 ========== */
.checkout-page { padding: 20px 0; }
.checkout-section {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.checkout-section h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.address-list { display: flex; flex-wrap: wrap; gap: 12px; }
.address-item {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; cursor: pointer; transition: all 0.2s;
  min-width: 280px; position: relative;
}
.address-item:hover { border-color: var(--primary-light); }
.address-item.selected { border-color: var(--primary); background: #fff5f5; }
.address-item .addr-name { font-weight: 600; margin-bottom: 4px; }
.address-item .addr-name .tag-default {
  background: var(--primary); color: #fff; font-size: 11px;
  padding: 1px 6px; border-radius: 3px; margin-left: 8px;
}
.address-item .addr-detail { font-size: 13px; color: var(--text-light); }
.address-item .addr-phone { font-size: 13px; color: var(--text-light); margin-top: 4px; }

.address-form {
  border: 2px dashed var(--border-dark); border-radius: var(--radius);
  padding: 16px; min-width: 280px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: var(--text-lighter);
}
.address-form:hover { border-color: var(--primary); color: var(--primary); }
.address-form span { font-size: 32px; margin-bottom: 4px; }

.checkout-products { width: 100%; }
.checkout-products .cart-item { grid-template-columns: 80px 1fr 120px 80px 100px; }
.checkout-summary {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 24px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.summary-total { font-size: 20px; font-weight: 700; color: var(--primary); }

.checkout-submit {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: var(--bg-white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}

/* ========== 支付页 ========== */
.pay-page { padding: 20px 0; }
.pay-container {
  max-width: 800px; margin: 0 auto; background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow);
}
.pay-header { text-align: center; margin-bottom: 32px; }
.pay-amount { font-size: 36px; font-weight: 700; color: var(--primary); margin: 12px 0; }
.pay-amount small { font-size: 18px; }
.pay-order-info { font-size: 13px; color: var(--text-light); }

.qr-section {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px; background: #fafafa; border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.qr-image {
  width: 240px; height: 240px; background: #fff; padding: 12px;
  border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px;
}
.qr-image img { width: 100%; height: 100%; }
.qr-tip { font-size: 14px; color: var(--text-light); text-align: center; }
.qr-tip strong { color: var(--success); }
.qr-status {
  margin-top: 16px; padding: 12px 24px; border-radius: var(--radius);
  background: #fffbe6; border: 1px solid #ffe58f; color: #d48806;
  font-size: 14px; display: none;
}
.qr-status.success { background: #f6ffed; border-color: #b7eb8f; color: var(--success); display: block; }

.pay-config-guide {
  background: #fff7e6; border: 1px solid #ffd591; border-radius: var(--radius-lg);
  padding: 24px; margin-top: 16px;
}
.pay-config-guide h4 { color: #d46b08; margin-bottom: 12px; }
.pay-config-guide ol { padding-left: 20px; line-height: 2; color: var(--text-light); }
.pay-config-guide .config-file {
  background: #f5f5f5; border-radius: var(--radius); padding: 12px;
  margin-top: 12px; font-family: monospace; font-size: 13px;
}

/* ========== 登录注册页 ========== */
.auth-page {
  display: flex; justify-content: center; align-items: center;
  min-height: calc(100vh - var(--header-h)); padding: 40px 0;
}
.auth-box {
  width: 400px; background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
}
.auth-title {
  font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 32px;
}
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.auth-tab {
  flex: 1; text-align: center; padding: 12px; font-size: 16px;
  color: var(--text-light); border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; color: var(--text); margin-bottom: 8px; }
.form-input {
  width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--border-dark);
  border-radius: var(--radius); font-size: 14px; outline: none; transition: all 0.2s;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,62,62,0.1); }
.form-textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border-dark);
  border-radius: var(--radius); font-size: 14px; outline: none;
  resize: vertical; min-height: 80px; transition: all 0.2s;
}
.form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,62,62,0.1); }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.form-error {
  background: #fff2f0; border: 1px solid #ffccc7; color: var(--danger);
  padding: 10px 16px; border-radius: var(--radius); font-size: 13px;
  margin-bottom: 16px; display: none;
}
.form-error.show { display: block; }
.form-success {
  background: #f6ffed; border: 1px solid #b7eb8f; color: var(--success);
  padding: 10px 16px; border-radius: var(--radius); font-size: 13px;
  margin-bottom: 16px; display: none;
}
.form-success.show { display: block; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-light); }
.auth-footer a { color: var(--primary); }

/* ========== 个人中心 ========== */
.user-page { display: flex; gap: 20px; padding: 20px 0; }
.user-sidebar {
  width: 220px; flex-shrink: 0; background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow);
  height: fit-content; position: sticky; top: 20px;
}
.user-info-card { text-align: center; padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.user-avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 700;
}
.user-name { font-size: 16px; font-weight: 600; }
.user-menu-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: var(--radius); font-size: 14px; color: var(--text);
  transition: all 0.2s; margin-bottom: 2px;
}
.user-menu-item:hover { background: #fff5f5; color: var(--primary); }
.user-menu-item.active { background: var(--primary); color: #fff; }

.user-main {
  flex: 1; background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); min-height: 500px;
}
.user-main h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

/* 订单列表 */
.order-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden;
}
.order-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: #fafafa; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-light);
}
.order-status-badge {
  padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 500;
}
.order-status-badge.pending { background: #fff7e6; color: #d48806; }
.order-status-badge.paid { background: #e6f7ff; color: #1890ff; }
.order-status-badge.shipped { background: #f6ffed; color: var(--success); }
.order-status-badge.completed { background: #f0f0f0; color: var(--text-light); }
.order-status-badge.cancelled { background: #fff2f0; color: var(--danger); }
.order-items { padding: 16px; }
.order-item {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
}
.order-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius); }
.order-item-info { flex: 1; }
.order-item-name { font-size: 14px; }
.order-item-price { font-size: 13px; color: var(--text-light); }
.order-card-footer {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border);
}
.order-total { font-size: 14px; color: var(--text-light); }
.order-total strong { color: var(--primary); font-size: 18px; }

/* 地址管理 */
.address-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px; display: flex; justify-content: space-between;
  align-items: center;
}
.address-card .default-tag {
  background: var(--primary); color: #fff; font-size: 11px;
  padding: 1px 6px; border-radius: 3px; margin-left: 8px;
}
.address-card-actions { display: flex; gap: 8px; }
.address-card-actions button { font-size: 13px; color: var(--text-light); padding: 4px 12px; border-radius: var(--radius); }
.address-card-actions button:hover { color: var(--primary); }

/* ========== 商家入驻 ========== */
.merchant-page { padding: 20px 0; }
.merchant-banner {
  background: linear-gradient(135deg, #1890ff, #0050b3);
  border-radius: var(--radius-lg); padding: 40px; color: #fff;
  margin-bottom: 24px; text-align: center;
}
.merchant-banner h2 { font-size: 28px; margin-bottom: 8px; }
.merchant-banner p { opacity: 0.9; }
.merchant-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px;
}
.merchant-feature-card {
  background: var(--bg-white); border-radius: var(--radius-lg); padding: 20px;
  text-align: center; box-shadow: var(--shadow);
}
.merchant-feature-card .icon { font-size: 36px; margin-bottom: 8px; }
.merchant-feature-card h4 { font-size: 15px; margin-bottom: 4px; }
.merchant-feature-card p { font-size: 12px; color: var(--text-light); }

.merchant-form {
  max-width: 700px; margin: 0 auto; background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
.upload-area {
  border: 2px dashed var(--border-dark); border-radius: var(--radius);
  padding: 24px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.upload-area:hover { border-color: var(--primary); background: #fff5f5; }
.upload-preview { max-width: 200px; margin: 12px auto; border-radius: var(--radius); }

.application-status {
  max-width: 700px; margin: 0 auto; background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
  text-align: center;
}
.status-icon { font-size: 56px; margin-bottom: 16px; }
.status-text { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.status-desc { color: var(--text-light); margin-bottom: 24px; }

/* ========== 支付结果页 ========== */
.pay-result-page { padding: 40px 0; }
.result-container {
  max-width: 600px; margin: 0 auto; background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 48px; text-align: center;
  box-shadow: var(--shadow);
}
.result-icon { font-size: 72px; margin-bottom: 16px; }
.result-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.result-desc { color: var(--text-light); margin-bottom: 32px; }
.result-actions { display: flex; justify-content: center; gap: 16px; }

/* ========== 页脚 ========== */
.site-footer { background: var(--bg-white); margin-top: 40px; }
.footer-services { border-bottom: 1px solid var(--border); padding: 24px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-item { display: flex; align-items: center; gap: 12px; }
.service-icon { font-size: 32px; }
.service-item strong { display: block; font-size: 15px; }
.service-item span { font-size: 12px; color: var(--text-light); }

.footer-main { padding: 32px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; gap: 32px; }
.footer-col h4 { font-size: 15px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer-col ul li { margin-bottom: 8px; font-size: 13px; color: var(--text-light); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col-about p { font-size: 13px; color: var(--text-light); line-height: 1.8; margin-bottom: 8px; }

.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-lighter); }
.footer-copyright { display: flex; gap: 12px; }
.footer-filing a:hover { color: var(--primary); }

/* ========== 回到顶部 ========== */
.back-to-top {
  position: fixed; right: 24px; bottom: 80px; width: 44px; height: 44px;
  background: var(--bg-white); border-radius: 50%; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text-light); cursor: pointer; z-index: 100;
  transition: all 0.2s;
}
.back-to-top:hover { color: var(--primary); transform: translateY(-2px); }

/* ========== 错误页 ========== */
.error-page {
  text-align: center; padding: 80px 20px;
}
.error-code { font-size: 72px; font-weight: 700; color: var(--primary); }
.error-msg { font-size: 18px; color: var(--text-light); margin: 16px 0 32px; }

/* ========== 提示弹窗 ========== */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.8); color: #fff; padding: 12px 24px;
  border-radius: var(--radius); font-size: 14px; z-index: 9999;
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .product-list-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-main-inner { flex-wrap: wrap; gap: 16px; }
  .search-box { order: 3; flex: 1 1 100%; }
  .product-grid, .product-list-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .list-page { flex-direction: column; }
  .list-sidebar { width: 100%; position: static; }
  .detail-main { flex-direction: column; }
  .detail-img { width: 100%; }
  .user-page { flex-direction: column; }
  .user-sidebar { width: 100%; position: static; }
  .cart-header, .cart-item { grid-template-columns: 60px 1fr 80px; font-size: 12px; }
  .cart-item-price, .cart-item-qty, .cart-item-total { display: none; }
  .merchant-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .nav-inner { overflow-x: auto; }
  .carousel-container { height: 200px; }
  .articles-grid { grid-template-columns: 1fr; }
  .merchant-info-grid { grid-template-columns: 1fr; }
  .qualifications-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .detail-tabs { flex-wrap: wrap; }
  .related-articles-grid { grid-template-columns: 1fr; }
}

/* ========== 广告轮播 ========== */
.home-carousel { margin-bottom: 20px; }
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide a { display: block; width: 100%; height: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: white;
}
.carousel-caption h2 { font-size: 36px; margin-bottom: 8px; font-weight: 700; }
.carousel-caption p { font-size: 18px; opacity: 0.9; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  border: none;
  color: white;
  font-size: 36px;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}
.carousel-btn:hover { background: rgba(255,255,255,0.6); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dot.active { background: white; }

/* ========== 文章卡片 ========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.article-img { position: relative; height: 180px; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-category {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(102,126,234,0.9);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.article-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.article-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-summary {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: #999;
}

/* ========== 文章列表页 ========== */
.articles-page { padding: 20px 0; }
.page-header { margin-bottom: 30px; text-align: center; }
.page-header h1 { font-size: 32px; color: #333; margin-bottom: 8px; }
.page-header p { color: #666; font-size: 15px; }
.articles-list { display: flex; flex-direction: column; gap: 20px; }
.article-item {
  display: flex;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.article-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.article-item-img { width: 280px; height: 180px; flex-shrink: 0; overflow: hidden; }
.article-item-img img { width: 100%; height: 100%; object-fit: cover; }
.article-item-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-item-tag {
  display: inline-block;
  background: #f0f2ff;
  color: #667eea;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  width: fit-content;
}
.article-item-title { font-size: 20px; font-weight: 600; color: #333; margin-bottom: 8px; }
.article-item-summary { font-size: 14px; color: #666; line-height: 1.6; flex: 1; }
.article-item-meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: #999;
}

/* ========== 文章详情页 ========== */
.article-detail-page { padding: 20px 0; max-width: 900px; margin: 0 auto; }
.article-detail {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.article-detail-header { margin-bottom: 24px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.article-detail-tag {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.article-detail-title { font-size: 30px; font-weight: 700; color: #333; line-height: 1.3; margin-bottom: 12px; }
.article-detail-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #999;
}
.article-detail-summary {
  background: #f8f9ff;
  border-left: 4px solid #667eea;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.article-detail-summary p { font-size: 15px; color: #555; line-height: 1.6; }
.article-detail-content { font-size: 16px; line-height: 1.8; color: #444; }
.article-detail-content h3 { font-size: 20px; margin: 24px 0 12px; color: #333; }
.article-detail-content p { margin-bottom: 14px; }
.article-detail-content strong { color: #333; }
.article-detail-content ul, .article-detail-content ol { margin: 12px 0 14px 20px; }
.article-detail-content li { margin-bottom: 6px; }
.article-detail-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-share { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #666; }
.share-btn {
  background: #f0f2ff;
  color: #667eea;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s;
}
.share-btn:hover { background: #667eea; color: white; }
.back-to-list { color: #667eea; font-size: 14px; text-decoration: none; }
.back-to-list:hover { text-decoration: underline; }
.related-articles { margin-top: 30px; }
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.related-article-card:hover { transform: translateY(-3px); }
.related-article-img { height: 120px; overflow: hidden; }
.related-article-img img { width: 100%; height: 100%; object-fit: cover; }
.related-article-info { padding: 12px; }
.related-article-info h3 { font-size: 14px; color: #333; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-article-info span { font-size: 12px; color: #999; }

/* ========== 商品详情Tabs ========== */
.detail-tabs-section { margin: 30px 0; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.detail-tabs {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
  background: #fafafa;
}
.detail-tab {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}
.detail-tab:hover { color: #667eea; }
.detail-tab.active { color: #667eea; border-bottom-color: #667eea; background: white; }
.detail-tab-content { display: none; padding: 30px; }
.detail-tab-content.active { display: block; }
.detail-content-html { font-size: 15px; line-height: 1.8; color: #444; }
.detail-content-html h3 { font-size: 18px; margin: 20px 0 12px; color: #333; }
.detail-content-html ul, .detail-content-html ol { margin: 10px 0 14px 20px; }
.detail-content-html li { margin-bottom: 6px; }
.detail-content-html table { margin: 14px 0; border: 1px solid #ddd; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table th {
  background: #f5f5f5;
  padding: 12px 16px;
  text-align: left;
  width: 140px;
  color: #666;
  font-weight: 600;
  border: 1px solid #eee;
}
.specs-table td { padding: 12px 16px; border: 1px solid #eee; color: #333; }
.notice-content { font-size: 15px; line-height: 1.8; color: #444; }
.notice-content h3 { font-size: 18px; margin-bottom: 14px; color: #333; }
.notice-content ol { margin-left: 20px; }
.notice-content li { margin-bottom: 10px; }
.notice-content strong { color: #333; }
.detail-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  padding: 12px;
  background: #f8f9ff;
  border-radius: 8px;
}
.service-item { font-size: 13px; color: #555; display: flex; align-items: center; gap: 4px; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: #52c41a;
  color: white;
  border-radius: 50%;
  font-size: 11px;
}

/* 用户评价 */
.review-section { padding: 10px 0; }
.review-summary {
  display: flex;
  gap: 30px;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
  margin-bottom: 24px;
  align-items: center;
}
.review-score { text-align: center; }
.score-num { font-size: 42px; font-weight: 700; color: #ff6b6b; line-height: 1; }
.score-stars { color: #ffc107; font-size: 18px; margin: 4px 0; }
.score-text { font-size: 13px; color: #999; }
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.review-tag {
  background: white;
  border: 1px solid #eee;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  color: #666;
}
.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.review-body { flex: 1; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-name { font-weight: 600; font-size: 14px; color: #333; }
.review-stars { color: #ffc107; font-size: 13px; }
.review-date { font-size: 12px; color: #999; margin-left: auto; }
.review-text { font-size: 14px; color: #555; line-height: 1.6; }

/* ========== 商家信息展示 ========== */
.merchant-info-section,
.merchant-qualifications-section,
.merchant-process-section {
  margin: 30px 0;
}
.merchant-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.merchant-info-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.merchant-info-card:hover { transform: translateY(-2px); }
.info-icon {
  font-size: 28px;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2ff;
  border-radius: 10px;
  flex-shrink: 0;
}
.info-content h4 { font-size: 13px; color: #999; margin-bottom: 4px; }
.info-content p { font-size: 14px; color: #333; font-weight: 600; }

/* 商家资质 */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.qualification-card {
  background: white;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}
.qualification-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102,126,234,0.15);
  border-color: #667eea;
}
.qual-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #f0f2ff, #e0e5ff);
  border-radius: 50%;
}
.qual-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 8px; }
.qual-desc { font-size: 12px; color: #888; line-height: 1.5; }

/* 入驻流程 */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}
.process-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.step-num {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content h4 { font-size: 15px; color: #333; margin-bottom: 4px; }
.step-content p { font-size: 12px; color: #999; }
.process-arrow {
  font-size: 24px;
  color: #ccc;
  font-weight: 300;
}

/* =========================================
   新版首页 v2.0 - 促销活动版
   ========================================= */

/* 全局变量 - 促销主题色 */
:root {
  --promo-red: #ff2727;
  --promo-orange: #ff6b35;
  --promo-gold: #ff9500;
  --promo-purple: #722ed1;
  --promo-blue: #1890ff;
  --promo-green: #52c41a;
  --promo-cyan: #13c2c2;
  --promo-pink: #eb2f96;
  --promo-yellow: #faad14;

  /* 5个轮播图配色 */
  --hero-c1-1: #ff2727;
  --hero-c2-1: #ff6b35;
  --hero-c1-2: #722ed1;
  --hero-c2-2: #e83e3e;
  --hero-c1-3: #1a1a1a;
  --hero-c2-3: #ff2727;
  --hero-c1-4: #e83e3e;
  --hero-c2-4: #ff9500;
  --hero-c1-5: #1890ff;
  --hero-c2-5: #722ed1;
}

/* ========== 顶部广告栏 ========== */
.top-ad-bar {
  background: linear-gradient(90deg, #ff2727, #ff6b35, #ff9500);
  color: white;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}
.top-ad-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.top-ad-icon { font-size: 16px; }
.top-ad-text {
  background: linear-gradient(90deg, #fff, #ffe0a0, #fff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 3s linear infinite;
  font-weight: 600;
}
@keyframes shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== 主轮播 + 侧边广告 ========== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 12px;
  margin: 16px 0;
}
.hero-carousel {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hero-track { position: relative; height: 100%; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease;
  display: block;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center;
  padding: 0 60px;
  overflow: hidden;
}
.hero-decor { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-circle { position: absolute; border-radius: 50%; }
.hero-circle.c1 { width: 200px; height: 200px; top: -60px; right: 100px; background: rgba(255,255,255,0.15); }
.hero-circle.c2 { width: 300px; height: 300px; bottom: -120px; right: -50px; background: rgba(255,255,255,0.1); }
.hero-circle.c3 { width: 120px; height: 120px; top: 80px; right: 280px; background: rgba(255,255,255,0.2); }

.hero-content { position: relative; z-index: 2; max-width: 70%; }
.hero-badge {
  display: inline-block;
  background: white; color: var(--promo-red);
  font-size: 13px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-title {
  font-size: 42px; font-weight: 900; color: white;
  line-height: 1.2; margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  letter-spacing: 1px;
}
.hero-subtitle {
  font-size: 18px; color: rgba(255,255,255,0.95);
  margin-bottom: 20px; line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.hero-cta {
  display: inline-block;
  background: white; color: var(--promo-red);
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.hero-slide:hover .hero-cta { transform: translateX(4px); }

.hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.35); color: white;
  width: 40px; height: 60px;
  font-size: 24px;
  border: none; cursor: pointer;
  z-index: 3; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.hero-btn:hover { background: rgba(0,0,0,0.6); }
.hero-btn.prev { left: 0; border-radius: 0 8px 8px 0; }
.hero-btn.next { right: 0; border-radius: 8px 0 0 8px; }
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active { width: 24px; border-radius: 4px; background: white; }

/* 侧边小广告 */
.hero-side {
  display: flex; flex-direction: column; gap: 12px;
}
.side-banner {
  flex: 1; position: relative; border-radius: 12px;
  padding: 24px 20px;
  color: white; overflow: hidden;
  display: flex; align-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.side-banner:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.side-decor {
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.side-content { position: relative; z-index: 2; }
.side-badge {
  display: inline-block; padding: 2px 8px;
  font-size: 11px; font-weight: 700;
  border-radius: 3px; margin-bottom: 8px;
}
.side-title {
  font-size: 20px; font-weight: 700;
  margin-bottom: 4px;
}
.side-subtitle {
  font-size: 13px; opacity: 0.95;
  margin-bottom: 12px;
}
.side-cta {
  font-size: 13px; font-weight: 600;
  padding: 5px 14px;
  background: rgba(255,255,255,0.25);
  border-radius: 14px;
  display: inline-block;
}

/* ========== 4个频道广告位 ========== */
.channel-banners {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin: 16px 0;
}
.channel-card {
  position: relative;
  border-radius: 10px;
  padding: 20px 24px;
  color: white;
  height: 110px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.channel-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.channel-decor {
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.channel-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 2px 8px; font-size: 11px; font-weight: 700;
  border-radius: 3px; z-index: 2;
}
.channel-title {
  font-size: 20px; font-weight: 700; margin-bottom: 4px;
  position: relative; z-index: 1;
}
.channel-subtitle {
  font-size: 12px; opacity: 0.9; margin-bottom: 8px;
  position: relative; z-index: 1;
}
.channel-cta {
  font-size: 12px; font-weight: 600;
  padding: 3px 10px;
  background: rgba(255,255,255,0.25);
  border-radius: 12px;
  display: inline-block; width: fit-content;
  position: relative; z-index: 1;
}

/* ========== 服务保障栏 ========== */
.service-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: white;
  border-radius: 10px;
  padding: 18px 0;
  margin: 16px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.service-item {
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
  border-right: 1px solid #f0f0f0;
}
.service-item:last-child { border-right: none; }
.s-icon {
  font-size: 28px; line-height: 1;
}
.service-item strong {
  display: block; font-size: 15px; color: #333; font-weight: 700;
}
.service-item small {
  font-size: 12px; color: #999;
}

/* ========== 限时秒杀 ========== */
.seckill-section {
  position: relative;
  margin: 24px 0;
  padding: 32px 0 40px;
  background: linear-gradient(180deg, #1a1a1a 0%, #2a0a0a 100%);
  border-radius: 16px;
  overflow: hidden;
}
.seckill-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,39,39,0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,107,53,0.25) 0%, transparent 40%);
}
.seckill-section .container { position: relative; z-index: 2; }
.seckill-header {
  display: flex; align-items: center;
  margin-bottom: 24px;
  color: white;
  flex-wrap: wrap; gap: 16px;
}
.seckill-title-area { display: flex; align-items: center; gap: 12px; }
.seckill-icon {
  font-size: 36px;
  animation: seckill-pulse 1.5s ease-in-out infinite;
}
@keyframes seckill-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 #ffeb3b); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 8px #ffeb3b); }
}
.seckill-title {
  font-size: 32px; font-weight: 900;
  background: linear-gradient(90deg, #ffd700, #ffeb3b, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.seckill-subtitle {
  font-size: 14px; color: #ffcc80;
  padding: 4px 12px;
  background: rgba(255,107,53,0.2);
  border-radius: 4px;
  border: 1px solid rgba(255,107,53,0.4);
}
.seckill-timer {
  display: flex; align-items: center; gap: 12px;
  margin-left: auto;
}
.timer-label {
  font-size: 14px; color: #ffcc80;
}
.timer-blocks {
  display: flex; align-items: center; gap: 4px;
}
.timer-block {
  background: #1a1a1a;
  color: #fff;
  font-size: 18px; font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
  min-width: 36px; text-align: center;
  border: 1px solid #ff2727;
  box-shadow: 0 0 8px rgba(255,39,39,0.4) inset;
  font-family: 'Courier New', monospace;
}
.timer-sep {
  color: #ffeb3b; font-size: 18px; font-weight: 700;
  font-family: 'Courier New', monospace;
}
.seckill-more {
  color: #ffcc80; font-size: 13px; font-weight: 500;
  padding: 6px 14px;
  border: 1px solid #ff6b35;
  border-radius: 16px;
  transition: all 0.2s;
}
.seckill-more:hover { background: #ff6b35; color: white; }

.seckill-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.seckill-card {
  background: linear-gradient(180deg, #2a0a0a 0%, #1a1a1a 100%);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(255,39,39,0.2);
  display: block;
}
.seckill-card:hover {
  transform: translateY(-4px);
  border-color: #ff2727;
  box-shadow: 0 8px 24px rgba(255,39,39,0.3);
}
.seckill-card-img {
  position: relative;
  aspect-ratio: 1;
  background: white;
  overflow: hidden;
}
.seckill-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.seckill-tag {
  position: absolute; top: 8px; left: 8px;
  background: linear-gradient(90deg, #ff2727, #ff6b35);
  color: white; font-size: 11px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.seckill-rank {
  position: absolute; top: 8px; right: 8px;
  background: linear-gradient(135deg, #ffd700, #ff9500);
  color: white; font-size: 10px; font-weight: 800;
  padding: 3px 6px;
  border-radius: 3px;
}
.seckill-rank.rank-top {
  background: linear-gradient(135deg, #ff2727, #ff6b35);
  animation: rank-shine 2s ease-in-out infinite;
}
@keyframes rank-shine {
  0%, 100% { box-shadow: 0 0 0 rgba(255,39,39,0.5); }
  50% { box-shadow: 0 0 12px rgba(255,39,39,0.8); }
}
.seckill-card-info { padding: 12px; }
.seckill-card-name {
  font-size: 13px; color: #f5f5f5; line-height: 1.4;
  height: 36px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 8px;
}
.seckill-card-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 8px;
}
.seckill-now {
  color: #ffd700; font-size: 20px; font-weight: 800;
}
.seckill-old {
  color: #888; font-size: 12px; text-decoration: line-through;
}
.seckill-progress {
  position: relative;
  height: 18px;
  background: rgba(255,255,255,0.1);
  border-radius: 9px;
  overflow: hidden;
}
.seckill-progress-bar {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, #ff2727, #ff6b35);
  border-radius: 9px;
  transition: width 0.5s;
}
.seckill-progress-text {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 11px; font-weight: 600;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ========== 通用促销区块标题 ========== */
.section-header-promotion {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap; gap: 12px;
}
.section-title-promotion {
  display: flex; align-items: center; gap: 10px;
}
.section-title-promotion h2 {
  font-size: 26px; font-weight: 800; color: #333;
}
.promo-icon {
  font-size: 28px; line-height: 1;
}
.promo-tag {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  background: linear-gradient(90deg, #ff2727, #ff6b35);
  color: white;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.section-more {
  color: #666; font-size: 13px;
  padding: 6px 14px;
  border: 1px solid #ddd;
  border-radius: 16px;
  transition: all 0.2s;
}
.section-more:hover { border-color: #ff2727; color: #ff2727; background: #fff5f5; }

/* ========== 拼团特惠 ========== */
.groupon-section { margin: 24px 0; }
.groupon-active-list {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  border: 1px dashed #ff6b35;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.groupon-active-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #ff2727;
  margin-bottom: 14px;
}
.groupon-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #ff2727;
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.groupon-active-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.groupon-active-card {
  display: flex; gap: 12px;
  background: white;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}
.groupon-active-card:hover {
  border-color: #ff2727;
  box-shadow: 0 4px 12px rgba(255,39,39,0.12);
  transform: translateY(-2px);
}
.groupon-active-img {
  width: 80px; height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f9f9f9;
}
.groupon-active-img img { width: 100%; height: 100%; object-fit: cover; }
.groupon-active-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.groupon-active-name {
  font-size: 13px; color: #333; line-height: 1.3;
  font-weight: 500;
  margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.groupon-active-progress { margin-bottom: 8px; }
.gap-text {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #999;
  margin-bottom: 4px;
}
.gap-text strong { color: #ff2727; font-weight: 800; font-size: 13px; }
.groupon-active-time { color: #faad14; font-weight: 600; }
.groupon-active-bar {
  height: 6px; background: #ffe0e0;
  border-radius: 3px; overflow: hidden;
}
.groupon-active-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff2727, #ff6b35);
  border-radius: 3px;
  transition: width 0.5s;
}
.groupon-active-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.groupon-active-price { display: flex; align-items: baseline; gap: 6px; }
.gp-price {
  color: #ff2727; font-size: 16px; font-weight: 800;
}
.gp-old {
  color: #999; font-size: 11px; text-decoration: line-through;
}
.groupon-active-btn {
  background: linear-gradient(90deg, #ff2727, #ff6b35);
  color: white;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px;
  border: none; border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.groupon-active-btn:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(255,39,39,0.3); }

.groupon-all {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.groupon-all-header {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.groupon-all-header span {
  font-size: 18px; font-weight: 800; color: #333;
}
.groupon-all-header small {
  font-size: 12px; color: #999;
}
.groupon-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.groupon-card {
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}
.groupon-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(232,62,62,0.15); }
.groupon-card-link { display: block; }
.groupon-img {
  position: relative;
  aspect-ratio: 1;
  background: white;
  overflow: hidden;
}
.groupon-img img { width: 100%; height: 100%; object-fit: cover; }
.groupon-badge {
  position: absolute; top: 8px; left: 8px;
  background: linear-gradient(135deg, #ff2727, #ff6b35);
  color: white; font-size: 11px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.groupon-success-badge {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  color: #ffd700; font-size: 10px; font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}
.groupon-info { padding: 12px; }
.groupon-name {
  font-size: 13px; color: #333; line-height: 1.4;
  height: 36px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 8px;
}
.groupon-price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.groupon-price {
  color: #ff2727; font-size: 18px; font-weight: 800;
}
.groupon-old {
  color: #999; font-size: 12px; text-decoration: line-through;
  margin-left: 4px;
}
.groupon-stats {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #999;
  margin-bottom: 8px;
}
.groupon-btn-launch {
  display: block;
  width: calc(100% - 16px);
  margin: 0 8px 8px;
  background: linear-gradient(90deg, #ff2727, #ff6b35);
  color: white;
  font-size: 12px; font-weight: 700;
  padding: 7px 0;
  border: none; border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.groupon-btn-launch:hover { transform: scale(1.02); box-shadow: 0 2px 8px rgba(255,39,39,0.3); }

/* 详情页拼团价标签 */
.groupon-price-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff2727, #ff6b35);
  color: white;
  font-size: 12px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ========== 优惠券领取中心 ========== */
.coupon-section { margin: 24px 0; }
.coupon-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.coupon-card {
  display: flex; align-items: stretch;
  background: linear-gradient(90deg, #ff2727 0%, #ff6b35 50%, #ff9500 100%);
  border-radius: 10px;
  overflow: hidden;
  height: 110px;
  color: white;
  box-shadow: 0 4px 16px rgba(255,39,39,0.2);
  position: relative;
  transition: all 0.3s;
}
.coupon-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,39,39,0.3); }
.coupon-card:nth-child(2) { background: linear-gradient(90deg, #722ed1 0%, #e83e3e 50%, #ff6b35 100%); box-shadow: 0 4px 16px rgba(114,46,209,0.2); }
.coupon-card:nth-child(2):hover { box-shadow: 0 8px 24px rgba(114,46,209,0.3); }
.coupon-card:nth-child(3) { background: linear-gradient(90deg, #1890ff 0%, #52c41a 50%, #13c2c2 100%); box-shadow: 0 4px 16px rgba(24,144,255,0.2); }
.coupon-card:nth-child(3):hover { box-shadow: 0 8px 24px rgba(24,144,255,0.3); }
.coupon-card:nth-child(4) { background: linear-gradient(90deg, #13c2c2 0%, #1890ff 50%, #722ed1 100%); }
.coupon-card:nth-child(5) { background: linear-gradient(90deg, #ff9500 0%, #ff6b35 50%, #ff2727 100%); }
.coupon-left {
  width: 110px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 12px 8px;
  background: rgba(0,0,0,0.1);
}
.coupon-amount-row {
  display: flex; align-items: baseline;
  margin-bottom: 4px;
}
.coupon-currency { font-size: 16px; font-weight: 700; }
.coupon-amount { font-size: 36px; font-weight: 900; line-height: 1; }
.coupon-threshold {
  font-size: 11px; opacity: 0.95;
  text-align: center;
}
.coupon-divider {
  position: relative;
  width: 16px;
  display: flex; flex-direction: column; align-items: center;
}
.coupon-divider-circle {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px;
  background: #f5f5f5;
  border-radius: 50%;
}
.coupon-divider-circle.top { top: -8px; }
.coupon-divider-circle.bottom { bottom: -8px; }
.coupon-divider-line {
  width: 2px; flex: 1;
  background-image: linear-gradient(180deg, white 50%, transparent 50%);
  background-size: 2px 6px;
  margin: 8px 0;
}
.coupon-right {
  flex: 1;
  padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.coupon-name {
  font-size: 16px; font-weight: 700;
  margin-bottom: 2px;
}
.coupon-desc {
  font-size: 12px; opacity: 0.9;
  margin-bottom: 8px;
}
.coupon-claim {
  background: white;
  color: #ff2727;
  font-size: 12px; font-weight: 700;
  padding: 5px 0;
  border: none; border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100px;
}
.coupon-claim:hover { transform: scale(1.05); }
.coupon-claim.claimed { background: rgba(255,255,255,0.3); color: white; cursor: default; }

/* ========== 满减活动专区 ========== */
.fullcut-section { margin: 24px 0; }
.fullcut-banner {
  position: relative;
  display: flex;
  background: linear-gradient(135deg, #ff2727 0%, #ff6b35 50%, #ff9500 100%);
  border-radius: 16px;
  padding: 40px 50px;
  color: white;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255,39,39,0.25);
}
.fullcut-content { position: relative; z-index: 2; flex: 1; }
.fullcut-badge {
  display: inline-block;
  background: white; color: #ff2727;
  font-size: 12px; font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.fullcut-title {
  font-size: 38px; font-weight: 900;
  line-height: 1.2; margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.fullcut-subtitle {
  font-size: 16px; opacity: 0.95; margin-bottom: 20px;
}
.fullcut-tags {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.fullcut-tag {
  font-size: 13px; font-weight: 600;
  padding: 6px 14px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
}
.fullcut-cta {
  display: inline-block;
  background: white; color: #ff2727;
  font-size: 16px; font-weight: 800;
  padding: 12px 36px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.fullcut-cta:hover { transform: translateX(4px) scale(1.02); }
.fullcut-decor {
  position: relative;
  width: 280px;
  display: flex; align-items: center; justify-content: center;
}
.fullcut-circle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.fullcut-circle.c1 { width: 200px; height: 200px; top: -20px; right: -20px; }
.fullcut-circle.c2 { width: 100px; height: 100px; bottom: 0; right: 100px; background: rgba(255,255,255,0.15); }
.fullcut-price {
  position: relative; z-index: 1;
  font-size: 50px; font-weight: 900;
  color: white;
  text-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex; align-items: baseline; gap: 4px;
}
.fullcut-price .big { font-size: 100px; }

/* ========== 分类楼层 ========== */
.floor-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.floor-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}
.floor-header-left { display: flex; align-items: center; gap: 16px; }
.floor-num {
  font-size: 36px; font-weight: 900;
  background: linear-gradient(135deg, #ff2727, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}
.floor-title-block h2 {
  font-size: 24px; font-weight: 800; color: #333;
  margin-bottom: 2px;
}
.floor-subtitle {
  font-size: 12px; color: #999;
}
.floor-more {
  font-size: 13px; color: #666;
  padding: 6px 16px;
  border: 1px solid #ddd;
  border-radius: 16px;
  transition: all 0.2s;
}
.floor-more:hover { border-color: #ff2727; color: #ff2727; background: #fff5f5; }
.floor-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}
.floor-poster {
  position: relative;
  border-radius: 10px;
  height: 320px;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.floor-poster-bg { position: absolute; inset: 0; }
.floor-poster-content {
  position: relative; z-index: 2;
  height: 100%;
  padding: 24px 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: white;
}
.floor-poster-title {
  font-size: 24px; font-weight: 800; margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.floor-poster-subtitle {
  font-size: 13px; opacity: 0.9; margin-bottom: 8px;
}
.floor-poster-tag {
  display: inline-block; width: fit-content;
  font-size: 12px; font-weight: 700;
  padding: 3px 10px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}
.floor-poster-cta {
  font-size: 13px; font-weight: 700;
  padding: 6px 16px;
  background: white; color: #ff2727;
  border-radius: 16px;
  width: fit-content;
  transition: all 0.3s;
}
.floor-poster:hover .floor-poster-cta { transform: translateX(4px); }
.floor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.floor-card {
  background: #fafafa;
  border-radius: 8px;
  padding: 8px;
  display: block;
  transition: all 0.3s;
}
.floor-card:hover { background: #f0f0f0; transform: translateY(-2px); }
.floor-card-img {
  position: relative;
  aspect-ratio: 1;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.floor-card-img img { width: 100%; height: 100%; object-fit: cover; }
.floor-hot-tag {
  position: absolute; top: 6px; left: 6px;
  background: linear-gradient(90deg, #ff2727, #ff6b35);
  color: white;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}
.floor-card-name {
  font-size: 12px; color: #333; line-height: 1.4;
  height: 32px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 6px;
}
.floor-card-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 4px;
}
.floor-card-price .price-now {
  color: #ff2727; font-size: 15px; font-weight: 800;
}
.floor-card-price .price-old {
  color: #999; font-size: 11px; text-decoration: line-through;
}
.floor-card-sales {
  font-size: 11px; color: #999;
}

/* ========== 热销榜单 ========== */
.rank-section { margin: 24px 0; }
.rank-list {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.rank-item {
  display: flex; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.2s;
  gap: 16px;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: #fffaf5; }
.rank-num {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  color: #999;
  background: #f5f5f5;
  border-radius: 4px;
  flex-shrink: 0;
}
.rank-num.top {
  color: white;
  background: linear-gradient(135deg, #ff2727, #ff6b35);
  box-shadow: 0 2px 6px rgba(255,39,39,0.3);
}
.rank-num.top:nth-child(1) { background: linear-gradient(135deg, #ff2727, #ff6b35); }
.rank-img {
  width: 60px; height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #f9f9f9;
  flex-shrink: 0;
}
.rank-info { flex: 1; min-width: 0; }
.rank-name {
  font-size: 14px; color: #333; font-weight: 500;
  margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-meta { display: flex; align-items: center; gap: 12px; }
.rank-price { color: #ff2727; font-size: 16px; font-weight: 800; }
.rank-sales { font-size: 12px; color: #999; }
.rank-arrow { font-size: 20px; color: #ccc; flex-shrink: 0; }

/* ========== 相关资讯 ========== */
.article-section { margin: 24px 0 40px; }
.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s;
  display: block;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.article-img {
  position: relative;
  aspect-ratio: 16/9;
  background: #f0f0f0;
  overflow: hidden;
}
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-category {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  color: white;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}
.article-body { padding: 14px 16px; }
.article-title {
  font-size: 15px; font-weight: 700; color: #333; line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}
.article-summary {
  font-size: 12px; color: #999; line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}
.article-meta {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #999;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .side-banner { padding: 16px; }
  .seckill-grid { grid-template-columns: repeat(2, 1fr); }
  .groupon-grid { grid-template-columns: repeat(3, 1fr); }
  .coupon-grid { grid-template-columns: repeat(2, 1fr); }
  .floor-body { grid-template-columns: 1fr; }
  .floor-poster { height: 180px; }
  .service-bar { grid-template-columns: repeat(3, 1fr); }
  .service-item:nth-child(3) { border-right: none; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-banners { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-side { flex-direction: column; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 14px; }
  .seckill-grid { grid-template-columns: repeat(2, 1fr); }
  .groupon-grid { grid-template-columns: repeat(2, 1fr); }
  .coupon-grid { grid-template-columns: 1fr; }
  .floor-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .fullcut-banner { flex-direction: column; padding: 24px; }
  .fullcut-decor { width: 100%; height: 100px; }
  .fullcut-title { font-size: 24px; }
  .service-bar { grid-template-columns: repeat(2, 1fr); }
  .service-item { border-right: none; }
  .channel-banners { grid-template-columns: 1fr; }
}

/* ====================================================
   现代化设计系统:移动端抽屉 + 底部 Tab Bar + 现代化组件
   ==================================================== */

/* ===== 全局设计 token 增强 ===== */
:root {
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --grad-primary: linear-gradient(135deg, #e83e3e 0%, #ff6b35 100%);
  --grad-cool: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-glass: 0 8px 32px rgba(15, 23, 42, 0.08);
}

/* ===== 移动端汉堡按钮 ===== */
.hamburger-btn {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.2s var(--ease);
}
.hamburger-btn:hover { border-color: var(--primary); }
.hamburger-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger-btn:hover span { background: var(--primary); }

/* ===== 移动端抽屉菜单 ===== */
.mobile-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(2px);
}
.mobile-mask.show { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed; top: 0; left: 0;
  width: 280px; max-width: 85vw;
  height: 100vh;
  background: var(--bg-white);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 16px;
  background: var(--grad-primary);
  color: #fff;
}
.drawer-user {
  display: flex; align-items: center; gap: 12px;
  flex: 1;
  min-width: 0;
}
.drawer-user img {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}
.drawer-guest {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.drawer-user strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.drawer-user small { display: block; font-size: 12px; opacity: 0.85; margin-top: 2px; }
.drawer-user small a { color: #fff; text-decoration: underline; }
.drawer-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.drawer-close:hover { background: rgba(255,255,255,0.3); }

.drawer-menu {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.drawer-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text);
  transition: background 0.15s var(--ease);
  position: relative;
}
.drawer-item:hover, .drawer-item.active {
  background: #fff5f5;
  color: var(--primary);
}
.drawer-item.active::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}
.d-icon { font-size: 18px; width: 24px; text-align: center; }
.d-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}
.drawer-logout { color: #999; margin-top: 12px; border-top: 1px solid var(--border); padding-top: 16px; }

/* ===== 移动端底部 Tab Bar ===== */
.mobile-tabbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}
.tab-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0 6px;
  color: var(--text-light);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.tab-item:active { transform: scale(0.95); }
.tab-icon { font-size: 20px; line-height: 1; }
.tab-text { font-size: 11px; font-weight: 500; }
.tab-item.active { color: var(--primary); }
.tab-item.active .tab-icon { transform: scale(1.1); }
.tab-badge {
  position: absolute; top: 4px; right: 30%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  min-width: 16px;
  text-align: center;
  line-height: 1.4;
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 80px; right: 16px;
  width: 44px; height: 44px;
  background: var(--bg-white);
  color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
}
.back-to-top.show {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}
.back-to-top:active { transform: translateY(0); }

/* ===== 全局 Toast 集中化 ===== */
.global-toast-container {
  position: fixed;
  top: 80px; left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 360px;
}
.global-toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-left: 4px solid var(--info);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s var(--ease);
  pointer-events: auto;
}
.global-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.global-toast-success { border-left-color: var(--success); }
.global-toast-success .toast-icon { background: var(--success); }
.global-toast-error { border-left-color: var(--danger); }
.global-toast-error .toast-icon { background: var(--danger); }
.global-toast-warning { border-left-color: var(--warning); }
.global-toast-warning .toast-icon { background: var(--warning); }
.global-toast .toast-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--info);
  flex-shrink: 0;
}
.global-toast .toast-msg { flex: 1; word-break: break-all; }

/* ===== 现代化动画增强 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.fade-in-up { animation: fadeInUp 0.5s var(--ease) both; }

/* 加载状态 */
.loading {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
  .product-card:active {
    transform: scale(0.98);
  }
  .btn:active {
    transform: scale(0.96);
  }
}

/* ===== 现代化全面移动端 ===== */
@media (max-width: 768px) {
  /* 隐藏桌面端元素 */
  .top-bar { display: none; }
  .nav-bar { display: none; }
  .search-text { display: none; }
  .cart-text { display: none; }
  .cart-link { padding: 8px 12px; }

  /* 显示移动端元素 */
  .hamburger-btn { display: flex; }
  .mobile-tabbar { display: flex; }

  /* Header 简化 */
  .header-main { padding: 10px 0; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04); }
  .header-main-inner { gap: 12px; }
  .logo-icon { width: 40px; height: 40px; font-size: 16px; }
  .logo-text strong { font-size: 17px; }
  .logo-text small { display: none; }
  .search-box input { height: 36px; padding: 0 12px; font-size: 13px; }
  .search-btn { padding: 0 14px; height: 36px; }
  .search-icon { font-size: 16px; }

  /* 主体底部留出 Tab Bar 空间 */
  body { padding-bottom: 60px; }
  .main-content { padding-bottom: 20px; }

  /* 回到顶部按钮 */
  .back-to-top { bottom: 76px; right: 12px; width: 40px; height: 40px; font-size: 18px; }

  /* Hero 区 */
  .home-banner { padding: 24px 0; }
  .home-banner h1 { font-size: 22px; }
  .home-banner p { font-size: 13px; }
  .banner-features { gap: 16px; flex-wrap: wrap; }
  .banner-feature { font-size: 12px; }

  /* Section 标题 */
  .section { padding: 16px 0; }
  .section-header { margin-bottom: 12px; }
  .section-title { font-size: 18px; }
  .section-more { font-size: 12px; }

  /* 商品网格 */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card .product-info { padding: 10px; }
  .product-card .product-name { font-size: 13px; height: 36px; }
  .product-card .price-current { font-size: 16px; }
  .product-card .product-meta { font-size: 11px; }

  /* 详情页 */
  .detail-main { flex-direction: column; padding: 16px; gap: 16px; }
  .detail-img { width: 100%; }
  .detail-name { font-size: 18px; }
  .detail-price { font-size: 28px; }
  .detail-actions { flex-direction: column; gap: 8px; }
  .detail-actions .btn { width: 100%; }
  .detail-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .detail-tab { flex-shrink: 0; padding: 12px 16px; font-size: 13px; }

  /* 列表页 */
  .list-page { flex-direction: column; gap: 12px; padding: 12px 0; }
  .list-sidebar { width: 100%; position: relative; top: 0; }
  .sidebar-title { font-size: 14px; }
  .cat-item { padding: 8px 12px; font-size: 13px; }
  .product-list-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sort-tabs { flex-wrap: wrap; }
  .sort-tab { padding: 4px 12px; font-size: 12px; }

  /* 购物车 */
  .cart-page, .checkout-page { padding: 12px 0; }
  .cart-item { padding: 10px; }
  .cart-item-img { width: 60px; height: 60px; }
  .cart-footer { padding: 12px 16px; }

  /* 用户中心 */
  .user-hero-content { padding: 20px; gap: 16px; }
  .user-avatar-wrapper { width: 72px; height: 72px; }
  .user-name { font-size: 20px; }
  .user-stats { width: 100%; justify-content: space-around; margin-left: 0; }
  .user-tab { padding: 10px 12px; font-size: 12px; min-width: 70px; }
  .tab-icon { font-size: 18px; }
  .user-panel { padding: 16px; }
  .avatar-section { grid-template-columns: 1fr; }
  .avatar-grid { grid-template-columns: repeat(4, 1fr); }
  .form-radio-group { gap: 8px; flex-wrap: wrap; }
  .form-radio { padding: 6px 12px; font-size: 13px; }

  /* 拼团 */
  .groupon-page { padding: 12px 0; }
  .groupon-banner { padding: 20px; }
  .groupon-banner h1 { font-size: 22px; }

  /* Toast */
  .global-toast-container { top: 70px; width: 92%; }

  /* 全局按钮 */
  .btn { padding: 8px 14px; font-size: 13px; }
  .btn-large { padding: 12px 20px; font-size: 14px; }

  /* 表格 */
  .form-row { flex-direction: column; }

  /* 资讯页 */
  .article-card { padding: 14px; }
  .article-card-title { font-size: 15px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card .product-name { font-size: 12px; }
  .product-card .price-current { font-size: 14px; }
  .home-banner h1 { font-size: 20px; }
  .section-title { font-size: 16px; }
  .detail-name { font-size: 16px; }
  .detail-price { font-size: 24px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .groupon-grid, .seckill-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ===== 横屏适配 ===== */
@media (max-width: 900px) and (orientation: landscape) {
  .drawer-menu { max-height: 60vh; }
}

/* ===== 减少动画偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
