﻿:root {
  --color-main: #E22C08;
  --color-main-light: #ffe3de;
  --color-main-hover: #EA6B52;
  --color-price: #E22C08;
  --color-bg: #f7f7f7;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-lighter: #999;
  --color-border: #eee;
  --color-border-dark: #ddd;
  --color-white: #fff;
  --color-success: #5EB95E;
  --color-warning: #FAAD14;
  --color-danger: #E22C08;
  --color-link: #007bff;
  --border-radius-sm: 2px;
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --shadow: 0 2px 8px rgba(50,55,58,0.1);
  --shadow-lg: 0 5px 20px rgba(50,55,58,0.1);
  --header-top-h: 36px;
  --nav-search-h: 100px;
  --nav-h: 44px;
}
html { font-size: 10px; }
body { font-size: 1.4rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.5; }
* { margin:0; padding:0; box-sizing:border-box; }
a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-main); }
img { max-width: 100%; vertical-align: middle; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.main { min-height: 500px; padding: 20px 0; }

/* ====== Top Bar ====== */
.header-top { background: #333; color: #ccc; height: var(--header-top-h); line-height: var(--header-top-h); font-size: 1.2rem; }
.header-top .container { display: flex; justify-content: space-between; }
.header-top a { color: #ccc; margin-left: 15px; }
.header-top a:hover { color: #fff; }
.header-top .top-nav-items { display: inline-block; position: relative; }
.header-top .top-nav-items > .menu-hd > a { display: inline-block; padding: 0 10px; }
.header-top .top-nav-items:hover > .menu-hd > a { color: #fff; background: #555; }
.header-top .top-nav-items:hover .dropdown-content { display: block; }
.header-top .dropdown-content { display: none; position: absolute; top: var(--header-top-h); right: 0; background: #fff; border: 1px solid #ddd; border-radius: var(--border-radius); box-shadow: var(--shadow); z-index: 1000; min-width: 120px; }
.header-top .dropdown-content a { display: block; padding: 8px 15px; color: #333; font-size: 1.2rem; margin: 0; border-bottom: 1px solid #eee; white-space: nowrap; }
.header-top .dropdown-content a:hover { background: #f5f5f5; color: var(--color-main); }
.header-top .dropdown-content a:last-child { border-bottom: none; }
.header-top .cart-badge { display: inline-block; min-width: 16px; height: 16px; line-height: 16px; background: var(--color-main); color: #fff; font-size: 1rem; text-align: center; border-radius: 8px; padding: 0 4px; vertical-align: super; margin-left: 2px; }

/* ====== Search + Logo ====== */
.nav-search { background: #fff; border-bottom: 1px solid #eee; padding: 15px 0; display: none; }
.nav-search .container { display: flex; align-items: center; gap: 30px; }
.logo-big { flex-shrink: 0; }
.logo-big img { height: 50px; }
.logo-big a { font-size: 2.4rem; font-weight: bold; color: var(--color-main); display:flex; align-items:center; }
.logo-big a img { max-height:50px; width:auto; display:block; }
.search-bar { flex: 1; max-width: 600px; }
.search-group { display: flex; border: 2px solid var(--color-main); border-radius: var(--border-radius-lg); overflow: hidden; }
.search-group input { flex: 1; padding: 10px 15px; border: none; outline: none; font-size: 1.4rem; }
.search-group button { padding: 10px 25px; background: var(--color-main); color: #fff; border: none; cursor: pointer; font-size: 1.4rem; }
.search-group button:hover { background: var(--color-main-hover); }
.search-hot-keywords { display: flex; gap: 10px; margin-top: 8px; font-size: 1.2rem; }
.search-hot-keywords a { color: #999; }
.search-hot-keywords a:hover { color: var(--color-main); }
.search-hot-keywords .hot-label { color: var(--color-main); font-weight: bold; }

/* ====== Search Slogan ====== */
.search-slogan { flex-shrink:0; font-size:1.3rem; color:#e4393c; font-weight:bold; white-space:nowrap; padding:6px 16px; background:linear-gradient(135deg,#fff5f5,#ffe3de); border-radius:20px; border:1px solid #ffcdc2; line-height:1.4; }
.search-slogan:before { content:"🎉"; margin-right:4px; }

/* ====== Main Navigation ====== */
.shop-navigation { background: var(--color-main); height: var(--nav-h); line-height: var(--nav-h); display: none; }
.shop-navigation .container { position: relative; }
.shop-navigation .all-cat-btn { display: inline-block; padding: 0 20px; background: rgba(0,0,0,0.15); color: #fff; font-size: 1.4rem; font-weight: bold; cursor: pointer; }
.shop-navigation .all-cat-btn:hover { background: rgba(0,0,0,0.25); }
.shop-navigation nav { display: inline-block; margin-left: 10px; }
.shop-navigation nav a { display: inline-block; padding: 0 15px; color: rgba(255,255,255,0.9); font-size: 1.4rem; }
.shop-navigation nav a:hover, .shop-navigation nav a.active { color: #fff; background: rgba(255,255,255,0.15); }


/* ====== Category Mega Menu ====== */
#goods-category { display: none; position: relative; z-index: 500; }
#goods-category .category-content { display: none; position: absolute; top: 0; left: 0; width: 100%; background: #fff; border: 1px solid #ddd; border-top: none; border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); box-shadow: var(--shadow-lg); z-index: 500; }
#goods-category:hover .category-content { display: flex; }
.category-list { width: 220px; background: #fafafa; padding: 5px 0; flex-shrink: 0; }
.category-list > li { position: relative; }
.category-list > li > a { display: flex; align-items: center; gap: 8px; padding: 8px 15px; color: #333; font-size: 1.4rem; }
.category-list > li > a:hover, .category-list > li:hover > a { background: #fff; color: var(--color-main); }
.category-list .category-menu-img { width: 24px; height: 24px; border-radius: var(--border-radius-sm); }
.category-list .category-menu-img-active { display: none; }
.category-list > li:hover .category-menu-img { display: none; }
.category-list > li:hover .category-menu-img-active { display: inline; }
.category-list .icon-angle-right { margin-left: auto; font-size: 1.2rem; color: #ccc; }
.category-sub { display: none; position: absolute; left: 220px; top: 0; background: #fff; min-height: 100%; padding: 20px; border-left: 1px solid #eee; width: calc(100% - 220px); }
.category-list > li:hover .category-sub { display: block; }
.category-sub .sub-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.category-sub .sub-item a { display: block; padding: 6px 10px; font-size: 1.3rem; color: #666; border-radius: var(--border-radius-sm); }
.category-sub .sub-item a:hover { background: var(--color-main-light); color: var(--color-main); }

/* ====== Mobile Bottom Nav ====== */
.mobile-navigation { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; z-index: 999; padding: 5px 0; }
.mobile-navigation a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #999; font-size: 1rem; }
.mobile-navigation a.active { color: var(--color-main); }
.mobile-navigation svg { width: 22px; height: 22px; }
.mobile-navigation p { margin: 0; }

/* ====== Banner ====== */
.banner { background: linear-gradient(135deg, var(--color-main), #ff6a6a); border-radius: var(--border-radius-lg); padding: 40px; margin-bottom: 20px; color: #fff; text-align: center; }
.banner-text h1 { font-size: 2.8rem; margin-bottom: 10px; }
.banner-text p { font-size: 1.5rem; opacity: 0.9; }

/* ====== Banner Slider ====== */
.banner-slider { position: relative; width: 100%; border-radius: var(--border-radius-lg); overflow: hidden; margin-bottom: 20px; background: #fff; }
.banner-slider .slides { position: relative; width: 100%; padding-top: 35%; overflow: hidden; }
.banner-slider .slides .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.banner-slider .slides .slide.active { opacity: 1; }
.banner-slider .slides .slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-slider .dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.banner-slider .dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.banner-slider .dots span.active { background: #fff; width: 20px; border-radius: 4px; }

/* ====== News Ticker ====== */
.news-ticker { display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 15px; border-radius: var(--border-radius); margin-bottom: 20px; border: 1px solid #eee; }
.news-ticker .label { background: var(--color-main); color: #fff; padding: 2px 8px; border-radius: var(--border-radius-sm); font-size: 1.1rem; font-weight: bold; flex-shrink: 0; }
.news-ticker .news-list { flex: 1; overflow: hidden; height: 20px; position: relative; }
.news-ticker .news-list li { position: absolute; width: 100%; top: 0; transition: top .4s; }
.news-ticker .news-list a { color: var(--color-text-light); font-size: 1.3rem; }
.news-ticker .news-list a:hover { color: var(--color-main); }

/* ====== Floor Layout ====== */
.floor { margin-bottom: 20px; background: #fff; border-radius: var(--border-radius-lg); overflow: hidden; border: 1px solid #eee; }
.floor-header { display: flex; align-items: center; justify-content: space-between; padding: 0 15px; height: 44px; background: #fafafa; border-bottom: 2px solid var(--color-main); }
.floor-header h3 { font-size: 1.6rem; color: var(--color-main); }
.floor-header h3:before { content: ''; display: inline-block; width: 3px; height: 16px; background: var(--color-main); margin-right: 8px; vertical-align: middle; }
.floor-more { font-size: 1.3rem; color: var(--color-text-lighter); }
.floor-more:hover { color: var(--color-main); }
.floor-body { display: flex; }
.floor-side { width: 220px; flex-shrink: 0; padding: 15px; background: #fafafa; border-right: 1px solid #eee; }
.floor-side a { display: block; padding: 6px 10px; font-size: 1.3rem; color: var(--color-text-light); border-radius: var(--border-radius-sm); }
.floor-side a:hover { background: var(--color-main-light); color: var(--color-main); }
.floor-goods { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.floor-goods-5 { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.floor-goods-item { display: block; padding: 15px; text-align: center; border-right: 1px solid #eee; border-bottom: 1px solid #eee; transition: box-shadow .2s; }
.floor-goods-item:nth-child(5n) { border-right: none; }
.floor-goods-item:hover { box-shadow: inset 0 0 0 1px var(--color-main); position: relative; z-index: 1; }
.floor-goods-img { height: 160px; overflow: hidden; margin-bottom: 8px; }
.floor-goods-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.floor-goods-item:hover .floor-goods-img img { transform: scale(1.05); }
.floor-goods-info h4 { font-size: 1.3rem; color: var(--color-text); font-weight: normal; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.floor-goods-info .shop-name { font-size: 1.1rem; color: var(--color-text-lighter); }
.floor-goods-price { font-size: 1.8rem; color: var(--color-price); font-weight: bold; }
.invite-tag { font-size: 1rem; }

/* ====== Product Grid ====== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; }
.product-card { background: #fff; border-radius: var(--border-radius-lg); overflow: hidden; transition: box-shadow .3s, transform .2s; border: 1px solid #eee; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-img { height: 200px; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 12px 15px; }
.product-info h3 { font-size: 1.4rem; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: normal; line-height: 1.4; }
.product-info .shop-name { font-size: 1.2rem; color: var(--color-text-lighter); margin: 2px 0; }
.product-info .price { color: var(--color-price); font-size: 2rem; font-weight: bold; }
.product-info .price .original { font-size: 1.2rem; color: var(--color-text-lighter); text-decoration: line-through; font-weight: normal; margin-left: 6px; }
.product-info .sales { color: var(--color-text-lighter); font-size: 1.2rem; margin-top: 4px; }
.invite-tag { font-size: 1.1rem; color: var(--color-main); font-weight: normal; white-space: nowrap; display: inline; }
.cat-arrow { float: right; color: #ccc; font-size: 1.4rem; }

/* ====== Category Tabs ====== */
.category-tabs { margin-bottom: 20px; display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.category-tabs a { padding: 6px 16px; background: #fff; border: 1px solid var(--color-border-dark); border-radius: 20px; font-size: 1.3rem; color: var(--color-text-light); }
.category-tabs a.active, .category-tabs a:hover { background: var(--color-main); color: #fff; border-color: var(--color-main); }

/* ====== Product Detail ====== */
.breadcrumb { margin-bottom: 15px; font-size: 1.2rem; color: var(--color-text-lighter); }
.breadcrumb a { color: var(--color-text-lighter); }
.breadcrumb a:hover { color: var(--color-main); }
.product-detail { display: flex; gap: 40px; background: #fff; padding: 30px; border-radius: var(--border-radius-lg); border: 1px solid #eee; }
.product-carousel { flex: 0 0 400px; }
.carousel-main { position: relative; width: 100%; height: 400px; border-radius: var(--border-radius-lg); overflow: hidden; background: #f5f5f5; }
.carousel-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: rgba(0,0,0,0.4); color: #fff; border: none; border-radius: 50%; font-size: 1.8rem; cursor: pointer; z-index: 2; line-height: 36px; text-align: center; }
.carousel-btn:hover { background: rgba(0,0,0,0.6); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.carousel-thumbs img { width: 56px; height: 56px; object-fit: cover; border: 2px solid #ddd; border-radius: var(--border-radius-sm); cursor: pointer; }
.carousel-thumbs img.active { border-color: var(--color-main); }
.carousel-dots { text-align: center; margin-top: 8px; }
.carousel-dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ddd; margin: 0 3px; cursor: pointer; }
.carousel-dots span.active { background: var(--color-main); }
.product-detail-info { flex: 1; }
.product-detail-info h1 { font-size: 2rem; margin-bottom: 10px; line-height: 1.4; }
.detail-price { font-size: 2.8rem; color: var(--color-price); font-weight: bold; margin: 10px 0; }
.detail-stock, .detail-sales { color: var(--color-text-lighter); font-size: 1.3rem; margin: 5px 0; }
.detail-desc { color: var(--color-text-light); margin: 15px 0; line-height: 1.8; }
.product-desc-imgs { margin-top: 20px; background: #fff; padding: 20px; border-radius: var(--border-radius-lg); }
.product-desc-imgs img { max-width: 100%; border-radius: var(--border-radius-sm); margin: 10px 0; }
.invite-notice { background: #fff3cd; color: #856404; padding: 10px 16px; border-radius: var(--border-radius); margin-bottom: 15px; font-size: 1.3rem; border: 1px solid #ffc107; }

/* ====== Buttons ====== */
.btn { display: inline-block; padding: 8px 20px; background: #f8f9fa; border: 1px solid var(--color-border-dark); border-radius: var(--border-radius); cursor: pointer; font-size: 1.3rem; text-align: center; color: var(--color-text); line-height: 1.5; }
.btn:hover { background: #e9ecef; color: var(--color-text); }
.btn-block { display: block; width: 100%; }
.btn-primary { background: var(--color-main); color: #fff; border-color: var(--color-main); }
.btn-primary:hover { background: var(--color-main-hover); color: #fff; }
.btn-danger { background: var(--color-danger); color: #fff; border-color: var(--color-danger); }
.btn-danger:hover { background: #c9302c; color: #fff; }
.btn-success { background: var(--color-success); color: #fff; border-color: var(--color-success); }
.btn-success:hover { background: #4aa84a; color: #fff; }
.btn-warning { background: var(--color-warning); color: #fff; border-color: var(--color-warning); }
.btn-warning:hover { background: #e09500; color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 1.2rem; }
.btn-small { padding: 3px 8px; font-size: 1.1rem; background: #f0f0f0; border-radius: var(--border-radius-sm); }

/* ====== Forms ====== */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 1.3rem; color: var(--color-text-light); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--color-border-dark); border-radius: var(--border-radius); font-size: 1.4rem; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-main); }
.form-group textarea { resize: vertical; }
.form-link { text-align: center; margin-top: 15px; font-size: 1.3rem; }
.tip { color: var(--color-text-lighter); font-size: 1.2rem; margin-top: 5px; }

/* ====== Tables ====== */
.table { width: 100%; border-collapse: collapse; background: #fff; margin: 15px 0; border: 1px solid #eee; border-radius: var(--border-radius-lg); overflow: hidden; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; font-size: 1.3rem; }
.table th { background: #f8f9fa; font-weight: 600; color: var(--color-text-light); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover { background: #f8f9fa; }

/* ====== Alerts ====== */
.error { color: var(--color-danger); background: #fff0f0; padding: 10px; border-radius: var(--border-radius); margin-bottom: 15px; font-size: 1.3rem; }
.info { color: var(--color-link); background: #f0f7ff; padding: 10px; border-radius: var(--border-radius); margin-bottom: 15px; font-size: 1.3rem; }
.empty { text-align: center; color: var(--color-text-lighter); padding: 60px 0; font-size: 1.5rem; }
.alert { padding: 12px 20px; border-radius: var(--border-radius); margin-bottom: 15px; font-size: 1.3rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ====== Order Cards ====== */
.order-card { background: #fff; border: 1px solid #eee; border-radius: var(--border-radius-lg); margin-bottom: 15px; }
.order-header { display: flex; justify-content: space-between; padding: 10px 15px; background: #fafafa; border-bottom: 1px solid #eee; font-size: 1.2rem; }
.order-body { display: flex; justify-content: space-between; align-items: center; padding: 15px; }
.order-product { display: flex; align-items: center; gap: 15px; }
.order-product img { border-radius: var(--border-radius-sm); }
.order-amount { text-align: right; }
.order-amount strong { color: var(--color-price); font-size: 1.8rem; }
.order-footer { padding: 10px 15px; border-top: 1px solid #eee; text-align: right; gap: 10px; display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; }
.order-status { font-weight: bold; color: var(--color-main); }
.status-done { color: var(--color-success); font-weight: bold; }
.status-paid { color: #e67e22; }
.status-refunded { color: var(--color-success); font-weight: bold; }
.status-invalid { color: var(--color-text-lighter); }
.status-canceled { color: var(--color-text-lighter); }

/* ====== Cart ====== */
.cart-page h1 { font-size: 2rem; margin-bottom: 20px; }
.cart-table th { font-size: 1.3rem; }
.cart-table td { vertical-align: middle; }

/* ====== Footer ====== */
.footer { background: #333; color: #ccc; padding: 30px 0 50px; margin-top: 30px; font-size: 1.2rem; }
.footer .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.footer a { color: #aaa; }
.footer a:hover { color: #fff; }
.footer p { margin: 6px 0; }
.footer .footer-bottom { grid-column: 1 / -1; text-align: center; padding-top: 20px; border-top: 1px solid #555; margin-top: 20px; }

/* ====== Login/Register ====== */
.login-wrap { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #f5f5f5; padding: 20px; }
.login-box { background: #fff; padding: 40px; border-radius: var(--border-radius-lg); width: 400px; max-width: 100%; box-shadow: var(--shadow-lg); }
.login-box h2 { text-align: center; margin-bottom: 25px; font-size: 2rem; color: var(--color-text); }

/* ====== Payment Methods ====== */
.payment-methods { margin: 15px 0; }
.payment-methods h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pay-option { display: block; padding: 12px 15px; border: 2px solid #eee; border-radius: var(--border-radius); margin-bottom: 8px; cursor: pointer; transition: all .2s; }
.pay-option:hover { border-color: var(--color-main); }
.pay-option input { margin-right: 10px; }
.pay-option span { font-size: 1.4rem; }

/* ====== User Center ====== */
.user-info-box { background: #fff; padding: 20px; border-radius: var(--border-radius-lg); border: 1px solid #eee; margin-bottom: 20px; }
.user-info-box p { margin: 8px 0; font-size: 1.3rem; }
.user-center h3 { margin: 20px 0 10px; }

/* ====== Balance ====== */
.balance-card { background: linear-gradient(135deg, var(--color-main), #ff6a6a); color: #fff; padding: 25px; border-radius: var(--border-radius-lg); margin-bottom: 20px; }
.balance-card h2 { font-size: 1.3rem; opacity: 0.9; margin: 0; }
.balance-card .amount { font-size: 3.2rem; font-weight: bold; margin: 10px 0; }
.balance-actions { display: flex; gap: 10px; }
.balance-actions .btn { flex: 1; text-align: center; }

/* ====== Withdraw / Form Card ====== */
.form-card { background: #fff; padding: 25px; border-radius: var(--border-radius-lg); margin-bottom: 15px; border: 1px solid #eee; }
.form-card h3 { margin: 0 0 15px; font-size: 1.5rem; }
.form-card .form-group { margin-bottom: 15px; }
.form-card .form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 1.3rem; }
.form-card .form-group input, .form-card .form-group select { width: 100%; padding: 10px 12px; border: 1px solid var(--color-border-dark); border-radius: var(--border-radius); font-size: 1.4rem; }
.form-card .form-group .help { font-size: 1.1rem; color: var(--color-text-lighter); margin-top: 3px; }

/* ====== Refund Page ====== */
.refund-page { background: #fff; padding: 30px; border-radius: var(--border-radius-lg); border: 1px solid #eee; }
.refund-order-info, .refund-progress, .refund-share, .refund-invitees { margin-bottom: 30px; }
.progress-bar-wrap { height: 12px; background: #eee; border-radius: 6px; overflow: hidden; margin: 10px 0; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--color-success), #20c997); border-radius: 6px; transition: width .5s; }
.progress-text { font-size: 1.4rem; line-height: 1.8; }
.countdown { color: var(--color-main); font-weight: bold; font-size: 1.5rem; }
.share-link-box { display: flex; gap: 10px; }
.share-link-box input { flex: 1; padding: 10px; border: 2px dashed var(--color-link); border-radius: var(--border-radius); font-size: 1.3rem; }

/* ====== Page Title ====== */
.page-title { font-size: 2rem; margin-bottom: 20px; }

/* ====== Status Badges ====== */
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 1.1rem; font-weight: 600; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-info { background: #d1ecf1; color: #0c5460; }

/* ====== Toolbar ====== */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 15px; }

/* ====== Shop Info ====== */
.shop-info { background: #f9f9f9; border-radius: var(--border-radius-lg); padding: 20px; margin-bottom: 25px; }
.shop-info h3 { margin: 0 0 15px; font-size: 1.5rem; }
.shop-info table td { padding: 8px 12px; font-size: 1.3rem; }
.shop-info table td:first-child { color: var(--color-text-lighter); width: 100px; }

/* ====== Search Form ====== */
.search-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 15px; padding: 15px; background: #f8f9fa; border-radius: var(--border-radius); }
.search-form input, .search-form select { padding: 6px 10px; border: 1px solid var(--color-border-dark); border-radius: var(--border-radius); font-size: 1.2rem; outline: none; }

/* ====== Stats Grid ====== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; margin-bottom: 25px; }
.stat-card { background: #fff; border-radius: var(--border-radius-lg); padding: 20px; box-shadow: var(--shadow); border: 1px solid #eee; text-align: center; }
.stat-card h3 { font-size: 2.6rem; color: var(--color-main); margin: 0 0 5px; }
.stat-card p { color: var(--color-text-lighter); font-size: 1.2rem; margin: 0; }

/* ====== Utility ====== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-main { color: var(--color-main); }
.text-success { color: var(--color-success); }
.text-muted { color: var(--color-text-lighter); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.flex { display: flex; }
.flex-center { align-items: center; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .floor-body { flex-direction: column; }
  .floor-side { width: 100%; padding: 10px 15px; border-right: none; border-bottom: 1px solid #eee; }
  .floor-side a { display: inline-block; margin: 2px 4px; }
  .floor-goods { grid-template-columns: repeat(3, 1fr); }
  .floor-goods-5 { grid-template-columns: repeat(3, 1fr); }
  .floor-goods-item:nth-child(5n) { border-right: 1px solid #eee; }
  .floor-goods-item:nth-child(3n) { border-right: none; }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .nav-search { display: none !important; }
  .shop-navigation { display: block; height: auto; line-height: normal; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .shop-navigation::-webkit-scrollbar { display: none; }
  .shop-navigation .container { display: flex; white-space: nowrap; padding: 0; }
  .shop-navigation .all-cat-btn { display: none; }
  .shop-navigation nav { display: flex; margin: 0; }
  .shop-navigation nav a { line-height: 40px; padding: 0 12px; font-size: 1.3rem; }
  #goods-category { display: none !important; }
  .mobile-navigation { display: flex; justify-content: space-around; }
  .container { padding: 0 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img { height: 150px; }
  .product-info { padding: 10px; }
  .product-info h3 { font-size: 1.3rem; }
  .product-info .price { font-size: 1.6rem; }
  .product-detail { flex-direction: column; padding: 15px; }
  .product-carousel { flex: none; }
  .carousel-main { height: 280px; }
  .floor-goods { grid-template-columns: repeat(2, 1fr); }
  .floor-goods-5 { grid-template-columns: repeat(2, 1fr); }
  .floor-goods-item:nth-child(3n) { border-right: 1px solid #eee; }
  .floor-goods-item:nth-child(2n) { border-right: none; }
  .floor-goods-img { height: 120px; }
  .category-list { width: 160px; }
  .category-sub { left: 160px; width: calc(100% - 160px); }
  .category-sub .sub-items { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding: 20px 0 60px; }
  .page-title { font-size: 1.6rem; }
  .login-box { padding: 25px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-slider .slides { padding-top: 50%; }
  .product-grid .product-card:nth-child(n+9) { display: none; }
}
@media (max-width: 480px) {
  html { font-size: 9px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-img { height: 120px; }
  .order-body { flex-direction: column; align-items: flex-start; gap: 10px; }
  .order-amount { text-align: left; }
}
@media (min-width: 769px) {
  .header-top { display: block !important; }
  .nav-search { display: block !important; }
  .shop-navigation { display: block !important; }
  #goods-category { display: block !important; }
  .mobile-navigation { display: none !important; }
}
