/* 酒界 1:1 仿制 maijiuwang.com 首页样式 */
:root {
  --wine-red: #b22222;
  --wine-red-dark: #8b1a1a;
  --wine-gold: #d4af37;
  --wine-gold-light: #f5e6b0;
  --light-bg: #fff9f5;
  --card-bg: #ffffff;
  --text-main: #1e1a15;
  --text-sub: #666666;
  --text-muted: #999999;
  --line: #f0e6df;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 35px -12px rgba(178,34,34,0.25);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Serif SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.text-red { color: var(--wine-red) !important; }
.text-gold { color: var(--wine-gold) !important; }
.bg-red { background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-red-dark) 100%); }
.btn-red {
  background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-red-dark) 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 40px;
  padding: 10px 32px;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 4px 12px rgba(178,34,34,0.2);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(178,34,34,0.3); color: white; }
.btn-gold {
  background: linear-gradient(135deg, var(--wine-gold) 0%, #c59d2e 100%);
  color: #1e1a15;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  padding: 12px 36px;
  transition: all 0.3s;
  box-shadow: 0 6px 18px rgba(212,175,55,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(212,175,55,0.45); color: #1e1a15; }
.jj-container { max-width: 1320px; margin: 0 auto; padding-left: 15px; padding-right: 15px; }

/* 顶部栏 */
.top-bar {
  background: linear-gradient(90deg, #fff8f2 0%, #fff4ec 100%);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(178,34,34,0.08);
  color: var(--text-sub);
}
.top-greeting { color: var(--wine-red); font-weight: 500; }
.top-links a { color: var(--text-sub); margin: 0 8px; transition: color 0.2s; }
.top-links a:hover { color: var(--wine-red); }
.top-links .divider { color: #ddd; }

/* 搜索头部 */
.header-main { background: #fff; padding: 20px 0; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { flex: none; display: flex; align-items: center; }
.logo img { height: 58px; width: auto; display: block; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.logo:hover img { transform: scale(1.03); }
.header-search { flex: 1; max-width: 650px; }
.search-container {
  border: 2px solid var(--wine-red);
  border-radius: 60px;
  overflow: hidden;
  background: white;
  display: flex;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.search-container:focus-within { box-shadow: 0 0 0 3px rgba(178,34,34,0.15); }
.search-category-select,
.search-container select,
.search-container select.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none !important;
  background: #fef5f0;
  padding: 12px 28px 12px 16px;
  border-radius: 60px 0 0 60px;
  font-weight: 500;
  width: 110px;
  color: var(--wine-red);
  outline: none;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b22222' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.search-input {
  border: none;
  padding: 12px 16px;
  flex: 1;
  outline: none;
  font-size: 0.95rem;
}
.ai-icon-link {
  font-weight: 600; color: var(--wine-red); font-size: 0.95rem;
  padding: 0 12px; align-self: center; cursor: pointer; flex: none;
  border-left: 1px solid #f0e6e0; transition: color 0.2s;
}
.ai-icon-link:hover { color: #7d1414; }
.search-btn {
  background: var(--wine-red);
  border: none;
  color: white;
  padding: 0 26px;
  border-radius: 0 60px 60px 0;
  font-weight: 600;
  transition: all 0.2s;
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.search-btn:hover { background: var(--wine-red-dark); }
.hot-keyword { font-size: 0.8rem; color: var(--text-sub); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.notice-bar {
  background: linear-gradient(90deg, #fff5f0, #fffaf2);
  border-top: 1px solid rgba(178,34,34,0.08);
  border-bottom: 1px solid rgba(178,34,34,0.08);
  padding: 9px 0; font-size: 0.85rem;
}
.notice-bar .jj-container { display: flex; align-items: center; gap: 10px; }
.notice-bar i { color: var(--wine-red); }
.notice-bar a { color: #6a5a52; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-bar a:hover { color: var(--wine-red); }
.hot-keyword a { color: var(--text-sub); margin-right: 14px; transition: color 0.2s; }
.hot-keyword a:hover { color: var(--wine-red); }
.header-qrcode { flex: none; }
.qr-mini { text-align: center; }
.qr-mini img { width: 70px; height: 70px; border-radius: 6px; object-fit: cover; border: 1px solid var(--line); }
.qr-mini span { display: block; font-size: 0.75rem; color: var(--text-sub); margin-top: 4px; }

/* 主导航 */
.nav-main {
  background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-red-dark) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(178,34,34,0.25);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 50px; }
.nav-category {
  background: rgba(0,0,0,0.12);
  padding: 0 24px;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
}
.nav-menu { display: flex; list-style: none; gap: 0; flex: 1; }
.nav-menu li { position: relative; }
.nav-menu li a {
  display: block;
  padding: 0 22px;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 50px;
  transition: all 0.2s;
}
.nav-menu li a:hover, .nav-menu li.active a { background: rgba(0,0,0,0.1); color: #fff; }
.nav-phone { font-weight: 600; font-size: 0.95rem; }

/* Hero */
.hero-section { padding: 20px 0; }
.hero-row { display: flex; gap: 20px; align-items: stretch; }
.hero-category { width: 240px; flex: none; }
.category-sidebar {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.category-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  flex: 1;
}
.category-item:last-child { border-bottom: none; }
.category-item:hover { background: #fef5f0; color: var(--wine-red); }
.category-icon { font-size: 1.1rem; width: 24px; text-align: center; color: var(--wine-red); }
.category-name { flex: 1; color: var(--text-main); }
.category-item:hover .category-name { color: var(--wine-red); }
.hero-banner { flex: 1; min-width: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); position: relative; background: linear-gradient(135deg, #8b1a1a 0%, #b22222 100%); }
.banner-link { display: block; width: 100%; height: 100%; position: relative; }
.banner-link.banner-gradient { background: linear-gradient(135deg, #8b1a1a 0%, #b22222 40%, #d4af37 100%); }
.banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(139,26,26,0.75) 0%, rgba(178,34,34,0.4) 55%, rgba(0,0,0,0) 100%);
}
.banner-caption {
  position: absolute;
  left: 50px;
  bottom: 50%;
  transform: translateY(50%);
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  max-width: 460px;
}
.banner-caption h2 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; font-family: 'Noto Serif SC', serif; letter-spacing: 2px; }
.banner-caption p { font-size: 1.15rem; opacity: 0.95; margin-bottom: 24px; }
.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wine-gold);
  color: #1e1a15;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: all 0.2s;
}
.banner-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.35); color: #1e1a15; }
.hero-side { width: 240px; flex: none; display: flex; flex-direction: column; gap: 15px; }
.side-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 20px;
  text-align: center;
}
.side-card-title { font-weight: 700; color: var(--wine-red); margin-bottom: 8px; font-size: 1.05rem; }
.side-card p { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 14px; }
.qr-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 10px; margin: 0 auto 10px; border: 1px solid var(--line); }
.qr-card span { font-size: 0.85rem; color: var(--text-sub); }

/* 通用 Section */
.section { padding: 40px 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 { font-size: 1.45rem; font-weight: 700; color: var(--text-main); margin: 0; }
.section-header h2 i { margin-right: 8px; }
.section-header .more { color: var(--text-sub); font-size: 0.9rem; transition: color 0.2s; }
.section-header .more:hover { color: var(--wine-red); }

/* 产品卡片 */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  height: 100%;
  border: 1px solid var(--line);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-img { position: relative; padding: 16px; height: 220px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff 0%, #fef9f6 100%); }
.product-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.3s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wine-red);
  color: white;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.product-info { padding: 16px; }
.product-brand { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 6px; }
.product-title { font-size: 0.95rem; font-weight: 600; color: var(--text-main); margin-bottom: 10px; line-height: 1.4; height: 2.8em; overflow: hidden; }
.product-meta { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 10px; }
.price-compare { display: flex; flex-wrap: nowrap; gap: 4px; margin-bottom: 10px; overflow: hidden; }
.price-item { font-size: 0.7rem; padding: 3px 6px; border-radius: 4px; background: #f7f7f7; color: var(--text-sub); white-space: nowrap; }
.price-item.jd { background: #e3f2fd; color: #1976d2; }
.price-item.tb { background: #fff3e0; color: #ef6c00; }
.price-item.pdd { background: #fce4ec; color: #c2185b; }
.lowest-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lowest-badge { background: linear-gradient(135deg, var(--wine-gold-light) 0%, var(--wine-gold) 100%); color: #4a3b00; font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 20px; white-space: nowrap; }
.btn-compare-sm {
  background: var(--wine-red);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 甄选佳酿 */
.self-section { background: white; }
.premium-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--line);
  height: 100%;
}
.premium-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.premium-img { position: relative; height: 180px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff 0%, #fef9f6 100%); overflow: hidden; }
.premium-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.3s; }
.premium-card:hover .premium-img img { transform: scale(1.05); }
.premium-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--wine-gold);
  color: #1e1a15;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
}
.premium-info { padding: 14px; }
.premium-brand { font-size: 0.8rem; color: var(--text-sub); margin-bottom: 5px; }
.premium-title { font-size: 0.9rem; font-weight: 600; height: 2.6em; overflow: hidden; margin-bottom: 8px; }
.premium-meta { font-size: 0.8rem; color: var(--text-sub); margin-bottom: 10px; }
.premium-price-box { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.premium-current { color: var(--wine-red); font-size: 1.15rem; font-weight: 800; }
.premium-old { color: var(--text-muted); font-size: 0.8rem; text-decoration: line-through; }
.btn-premium {
  width: 100%;
  background: var(--wine-red);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.btn-premium:hover { background: var(--wine-red-dark); }

/* 品牌馆 */
.brand-section { background: #fff; }
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brand-cell {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.brand-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--wine-red); }
.brand-cell img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; margin: 0 auto 10px; }
.brand-initial {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-red-dark) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; margin: 0 auto 10px;
  font-family: 'Noto Serif SC', serif;
}
.brand-cell span { font-size: 0.9rem; font-weight: 600; color: var(--text-main); }

/* 行情 */
.market-section { background: linear-gradient(180deg, #fff 0%, #fff8f5 100%); }
.market-row { display: flex; gap: 24px; }
.market-table-wrap { flex: 1; background: white; border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--line); }
.market-table { width: 100%; margin: 0; }
.market-table th { background: #fef5f0; color: var(--wine-red); font-weight: 600; padding: 14px 18px; font-size: 0.9rem; }
.market-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.9rem; vertical-align: middle; }
.market-table tr:last-child td { border-bottom: none; }
.market-rank {
  width: 320px;
  flex: none;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
  border: 1px solid var(--line);
}
.market-rank h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; color: var(--wine-red); }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.rank-item:last-child { border-bottom: none; }
.rank-num {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--wine-red) 0%, var(--wine-red-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.rank-name { flex: 1; font-weight: 500; }
.rank-rate { font-weight: 700; }

/* 百科卡片 */
.encyclopedia-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all 0.3s;
  height: 100%;
}
.encyclopedia-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.encyclopedia-img { width: 100%; height: 180px; object-fit: cover; }
.encyclopedia-content { padding: 18px; }
.encyclopedia-category {
  display: inline-block;
  background: #fef5f0;
  color: var(--wine-red);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.encyclopedia-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.encyclopedia-title a:hover { color: var(--wine-red); }
.encyclopedia-summary { font-size: 0.85rem; color: var(--text-sub); line-height: 1.6; height: 2.7em; overflow: hidden; margin-bottom: 12px; }
.encyclopedia-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-sub); }
.hot-badge { color: var(--wine-red); font-weight: 600; }

/* 服务承诺 */
.promise-section { background: white; padding: 30px 0; border-top: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; text-align: center; }
.promise-item { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-sub); }
.promise-item i { font-size: 1.6rem; color: var(--wine-red); }
.promise-item span { font-size: 0.9rem; font-weight: 500; }

/* VIP CTA */
.vip-cta {
  background: linear-gradient(135deg, #1e1a15 0%, #3d2e2a 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.vip-cta h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; font-family: 'Noto Serif SC', serif; }
.vip-cta p { opacity: 0.85; margin-bottom: 24px; font-size: 1.05rem; }

/* 底部 */
.footer-main { background: #1e1a15; color: rgba(255,255,255,0.75); padding: 50px 0 20px; }
.footer-inner { display: flex; gap: 40px; }
.footer-brand { width: 320px; flex: none; }
.footer-logo-wrap { background: #fff; border-radius: 10px; padding: 6px 12px; display: inline-block; margin-bottom: 16px; }
.footer-logo { height: 42px; width: auto; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links { flex: 1; }
.footer-links h4 { color: white; font-size: 1rem; margin-bottom: 18px; font-weight: 700; }
.footer-links a { display: block; color: rgba(255,255,255,0.65); margin-bottom: 10px; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--wine-gold); }
.footer-qr { text-align: center; }
.footer-qr img { width: 100px; height: 100px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.footer-qr span { display: block; font-size: 0.85rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* 后台登录 */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--wine-red-dark) 0%, var(--wine-red) 100%), url('/images/login-bg.jpg') center/cover no-repeat; }
.login-box { background: white; border-radius: 24px; padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-box h2 { text-align: center; margin-bottom: 28px; color: var(--wine-red); font-weight: 700; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; outline: none; font-size: 0.95rem; }
.form-control:focus { border-color: var(--wine-red); box-shadow: 0 0 0 3px rgba(178,34,34,0.1); }
.btn-submit { width: 100%; background: var(--wine-red); color: white; border: none; border-radius: 12px; padding: 12px; font-weight: 700; font-size: 1rem; cursor: pointer; }
.btn-submit:hover { background: var(--wine-red-dark); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-danger { background: #ffebee; color: #b71c1c; }

/* 后台管理 */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px;
  background: #1e1a15;
  color: white;
  padding: 24px 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .brand { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.admin-sidebar .brand h3 { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--wine-gold); }
.admin-sidebar nav a {
  display: block;
  padding: 12px 24px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  transition: all 0.2s;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(178,34,34,0.25); color: white; }
.admin-main { flex: 1; margin-left: 220px; padding: 30px; background: var(--light-bg); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-header h1 { font-size: 1.4rem; margin: 0; }
.card { background: white; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 24px; margin-bottom: 24px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.9rem; }
.table th { background: #fef5f0; color: var(--wine-red); font-weight: 600; }
.btn-sm { padding: 6px 14px; border-radius: 8px; font-size: 0.8rem; border: none; cursor: pointer; }
.btn-edit { background: var(--wine-gold-light); color: #4a3b00; }
.btn-del { background: #ffebee; color: #b71c1c; }
.btn-add { background: var(--wine-red); color: white; margin-bottom: 16px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: none; align-items: center; justify-content: center; z-index: 1050; }
.modal-backdrop.show { display: flex; }
.modal { background: white; border-radius: 20px; width: 90%; max-width: 700px; max-height: 90vh; overflow-y: auto; padding: 28px; }
.modal h3 { margin-top: 0; margin-bottom: 20px; color: var(--wine-red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== 广告区块 ===== */
.ad-section { padding: 10px 0 30px; }
.ad-block {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(120deg, #fff5f0 0%, #ffffff 55%, #fffaf2 100%);
  border: 1px solid rgba(178,34,34,0.12);
  border-radius: 22px; padding: 22px 26px; height: 100%;
  position: relative; overflow: hidden; transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.ad-block::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(178,34,34,0.10), transparent 70%);
}
.ad-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(178,34,34,0.28); }
.ad-block-icon {
  width: 58px; height: 58px; flex: none; border-radius: 18px;
  background: linear-gradient(135deg, var(--wine-red), #d9453f);
  color: white; font-size: 1.7rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(178,34,34,0.28);
}
.ad-block-text { flex: 1; min-width: 0; }
.ad-block-text h4 { font-size: 1.2rem; font-weight: 800; color: var(--text-main); margin: 0 0 4px; }
.ad-block-text p { font-size: 0.88rem; color: var(--text-sub); margin: 0; }
.ad-block-btn {
  flex: none; background: var(--wine-red); color: white; font-size: 0.85rem; font-weight: 600;
  padding: 9px 22px; border-radius: 30px; transition: all 0.25s; position: relative; z-index: 1;
}
.ad-block:hover .ad-block-btn { background: #9a1d1d; }

/* ===== 酒友捡漏 ===== */
.deal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.deal-card {
  background: white; border-radius: 18px; overflow: hidden; display: block;
  border: 1px solid var(--line); transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.deal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(178,34,34,0.25); }
.deal-img { height: 150px; background: #f7f7f7; overflow: hidden; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.deal-card:hover .deal-img img { transform: scale(1.06); }
.deal-body { padding: 12px 14px 14px; }
.deal-title {
  font-size: 0.9rem; font-weight: 700; color: var(--text-main); margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; min-height: 2.5em;
}
.deal-desc {
  font-size: 0.76rem; color: var(--text-sub); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  white-space: pre-line; min-height: 3.4em;
}
.deal-foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.deal-plat { background: #ffebee; color: var(--wine-red); font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.deal-tag { color: var(--text3, #999); font-size: 0.7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ===== 百科热门榜 ===== */
.hot-panel { background: white; border-radius: 22px; padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; }
.hot-panel-title {
  font-size: 1.05rem; font-weight: 700; color: var(--wine-red);
  border-left: 4px solid var(--wine-red); padding-left: 12px; margin-bottom: 14px;
}
.hot-panel-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #f0eae5; }
.hot-panel-item:last-of-type { border-bottom: none; }
.hot-panel-item a { font-size: 0.86rem; color: var(--text-main); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s; }
.hot-panel-item a:hover { color: var(--wine-red); }
.hot-rank {
  width: 20px; height: 20px; flex: none; border-radius: 5px; background: #f2f2f2; color: #999;
  font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.hot-rank.top { background: linear-gradient(135deg, var(--wine-red), #d9453f); color: white; }
.hot-panel-cta {
  margin-top: 16px; background: linear-gradient(120deg, #fff5f0, #fffaf2);
  border: 1px dashed rgba(178,34,34,0.25); border-radius: 14px; padding: 14px;
  font-size: 0.84rem; color: var(--text-sub); display: flex; flex-direction: column; gap: 10px;
}
.hot-panel-cta i { color: var(--wine-red); }
.hot-panel-cta strong { color: var(--wine-red); }
.hot-panel-btn {
  background: var(--wine-red); color: white; text-align: center; border-radius: 24px;
  padding: 8px 0; font-size: 0.84rem; font-weight: 600; transition: background 0.25s;
}
.hot-panel-btn:hover { background: #9a1d1d; }

/* ===== 通用内页 ===== */
.page-main { padding: 24px 0 50px; }
.crumb { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--text-sub); }
.crumb a:hover { color: var(--wine-red); }
.crumb span:last-child { color: var(--text-main); }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: 1.7rem; font-weight: 800; color: var(--text-main); margin: 0 0 6px; font-family: 'Noto Serif SC', serif; }
.page-head p { color: var(--text-sub); font-size: 0.92rem; margin: 0; }
.empty-box { text-align: center; padding: 80px 0; color: var(--text3, #aaa); }
.empty-box i { font-size: 3rem; display: block; margin-bottom: 12px; }

/* ===== 文章详情 ===== */
.art-box { background: white; border-radius: 22px; padding: 34px 38px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.art-title { font-size: 1.7rem; font-weight: 800; color: var(--text-main); line-height: 1.45; margin: 0 0 16px; font-family: 'Noto Serif SC', serif; }
.art-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-sub); font-size: 0.84rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.art-summary { background: #fff8f5; border-left: 4px solid var(--wine-red); border-radius: 0 12px 12px 0; padding: 16px 18px; color: #6a5a52; font-size: 0.92rem; line-height: 1.8; margin-bottom: 24px; }
.art-content { color: #3d3833; font-size: 1rem; line-height: 1.95; word-break: break-word; }
.art-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-main); margin: 28px 0 12px; font-family: 'Noto Serif SC', serif; }
.art-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--wine-red); margin: 22px 0 10px; }
.art-content p { margin: 0 0 16px; }
.art-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 16px 0; display: block; }
.art-content ul, .art-content ol { padding-left: 22px; margin-bottom: 16px; }
.art-content li { margin-bottom: 8px; }
.art-content a { color: var(--wine-red); }
.art-related { margin-top: 34px; }
.art-related h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-main); border-left: 4px solid var(--wine-red); padding-left: 12px; margin-bottom: 16px; }
.rel-card {
  display: block; background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); transition: all 0.3s;
}
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rel-card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.rel-card span { display: block; padding: 10px 12px; font-size: 0.85rem; color: var(--text-main); line-height: 1.5; }

/* ===== 商品详情 ===== */
.pd-main { display: flex; gap: 34px; background: white; border-radius: 24px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pd-gallery { width: 380px; flex: none; }
.pd-main-img { width: 100%; border-radius: 18px; object-fit: cover; aspect-ratio: 1/1; background: #f7f7f7; }
.pd-info { flex: 1; min-width: 0; }
.pd-name { font-size: 1.5rem; font-weight: 800; color: var(--text-main); line-height: 1.5; margin: 0 0 14px; font-family: 'Noto Serif SC', serif; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pd-tag { background: #fef5f0; color: var(--wine-red); font-size: 0.78rem; padding: 4px 12px; border-radius: 20px; }
.pd-price-block { background: linear-gradient(120deg, #fff5f0, #fffaf2); border-radius: 16px; padding: 18px 20px; margin-bottom: 20px; }
.pd-price-row { display: flex; align-items: center; gap: 14px; padding: 5px 0; }
.pd-plat { font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; min-width: 60px; text-align: center; }
.pd-plat.jd { background: #e3f2fd; color: #1976d2; }
.pd-plat.tb { background: #fff3e0; color: #ef6c00; }
.pd-plat.pdd { background: #fce4ec; color: #c2185b; }
.pd-plat.self { background: rgba(178,34,34,0.1); color: var(--wine-red); }
.pd-price { font-size: 1.15rem; font-weight: 700; color: var(--wine-red); }
.pd-price.big { font-size: 1.7rem; }
.pd-old { color: #bbb; font-size: 0.9rem; margin-left: 8px; }
.pd-desc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.pd-desc-grid > div { display: flex; flex-direction: column; gap: 4px; }
.pd-desc-grid label { font-size: 0.76rem; color: var(--text3, #aaa); }
.pd-desc-grid span { font-size: 0.9rem; color: var(--text-main); font-weight: 500; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-btn {
  padding: 13px 30px; border-radius: 30px; font-size: 0.92rem; font-weight: 600;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.pd-btn.primary { background: var(--wine-red); color: white; box-shadow: 0 8px 18px rgba(178,34,34,0.25); }
.pd-btn.primary:hover { background: #9a1d1d; transform: translateY(-2px); }
.pd-btn.ghost { background: #fff; color: var(--wine-red); border: 1px solid rgba(178,34,34,0.35); }
.pd-btn.ghost:hover { background: #fef5f0; }
.pd-section { margin-top: 34px; background: white; border-radius: 22px; padding: 26px 30px; border: 1px solid var(--line); }
.pd-section h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-main); border-left: 4px solid var(--wine-red); padding-left: 12px; margin: 0 0 18px; }
.pd-desc-text { color: #3d3833; font-size: 0.94rem; line-height: 1.95; white-space: pre-line; }

/* 响应式 */
@media (max-width: 1200px) {
  .hero-row { flex-wrap: wrap; }
  .hero-category { width: 100%; order: 2; }
  .category-sidebar { flex-direction: row; flex-wrap: wrap; }
  .category-item { flex: 1 1 30%; min-width: 140px; border-bottom: none; border-right: 1px solid var(--line); }
  .hero-banner { width: 100%; order: 1; height: 340px; margin-bottom: 16px; }
  .hero-side { width: 100%; order: 3; flex-direction: row; }
  .side-card { flex: 1; }
  .deal-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .header-inner { flex-wrap: wrap; }
  .header-search { order: 3; max-width: 100%; width: 100%; margin-top: 16px; }
  .market-row { flex-direction: column; }
  .market-rank { width: 100%; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .promise-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-wrap: wrap; }
  .footer-brand { width: 100%; }
  .deal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-main { padding: 14px 0; }
  .logo img { height: 40px; }
  .search-category-select { width: 80px; padding: 10px; font-size: 0.8rem; }
  .search-input { padding: 10px; font-size: 0.85rem; }
  .search-btn { padding: 0 18px; }
  .header-qrcode { display: none; }
  .nav-inner { overflow-x: auto; }
  .nav-menu { flex: none; }
  .nav-menu li a { padding: 0 14px; font-size: 0.85rem; }
  .nav-category { display: none; }
  .hero-banner { height: 220px; }
  .banner-caption { left: 20px; bottom: 20px; }
  .banner-caption h2 { font-size: 1.4rem; }
  .category-item { flex: 1 1 45%; padding: 10px 12px; min-height: auto; }
  .hero-side { flex-direction: column; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-cell { padding: 12px 6px; }
  .product-img { height: 180px; }
  .section { padding: 28px 0; }
  .section-header h2 { font-size: 1.2rem; }
  .encyclopedia-img { height: 150px; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vip-cta { padding: 40px 0; }
  .vip-cta h2 { font-size: 1.5rem; }
  .admin-sidebar { width: 100%; position: relative; height: auto; }
  .admin-main { margin-left: 0; }
  .admin-layout { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-img { height: 130px; }
  .ad-block { padding: 16px 18px; gap: 12px; }
  .ad-block-icon { width: 46px; height: 46px; font-size: 1.3rem; }
  .ad-block-text h4 { font-size: 1.05rem; }
  .ad-block-btn { padding: 7px 16px; font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .product-img { height: 160px; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .deal-img { height: 112px; }
  .deal-body { padding: 10px; }
  .deal-title { font-size: 0.82rem; }
  .ad-block { flex-wrap: wrap; }
  .ad-block-btn { width: 100%; text-align: center; }
}

/* ===== 内页响应式 ===== */
@media (max-width: 991px) {
  .pd-main { flex-direction: column; gap: 22px; padding: 20px; }
  .pd-gallery { width: 100%; }
  .art-box { padding: 26px 22px; }
}
@media (max-width: 768px) {
  .page-head h1 { font-size: 1.3rem; }
  .art-title { font-size: 1.35rem; }
  .art-box { padding: 22px 18px; border-radius: 18px; }
  .pd-name { font-size: 1.2rem; }
  .pd-desc-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-price.big { font-size: 1.4rem; }
  .pd-section { padding: 20px 18px; }
  .pd-btn { flex: 1; justify-content: center; }
}

/* ===== 服务栏目 ===== */
.svc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 10px; }
.svc-step {
  background: white; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 18px; position: relative; transition: all 0.3s;
}
.svc-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(178,34,34,0.22); }
.svc-num {
  width: 34px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--wine-red), #d9453f); color: #fff; font-weight: 800;
  margin-bottom: 12px; box-shadow: 0 6px 14px rgba(178,34,34,0.24);
}
.svc-step h4 { font-size: 1rem; font-weight: 700; color: var(--text-main); margin: 0 0 6px; }
.svc-step p { font-size: 0.83rem; color: var(--text-sub); margin: 0; line-height: 1.65; }
.svc-box { background: white; border-radius: 22px; padding: 26px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.svc-box h3 { font-size: 1.12rem; font-weight: 700; color: var(--text-main); border-left: 4px solid var(--wine-red); padding-left: 12px; margin: 0 0 20px; }
.svc-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #f0eae5; }
.svc-item:last-child { border-bottom: none; padding-bottom: 0; }
.svc-item i { font-size: 1.4rem; color: var(--wine-red); flex: none; margin-top: 2px; }
.svc-item h5 { font-size: 0.96rem; font-weight: 700; color: var(--text-main); margin: 0 0 5px; }
.svc-item p { font-size: 0.86rem; color: var(--text-sub); margin: 0; line-height: 1.7; }
.svc-faq { padding: 14px 0; border-bottom: 1px dashed #f0eae5; }
.svc-faq:last-child { border-bottom: none; padding-bottom: 0; }
.svc-faq h5 { font-size: 0.94rem; font-weight: 700; color: var(--text-main); margin: 0 0 7px; display: flex; gap: 8px; align-items: flex-start; }
.svc-faq h5 i { color: var(--wine-red); margin-top: 2px; flex: none; }
.svc-faq p { font-size: 0.86rem; color: var(--text-sub); margin: 0 0 0 24px; line-height: 1.75; }
.svc-side {
  background: linear-gradient(150deg, #2b1a1a 0%, #4a1f1f 60%, #6b2323 100%);
  border-radius: 22px; padding: 26px 24px; color: #fff;
}
.svc-side h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #fff; }
.svc-side p { font-size: 0.86rem; color: rgba(255,255,255,0.72); margin-bottom: 18px; line-height: 1.7; }
.svc-contact { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #f3d9a4; padding: 7px 0; }
.svc-contact i { color: #f3d9a4; }
.svc-side .pd-btn.ghost { background: transparent; color: #f3d9a4; border-color: rgba(243,217,164,0.45); }
.svc-side .pd-btn.ghost:hover { background: rgba(243,217,164,0.12); }

/* ===== 行情中心 ===== */
.idx-card { background: white; border-radius: 18px; padding: 18px 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; transition: all 0.3s; }
.idx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.idx-name { font-size: 0.9rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.idx-price { font-size: 1.5rem; font-weight: 800; color: var(--wine-red); line-height: 1.2; }
.idx-change { font-size: 0.85rem; font-weight: 700; margin: 6px 0 8px; display: inline-flex; align-items: center; gap: 5px; }
.idx-change.up { color: #c62828; }
.idx-change.down { color: #2e7d32; }
.idx-desc { font-size: 0.78rem; color: var(--text-sub); line-height: 1.6; min-height: 2.4em; }
.idx-time { font-size: 0.72rem; color: var(--text3, #aaa); margin-top: 8px; display: flex; gap: 5px; align-items: center; }
.c-up { color: #c62828; font-weight: 700; }
.c-down { color: #2e7d32; font-weight: 700; }

@media (max-width: 991px) {
  .svc-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .svc-flow { grid-template-columns: 1fr; }
  .svc-box { padding: 20px 18px; }
}

/* ===== 买酒自营列表页（仿 mall）===== */
.mall-page { padding-top: 20px; }
.mall-crumb { align-items: center; gap: 10px; }
.mall-crumb em.crumb-sep { flex: 1; border-top: 1px dashed var(--line); min-width: 20px; }
.crumb-extra { color: var(--wine-red) !important; font-weight: 500; white-space: nowrap; }
.crumb-extra i { margin-right: 3px; }

.filter-card {
  background: #fff; border-radius: 20px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); padding: 20px 24px 8px; margin-bottom: 22px;
}
.filter-card-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.filter-card-head h5 { font-size: 1.05rem; font-weight: 700; color: var(--text-main); margin: 0; }
.filter-card-head h5 i { color: var(--wine-red); margin-right: 6px; }
.filter-reset {
  background: #fef5f0; color: var(--wine-red); border: 1px solid rgba(178,34,34,0.2);
  border-radius: 22px; padding: 6px 16px; font-size: 0.82rem; transition: all 0.22s;
}
.filter-reset:hover { background: var(--wine-red); color: #fff; }

.filter-row { display: flex; gap: 16px; padding: 9px 0; border-top: 1px dashed #f4ece7; }
.filter-row:first-of-type { border-top: none; }
.filter-label {
  flex: none; width: 76px; font-size: 0.85rem; font-weight: 600; color: var(--text-sub);
  padding-top: 4px; white-space: nowrap;
}
.filter-label i { color: var(--wine-red); margin-right: 4px; }
.filter-opts { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.fopt {
  font-size: 0.82rem; color: #555; padding: 4px 12px; border-radius: 16px;
  border: 1px solid transparent; transition: all 0.18s; white-space: nowrap;
}
.fopt:hover { color: var(--wine-red); background: #fef5f0; }
.fopt.active { background: var(--wine-red); color: #fff; border-color: var(--wine-red); font-weight: 600; }

.mall-bar {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 10px; margin: 4px 0 18px;
  border-bottom: 2px solid rgba(178,34,34,0.12); padding-bottom: 12px;
}
.mall-bar .mall-title { font-size: 1.35rem; font-weight: 800; color: var(--text-main); margin: 0; font-family: 'Noto Serif SC', serif; }
.mall-bar .mall-title i { color: var(--wine-red); margin-right: 8px; }
.mall-count { font-size: 0.85rem; color: var(--text-sub); }
.mall-count strong { color: var(--wine-red); }

.mall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mall-card {
  background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); position: relative;
}
.mall-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--wine-red), var(--wine-gold)); opacity: 0; transition: opacity 0.3s;
}
.mall-card:hover::before { opacity: 1; }
.mall-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(178,34,34,0.2); }
.mall-img-wrap { position: relative; overflow: hidden; background: #fafafa; }
.mall-img-wrap img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform 0.6s ease; }
.mall-card:hover .mall-img-wrap img { transform: scale(1.06); }
.mall-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(135deg, var(--wine-gold), #b8860b); color: #2c2b26;
  font-size: 0.7rem; font-weight: 700; padding: 3px 11px; border-radius: 30px;
}
.mall-info { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.mall-card .mall-title { font-size: 0.92rem; font-weight: 600; line-height: 1.5; color: var(--text-main); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.75em; }
.mall-card .mall-title a { color: inherit; }
.mall-card .mall-title a:hover { color: var(--wine-red); }
.mall-brand { font-size: 0.74rem; color: #999; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mall-brand a { color: #999; }
.mall-brand a:hover { color: var(--wine-red); }
.mall-brand em { font-style: normal; margin: 0 4px; color: #ddd; }
.mall-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.72rem; color: #aaa; margin-bottom: 12px; }
.mall-meta span { white-space: nowrap; }
.mall-price { font-size: 1.35rem; font-weight: 800; color: var(--wine-red); margin-top: auto; margin-bottom: 12px; }
.mall-buy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--wine-red); color: #fff; border-radius: 24px; padding: 10px 0;
  font-size: 0.86rem; font-weight: 600; transition: all 0.25s;
}
.mall-buy:hover { background: #9a1d1d; color: #fff; box-shadow: 0 8px 18px rgba(178,34,34,0.28); }

.mall-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 40px 0 10px; }
.pg {
  min-width: 38px; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  gap: 5px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font-size: 0.86rem; color: var(--text-main); transition: all 0.22s;
}
.pg:hover { border-color: var(--wine-red); color: var(--wine-red); }
.pg.active { background: var(--wine-red); border-color: var(--wine-red); color: #fff; font-weight: 700; }
.pg.disabled { opacity: 0.4; pointer-events: none; }
.pg-info { font-size: 0.82rem; color: var(--text-sub); margin-left: 10px; }

@media (max-width: 991px) {
  .mall-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-label { width: 62px; }
}
@media (max-width: 768px) {
  .mall-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .filter-card { padding: 16px 14px 6px; border-radius: 16px; }
  .filter-row { flex-direction: column; gap: 6px; }
  .filter-label { width: auto; padding-top: 0; }
  .filter-opts { gap: 5px; }
  .fopt { font-size: 0.78rem; padding: 4px 10px; }
  .mall-bar .mall-title { font-size: 1.08rem; }
  .mall-count { font-size: 0.78rem; }
  .mall-price { font-size: 1.18rem; }
  .mall-crumb .crumb-extra { display: none; }
  .mall-crumb em.crumb-sep { display: none; }
}
@media (max-width: 480px) {
  .mall-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mall-info { padding: 10px 10px 12px; }
  .mall-card .mall-title { font-size: 0.86rem; min-height: 2.6em; }
  .mall-buy { padding: 8px 0; font-size: 0.8rem; }
  .pg { min-width: 34px; height: 34px; padding: 0 10px; font-size: 0.8rem; }
}

.login-logo { text-align: center; margin-bottom: 14px; }
.login-logo img { height: 62px; width: auto; }
