/* ============================================
   惠晟百货商城 - 前台样式
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #333; background: #f5f5f5; line-height: 1.6; }
a { color: #333; text-decoration: none; }
a:hover { color: var(--primary-color); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 顶部通栏 */
.top-bar { background: #f7f7f7; border-bottom: 1px solid #eee; font-size: 12px; color: #999; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.top-bar-links a { margin-left: 15px; color: #666; }
.top-bar-links a:hover { color: var(--primary-color); }

/* 头部 */
.site-header { background: #fff; padding: 20px 0; }
.header-inner { display: flex; align-items: center; gap: 30px; }
.logo { flex-shrink: 0; }
.logo-text { font-size: 28px; font-weight: bold; color: var(--primary-color); }
.search-box { flex: 1; display: flex; max-width: 500px; }
.search-box input { flex: 1; height: 40px; padding: 0 15px; border: 2px solid var(--primary-color); border-right: none; border-radius: 20px 0 0 20px; outline: none; font-size: 14px; }
.search-box button { height: 40px; padding: 0 25px; background: var(--primary-color); color: #fff; border: none; border-radius: 0 20px 20px 0; cursor: pointer; font-size: 14px; }
.cart-btn { display: flex; align-items: center; gap: 5px; padding: 8px 20px; border: 1px solid #ddd; border-radius: 20px; position: relative; background: #fff; }
.cart-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.cart-badge { position: absolute; top: -5px; right: -5px; background: var(--primary-color); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* 导航栏 */
.main-nav { background: #fff; border-bottom: 2px solid var(--primary-color); }
.nav-list { display: flex; gap: 5px; }
.nav-list li a { display: block; padding: 12px 20px; font-size: 15px; color: #333; }
.nav-list li a:hover, .nav-list li a.active { color: var(--primary-color); background: var(--primary-color-light); }

/* 主体 */
.main-content { min-height: 400px; padding: 20px 0; }

/* Banner */
.banner-section { margin-bottom: 20px; }
.banner-slider { position: relative; height: 450px; border-radius: 8px; overflow: hidden; }
.banner-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; align-items: center; padding: 0 60px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.banner-slide.active { display: flex; }
.banner-content h2 { font-size: 36px; color: #fff; margin-bottom: 15px; }
.banner-content p { font-size: 18px; color: #fff; opacity: .9; margin-bottom: 25px; }
.banner-btn { display: inline-block; padding: 10px 30px; background: #fff; color: #333; border-radius: 25px; font-size: 15px; }
.banner-content-bottom { position: absolute; top: 50%; left: 60px; transform: translateY(-50%); }
.banner-dots { position: absolute; bottom: 18px; right: 30px; display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.dot.active { background: #fff; width: 25px; border-radius: 5px; }

/* 分类入口 */
.category-section { margin-bottom: 20px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; background: #fff; padding: 20px; border-radius: 8px; }
.category-item { text-align: center; padding: 15px 10px; border-radius: 8px; transition: all .3s; }
.category-item:hover { background: #f5f5f5; }
.category-icon { width: 50px; height: 50px; margin: 0 auto 10px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; }
.category-item span { font-size: 14px; color: #333; }

/* 商品区块 */
.product-section { margin-bottom: 25px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.section-header h2 { font-size: 22px; color: #333; border-left: 4px solid var(--primary-color); padding-left: 12px; }
.more-link { color: #999; font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; transition: all .3s; }
.product-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,.1); transform: translateY(-2px); }
.product-img { display: block; width: 100%; padding-top: 100%; position: relative; background: #f9f9f9; }
.product-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0f0f0, #e0e0e0); color: #999; font-size: 32px; font-weight: bold; }
.product-placeholder.small { font-size: 18px; }
.product-placeholder.tiny { font-size: 14px; }
.product-placeholder.large { font-size: 48px; }
.product-info { padding: 12px; }
.product-name { display: block; font-size: 14px; color: #333; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-name:hover { color: var(--primary-color); }
.product-meta { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 18px; color: var(--primary-color); font-weight: bold; }
.product-sales { font-size: 12px; color: #999; }

/* 服务保障 */
.service-section { background: #fff; padding: 30px 0; margin-top: 30px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-item { text-align: center; }
.service-icon { width: 50px; height: 50px; margin: 0 auto 10px; background: var(--primary-color-light); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.service-item h4 { font-size: 16px; margin-bottom: 5px; }
.service-item p { font-size: 13px; color: #999; }

/* 面包屑 */
.breadcrumb { padding: 15px 0; font-size: 14px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb span { margin: 0 8px; }

/* 商品列表页 */
.products-layout { display: flex; gap: 20px; }
.products-sidebar { width: 200px; flex-shrink: 0; background: #fff; border-radius: 8px; padding: 15px; height: fit-content; }
.products-sidebar h3 { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.cat-list li { margin-bottom: 5px; }
.cat-list li a { display: block; padding: 8px 12px; border-radius: 4px; font-size: 14px; color: #666; }
.cat-list li a:hover, .cat-list li a.active { background: var(--primary-color-light); color: var(--primary-color); }
.products-main { flex: 1; }
.products-toolbar { background: #fff; padding: 12px 15px; border-radius: 8px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.sort-links { display: flex; gap: 15px; }
.sort-links a { font-size: 14px; color: #666; padding: 5px 10px; border-radius: 4px; }
.sort-links a:hover, .sort-links a.active { color: var(--primary-color); background: var(--primary-color-light); }
.products-count { font-size: 13px; color: #999; }

/* 商品详情页 */
.product-detail { display: flex; gap: 30px; background: #fff; padding: 25px; border-radius: 8px; margin-bottom: 20px; }
.product-gallery { width: 400px; flex-shrink: 0; }
.main-image { width: 100%; padding-top: 100%; position: relative; background: #f9f9f9; border-radius: 8px; overflow: hidden; }
.main-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.product-info-detail { flex: 1; }
.product-title { font-size: 22px; margin-bottom: 10px; line-height: 1.4; }
.product-subtitle { color: var(--primary-color); font-size: 14px; margin-bottom: 20px; }
.price-box { background: var(--primary-color-light); padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: baseline; gap: 15px; }
.price-label { font-size: 14px; color: #999; }
.price-now { font-size: 32px; color: var(--primary-color); font-weight: bold; }
.price-origin { font-size: 14px; color: #999; text-decoration: line-through; }
.product-attrs { margin-bottom: 20px; }
.attr-row { display: flex; padding: 8px 0; font-size: 14px; }
.attr-label { width: 80px; color: #999; flex-shrink: 0; }
.attr-value { color: #333; }
.quantity-box { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.quantity-selector { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.quantity-selector.small { }
.qty-btn { width: 32px; height: 32px; background: #f5f5f5; border: none; cursor: pointer; font-size: 16px; }
.qty-btn:hover { background: #e8e8e8; }
.qty-input, .quantity-selector input { width: 50px; height: 32px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; outline: none; }
.action-buttons { display: flex; gap: 15px; }
.btn { display: inline-block; padding: 10px 25px; border-radius: 4px; cursor: pointer; font-size: 14px; border: 1px solid #ddd; background: #fff; color: #333; text-align: center; }
.btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.btn-primary { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-primary:hover { background: #d12c2f; color: #fff; }
.btn-cart { background: #ffedee; color: var(--primary-color); border-color: #ffb3b5; }
.btn-buy { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-disabled { background: #ccc; color: #fff; border-color: #ccc; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-outline { background: #fff; border: 1px solid #ddd; }

/* 商品描述 */
.product-description { background: #fff; border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.desc-tabs { display: flex; border-bottom: 1px solid #eee; }
.desc-tabs .tab { padding: 15px 25px; cursor: pointer; font-size: 15px; color: #666; border-bottom: 2px solid transparent; }
.desc-tabs .tab.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.desc-content { padding: 25px; line-height: 1.8; }
.related-products { background: #fff; padding: 20px; border-radius: 8px; }
.related-products h3 { margin-bottom: 15px; font-size: 18px; }

/* 购物车 */
.cart-page { background: #fff; padding: 25px; border-radius: 8px; }
.page-title { font-size: 22px; margin-bottom: 20px; }
.cart-table { border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.cart-header, .cart-row { display: grid; grid-template-columns: 50px 2fr 1fr 1fr 1fr 80px; align-items: center; padding: 15px; gap: 10px; }
.cart-header { background: #f9f9f9; font-weight: bold; font-size: 14px; color: #666; border-bottom: 1px solid #eee; }
.cart-row { border-bottom: 1px solid #f0f0f0; }
.cart-row:last-child { border-bottom: none; }
.col-info { display: flex; align-items: center; gap: 10px; }
.cart-thumb { width: 60px; height: 60px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f5f5f5; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-size: 14px; color: #333; }
.cart-name:hover { color: var(--primary-color); }
.subtotal { color: var(--primary-color); font-weight: bold; }
.disabled-tag { font-size: 12px; color: #999; background: #f0f0f0; padding: 2px 8px; border-radius: 4px; }
.cart-footer { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; margin-top: 15px; border-top: 1px solid #eee; }
.cart-footer-left { display: flex; align-items: center; gap: 20px; }
.cart-footer-right { display: flex; align-items: center; gap: 20px; }
.cart-total { font-size: 16px; }
.total-price { color: var(--primary-color); font-size: 24px; font-weight: bold; }
.btn-checkout { background: var(--primary-color); color: #fff; border-color: var(--primary-color); padding: 12px 40px; font-size: 16px; }
.link-btn { background: none; border: none; color: #666; cursor: pointer; font-size: 14px; padding: 0; }
.link-btn:hover { color: var(--primary-color); }
.link-danger { color: #999; }
.link-danger:hover { color: var(--primary-color); }

/* 结算页 */
.checkout-section { background: #fff; padding: 20px 25px; border-radius: 8px; margin-bottom: 15px; }
.section-title { font-size: 18px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.address-form .form-row { margin-bottom: 15px; }
.address-form label { display: block; margin-bottom: 5px; font-size: 14px; color: #666; }
.address-form input, .address-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none; }
.address-form input:focus, .address-form textarea:focus { border-color: var(--primary-color); }
.address-form textarea { height: 80px; resize: vertical; }
.form-row.full { grid-column: 1 / -1; }
.checkout-products { }
.checkout-product { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; gap: 15px; }
.checkout-product:last-child { border-bottom: none; }
.cp-img { width: 60px; height: 60px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f5f5f5; }
.cp-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-info { flex: 1; }
.cp-name { font-size: 14px; margin-bottom: 5px; }
.cp-price { font-size: 13px; color: #999; }
.cp-subtotal { color: var(--primary-color); font-weight: bold; }
.remark-input { width: 100%; height: 60px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; resize: vertical; outline: none; }
.checkout-summary { background: #fff; padding: 20px 25px; border-radius: 8px; text-align: right; }
.summary-row { display: flex; justify-content: flex-end; gap: 30px; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-size: 18px; font-weight: bold; padding: 15px 0; border-top: 1px solid #eee; margin-top: 10px; }
.total-amount { color: var(--primary-color); font-size: 24px; }
.btn-submit-order { background: var(--primary-color); color: #fff; border-color: var(--primary-color); padding: 12px 50px; font-size: 16px; margin-top: 15px; }

/* 支付页 */
.pay-page { background: #fff; padding: 30px; border-radius: 8px; max-width: 700px; margin: 0 auto; }
.pay-header { text-align: center; margin-bottom: 30px; }
.pay-header h1 { font-size: 24px; margin-bottom: 10px; }
.pay-header p { color: #999; font-size: 14px; }
.pay-amount-box { text-align: center; padding: 30px; background: var(--primary-color-light); border-radius: 8px; margin-bottom: 25px; }
.pay-amount-box span:first-child { font-size: 16px; color: #666; margin-right: 15px; }
.pay-amount { font-size: 36px; color: var(--primary-color); font-weight: bold; }
.pay-methods { margin-bottom: 25px; }
.pay-methods h3 { margin-bottom: 15px; font-size: 16px; }
.pay-method { display: flex; align-items: center; padding: 15px 20px; border: 2px solid #eee; border-radius: 8px; cursor: pointer; gap: 15px; }
.pay-method.selected { border-color: #1677ff; background: #f0f7ff; }
.pm-icon { width: 40px; height: 40px; background: #1677ff; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold; }
.pm-info { flex: 1; }
.pm-info h4 { font-size: 15px; margin-bottom: 3px; }
.pm-info p { font-size: 12px; color: #999; }
.pm-check { color: #1677ff; font-size: 20px; display: none; }
.pay-method.selected .pm-check { display: block; }
.pay-order-info { background: #f9f9f9; padding: 15px 20px; border-radius: 8px; margin-bottom: 25px; }
.pay-order-info h4 { margin-bottom: 10px; font-size: 14px; }
.pay-order-item { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; color: #666; }
.pay-actions { text-align: center; display: flex; gap: 15px; justify-content: center; }
.btn-pay { background: var(--primary-color); color: #fff; border-color: var(--primary-color); padding: 12px 50px; font-size: 16px; }

/* 支付结果 */
.pay-result { background: #fff; padding: 50px 30px; border-radius: 8px; text-align: center; max-width: 500px; margin: 0 auto; }
.result-icon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; }
.result-icon.success { background: #52c41a; }
.result-icon.fail { background: #ff4d4f; }
.pay-result h1 { font-size: 24px; margin-bottom: 15px; }
.pay-result p { color: #666; margin-bottom: 8px; }
.result-actions { margin-top: 25px; display: flex; gap: 15px; justify-content: center; }

/* 登录注册 */
.auth-page { min-height: 500px; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.auth-box { background: #fff; padding: 35px; border-radius: 8px; width: 400px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.auth-box h2 { text-align: center; margin-bottom: 25px; font-size: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: #666; }
.form-group input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none; }
.form-group input:focus { border-color: var(--primary-color); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #999; }
.auth-footer a { color: var(--primary-color); }
.alert { padding: 10px 15px; border-radius: 4px; margin-bottom: 15px; font-size: 14px; }
.alert-error { background: #fff2f0; color: #ff4d4f; border: 1px solid #ffccc7; }
.alert-success { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }
.alert-info { background: #e6f7ff; color: #1890ff; border: 1px solid #91d5ff; }
.alert-warning { background: #fffbe6; color: #faad14; border: 1px solid #ffe58f; }

/* 用户中心 */
.user-layout { display: flex; gap: 20px; }
.user-sidebar { width: 200px; flex-shrink: 0; }
.user-info-card { background: #fff; padding: 25px; border-radius: 8px; text-align: center; margin-bottom: 15px; }
.avatar { width: 60px; height: 60px; margin: 0 auto 10px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; }
.user-name { font-size: 16px; font-weight: bold; }
.user-menu { background: #fff; border-radius: 8px; padding: 10px 0; }
.user-menu li a { display: block; padding: 12px 20px; font-size: 14px; color: #666; }
.user-menu li a:hover, .user-menu li a.active { background: var(--primary-color-light); color: var(--primary-color); }
.user-main { flex: 1; background: #fff; padding: 25px; border-radius: 8px; min-height: 400px; }
.user-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
.stat-item { text-align: center; padding: 20px; background: #f9f9f9; border-radius: 8px; }
.stat-num { display: block; font-size: 28px; color: var(--primary-color); font-weight: bold; }
.stat-label { font-size: 13px; color: #999; }
.user-section { margin-bottom: 30px; }
.user-section h3 { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.profile-form .form-row { margin-bottom: 15px; }
.profile-form label { display: block; margin-bottom: 5px; font-size: 14px; color: #666; }
.profile-form input, .profile-form textarea { width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; outline: none; }
.profile-form textarea { height: 70px; resize: vertical; }

/* 订单列表 */
.order-tabs { display: flex; gap: 5px; margin-bottom: 20px; border-bottom: 1px solid #eee; }
.order-tabs a { padding: 10px 20px; font-size: 14px; color: #666; border-bottom: 2px solid transparent; }
.order-tabs a:hover, .order-tabs a.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.order-card { border: 1px solid #eee; border-radius: 8px; margin-bottom: 15px; overflow: hidden; }
.order-header { display: flex; align-items: center; gap: 20px; padding: 12px 15px; background: #f9f9f9; font-size: 13px; color: #666; }
.order-time { }
.order-no { flex: 1; }
.order-status { font-weight: bold; }
.status-pending { color: #faad14; }
.status-paid { color: #1890ff; }
.status-shipped { color: #722ed1; }
.status-done { color: #52c41a; }
.status-cancel { color: #999; }
.order-body { display: flex; padding: 15px; gap: 15px; }
.order-products { flex: 1; }
.order-product-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.opi-img { width: 50px; height: 50px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f5f5f5; }
.opi-img img { width: 100%; height: 100%; object-fit: cover; }
.opi-info { flex: 1; }
.opi-name { font-size: 13px; margin-bottom: 3px; }
.opi-price { font-size: 12px; color: #999; }
.order-amount { text-align: right; width: 150px; flex-shrink: 0; }
.order-amount p { font-size: 13px; color: #999; margin-bottom: 5px; }
.oa-total { color: var(--primary-color); font-size: 18px; font-weight: bold; }
.order-footer { padding: 12px 15px; border-top: 1px solid #f0f0f0; text-align: right; }

/* 订单详情 */
.order-detail-page { background: #fff; padding: 25px; border-radius: 8px; }
.od-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.od-header h2 { font-size: 20px; }
.od-status { font-size: 18px; color: var(--primary-color); font-weight: bold; }
.od-section { margin-bottom: 25px; }
.od-section h3 { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.od-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; font-size: 14px; }
.od-info-grid .full { grid-column: 1 / -1; }
.od-info-grid .label { color: #999; }
.od-products-table { width: 100%; border-collapse: collapse; }
.od-products-table th, .od-products-table td { padding: 12px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.od-products-table th { background: #f9f9f9; font-weight: bold; color: #666; }
.od-product-cell { display: flex; align-items: center; gap: 10px; }
.od-product-cell img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
.od-summary { text-align: right; padding: 20px 0; border-top: 1px solid #eee; }
.od-actions { text-align: center; margin-top: 20px; display: flex; gap: 15px; justify-content: center; }

/* 文章页 */
.article-page { background: #fff; padding: 30px; border-radius: 8px; }
.article-page h1 { font-size: 24px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.article-content { line-height: 1.8; font-size: 15px; color: #444; }
.article-content h3 { font-size: 18px; margin: 25px 0 12px; color: #333; }
.article-content p { margin-bottom: 12px; }
.article-content ul { padding-left: 25px; margin-bottom: 15px; }
.article-content li { margin-bottom: 8px; list-style: disc; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.contact-card { text-align: center; padding: 30px 20px; background: #f9f9f9; border-radius: 8px; }
.cc-icon { font-size: 36px; margin-bottom: 15px; }
.contact-card h3 { font-size: 16px; margin-bottom: 10px; }
.contact-card p { font-size: 14px; color: #666; margin-bottom: 5px; }
.cc-sub { font-size: 12px; color: #999; }

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-icon { font-size: 64px; margin-bottom: 15px; }
.empty-state p { margin-bottom: 20px; font-size: 15px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 25px; }
.pagination a { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: #666; }
.pagination a:hover, .pagination a.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* 筛选表单 */
.filter-form { display: flex; gap: 10px; margin-bottom: 15px; align-items: center; }
.filter-form input, .filter-form select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; outline: none; font-size: 14px; }
.filter-form input:focus, .filter-form select:focus { border-color: var(--primary-color); }

/* 页脚 */
.site-footer { background: #fff; border-top: 1px solid #eee; padding: 30px 0; margin-top: 30px; text-align: center; }
.footer-links { margin-bottom: 15px; }
.footer-links a { margin: 0 10px; font-size: 14px; color: #666; }
.footer-links a:hover { color: var(--primary-color); }
.footer-links span { color: #ddd; }
.footer-info { font-size: 13px; color: #999; line-height: 2; }
.footer-info a { color: #999; }
.footer-info a:hover { color: var(--primary-color); }

/* 响应式 */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .search-box { order: 3; width: 100%; max-width: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .products-layout { flex-direction: column; }
  .products-sidebar { width: 100%; }
  .product-detail { flex-direction: column; }
  .product-gallery { width: 100%; }
  .cart-header, .cart-row { grid-template-columns: 40px 1fr 80px; }
  .col-price, .col-subtotal, .col-action { display: none; }
  .user-layout { flex-direction: column; }
  .user-sidebar { width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
