/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #222222;
    overflow-x: hidden;
}

/* 容器样式 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主要轮播区域 */
.zh_hero-section {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.zh_hero-carousel {
    height: 100%;
    position: relative;
}

.zh_carousel-container {
    height: 100%;
    position: relative;
}

.zh_carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.zh_carousel-item.active {
    opacity: 1;
}

.zh_carousel-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.zh_carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(159, 38, 195, 0.7) 0%, rgba(102, 0, 204, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_carousel-content {
    text-align: center;
    color: #FFFFFF;
    max-width: 600px;
    padding: 0 20px;
}

.zh_carousel-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.zh_carousel-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.zh_carousel-btn {
    display: inline-block;
    background: #9F26C3;
    color: #FFFFFF;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.zh_carousel-btn:hover {
    background: #8A1FA3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(159, 38, 195, 0.3);
}

.zh_carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.zh_indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.zh_indicator.active {
    background: #FFFFFF;
    transform: scale(1.2);
}

/* 特色服务区域 */
.zh_features-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.zh_features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.zh_feature-card {
    background: #FFFFFF;
    border: 1px solid #EEEEF0;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zh_feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9F26C3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zh_feature-card:hover::after {
    transform: scaleX(1);
}

.zh_feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.zh_feature-icon {
    font-size: 40px;
    color: #9F26C3;
    margin-bottom: 20px;
}

.zh_feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222222;
}

.zh_feature-desc {
    font-size: 14px;
    color: #666666;
}

/* 通用区域样式 */
.zh_section-header {
    text-align: center;
    margin-bottom: 60px;
}

.zh_section-title {
    font-size: 36px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 15px;
}

.zh_section-subtitle {
    font-size: 14px;
    color: #9F26C3;
    font-weight: 400;
    letter-spacing: 2px;
}

.zh_section-desc {
    font-size: 16px;
    color: #666666;
    max-width: 500px;
    margin: 0 auto;
}

.zh_white-title {
    color: #FFFFFF !important;
}

.zh_white-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 热门产品区域 */
.zh_hot-products-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.zh_products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_product-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.zh_product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9F26C3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zh_product-card:hover::after {
    transform: scaleX(1);
}

.zh_product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.zh_product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.zh_product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_product-card:hover .zh_product-image img {
    transform: scale(1.05);
}

.zh_product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(159, 38, 195, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_product-card:hover .zh_product-overlay {
    opacity: 1;
}

.zh_quick-view {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #FFFFFF;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.zh_quick-view:hover {
    background: #FFFFFF;
    color: #9F26C3;
}

.zh_product-info {
    padding: 20px;
}

.zh_product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}

.zh_product-name a {
    color: #222222;
    text-decoration: none;
}

.zh_product-name a:hover {
    color: #9F26C3;
}

.zh_product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_current-price {
    font-size: 18px;
    font-weight: 700;
    color: #9F26C3;
}

.zh_original-price {
    font-size: 14px;
    color: #999999;
    text-decoration: line-through;
}

/* 家居家装区域 */
.zh_home-decoration-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #33004D 0%, #6600CC 100%);
}

.zh_decoration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.zh_decoration-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.zh_decoration-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.zh_decoration-image {
    aspect-ratio: 1.2;
    overflow: hidden;
}

.zh_decoration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_decoration-card:hover .zh_decoration-image img {
    transform: scale(1.1);
}

.zh_decoration-info {
    padding: 20px;
}

.zh_decoration-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #FFFFFF;
    line-height: 1.4;
}

.zh_decoration-name a {
    color: #FFFFFF;
    text-decoration: none;
}

.zh_decoration-name a:hover {
    color: #FFD700;
}

.zh_decoration-price {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
}

/* 五金电工区域 */
.zh_hardware-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.zh_hardware-carousel-container {
    position: relative;
    overflow: hidden;
}

.zh_hardware-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
}

.zh_hardware-item {
    flex: 0 0 calc(20% - 19.2px);
    min-width: 0;
}

.zh_hardware-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.zh_hardware-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9F26C3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zh_hardware-card:hover::after {
    transform: scaleX(1);
}

.zh_hardware-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.zh_hardware-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.zh_hardware-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_hardware-card:hover .zh_hardware-image img {
    transform: scale(1.05);
}

.zh_hardware-info {
    padding: 20px;
}

.zh_hardware-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.zh_hardware-name a {
    color: #222222;
    text-decoration: none;
}

.zh_hardware-name a:hover {
    color: #9F26C3;
}

.zh_hardware-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #9F26C3;
    color: #FFFFFF;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.zh_carousel-btn:hover {
    background: #8A1FA3;
    transform: translateY(-50%) scale(1.1);
}

.zh_carousel-prev {
    left: -25px;
}

.zh_carousel-next {
    right: -25px;
}

/* 洗护清洁区域 */
.zh_cleaning-section {
    padding: 80px 0;
    background: #F5F7FA;
}

.zh_cleaning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_cleaning-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.zh_cleaning-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9F26C3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zh_cleaning-card:hover::after {
    transform: scaleX(1);
}

.zh_cleaning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.zh_cleaning-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.zh_cleaning-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_cleaning-card:hover .zh_cleaning-image img {
    transform: scale(1.05);
}

.zh_cleaning-info {
    padding: 20px;
}

.zh_cleaning-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}

.zh_cleaning-name a {
    color: #222222;
    text-decoration: none;
}

.zh_cleaning-name a:hover {
    color: #9F26C3;
}

.zh_cleaning-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 汽车用品区域 */
.zh_auto-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.zh_auto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_auto-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.zh_auto-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9F26C3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zh_auto-card:hover::after {
    transform: scaleX(1);
}

.zh_auto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.zh_auto-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.zh_auto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_auto-card:hover .zh_auto-image img {
    transform: scale(1.05);
}

.zh_auto-info {
    padding: 20px;
}

.zh_auto-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}

.zh_auto-name a {
    color: #222222;
    text-decoration: none;
}

.zh_auto-name a:hover {
    color: #9F26C3;
}

.zh_auto-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .zh_container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .zh_features-grid,
    .zh_products-grid,
    .zh_cleaning-grid,
    .zh_auto-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .zh_decoration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zh_hardware-item {
        flex: 0 0 calc(33.333% - 16px);
    }
    
    .zh_carousel-title {
        font-size: 36px;
    }
    
    .zh_section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .zh_features-grid,
    .zh_products-grid,
    .zh_cleaning-grid,
    .zh_auto-grid,
    .zh_decoration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .zh_hardware-item {
        flex: 0 0 calc(50% - 12px);
    }
    
    .zh_carousel-title {
        font-size: 28px;
    }
    
    .zh_carousel-subtitle {
        font-size: 16px;
    }
    
    .zh_section-title {
        font-size: 24px;
    }
    
    .zh_hero-section {
        height: 400px;
    }
    
    .zh_carousel-prev {
        left: 10px;
    }
    
    .zh_carousel-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .zh_features-grid,
    .zh_products-grid,
    .zh_cleaning-grid,
    .zh_auto-grid,
    .zh_decoration-grid {
        grid-template-columns: 1fr;
    }
    
    .zh_hardware-item {
        flex: 0 0 100%;
    }
    
    .zh_carousel-title {
        font-size: 24px;
    }
    
    .zh_carousel-subtitle {
        font-size: 14px;
    }
    
    .zh_section-title {
        font-size: 20px;
    }
    
    .zh_hero-section {
        height: 300px;
    }
    
    .zh_carousel-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}
