
/* === 哈巴狗电商平台 - Modern Global Styles === */
:root {
  --primary: #C41E1E;
  --primary-hover: #A01818;
  --primary-light: #FFF0F0;
  --accent: #FF6B2B;
  --accent-hover: #E55A1F;
  --success: #07C160;
  --warning: #FFB800;
  --info: #1677FF;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-hint: #999999;
  --bg-page: #F2F3F5;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-color: #E8E8E8;
  --border-light: #F0F0F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern card system */
.card, .goods, .store-item, .brand-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover, .goods:hover, .store-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Button system */
.btn-primary, .btn-buy, .btn-cart-add, input[type="submit"].btn {
  background: linear-gradient(135deg, var(--primary), #D43030);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.btn-primary:hover, .btn-buy:hover, .btn-cart-add:hover {
  background: linear-gradient(135deg, var(--primary-hover), #C41E1E);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Price tag */
.pro-price, .price, .goods-price {
  color: var(--primary);
  font-weight: 700;
  font-family: Arial, sans-serif;
}

/* Section titles */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 16px 0;
  border-bottom: 2px solid var(--primary);
  position: relative;
  margin-bottom: 20px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

/* Badge/Tag system */
.tag-hot { background: linear-gradient(135deg, #FF4444, #FF6B6B); }
.tag-new { background: linear-gradient(135deg, #1677FF, #69B1FF); }
.tag-sale { background: linear-gradient(135deg, #FF6B2B, #FF9C6E); }
.tag-hot, .tag-new, .tag-sale {
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
}

/* Smooth page load */
body {
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
