/* ==========================================================================
   惟恺唯娅 - 高端品质电商视觉设计系统
   公司名称: 沈阳惟恺唯娅百货贸易有限公司
   类目风格: 时尚女包 · 法式高定风 (French Burgundy)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@500;700&display=swap');

:root {
  --primary: #9F1239;
  --primary-dark: #881337;
  --primary-light: #FFF1F2;
  --primary-rgb: 159, 18, 57;
  --accent: #FB7185;
  --bg: #FCF9FA;
  --card-bg: #FFFFFF;
  --text: #28121A;
  --text-muted: #846973;
  --border: #F4E7EB;
  --border-light: rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px -8px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 10px 25px -5px rgba(var(--primary-rgb), 0.28);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
button, input, select, textarea { font-family: inherit; }

/* 顶部通栏公告 */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.top-bar .tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

/* 现代毛玻璃导航头部 */
.mall-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.mall-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌 Logo */
.mall-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 6px 16px -2px rgba(var(--primary-rgb), 0.35);
}
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.logo-title span {
  color: var(--primary);
}
.logo-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* 胶囊搜索框 */
.search-box {
  flex: 1;
  max-width: 460px;
  display: flex;
  align-items: center;
  background: var(--primary-light);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 18px;
  transition: var(--transition);
}
.search-box:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
}
.search-box input::placeholder {
  color: var(--text-muted);
}
.search-box button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.search-box button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}
.cart-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.user-display {
  display: flex;
  align-items: center;
}
.user-display .user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.user-display .user-chip a.logout-btn {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  margin-left: 4px;
  text-decoration: underline;
}
.user-display .user-chip a.logout-btn:hover {
  color: #EF4444;
}

/* 胶囊导航条 */
.mall-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.mall-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mall-nav-inner::-webkit-scrollbar { display: none; }
.mall-nav-inner a {
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
}
.mall-nav-inner a:hover {
  color: var(--primary);
}
.mall-nav-inner a.active {
  color: var(--primary);
}
.mall-nav-inner a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* 页面主容器 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  flex: 1;
  width: 100%;
}

/* Hero 画报展区 */
.hero-magazine {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  background: var(--card-bg);
}
.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-main-card:hover img {
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}
.hero-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 80%;
}

.hero-side-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.hero-sub-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 180px;
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
}
.hero-sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.hero-sub-card:hover img {
  transform: scale(1.06);
}
.hero-sub-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.6) 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}
.hero-sub-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-sub-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* 服务保障横条 */
.trust-bar {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0 24px;
}
.trust-grid {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.trust-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.trust-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 爆款限时特惠区 */
.flash-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}
.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.flash-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flash-badge {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.flash-title-group h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}
.flash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flash-item {
  display: flex;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  align-items: center;
  transition: var(--transition);
}
.flash-item:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.flash-item img {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.fi-info {
  flex: 1;
  min-width: 0;
}
.fi-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 6px;
}
.fi-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

/* 分类与筛选工具栏 */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.section-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

/* 商品卡片网格系统 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1f3f5;
  overflow: hidden;
  display: block;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.badge-hot { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.badge-recommend { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  height: 2.9em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 12px;
  transition: var(--transition);
}
.product-card:hover .product-name {
  color: var(--primary);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.product-price-symbol {
  font-size: 0.9rem;
  font-weight: 700;
}
.product-original-price {
  font-size: 0.78rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.product-sales {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn-add-cart {
  width: 100%;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  transition: var(--transition);
}
.btn-add-cart:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

/* 通用按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}
.btn-block {
  width: 100%;
}

/* 详情页布局 */
.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.detail-img-box {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg);
}
.detail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-brand-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.detail-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 16px;
}
.detail-price-box {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.detail-orig-val {
  font-size: 1rem;
  color: #9CA3AF;
  text-decoration: line-through;
}
.detail-meta-row {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
}
.detail-desc-box {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  padding: 18px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.detail-guarantee {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.detail-actions-group {
  display: flex;
  gap: 16px;
}

/* 现代流程步骤条 (Stepper) */
.stepper-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  gap: 12px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #9CA3AF;
}
.step-item.active {
  color: var(--primary);
}
.step-dot {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: #E5E7EB;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.step-item.active .step-dot {
  background: var(--primary);
  color: white;
}
.step-line {
  width: 40px;
  height: 2px;
  background: #E5E7EB;
}
.step-line.active {
  background: var(--primary);
}

/* 表单与结算卡片 */
.glass-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

/* 支付方式卡片 */
.payment-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}
.payment-option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.payment-option-card:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
  background: #fff;
}
.payment-option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.pay-icon-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
}

/* 订单摘要卡片 */
.summary-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.summary-row.total {
  border-top: 1px dashed var(--border);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.summary-row.total .price {
  color: var(--primary);
}

/* 购物车商品项 */
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-row img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.qty-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}
.qty-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.qty-val {
  padding: 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* 现代页脚 */
.mall-footer {
  background: #18191C;
  color: #A1A1AA;
  margin-top: auto;
  border-top: 1px solid #27272A;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid #27272A;
  padding: 20px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: #71717A;
}

/* 现代 Toast 动效 */
.modern-toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(24, 25, 28, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastIn {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 响应式媒体查询 */
@media (max-width: 960px) {
  .hero-magazine { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .flash-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-card { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mall-header-inner { height: 64px; }
  .search-box { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .flash-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
