:root {
    --primary-color: #6366f1; /* 主色-紫罗兰蓝 */
    --secondary-color: #ec4899; /* 辅助色-玫红 */
    --accent-color: #f97316; /* 强调色-橙色 */
    --dark-color: #f8fafc; /* 浅灰背景 */
    --darker-color: #ffffff; /* 纯白背景 */
    --light-color: #1e293b; /* 深色文字 */
    --text-muted: #64748b; /* 次要文字 */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bright-blue: #3b82f6;
    --primary: #6366f1;
    --background: #ffffff;
    --dark-light: #f1f5f9;
}

body {
    background-color: var(--darker-color);
    color: var(--light-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s;
    margin: 0 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.badge-cart {
    position: relative;
    top: -8px;
    left: -5px;
    font-size: 0.7rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.baise{ color: var(--light-color);}

/* 商品区域 */
.products-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    background: #ffffff;
}

.product-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-bottom: 1px solid #f1f5f9;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.product-badge.new {
    background: linear-gradient(90deg, var(--secondary-color), #f472b6);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-size: 1.15rem;
    color: var(--light-color);
}

.product-card:hover .product-name {
    color: var(--primary-color);
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 0.5rem;
}

.price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.8;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.btn-add-to-cart {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    background-clip: padding-box;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1rem 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-add-to-cart:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-wishlist {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-wishlist:hover, .btn-wishlist.active {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background: rgba(236, 72, 153, 0.05);
}

/* 特惠活动区 */
.deal-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    position: relative;
    overflow: hidden;
}

.deal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://picsum.photos/id/160/1200/800');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.deal-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.deal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.deal-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 评价区域 */
.reviews-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.review-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.1);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(90deg, var(--primary-color), var(--secondary-color)) border-box;
}

.reviewer-name {
    font-weight: 600;
    color: var(--light-color);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-rating {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 分类轮播样式 */
.categories-section .container {
max-width: 1300px;
overflow: hidden;
}

.category-swiper {
padding: 20px 10px 50px;
max-width: 1300px;
margin: 0 auto;
}

.category-swiper .swiper-slide {
height: auto;
}

.category-pagination .swiper-pagination-bullet {
width: 12px;
height: 12px;
background-color: #e2e8f0;
opacity: 1;
margin: 0 5px;
}

.category-pagination .swiper-pagination-bullet-active {
opacity: 1;
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* 通知提示 */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.notification.show {
    transform: translateX(0);
}

.notification p {
    margin: 0;
    color: var(--light-color);
}

/* 商品详情区域 */
.product-detail-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

/* 商品图片展示 */
.product-gallery {
    margin-bottom: 2rem;
}

.main-image-container {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.main-product-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.thumbnail-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.thumbnail-item:hover, .thumbnail-item.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品信息 */
.product-info {
    padding: 1rem;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--light-color);
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rating-stars {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-price {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 1rem;
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
    align-self: center;
}

.price-save {
    color: #10b981;
    font-weight: 600;
    margin-left: 1rem;
    align-self: center;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* 规格选择 */
.specification-section {
    margin-bottom: 2rem;
}

.spec-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.spec-option {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--light-color);
    backdrop-filter: blur(10px);
}

.spec-option:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.spec-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

/* 数量选择 */
.quantity-section {
    margin-bottom: 2rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    width: 120px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quantity-btn:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quantity-minus {
    border-radius: 5px 0 0 5px;
}

.quantity-plus {
    border-radius: 0 5px 5px 0;
}

.quantity-input {
    width: 50px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-left: none;
    border-right: none;
    color: var(--light-color);
    text-align: center;
}

/* 购买按钮 */
.purchase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-buy-now {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 2;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-buy-now:hover {
    background: linear-gradient(90deg, #4f46e5, #db2777);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

/* 商品特性 */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-icon {
    margin-right: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 面包屑导航 */
.breadcrumb-section {
    padding: 1rem 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
    margin: 0;
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item {
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--light-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* 商品详情标签页 */
.product-tabs-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.product-tabs {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-tab {
    padding: 0.8rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
}

.product-tab:hover {
    color: var(--light-color);
}

.product-tab.active {
    color: var(--primary-color);
}

.product-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 详情内容 */
.detail-content {
    line-height: 1.8;
    color: var(--text-muted);
}

.detail-image {
    width: 100%;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.detail-list {
    padding-left: 1.5rem;
}

.detail-list li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

/* 规格参数 */
.specification-table {
    width: 100%;
    border-collapse: collapse;
}

.specification-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.specification-table td {
    padding: 1rem;
    color: var(--text-muted);
}

.spec-name {
    width: 30%;
    color: var(--light-color);
}

.spec-value {
    width: 70%;
}

/* 评价内容 */
.reviews-container {
    margin-bottom: 2rem;
}

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.overall-rating {
    text-align: center;
    padding-right: 2rem;
    margin-right: 2rem;
    border-right: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.rating-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.rating-stars-large {
    color: #f59e0b;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.rating-distribution {
    flex: 1;
    min-width: 300px;
}

.rating-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-bar-label {
    width: 40px;
    color: var(--text-muted);
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 1rem;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.rating-bar-percent {
    width: 40px;
    text-align: right;
    color: var(--text-muted);
}

.review-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--light-color);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-stars {
    color: #f59e0b;
}

.review-text {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.review-images {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.review-actions {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-action {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.review-action:hover {
    color: var(--primary-color);
}

.review-action i {
    margin-right: 0.3rem;
}

.load-more-reviews {
    text-align: center;
    margin-top: 2rem;
}

.btn-load-reviews {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    color: var(--light-color);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-load-reviews:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

/* 相关推荐 */
.related-products-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.section-title {
    text-align: center;
    margin: 0 0 3rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--light-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.related-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.related-product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    background: #ffffff;
}

.related-product-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-bottom: 1px solid #f1f5f9;
}

.related-product-card:hover .related-product-img {
    transform: scale(1.05);
}

.related-product-info {
    padding: 1.5rem;
}

.related-product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    color: var(--light-color);
}

.related-product-card:hover .related-product-name {
    color: var(--primary-color);
}

.related-product-price {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)), 
                url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* 分类标签样式 */
.category-tag {
    display: inline-block;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 160px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.category-tag:hover, .category-tag.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* 特色区域样式 */
.feature-icon {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.feature-box {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.1);
}

/* 页脚样式 */
.footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-heading {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #4f46e5, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.btn-outline-primary:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4f46e5, #db2777);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 加载动画 */
.spinner-border {
    border-color: var(--primary-color);
    border-right-color: transparent;
}

/* 购物车侧边栏 */
.offcanvas {
    background-color: #ffffff;
    color: var(--light-color);
    border-left: 1px solid #e2e8f0;
}

.offcanvas-header {
    border-bottom: 1px solid #e2e8f0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        width: 70px;
        height: 70px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .price-current {
        font-size: 1.8rem;
    }
    
    .overall-rating {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        margin-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .deal-title {
        font-size: 2rem;
    }
    
    .countdown-item {
        width: 60px;
        height: 60px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .purchase-actions {
        flex-direction: column;
    }
    
    .btn-add-to-cart, .btn-buy-now {
        width: 100%;
    }
    
    .detail-section-title {
        font-size: 1.3rem;
    }
    
    .specification-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .spec-name {
        width: 40%;
    }
    
    .spec-value {
        width: 60%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .slide-content .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .category-img {
        height: 150px;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        width: 50px;
        height: 50px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .product-features {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .spec-option {
        width: 100%;
        text-align: center;
    }
    
    .related-products {
        grid-template-columns: 1fr;
    }
}
.bg-dark{ background-color: #efefef !important;}
.text-light{color: #666666 !important;}