/* 店铺详情页样式 - 全新设计 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1b1b1b;
    background: #f5f5f5;
}

.zh_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_main {
    min-height: calc(100vh - 200px);
}

/* 面包屑导航 */
.zh_breadcrumb {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.zh_breadcrumb_item {
    color: #505050;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.zh_breadcrumb_item:hover {
    color: #e60000;
}

.zh_breadcrumb_item i {
    margin-right: 5px;
}

.zh_breadcrumb_separator {
    margin: 0 10px;
    color: #999;
}

.zh_breadcrumb_current {
    color: #1b1b1b;
    font-weight: 600;
}

/* 店铺Hero区域 - 全新大Banner设计 */
.zh_store_hero {
    position: relative;
    height: 400px;
    margin-bottom: -80px;
    overflow: hidden;
}

.zh_hero_cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.zh_hero_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_hero_gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.7) 100%);
}

.zh_store_intro {
    position: relative;
    z-index: 10;
    padding-top: 200px;
}

.zh_intro_left {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.zh_avatar_section {
    position: relative;
}

.zh_store_avatar {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 30px;
    border: 5px solid #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.zh_store_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_verified_mark {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: #e60000;
    border-radius: 50%;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.zh_store_title_area {
    padding-bottom: 20px;
}

.zh_store_name {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.zh_company_name {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.zh_service_badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.zh_badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* 内容网格布局 */
.zh_content_grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    padding: 110px 0 80px;
}

/* 主内容区 */
.zh_main_area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zh_intro_card,
.zh_showcase_card {
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.zh_card_header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f5;
}

.zh_header_icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, #e60000, #ff3333);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.zh_card_title {
    font-size: 24px;
    font-weight: 700;
    color: #1b1b1b;
}

.zh_card_body {
    color: #505050;
    font-size: 15px;
    line-height: 1.9;
}

/* 轮播区 */
.zh_slider_wrapper {
    border-radius: 20px;
    overflow: hidden;
}

.storeslider {
    position: relative;
    width: 100%;
    height: 450px;
}

.storeslider .slides {
    list-style: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.storeslider .slides li {
    position: absolute;
    width: 100%;
    height: 100%;
}

.storeslider .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品区域 */
.zh_products_section {
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.zh_section_header {
    margin-bottom: 30px;
}

.zh_header_left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_section_title {
    font-size: 24px;
    font-weight: 700;
    color: #1b1b1b;
}

.zh_products_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.zh_product_card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.zh_product_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: #e60000;
}

.zh_product_link {
    display: block;
    position: relative;
}

.zh_product_image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.zh_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.zh_product_card:hover .zh_product_image img {
    transform: scale(1.1);
}

.zh_image_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.zh_product_card:hover .zh_image_overlay {
    opacity: 1;
}

.zh_view_text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.zh_product_badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e60000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.zh_new_badge {
    background: #1b1b1b;
}

.zh_product_info {
    padding: 18px;
}

.zh_product_name {
    margin-bottom: 8px;
}

.zh_product_name a {
    color: #1b1b1b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_product_name a:hover {
    color: #e60000;
}

.zh_product_desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_product_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zh_price {
    color: #e60000;
    font-size: 20px;
    font-weight: 700;
}

.zh_buy_btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #505050;
    text-decoration: none;
    transition: all 0.3s;
}

.zh_buy_btn:hover {
    background: #e60000;
    color: #fff;
    transform: scale(1.1);
}

/* 侧边栏 */
.zh_sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.zh_sidebar_card {
    background: #fff;
    border-radius: 25px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.zh_card_header {
    margin-bottom: 20px;
}

.zh_card_title {
    font-size: 18px;
    font-weight: 700;
    color: #1b1b1b;
}

/* 店铺信息列表 */
.zh_store_info_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zh_info_row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 14px;
    background: #f5f5f5;
    border-radius: 12px;
    transition: background 0.3s;
}

.zh_info_row:hover {
    background: #fce2e2;
}

.zh_info_label {
    font-size: 13px;
    color: #505050;
    font-weight: 500;
    white-space: nowrap;
}

.zh_info_value {
    font-size: 13px;
    color: #1b1b1b;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

/* 分类树 */
.zh_category_tree {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_category_node {
    border-radius: 12px;
    overflow: hidden;
}

.zh_category_parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
}

.zh_category_parent:hover {
    background: #fce2e2;
}

.zh_category_text {
    font-size: 14px;
    color: #1b1b1b;
    font-weight: 600;
}

.zh_category_toggle {
    color: #505050;
    font-size: 12px;
    transition: transform 0.3s;
}

.zh_subcategory_list {
    list-style: none;
    background: #fafafa;
    padding: 8px 0;
}

.zh_subcategory_item a {
    display: block;
    padding: 10px 16px 10px 32px;
    color: #505050;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.zh_subcategory_item a:hover {
    background: #fce2e2;
    color: #e60000;
    padding-left: 36px;
}

/* 热销排行 */
.zh_ranking_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zh_ranking_item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.zh_ranking_number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #505050;
    flex-shrink: 0;
}

.zh_ranking_number.zh_top_three {
    background: linear-gradient(135deg, #e60000, #ff3333);
    color: #fff;
}

.zh_ranking_content {
    display: flex;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.3s;
}

.zh_ranking_content:hover {
    background: #f5f5f5;
}

.zh_ranking_thumb {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
}

.zh_ranking_info {
    flex: 1;
}

.zh_ranking_name {
    font-size: 13px;
    color: #1b1b1b;
    margin-bottom: 6px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_ranking_price {
    font-size: 15px;
    color: #e60000;
    font-weight: 700;
}

/* 地图 */
.zh_map_wrapper {
    border-radius: 15px;
    overflow: hidden;
}

.zh_map_container {
    width: 100%;
    height: 250px;
    background: #f5f5f5;
}

.zh_map_address {
    padding: 15px;
    background: #f5f5f5;
    font-size: 13px;
    color: #505050;
    line-height: 1.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_content_grid {
        grid-template-columns: 1fr;
    }

    .zh_sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_store_hero {
        height: 350px;
    }

    .zh_store_intro {
        padding-top: 150px;
    }
}

@media (max-width: 768px) {
    .zh_store_hero {
        height: 300px;
        margin-bottom: -60px;
    }

    .zh_store_intro {
        padding-top: 120px;
    }

    .zh_intro_left {
        flex-direction: column;
        align-items: flex-start;
    }

    .zh_store_avatar {
        width: 100px;
        height: 100px;
    }

    .zh_store_name {
        font-size: 28px;
    }

    .zh_content_grid {
        padding: 80px 0 60px;
    }

    .zh_sidebar {
        grid-template-columns: 1fr;
    }

    .zh_products_grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .zh_store_hero {
        height: 250px;
    }

    .zh_store_name {
        font-size: 24px;
    }

    .zh_service_badges {
        gap: 6px;
    }

    .zh_badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .zh_intro_card,
    .zh_showcase_card,
    .zh_products_section {
        padding: 25px 20px;
    }

    .zh_products_grid {
        grid-template-columns: 1fr;
    }
}
