/* ============================================
   杭州系扬服饰有限公司 - 全局样式
   ============================================ */
:root {
  --primary: #0a2e5c;        /* 深蓝主色 */
  --primary-light: #14508f;
  --accent: #ff6a00;         /* 活力橙 */
  --accent-dark: #e55f00;
  --success: #07c160;        /* 微信绿 */
  --alipay: #1677ff;         /* 支付宝蓝 */
  --unionpay: #c9151e;       /* 银联红 */
  --text: #222;
  --text-gray: #666;
  --text-light: #999;
  --bg: #f6f7f9;
  --white: #fff;
  --border: #e8e8e8;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(10, 46, 92, .08);
  --shadow-hover: 0 10px 30px rgba(10, 46, 92, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: inherit; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 顶部通栏 ============ */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a:hover { color: var(--accent); }
.topbar .topbar-right span { margin-left: 22px; }

/* ============ 头部导航 ============ */
.header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 800;
}
.logo-text h1 { font-size: 20px; color: var(--primary); font-weight: 800; letter-spacing: 1px; }
.logo-text p { font-size: 11px; color: var(--text-light); letter-spacing: 2px; }

.nav ul { display: flex; gap: 8px; }
.nav a {
  display: block;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: all .25s;
}
.nav a:hover { color: var(--accent); background: #fff4ec; }
.nav a.active { color: var(--accent); background: #fff4ec; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: all .25s;
}
.cart-btn:hover { background: #fff4ec; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 12px; font-weight: 700;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
.header-tel { text-align: right; }
.header-tel .tel-label { font-size: 12px; color: var(--text-light); }
.header-tel .tel-num { font-size: 17px; font-weight: 800; color: var(--accent); }

/* ============ 按钮 ============ */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: all .25s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,106,0,.35); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 15px 40px; font-size: 17px; }
.btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(10,46,92,.92) 0%, rgba(20,80,143,.75) 55%, rgba(20,80,143,.35) 100%),
              url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20sports%20equipment%20store%20interior%20with%20basketballs%20dumbbells%20treadmills%20bright%20energetic%20lighting%20professional%20photography&image_size=landscape_16_9") center/cover;
  color: #fff;
}
.hero-content { max-width: 620px; }
.hero-tag {
  display: inline-block;
  background: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h2 { font-size: 46px; line-height: 1.25; font-weight: 900; margin-bottom: 18px; }
.hero p { font-size: 18px; opacity: .9; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; }
.hero-btns .btn-outline { border-color: #fff; color: #fff; }
.hero-btns .btn-outline:hover { background: #fff; color: var(--primary); }

/* 页面内页小横幅 */
.page-banner {
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-banner h2 { font-size: 34px; font-weight: 900; margin-bottom: 8px; }
.page-banner p { opacity: .85; }
.breadcrumb { font-size: 14px; opacity: .8; margin-top: 10px; }
.breadcrumb a:hover { color: var(--accent); }

/* ============ 通用区块 ============ */
.section { padding: 64px 0; }
.section.bg-white { background: var(--white); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .sub {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-head h3 { font-size: 32px; font-weight: 900; color: var(--primary); margin: 8px 0 10px; }
.section-head p { color: var(--text-gray); }

/* ============ 分类入口 ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.category-card .cat-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  background: #fff4ec;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.category-card h4 { font-size: 17px; color: var(--primary); margin-bottom: 4px; }
.category-card p { font-size: 13px; color: var(--text-light); }

/* ============ 商品卡片 ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.product-tag.hot { background: #e63d3d; }
.product-info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
}
.product-desc { font-size: 13px; color: var(--text-light); margin-bottom: 12px; flex: 1; }
.product-price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.product-price { color: var(--accent); font-size: 22px; font-weight: 900; }
.product-price small { font-size: 13px; font-weight: 600; }
.product-old-price { color: var(--text-light); font-size: 13px; text-decoration: line-through; }
.product-sales { font-size: 12px; color: var(--text-light); }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { padding: 9px 0; font-size: 14px; flex: 1; border-radius: 6px; }
.btn-cart { background: #fff4ec; color: var(--accent); font-weight: 700; }
.btn-cart:hover { background: var(--accent); color: #fff; }
.btn-buy { background: var(--primary); color: #fff; font-weight: 700; }
.btn-buy:hover { background: var(--primary-light); }

/* ============ 优势区 ============ */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.advantage-item .adv-icon { font-size: 42px; margin-bottom: 14px; }
.advantage-item h4 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.advantage-item p { font-size: 14px; color: var(--text-gray); }

/* ============ 新闻卡片 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-date { font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.news-card h4 { font-size: 17px; color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--text-gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ 商品列表页筛选 ============ */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-label { font-weight: 700; color: var(--primary); margin-right: 6px; }
.filter-btn {
  padding: 7px 20px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}
.filter-btn:hover { color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; }
.result-count { margin-left: auto; font-size: 14px; color: var(--text-light); }

/* ============ 商品详情页 ============ */
.detail-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 44px;
}
.detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 1/1;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h2 { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.detail-sub { color: var(--text-gray); font-size: 15px; margin-bottom: 20px; }
.detail-price-box {
  background: linear-gradient(120deg, #fff4ec, #ffe9d9);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.detail-price { color: var(--accent); font-size: 38px; font-weight: 900; }
.detail-price small { font-size: 18px; }
.detail-old-price { color: var(--text-light); text-decoration: line-through; font-size: 16px; }
.detail-sales { margin-left: auto; color: var(--text-gray); font-size: 14px; }
.detail-meta { margin-bottom: 24px; }
.detail-meta .meta-row { display: flex; padding: 9px 0; font-size: 15px; border-bottom: 1px dashed var(--border); }
.meta-row .meta-label { width: 90px; color: var(--text-light); }
.meta-row .meta-value { color: var(--text); font-weight: 600; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.qty-row .meta-label { color: var(--text-light); font-size: 15px; width: 90px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.qty-stepper button {
  width: 40px; height: 40px;
  background: var(--bg);
  font-size: 18px;
  color: var(--text);
}
.qty-stepper button:hover { background: #fff4ec; color: var(--accent); }
.qty-stepper input {
  width: 60px; height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
}
.detail-btns { display: flex; gap: 16px; }
.detail-btns .btn { flex: 1; }

.detail-tabs { margin-top: 36px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.detail-tabs h3 { font-size: 20px; color: var(--primary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.detail-tabs p { color: var(--text-gray); margin-bottom: 14px; font-size: 15px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 12px 16px; font-size: 14px; text-align: left; }
.spec-table th { background: var(--bg); color: var(--primary); width: 140px; }

/* ============ 购物车 ============ */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-items { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-header-row, .cart-item {
  display: grid;
  grid-template-columns: 60px 1fr 130px 140px 110px 60px;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;
}
.cart-header-row { background: var(--bg); font-size: 14px; font-weight: 700; color: var(--text-gray); }
.cart-header-row { text-align: center; }
.cart-header-row span:first-child { text-align: left; }
.cart-item { border-top: 1px solid var(--border); }
.cart-item-check { width: 18px; height: 18px; accent-color: var(--accent); }
.cart-product { display: flex; gap: 14px; align-items: center; }
.cart-product img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.cart-product-name { font-size: 15px; font-weight: 600; }
.cart-product-name:hover { color: var(--accent); }
.cart-price { text-align: center; color: var(--accent); font-weight: 800; font-size: 16px; }
.cart-qty { display: flex; justify-content: center; }
.cart-qty .qty-stepper button { width: 32px; height: 32px; }
.cart-qty .qty-stepper input { width: 48px; height: 32px; }
.cart-subtotal { text-align: center; font-weight: 800; color: var(--text); }
.cart-remove { text-align: center; background: none; font-size: 20px; color: var(--text-light); }
.cart-remove:hover { color: #e63d3d; }
.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  position: sticky;
  top: 100px;
}
.cart-summary h3 { font-size: 19px; color: var(--primary); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 15px; color: var(--text-gray); }
.summary-row.total { font-size: 20px; font-weight: 900; color: var(--accent); border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.summary-row.total span:last-child { font-size: 28px; }
.cart-summary .btn { margin-top: 8px; }
.cart-tip { font-size: 13px; color: var(--text-light); margin-top: 14px; text-align: center; }
.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart .empty-icon { font-size: 64px; margin-bottom: 18px; }
.empty-cart h3 { font-size: 20px; color: var(--text-gray); margin-bottom: 20px; }

/* ============ 结算页 ============ */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.checkout-panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-bottom: 24px; }
.checkout-panel h3 { font-size: 18px; color: var(--primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.checkout-panel h3 .step-num {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-gray); }
.form-group label .req { color: #e63d3d; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  transition: border .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }

.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
}
.pay-method:hover { border-color: var(--accent); }
.pay-method.selected { border-color: var(--accent); background: #fff9f5; }
.pay-method input { width: 18px; height: 18px; accent-color: var(--accent); }
.pay-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  font-weight: 800;
}
.pay-icon.wechat { background: var(--success); }
.pay-icon.alipay { background: var(--alipay); }
.pay-icon.unionpay { background: var(--unionpay); }
.pay-icon.cod { background: var(--primary); }
.pay-method .pay-name { font-weight: 700; font-size: 16px; }
.pay-method .pay-desc { font-size: 13px; color: var(--text-light); }
.pay-method .pay-check { margin-left: auto; color: var(--accent); font-weight: 800; display: none; }
.pay-method.selected .pay-check { display: block; }

.order-summary { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 100px; }
.order-summary h3 { font-size: 19px; color: var(--primary); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.order-goods { max-height: 260px; overflow-y: auto; margin-bottom: 16px; }
.order-goods-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); align-items: center; }
.order-goods-item img { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; }
.order-goods-item .og-name { font-size: 14px; flex: 1; }
.order-goods-item .og-qty { font-size: 13px; color: var(--text-light); }
.order-goods-item .og-price { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ============ 支付弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-mask.show { display: flex; }
.modal {
  background: var(--white);
  border-radius: 14px;
  width: 400px;
  max-width: 92vw;
  padding: 34px 30px;
  text-align: center;
  animation: pop .3s ease;
}
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal h3 { font-size: 21px; margin-bottom: 6px; color: var(--text); }
.modal .modal-pay-name { color: var(--text-gray); font-size: 14px; margin-bottom: 20px; }
.qr-box {
  width: 210px; height: 210px;
  margin: 0 auto 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background:
    repeating-linear-gradient(0deg, #222 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, #222 0 6px, transparent 6px 12px);
  background-blend-mode: multiply;
  position: relative;
}
.qr-box::after {
  content: "扫码支付";
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92);
  font-weight: 800;
  color: var(--primary);
  font-size: 18px;
}
.qr-amount { font-size: 30px; font-weight: 900; color: var(--accent); margin-bottom: 6px; }
.modal-tip { font-size: 13px; color: var(--text-light); margin-bottom: 22px; }
.modal .btn { margin-bottom: 10px; }
.modal .modal-cancel { background: none; color: var(--text-light); font-size: 14px; text-decoration: underline; }

/* 支付成功 */
.success-box { text-align: center; padding: 50px 20px; }
.success-icon {
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 44px;
  display: flex; align-items: center; justify-content: center;
}
.success-box h3 { font-size: 26px; color: var(--text); margin-bottom: 10px; }
.success-box p { color: var(--text-gray); margin-bottom: 8px; }
.order-no { font-size: 16px; font-weight: 700; color: var(--primary); margin: 14px 0 26px; }
.success-btns { display: flex; gap: 14px; justify-content: center; }

/* ============ 关于我们 ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h3 { font-size: 28px; color: var(--primary); font-weight: 900; margin-bottom: 18px; }
.about-text p { color: var(--text-gray); margin-bottom: 14px; font-size: 15px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.stat-item { text-align: center; background: var(--white); border-radius: var(--radius); padding: 30px 10px; box-shadow: var(--shadow); }
.stat-num { font-size: 36px; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--text-gray); margin-top: 4px; }

/* ============ 新闻列表 ============ */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-list-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  transition: all .3s;
}
.news-list-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-list-item img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.news-list-body { padding: 26px 30px; }
.news-list-body .news-date { margin-bottom: 8px; }
.news-list-body h4 { font-size: 20px; color: var(--text); margin-bottom: 10px; }
.news-list-body p { color: var(--text-gray); font-size: 14px; margin-bottom: 16px; }
.news-more { color: var(--accent); font-weight: 700; font-size: 14px; }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.contact-info-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ci-icon {
  width: 48px; height: 48px;
  background: #fff4ec;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 16px; color: var(--primary); margin-bottom: 3px; }
.contact-info-item p { color: var(--text-gray); font-size: 14px; }
.contact-form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.map-placeholder {
  margin-top: 24px;
  background: linear-gradient(120deg, #e8f0fa, #d4e4f7);
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  gap: 8px;
}
.map-placeholder .map-icon { font-size: 40px; }

/* ============ 页脚 ============ */
.footer { background: #08234a; color: rgba(255,255,255,.75); padding: 56px 0 0; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-about p { font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { font-size: 14px; margin-bottom: 12px; display: flex; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ============ Toast 提示 ============ */
.toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(0,0,0,.82);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-img { max-width: 440px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .order-summary { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-item img { min-height: 200px; max-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-tel { display: none; }
  .hero h2 { font-size: 34px; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .logo-text h1 { font-size: 16px; }
  .cart-header-row { display: none; }
  .cart-item { grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; }
  .cart-item .cart-price, .cart-item .cart-subtotal { display: none; }
  .detail-wrap, .detail-tabs { padding: 20px; }
  .hero h2 { font-size: 27px; }
  .topbar { display: none; }
}
