/* 统一网站风格 - 基于登录页面设计 */

/* 全局变量 */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --btn-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== 强制所有页面头部、搜索、导航一致 ===== */
#hd {
    min-width: 1800px !important;
}

.hd-qbar {
    width: 100% !important;
    background: #fafafa !important;
    border-bottom: 1px solid #eee !important;
}

.hd-qbar-inner {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.hd-main {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
}

.hd-main-logo {
    width: 200px !important;
    flex-shrink: 0 !important;
}

.hd-main-search {
    flex: 1 !important;
    max-width: 650px !important;
    padding: 0 30px !important;
}

.hd-menu {
    width: 100% !important;
    background: var(--btn-gradient) !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.hd-menu-con {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

#hd-nav {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

#hd-nav li {
    position: relative !important;
    padding: 0 !important;
}

#hd-nav li a {
    display: block !important;
    padding: 16px 24px !important;
    color: white !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--btn-gradient);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    text-decoration: none;
    color: white;
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--btn-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 卡片样式 */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 24px;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.08), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

/* 输入框样式 */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ===== 基础布局类 ===== */
.fl {
    float: left;
}

.fr {
    float: right;
}

.cf::before,
.cf::after {
    content: "";
    display: table;
}

.cf::after {
    clear: both;
}

.container,
.flashSaleWrap,
.hp-box,
.recommendWrap,
.promotionGoodsCont {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* 保留w980作为兼容，防止还有遗漏 */
.w980 {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.rel {
    position: relative;
}

/* ===== 顶部快捷栏额外样式 ===== */
.hd-qbar-inner .hd-qbar-login {
    float: left;
}

.hd-qbar-inner .hd-qbar-list {
    float: right;
}

/* 清除浮动 */
.hd-qbar-inner::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== 顶部快捷栏 ===== */
.hd-qbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 6px 0;
}

.hd-qbar-inner {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hd-qbar-login {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hd-qbar-login li {
    padding: 0 10px;
    border-right: 1px solid #eee;
}

.hd-qbar-login li:last-child {
    border-right: none;
}

.hd-qbar-login a {
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.hd-qbar-login a:hover {
    color: var(--primary-color);
}

.hd-qbar-list {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hd-qbar-list li {
    padding: 0 10px;
    position: relative;
}

.hd-qbar-list a {
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.hd-qbar-list a:hover {
    color: var(--primary-color);
}

.hd-qbar-list-drop {
    position: relative;
}

.hd-qbar-list-drop ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    min-width: 120px;
    z-index: 100;
}

.hd-qbar-list-drop:hover ul {
    display: block;
}

.hd-qbar-list-drop ul li {
    padding: 8px 20px;
    white-space: nowrap;
}

.hd-qbar-list-drop ul li a {
    display: block;
    color: var(--text-primary);
}

.hd-qbar-list-drop ul li:hover {
    background: rgba(102, 126, 234, 0.08);
}

.btn-checkout {
    background: var(--btn-gradient);
    color: white !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ===== 搜索区域 ===== */
.hd-main {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px !important;
}

.hd-main-logo {
    width: 200px;
    flex-shrink: 0;
}

.hd-main-logo a {
    display: block;
}

.hd-main-logo img {
    height: 55px;
    width: auto;
}

.hd-main-search {
    flex: 1;
    max-width: 650px;
    padding: 0 30px;
}

.hd-main-search fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
    height: 38px;
}

.hd-text {
    flex: 1;
    padding: 0 15px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    height: 34px;
    line-height: 34px;
}

.hd-sbt {
    background: var(--btn-gradient);
    color: white;
    border: none;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    height: 34px;
    line-height: 34px;
}

.hd-sbt:hover {
    opacity: 0.9;
}

.hd-search-kw {
    margin-top: 8px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.hd-search-kw .hot-label {
    color: var(--text-muted);
    font-size: 12px;
    flex-shrink: 0;
}

.hd-search-kw dd {
    margin: 0;
    padding: 0;
}

.hd-search-kw a {
    color: var(--text-secondary);
    font-size: 12px;
    text-decoration: none;
    padding: 2px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.hd-search-kw a:hover {
    background: var(--btn-gradient);
    color: white;
}

.hd-tSlide {
    width: 160px;
    height: 55px;
    flex-shrink: 0;
}

.hd-tSlide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 满屏广告横幅 */
.full-width-banner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.hp-slide-promotion {
    width: 100%;
    max-width: 100%;
}

.slidegroup {
    width: 100%;
    max-width: 100%;
}

.slidegroup .j-sw-clip {
    width: 100%;
    max-width: 100%;
    height: 650px !important;
}

.slidegroup .j-sw-clip ul {
    width: 100% !important;
}

.slidegroup .j-sw-clip li {
    width: 100% !important;
}

/* 满屏内容区域 */
.contentWrap {
    width: 100% !important;
    max-width: 100% !important;
}

.main-content {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* ===== 主导航栏 ===== */
.hd-menu {
    width: 100%;
    background: var(--btn-gradient);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hd-menu-con {
    width: 100% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

#hd-nav {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

#hd-nav li {
    position: relative;
    padding: 0;
}

#hd-nav li a {
    display: block;
    padding: 16px 24px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

#hd-nav li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

#hd-nav li.home a {
    background: rgba(255, 255, 255, 0.15);
}

#hd-nav li.home a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== 子导航 ===== */
.hd-submenu {
    background: white;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.hd-submenu-con {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    margin: 0;
    list-style: none;
}

.hd-submenu-con li a {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.hd-submenu-con li a:hover {
    color: var(--primary-color);
}

/* 头部导航 */
.siteNavWrap {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.siteNav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.siteNav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.siteNav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 主头部 */
#header {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* 搜索框 */
.searchWrap {
    flex: 1;
    max-width: 500px;
}

.search {
    width: 100%;
    display: flex;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.search .text {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid transparent;
    border-right: none;
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    font-size: 14px;
    background: #f8f9fa;
    transition: var(--transition);
}

.search .text:focus {
    background: white;
    border-color: var(--primary-color);
    outline: none;
}

.searchR {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-gradient);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.searchR::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.searchR:hover::before {
    left: 100%;
}

.searchR:hover {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

.searchR a {
    color: white;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.searchR a:hover {
    text-decoration: none;
}

/* 购物车 */
.shoppingCartWrap {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.shoppingCartWrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.shoppingCartWrap:hover::before {
    left: 100%;
}

.shoppingCartWrap:hover {
    background: var(--btn-gradient);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.shoppingCartWrap:hover a {
    color: white;
}

.cartTitle, .numb {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

/* 导航栏 */
.navWrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.nav {
    display: flex;
    align-items: center;
    padding: 0;
    flex-wrap: wrap;
}

.nav li {
    position: relative;
    margin: 0;
    transition: var(--transition);
}

.nav li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--btn-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav li:hover::after {
    width: 80%;
}

.nav li a {
    display: block;
    padding: 18px 24px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.nav li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 内容容器 */
.contentWrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

/* 区域标题 */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid transparent;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* 商品卡片 */
.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card .img-box {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .img-box img {
    transform: scale(1.1);
}

.product-card .img-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .img-box::after {
    opacity: 1;
}

.product-card .info-box {
    padding: 16px;
}

.product-card .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #ff4d4f;
}

/* 品牌/横幅区域 */
.banner-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.banner-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.banner-box img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.banner-box:hover img {
    transform: scale(1.05);
}

/* 页脚 */
#footerWrap {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    margin-top: 60px;
}

.footer {
    padding: 40px 0;
}

.guarantee {
    background: var(--primary-gradient);
    padding: 30px 0;
    border-radius: 0;
}

.guarantee ul {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

.guarantee ul li {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.helpList {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.helpList dl dt {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.helpList dl dd a {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2;
    display: block;
}

.helpList dl dd a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding: 24px 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .siteNav,
    #header,
    .navWrap,
    .contentWrap,
    .helpList,
    .guarantee ul {
        width: 95%;
    }
}

@media (max-width: 768px) {
    #header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .searchWrap {
        width: 100%;
        max-width: 100%;
    }
    
    .shoppingCartWrap {
        align-self: center;
    }
    
    .nav {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .guarantee ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .helpList {
        flex-direction: column;
        text-align: center;
    }
}

/* 热卖标签 */
.hot-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--btn-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* 折扣标签 */
.discount-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

/* 快速菜单 */
.quickMenu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quickMenu li {
    position: relative;
}

.quickMenu li + li::before {
    content: '|';
    position: absolute;
    left: -10px;
    color: #e0e0e0;
}

/* 轮播图 */
.smSlider {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* 广告位 */
.addWrap {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.addWrap li {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.addWrap li:last-child {
    margin-bottom: 0;
}

/* 品牌推荐 */
.brandRecommendationWrap,
.womenWearWrap,
.menWearWrap,
.underWearWrap,
.childSaleWrap,
.sportsOutdoorsWrap,
.shoesBagsWrap,
.communityWrap {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.brandRecommendationTile,
.womenWearTile,
.menWearTile,
.underWearTile,
.childSaleTile,
.sportsOutdoorsTile,
.shoesBagsTile,
.communityTile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.brandRecommendationTile h3,
.womenWearTile h3,
.menWearTile h3,
.underWearTile h3,
.childSaleTile h3,
.sportsOutdoorsTile h3,
.shoesBagsTile h3,
.communityTile h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    padding-left: 16px;
}

.brandRecommendationTile h3::before,
.womenWearTile h3::before,
.menWearTile h3::before,
.underWearTile h3::before,
.childSaleTile h3::before,
.sportsOutdoorsTile h3::before,
.shoesBagsTile h3::before,
.communityTile h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.brandRecommendationTile .more,
.womenWearTile .more,
.menWearTile .more,
.underWearTile .more,
.childSaleTile .more,
.sportsOutdoorsTile .more,
.shoesBagsTile .more,
.communityTile .more {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.brandRecommendationTile .more:hover,
.womenWearTile .more:hover,
.menWearTile .more:hover,
.underWearTile .more:hover,
.childSaleTile .more:hover,
.sportsOutdoorsTile .more:hover,
.shoesBagsTile .more:hover,
.communityTile .more:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 商品列表 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* 分类展示区 */
.category-box {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.category-item {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.08);
    color: var(--primary-color);
    border-radius: 20px;
    margin: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.category-item:hover {
    background: var(--btn-gradient);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 全屏横幅 */
.full-width-banner {
    width: 100%;
    background: #ffffff;
    margin: 20px 0 30px 0;
    padding: 0;
    clear: both;
    float: none;
}

.full-width-banner::after {
    content: "";
    display: table;
    clear: both;
}

/* 主体内容区 */
.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 快捷商品区域 */
.quick-products {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
    clear: both;
}

/* 主页盒子间距 */
#j-first {
    clear: both;
    margin-bottom: 30px !important;
    padding-top: 20px;
}

#j-first::after {
    content: "";
    display: table;
    clear: both;
}

/* Tab促销区域 */
.hp-tab-promotion {
    float: none !important;
    width: 100%;
    margin-bottom: 25px;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 轮播分类区域 */
.hp-carousel-cata {
    float: none !important;
    width: 100%;
    margin-bottom: 25px;
}

/* 分类盒子 */
.box {
    margin-bottom: 25px;
    clear: both;
}

.box::after {
    content: "";
    display: table;
    clear: both;
}

/* 商品区域 */
.w980 {
    margin-bottom: 30px !important;
}

.w980::after {
    content: "";
    display: table;
    clear: both;
}

.full-width-banner .hp-slide-promotion {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.full-width-banner .slidegroup {
    width: 100%;
}

.full-width-banner .j-sw-clip {
    width: 100% !important;
    overflow: hidden;
}

.full-width-banner .j-sw-c {
    width: 100% !important;
    position: relative !important;
    top: auto !important;
}

.full-width-banner .j-sw-c li {
    width: 100% !important;
    display: block !important;
}

.full-width-banner .j-sw-c li img {
    width: 100% !important;
    height: 650px !important;
    max-height: 650px !important;
    object-fit: cover !important;
}

/* 强制广告大图高度 */
#j-slide-promotion .slidegroup .j-sw-clip {
    height: 650px !important;
}

#j-slide-promotion .slidegroup .j-sw-clip ul {
    height: 650px !important;
}

#j-slide-promotion .slidegroup .j-sw-clip li {
    height: 650px !important;
}

#j-slide-promotion .slidegroup .j-sw-clip li img {
    height: 650px !important;
    max-height: 650px !important;
}

/* 活动/促销横幅 */
.promo-banner {
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    color: white;
    margin: 30px 0;
    box-shadow: var(--shadow-lg);
}

.promo-banner h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.promo-banner p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 24px;
}

.promo-banner .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.promo-banner .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
