/* ========================================
   服务商详情页样式 - Finance Company 蓝白主题
   ======================================== */

/* === 面包屑导航区 === */
.zh_merchant_breadcrumb_section {
    background: var(--zh-dark, #202430);
    padding: 120px 0 24px;
}

.zh_breadcrumb_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.zh_breadcrumb_wrap a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.zh_breadcrumb_wrap a:hover {
    color: var(--zh-white, #ffffff);
}

.zh_breadcrumb_sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.zh_breadcrumb_current {
    color: var(--zh-white, #ffffff);
    font-weight: 600;
}

/* === 服务商信息头部 === */
.zh_merchant_hero {
    background: var(--zh-dark, #202430);
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.zh_merchant_hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--zh-primary, #3f58dd) 0%, var(--zh-primary-dark, #2e45b8) 100%);
    border-radius: 50%;
    opacity: 0.08;
}

.zh_merchant_profile {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* 服务商头像 */
.zh_profile_avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: var(--zh-white, #ffffff);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.zh_profile_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_profile_avatar .zh_avatar_placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(63, 88, 221, 0.1) 0%, rgba(63, 88, 221, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_profile_avatar .zh_avatar_placeholder i {
    font-size: 44px;
    color: var(--zh-primary, #3f58dd);
}

.zh_verified_badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--zh-primary, #3f58dd) 0%, var(--zh-primary-dark, #2e45b8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(63, 88, 221, 0.4);
    border: 3px solid var(--zh-dark, #202430);
}

.zh_verified_badge i {
    color: var(--zh-white, #ffffff);
    font-size: 14px;
}

/* 服务商信息 */
.zh_profile_info {
    flex: 1;
}

.zh_profile_name {
    font-weight: 800;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--zh-white, #ffffff);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.zh_profile_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.zh_tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.zh_tag_verified {
    background: rgba(63, 88, 221, 0.2);
    color: var(--zh-primary-light, #5a71e8);
}

.zh_tag_info {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.zh_profile_desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 700px;
}

/* === 主内容区 === */
.zh_merchant_main {
    padding: 50px 0 100px;
    background: var(--zh-gray-bg, #fbfbfb);
}

.zh_merchant_layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* 左侧内容区 */
.zh_merchant_content {
    min-width: 0;
}

.zh_content_section {
    background: var(--zh-white, #ffffff);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.zh_section_header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(138, 138, 155, 0.1);
}

.zh_section_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-dark-text, #21203c);
    margin: 0;
}

.zh_section_title i {
    color: var(--zh-primary, #3f58dd);
}

.zh_section_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 10px;
    background: linear-gradient(135deg, var(--zh-primary, #3f58dd) 0%, var(--zh-primary-dark, #2e45b8) 100%);
    color: var(--zh-white, #ffffff);
    border-radius: 13px;
    font-size: 12px;
    font-weight: 700;
}

/* 信息列表网格 */
.zh_info_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
}

/* 信息卡片 */
.zh_info_card {
    background: var(--zh-white, #ffffff);
    border: 1px solid rgba(138, 138, 155, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.zh_info_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(63, 88, 221, 0.1);
}

.zh_info_thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f8f9fa;
}

.zh_info_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    transition: transform 0.4s;
}

.zh_info_card:hover .zh_info_thumb img {
    transform: scale(1.05);
}

.zh_info_hot {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--zh-white, #ffffff);
}

.zh_info_body {
    padding: 18px;
}

.zh_info_title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_info_title a {
    color: var(--zh-dark-text, #21203c);
    text-decoration: none;
    transition: color 0.3s;
}

.zh_info_title a:hover {
    color: var(--zh-primary, #3f58dd);
}

.zh_info_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.zh_meta_item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--zh-text-light, #8a8a9b);
}

.zh_meta_item i {
    font-size: 11px;
}

.zh_info_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-primary, #3f58dd);
    text-decoration: none;
    transition: all 0.3s;
}

.zh_info_link:hover {
    color: var(--zh-primary-dark, #2e45b8);
}

.zh_info_link i {
    font-size: 11px;
    transition: transform 0.3s;
}

.zh_info_link:hover i {
    transform: translateX(4px);
}

/* 空状态 */
.zh_empty_info {
    text-align: center;
    padding: 60px 40px;
}

.zh_empty_icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(63, 88, 221, 0.1) 0%, rgba(63, 88, 221, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_empty_icon i {
    font-size: 32px;
    color: var(--zh-primary, #3f58dd);
}

.zh_empty_text {
    font-size: 15px;
    color: var(--zh-text-light, #8a8a9b);
    margin: 0;
}

/* 分页 */
.zh_pagination {
    display: flex;
    justify-content: center;
    padding: 24px;
    border-top: 1px solid rgba(138, 138, 155, 0.1);
}

.zh_pagination .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zh_pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: var(--zh-white, #ffffff);
    border: 1px solid rgba(138, 138, 155, 0.15);
    border-radius: 10px;
    color: var(--zh-dark-text, #21203c);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.zh_pagination .page-link:hover {
    background: rgba(63, 88, 221, 0.08);
    border-color: var(--zh-primary, #3f58dd);
    color: var(--zh-primary, #3f58dd);
}

.zh_pagination .page-item.active .page-link {
    background: var(--zh-primary, #3f58dd);
    border-color: var(--zh-primary, #3f58dd);
    color: var(--zh-white, #ffffff);
    box-shadow: 0 4px 12px rgba(63, 88, 221, 0.3);
}

.zh_pagination .page-item.disabled .page-link {
    background: var(--zh-gray-100, #f8f9fa);
    color: var(--zh-text-light, #8a8a9b);
    cursor: not-allowed;
}

/* === 右侧边栏 === */
.zh_merchant_sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 侧边栏卡片 */
.zh_sidebar_card {
    background: var(--zh-white, #ffffff);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.zh_card_header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(138, 138, 155, 0.1);
}

.zh_card_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--zh-dark-text, #21203c);
    margin: 0;
}

.zh_card_title i {
    color: var(--zh-primary, #3f58dd);
}

.zh_card_body {
    padding: 24px;
}

/* 联系方式卡片 */
.zh_contact_card .zh_contact_item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(138, 138, 155, 0.1);
}

.zh_contact_card .zh_contact_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.zh_contact_card .zh_contact_item:first-child {
    padding-top: 0;
}

.zh_contact_icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(63, 88, 221, 0.1) 0%, rgba(63, 88, 221, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_contact_icon i {
    font-size: 16px;
    color: var(--zh-primary, #3f58dd);
}

.zh_contact_detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zh_contact_label {
    font-size: 12px;
    color: var(--zh-text-light, #8a8a9b);
}

.zh_contact_value {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-dark-text, #21203c);
    word-break: break-all;
}

/* 相关服务商卡片 */
.zh_related_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zh_related_item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--zh-gray-bg, #fbfbfb);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.zh_related_item:hover {
    background: rgba(63, 88, 221, 0.08);
    transform: translateX(5px);
}

.zh_related_avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--zh-white, #ffffff);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.zh_related_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_related_avatar i {
    font-size: 18px;
    color: var(--zh-primary, #3f58dd);
}

.zh_related_info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.zh_related_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--zh-dark-text, #21203c);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zh_related_count {
    font-size: 12px;
    color: var(--zh-text-light, #8a8a9b);
}

.zh_related_arrow {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--zh-text-light, #8a8a9b);
    transition: all 0.3s;
}

.zh_related_item:hover .zh_related_arrow {
    transform: translateX(4px);
    color: var(--zh-primary, #3f58dd);
}

/* CTA卡片 */
.zh_cta_card {
    background: linear-gradient(135deg, var(--zh-primary, #3f58dd) 0%, var(--zh-primary-dark, #2e45b8) 100%);
}

.zh_cta_inner {
    text-align: center;
    padding: 32px 24px;
}

.zh_cta_icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_cta_icon i {
    font-size: 26px;
    color: var(--zh-white, #ffffff);
}

.zh_cta_title {
    font-size: 20px;
    font-weight: 700;
    color: var(--zh-white, #ffffff);
    margin: 0 0 8px 0;
}

.zh_cta_desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
}

.zh_btn_cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--zh-white, #ffffff);
    color: var(--zh-primary, #3f58dd);
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.zh_btn_cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: var(--zh-primary, #3f58dd);
}

.zh_btn_cta i {
    font-size: 12px;
    transition: transform 0.3s;
}

.zh_btn_cta:hover i {
    transform: translateX(4px);
}

/* === 响应式设计 === */
@media (max-width: 1200px) {
    .zh_merchant_layout {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }

    .zh_info_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .zh_merchant_breadcrumb_section {
        padding: 100px 0 20px;
    }

    .zh_merchant_hero {
        padding: 32px 0 50px;
    }

    .zh_merchant_layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .zh_merchant_sidebar {
        order: -1;
    }

    .zh_info_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .zh_merchant_breadcrumb_section {
        padding: 90px 0 16px;
    }

    .zh_breadcrumb_wrap {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .zh_merchant_hero {
        padding: 28px 0 40px;
    }

    .zh_merchant_profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .zh_profile_avatar {
        width: 100px;
        height: 100px;
    }

    .zh_profile_tags {
        justify-content: center;
    }

    .zh_merchant_main {
        padding: 40px 0 80px;
    }

    .zh_info_grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }

    .zh_section_header {
        padding: 20px;
    }

    .zh_section_title {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .zh_profile_avatar {
        width: 88px;
        height: 88px;
        border-radius: 16px;
    }

    .zh_profile_avatar .zh_avatar_placeholder i {
        font-size: 36px;
    }

    .zh_verified_badge {
        width: 30px;
        height: 30px;
        bottom: -4px;
        right: -4px;
    }

    .zh_verified_badge i {
        font-size: 12px;
    }

    .zh_tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .zh_info_card {
        border-radius: 12px;
    }

    .zh_info_thumb {
        aspect-ratio: 16 / 10;
    }

    .zh_info_body {
        padding: 14px;
    }

    .zh_info_title {
        font-size: 15px;
    }

    .zh_card_body {
        padding: 20px;
    }

    .zh_contact_icon {
        width: 38px;
        height: 38px;
    }

    .zh_contact_icon i {
        font-size: 14px;
    }

    .zh_related_item {
        padding: 12px;
    }

    .zh_related_avatar {
        width: 40px;
        height: 40px;
    }

    .zh_cta_inner {
        padding: 24px 20px;
    }

    .zh_cta_icon {
        width: 52px;
        height: 52px;
    }

    .zh_cta_icon i {
        font-size: 22px;
    }
}
