/* =====================
   店铺列表页面样式
   主色: #D32F2F (鲜红色)
   辅助色: #FBC02D (明亮黄)
   ===================== */

/* 基础样式 */
.zh_main_container {
    background: #F5F5F5;
    min-height: 100vh;
}

.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面英雄区域 */
.zh_page_hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 0;
}

.zh_hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.zh_hero_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.8) 0%, rgba(251, 192, 45, 0.6) 100%);
    z-index: 2;
}

.zh_hero_content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: white;
}

.zh_hero_title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.zh_hero_title i {
    margin-right: 15px;
    color: #FBC02D;
}

.zh_hero_subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 600px;
}

.zh_hero_stats {
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

.zh_stat_item {
    text-align: center;
}

.zh_stat_number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FBC02D;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.zh_stat_label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* 面包屑导航 */
.zh_breadcrumb {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.zh_breadcrumb_item {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.zh_breadcrumb_item:hover {
    color: #D32F2F;
}

.zh_breadcrumb_item i {
    margin-right: 5px;
}

.zh_breadcrumb_separator {
    margin: 0 10px;
    color: #999;
}

.zh_breadcrumb_current {
    color: #D32F2F;
    font-weight: 500;
}

/* 筛选排序区域 */
.zh_filter_section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.zh_filter_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.zh_filter_header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.zh_filter_title {
    color: #333333;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.zh_filter_title i {
    color: #D32F2F;
    margin-right: 8px;
}

.zh_filter_count {
    color: #666666;
    font-size: 14px;
}

.zh_filter_count strong {
    color: #D32F2F;
    font-weight: 600;
}

.zh_sort_controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.zh_sort_btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_sort_btn:hover {
    border-color: #D32F2F;
    color: #D32F2F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.zh_sort_btn.zh_active {
    background: #D32F2F;
    border-color: #D32F2F;
    color: white;
}

.zh_sort_btn i {
    font-size: 12px;
}

/* 店铺列表区域 */
.zh_store_list_section {
    padding: 40px 0;
}

.zh_store_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 店铺卡片 */
.zh_store_card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.zh_store_card:hover,
.zh_store_card.zh_card_hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(211, 47, 47, 0.2);
}

/* 店铺封面区域 */
.zh_store_cover {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.zh_store_cover_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.zh_store_cover_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zh_store_card:hover .zh_store_cover_bg img {
    transform: scale(1.1);
}

.zh_store_cover_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.7) 0%, rgba(251, 192, 45, 0.5) 100%);
    z-index: 1;
}

/* 认证徽章 */
.zh_store_badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.zh_badge_verified {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.zh_badge_quality {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
}

.zh_badge i {
    font-size: 10px;
}

/* 店铺头像和信息 */
.zh_store_profile {
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.zh_store_avatar_container {
    position: relative;
    flex-shrink: 0;
}

.zh_store_avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.zh_store_card:hover .zh_store_avatar {
    transform: scale(1.05);
    border-color: #FBC02D;
}

.zh_store_status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    font-size: 0;
}

.zh_store_status.zh_online {
    background: #4CAF50;
}

.zh_store_basic {
    flex: 1;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.zh_store_name {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.zh_store_name a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_store_name a:hover {
    color: #FBC02D;
}

.zh_store_owner {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.zh_store_owner i {
    font-size: 12px;
}

.zh_store_rating_inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.zh_rating_score {
    color: #FBC02D;
    font-weight: 600;
}

/* 店铺主体内容 */
.zh_store_content {
    padding: 60px 25px 20px;
}

.zh_store_description {
    margin-bottom: 25px;
    text-align: center;
}

.zh_store_description p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 核心数据展示 */
.zh_store_stats_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.zh_stat_card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zh_stat_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D32F2F, #FBC02D);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.zh_store_card:hover .zh_stat_card::before {
    transform: translateX(0);
}

.zh_stat_card:hover {
    border-color: #FBC02D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 192, 45, 0.2);
}

.zh_stat_icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.zh_stat_card:hover .zh_stat_icon {
    background: linear-gradient(135deg, #FBC02D, #F9A825);
    transform: scale(1.1) rotate(5deg);
}

.zh_stat_info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zh_stat_number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333333;
    line-height: 1;
}

.zh_stat_text {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
}

/* 服务特色标签 */
.zh_store_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    justify-content: center;
}

.zh_service_tag {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #90caf9;
    transition: all 0.3s ease;
}

.zh_service_tag:hover {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(25, 118, 210, 0.3);
}

.zh_service_tag i {
    font-size: 10px;
}

/* 热门产品展示 */
.zh_popular_products {
    margin-bottom: 20px;
}

.zh_section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.zh_section_title {
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.zh_section_title i {
    color: #FF5722;
    animation: flame 2s ease-in-out infinite alternate;
}

@keyframes flame {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

.zh_view_more {
    color: #D32F2F;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.zh_view_more:hover {
    color: #B71C1C;
}

.zh_view_more i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.zh_view_more:hover i {
    transform: translateX(2px);
}

.zh_products_showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.zh_product_preview {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.zh_product_preview:hover {
    border-color: #FBC02D;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.2);
}

.zh_product_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zh_product_thumb {
    position: relative;
    height: 70px;
    overflow: hidden;
}

.zh_product_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_product_preview:hover .zh_product_thumb img {
    transform: scale(1.1);
}

.zh_product_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_product_preview:hover .zh_product_overlay {
    opacity: 1;
}

.zh_product_overlay i {
    color: white;
    font-size: 16px;
}

.zh_product_details {
    padding: 8px;
    text-align: center;
}

.zh_product_title {
    font-size: 11px;
    color: #333333;
    margin: 0 0 4px 0;
    font-weight: 500;
    line-height: 1.3;
}

.zh_product_price {
    font-size: 12px;
    color: #D32F2F;
    font-weight: 700;
}

/* 移除旧的店铺特色样式，已整合到新设计中 */

/* 店铺底部操作区域 */
.zh_store_footer {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.zh_contact_info {
    flex: 1;
}

.zh_response_time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 12px;
}

.zh_response_time i {
    color: #4CAF50;
    font-size: 11px;
}

.zh_action_buttons {
    display: flex;
    gap: 10px;
}

.zh_btn {
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.zh_btn::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;
}

.zh_btn:hover::before {
    left: 100%;
}

.zh_btn_contact {
    background: linear-gradient(135deg, #FBC02D, #F9A825);
    color: #333333;
    border: 2px solid transparent;
}

.zh_btn_contact:hover {
    background: linear-gradient(135deg, #F9A825, #FF8F00);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(249, 168, 37, 0.4);
}

.zh_btn_visit {
    background: white;
    color: #D32F2F;
    border: 2px solid #D32F2F;
}

.zh_btn_visit:hover {
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
    border-color: #D32F2F;
}

.zh_btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.zh_btn:hover i {
    transform: scale(1.2);
}

/* 空状态 */
.zh_empty_state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.zh_empty_illustration {
    width: 200px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
}

.zh_empty_illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_empty_title {
    color: #333333;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.zh_empty_description {
    color: #666666;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.zh_empty_actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 分页 */
.zh_pagination_section {
    padding: 40px 0 20px;
}

.zh_pagination_wrapper {
    display: flex;
    justify-content: center;
}

/* 服务特色区域 */
.zh_service_features {
    background: white;
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.zh_section_title {
    text-align: center;
    font-size: 2.2rem;
    color: #333333;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.zh_section_title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D32F2F, #FBC02D);
    border-radius: 2px;
}

.zh_features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.zh_feature_card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.zh_feature_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.1);
    border-color: #FBC02D;
}

.zh_feature_icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.zh_feature_card:hover .zh_feature_icon {
    background: linear-gradient(135deg, #FBC02D, #F9A825);
    transform: scale(1.1) rotate(5deg);
}

.zh_feature_title {
    color: #333333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.zh_feature_desc {
    color: #666666;
    line-height: 1.6;
    font-size: 14px;
}

/* 评分系统样式 */
.zh_cover_rating {
    display: flex;
    gap: 2px;
}

.zh_cover_rating .star {
    color: #FBC02D;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.zh_cover_rating .star.empty {
    color: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_hero_title {
        font-size: 2.5rem;
    }
    
    .zh_hero_subtitle {
        font-size: 1.2rem;
    }
    
    .zh_hero_stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .zh_filter_wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .zh_sort_controls {
        justify-content: center;
    }
    
    .zh_store_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zh_store_content {
        padding: 50px 20px 15px;
    }
    
    .zh_store_stats_grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .zh_store_tags {
        gap: 6px;
    }
    
    .zh_service_tag {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .zh_products_showcase {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .zh_store_footer {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        text-align: center;
    }
    
    .zh_action_buttons {
        width: 100%;
        justify-content: center;
    }
    
    .zh_features_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .zh_empty_actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .zh_hero_title {
        font-size: 2rem;
    }
    
    .zh_hero_subtitle {
        font-size: 1rem;
    }
    
    .zh_store_cover {
        height: 140px;
    }
    
    .zh_store_profile {
        bottom: -35px;
        left: 15px;
        right: 15px;
    }
    
    .zh_store_avatar {
        width: 70px;
        height: 70px;
    }
    
    .zh_store_name {
        font-size: 1.1rem;
    }
    
    .zh_store_badges {
        top: 10px;
        left: 10px;
        gap: 6px;
    }
    
    .zh_badge {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .zh_store_content {
        padding: 45px 15px 15px;
    }
    
    .zh_stat_card {
        padding: 12px;
    }
    
    .zh_stat_icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .zh_stat_number {
        font-size: 1.1rem;
    }
    
    .zh_section_title {
        font-size: 1.8rem;
    }
    
    .zh_feature_card {
        padding: 25px 15px;
    }
    
    .zh_action_buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .zh_btn {
        width: 100%;
        justify-content: center;
    }
}

/* 通用评分系统样式 */
.zh_list_rating {
    display: flex;
    gap: 2px;
}

.zh_list_rating .star {
    color: #FBC02D;
    font-size: 14px;
}

.zh_list_rating .star.empty {
    color: #e0e0e0;
}

/* 动画增强 */
.zh_store_card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 加载状态 */
.zh_loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.zh_loading_spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #D32F2F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
