/* 店铺详情页样式 - 温暖自然风格 */

/* 基础布局 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_layout {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.zh_main_area {
    flex: 1;
    min-width: 0;
}

.zh_sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 面包屑导航 */
.zh_breadcrumb {
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e8 100%);
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e0f2e0;
}

.zh_breadcrumb_nav {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.zh_breadcrumb_item {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_breadcrumb_item:hover {
    color: #45a049;
}

.zh_breadcrumb_separator {
    margin: 0 10px;
    color: #81C784;
}

.zh_breadcrumb_current {
    color: #2E7D32;
    font-weight: 500;
}

/* 主内容区域 */
.zh_main_content {
    background: linear-gradient(to bottom, #f9fdf9 0%, #ffffff 50%);
    min-height: calc(100vh - 200px);
    padding: 30px 0;
}

/* 区块样式 */
.zh_section_block {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.08);
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid #e8f5e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zh_section_block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.12);
}

/* 店铺头部信息 */
.zh_store_header {
    margin-bottom: 30px;
}

.zh_store_banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.zh_banner_img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.zh_banner_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 40px;
}

.zh_store_basic {
    display: flex;
    align-items: flex-end;
    gap: 25px;
}

.zh_store_avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.zh_store_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_store_info {
    flex: 1;
}

.zh_store_name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.zh_store_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.zh_tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.zh_tag_verified {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.zh_tag_entity {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.zh_tag_genuine {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.zh_tag_return {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.zh_tag_delivery {
    background: linear-gradient(135deg, #FF5722, #D84315);
}

.zh_store_actions {
    margin-top: 10px;
}

.zh_collect_btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.zh_collect_btn:hover {
    background: linear-gradient(135deg, #45a049, #388e3c);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* 店铺主营介绍 */
.zh_store_business {
    text-align: center;
}

.zh_business_title {
    font-size: 20px;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.zh_business_title i {
    color: #4CAF50;
    font-size: 22px;
}

.zh_business_content {
    font-size: 16px;
    line-height: 1.8;
    color: #424242;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

/* 区块标题 */
.zh_section_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f5e8;
}

.zh_section_title {
    font-size: 22px;
    font-weight: 600;
    color: #2E7D32;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_section_title i {
    color: #4CAF50;
    font-size: 20px;
}

.zh_more_link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.zh_more_link:hover {
    color: #45a049;
}

/* 商品网格 */
.zh_goods_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.zh_goods_item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.zh_goods_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.15);
}

.zh_goods_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zh_goods_image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.zh_goods_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_goods_item:hover .zh_goods_image img {
    transform: scale(1.05);
}

.zh_new_badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FF5722, #D84315);
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.zh_goods_info {
    padding: 20px;
}

.zh_goods_title {
    font-size: 16px;
    font-weight: 500;
    color: #2E7D32;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_goods_desc {
    font-size: 13px;
    color: #757575;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_goods_price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_current_price {
    font-size: 18px;
    font-weight: 600;
    color: #F44336;
}

/* 轮播图样式 */
.zh_store_slider {
    border-radius: 12px;
    overflow: hidden;
}

.zh_default_slider {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.zh_default_slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_slider_content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: #ffffff;
    padding: 40px;
    text-align: center;
}

.zh_slider_content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.zh_slider_content p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 侧边栏样式 */
.zh_sidebar_block {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #e8f5e8;
}

.zh_sidebar_header {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #ffffff;
    padding: 20px;
}

.zh_sidebar_title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 店铺联系信息 */
.zh_store_contact {
    padding: 25px;
}

.zh_info_item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.zh_info_item:last-child {
    margin-bottom: 0;
}

.zh_info_label {
    font-weight: 500;
    color: #2E7D32;
    min-width: 80px;
    font-size: 14px;
}

.zh_info_value {
    color: #424242;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

/* 商品分类 */
.zh_category_list {
    padding: 0;
}

.zh_category_item {
    border-bottom: 1px solid #f0f0f0;
}

.zh_category_item:last-child {
    border-bottom: none;
}

.zh_category_main {
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zh_category_main:hover {
    background-color: #f8fdf8;
}

.zh_category_name {
    font-size: 15px;
    color: #2E7D32;
    font-weight: 500;
}

.zh_category_arrow {
    color: #4CAF50;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.zh_subcategory_list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f9fdf9;
}

.zh_subcategory_item {
    border-top: 1px solid #e8f5e8;
}

.zh_subcategory_item a {
    display: block;
    padding: 12px 25px 12px 45px;
    color: #424242;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.zh_subcategory_item a:hover {
    background-color: #e8f5e8;
    color: #2E7D32;
    padding-left: 50px;
}

/* 热销排行 */
.zh_ranking_list {
    padding: 25px;
}

.zh_ranking_item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9fdf9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.zh_ranking_item:last-child {
    margin-bottom: 0;
}

.zh_ranking_item:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.zh_ranking_number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #81C784;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.zh_ranking_number.zh_top_three {
    background: linear-gradient(135deg, #FFD700, #FFA000);
}

.zh_ranking_goods {
    flex: 1;
    min-width: 0;
}

.zh_ranking_link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.zh_ranking_image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.zh_ranking_info {
    flex: 1;
    min-width: 0;
}

.zh_ranking_title {
    font-size: 14px;
    font-weight: 500;
    color: #2E7D32;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_ranking_price {
    font-size: 16px;
    font-weight: 600;
    color: #F44336;
    margin-bottom: 4px;
}

.zh_ranking_sales {
    font-size: 12px;
    color: #757575;
}

/* 地图样式 */
.zh_map_container {
    padding: 25px;
}

.zh_map_area {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e8f5e8;
    margin-bottom: 15px;
}

.zh_map_info {
    text-align: center;
}

.zh_map_address {
    font-size: 14px;
    color: #424242;
    margin: 0;
    line-height: 1.5;
}

/* 店铺评分显示 */
.zh_store_rating_display {
    margin: 15px 0;
}

/* 商品评分显示 */
.zh_goods_rating_display {
    margin-top: 10px;
}

/* 排行榜评分显示 */
.zh_ranking_rating {
    margin-top: 8px;
}

/* 侧边工具栏 */
.zh_side_toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f5e8;
    overflow: hidden;
}

.zh_toolbar_item {
    position: relative;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 60px;
}

.zh_toolbar_item:last-child {
    border-bottom: none;
}

.zh_toolbar_item:hover {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #ffffff;
}

.zh_toolbar_item i {
    font-size: 18px;
    color: #4CAF50;
    transition: color 0.3s ease;
}

.zh_toolbar_item:hover i {
    color: #ffffff;
}

.zh_toolbar_text {
    font-size: 11px;
    font-weight: 500;
    color: #424242;
    transition: color 0.3s ease;
}

.zh_toolbar_item:hover .zh_toolbar_text {
    color: #ffffff;
}

.zh_cart_count {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #F44336;
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .zh_sidebar {
        width: 100%;
        order: -1;
    }
    
    .zh_store_basic {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .zh_store_name {
        font-size: 24px;
    }
    
    .zh_goods_grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .zh_section_block {
        padding: 20px;
    }
    
    .zh_banner_overlay {
        padding: 25px;
    }
    
    .zh_side_toolbar {
        right: 10px;
        transform: translateY(-50%) scale(0.9);
    }
    
    .zh_toolbar_item {
        padding: 12px;
        min-width: 50px;
    }
    
    .zh_toolbar_item i {
        font-size: 16px;
    }
    
    .zh_toolbar_text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .zh_goods_grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .zh_section_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .zh_section_title {
        font-size: 20px;
    }
    
    .zh_main_content {
        padding: 20px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zh_section_block {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
.zh_subcategory_list::-webkit-scrollbar {
    width: 4px;
}

.zh_subcategory_list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.zh_subcategory_list::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 2px;
}

.zh_subcategory_list::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}
