/* ========================================
   服务商详情页样式 - 深色主题风格
   参考首页设计稿 (网站首页.jpeg)
   ======================================== */

/* === 变量定义（与主布局保持一致） === */
:root {
    --zh-primary: #e52e2e;
    --zh-primary-dark: #c92626;
    --zh-primary-light: #ff4444;
    --zh-black: #000000;
    --zh-dark: #0a0a0a;
    --zh-dark-100: #111111;
    --zh-dark-200: #1a1a1a;
    --zh-dark-300: #222222;
    --zh-dark-400: #2a2a2a;
    --zh-white: #ffffff;
    --zh-gray-100: #f5f5f5;
    --zh-gray-300: #aaaaaa;
    --zh-gray-500: #666666;
    --zh-text: #ffffff;
    --zh-text-muted: #888888;
    --zh-text-light: #cccccc;
    --zh-radius: 8px;
    --zh-radius-lg: 12px;
    --zh-radius-xl: 16px;
    --zh-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --zh-transition: all 0.3s ease;
}

/* === 面包屑导航区 === */
.zh_merchant_breadcrumb_section {
    background: var(--zh-dark);
    padding: 90px 0 20px;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_breadcrumb_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.zh_breadcrumb_wrap a {
    color: var(--zh-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--zh-transition);
}

.zh_breadcrumb_wrap a:hover {
    color: var(--zh-primary);
}

.zh_breadcrumb_sep {
    color: var(--zh-dark-400);
    font-size: 10px;
}

.zh_breadcrumb_current {
    color: var(--zh-white);
    font-weight: 600;
}

/* === 服务商信息头部 === */
.zh_merchant_hero {
    background: linear-gradient(135deg, var(--zh-primary) 0%, var(--zh-primary-dark) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.zh_merchant_hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.zh_merchant_profile {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* 服务商头像 */
.zh_profile_avatar {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: var(--zh-white);
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.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, var(--zh-dark-300) 0%, var(--zh-dark-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_profile_avatar .zh_avatar_placeholder i {
    font-size: 50px;
    color: var(--zh-text-muted);
}

.zh_verified_badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--zh-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.zh_verified_badge i {
    color: var(--zh-primary);
    font-size: 18px;
}

/* 服务商信息 */
.zh_profile_info {
    flex: 1;
}

.zh_profile_name {
    font-weight: 700;
    font-size: 36px;
    color: var(--zh-white);
    margin: 0 0 16px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.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: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.zh_tag_verified {
    background: rgba(255, 255, 255, 0.2);
    color: var(--zh-white);
    backdrop-filter: blur(10px);
}

.zh_tag_info {
    background: var(--zh-white);
    color: var(--zh-primary);
}

.zh_profile_desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 700px;
}

/* === 主内容区 === */
.zh_merchant_main {
    padding: 50px 0 80px;
    background: var(--zh-black);
}

.zh_merchant_layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* 左侧内容区 */
.zh_merchant_content {
    min-width: 0;
}

.zh_content_section {
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-xl);
    overflow: hidden;
}

.zh_section_header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--zh-dark-300);
    background: var(--zh-dark-100);
}

.zh_section_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0;
}

.zh_section_title i {
    color: var(--zh-primary);
}

.zh_section_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: var(--zh-primary);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-white);
}

/* 信息列表网格 */
.zh_info_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
}

/* 信息卡片 */
.zh_info_card {
    background: var(--zh-dark-300);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    transition: var(--zh-transition);
}

.zh_info_card:hover {
    transform: translateY(-5px);
    border-color: var(--zh-primary);
    box-shadow: 0 15px 30px rgba(229, 46, 46, 0.15);
}

.zh_info_thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-bottom: 1px solid var(--zh-dark-400);
}

.zh_info_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_info_card:hover .zh_info_thumb img {
    transform: scale(1.05);
}

.zh_info_hot {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--zh-primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--zh-white);
}

.zh_info_body {
    padding: 18px;
}

.zh_info_title {
    font-size: 15px;
    font-weight: 600;
    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-white);
    text-decoration: none;
    transition: var(--zh-transition);
}

.zh_info_title a:hover {
    color: var(--zh-primary);
}

.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-muted);
}

.zh_meta_item i {
    font-size: 11px;
    color: var(--zh-primary);
}

.zh_info_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-primary);
    text-decoration: none;
    transition: var(--zh-transition);
}

.zh_info_link:hover {
    color: var(--zh-primary-light);
}

.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: var(--zh-dark-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_empty_icon i {
    font-size: 32px;
    color: var(--zh-text-muted);
}

.zh_empty_text {
    font-size: 15px;
    color: var(--zh-text-muted);
    margin: 0;
}

/* 分页 */
.zh_pagination {
    display: flex;
    justify-content: center;
    padding: 24px;
    border-top: 1px solid var(--zh-dark-300);
}

.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-dark-300);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius);
    color: var(--zh-text-light);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: var(--zh-transition);
}

.zh_pagination .page-link:hover {
    background: var(--zh-dark-400);
    border-color: var(--zh-dark-400);
    color: var(--zh-white);
}

.zh_pagination .page-item.active .page-link {
    background: var(--zh-primary);
    border-color: var(--zh-primary);
    color: var(--zh-white);
}

.zh_pagination .page-item.disabled .page-link {
    background: var(--zh-dark-200);
    color: var(--zh-text-muted);
    cursor: not-allowed;
}

/* === 右侧边栏 === */
.zh_merchant_sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 侧边栏卡片 */
.zh_sidebar_card {
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-xl);
    overflow: hidden;
}

.zh_card_header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_card_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0;
}

.zh_card_title i {
    color: var(--zh-primary);
}

.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 var(--zh-dark-300);
}

.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: 44px;
    height: 44px;
    background: var(--zh-dark-300);
    border-radius: var(--zh-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_contact_icon i {
    font-size: 16px;
    color: var(--zh-primary);
}

.zh_contact_detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zh_contact_label {
    font-size: 12px;
    color: var(--zh-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zh_contact_value {
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-text-light);
    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-dark-300);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    text-decoration: none;
    transition: var(--zh-transition);
}

.zh_related_item:hover {
    border-color: var(--zh-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 46, 46, 0.1);
}

.zh_related_avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--zh-dark-200);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_related_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_related_avatar i {
    font-size: 20px;
    color: var(--zh-text-muted);
}

.zh_related_info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.zh_related_name {
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zh_related_count {
    font-size: 12px;
    color: var(--zh-text-muted);
}

.zh_related_arrow {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--zh-text-muted);
    transition: var(--zh-transition);
}

.zh_related_item:hover .zh_related_arrow {
    transform: translateX(4px);
    color: var(--zh-primary);
}

/* CTA卡片 */
.zh_cta_card {
    background: linear-gradient(135deg, var(--zh-primary) 0%, var(--zh-primary-dark) 100%);
    border: none;
}

.zh_cta_inner {
    text-align: center;
    padding: 32px 24px;
}

.zh_cta_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.zh_cta_icon i {
    font-size: 28px;
    color: var(--zh-white);
}

.zh_cta_title {
    font-size: 20px;
    font-weight: 700;
    color: var(--zh-white);
    margin: 0 0 8px 0;
}

.zh_cta_desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px 0;
}

.zh_btn_cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--zh-white);
    color: var(--zh-primary);
    border: none;
    border-radius: var(--zh-radius);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--zh-transition);
}

.zh_btn_cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--zh-primary-dark);
}

.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 320px;
        gap: 24px;
    }

    .zh_info_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .zh_merchant_breadcrumb_section {
        padding: 85px 0 16px;
    }

    .zh_merchant_hero {
        padding: 40px 0;
    }

    .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: 80px 0 14px;
    }

    .zh_breadcrumb_wrap {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .zh_merchant_hero {
        padding: 32px 0;
    }

    .zh_merchant_profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .zh_profile_avatar {
        width: 120px;
        height: 120px;
    }

    .zh_profile_name {
        font-size: 28px;
    }

    .zh_profile_tags {
        justify-content: center;
    }

    .zh_merchant_main {
        padding: 40px 0 60px;
    }

    .zh_info_grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }

    .zh_section_header {
        padding: 20px;
    }

    .zh_section_title {
        font-size: 16px;
    }

    .zh_sidebar_card {
        border-radius: var(--zh-radius-lg);
    }
}

@media (max-width: 576px) {
    .zh_profile_avatar {
        width: 100px;
        height: 100px;
    }

    .zh_profile_avatar .zh_avatar_placeholder i {
        font-size: 40px;
    }

    .zh_verified_badge {
        width: 32px;
        height: 32px;
    }

    .zh_verified_badge i {
        font-size: 14px;
    }

    .zh_profile_name {
        font-size: 24px;
    }

    .zh_tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .zh_info_card {
        border-radius: var(--zh-radius);
    }

    .zh_info_thumb {
        height: 140px;
    }

    .zh_info_body {
        padding: 14px;
    }

    .zh_info_title {
        font-size: 14px;
    }

    .zh_card_body {
        padding: 20px;
    }

    .zh_contact_icon {
        width: 40px;
        height: 40px;
    }

    .zh_contact_icon i {
        font-size: 14px;
    }

    .zh_related_item {
        padding: 12px;
    }

    .zh_related_avatar {
        width: 42px;
        height: 42px;
    }

    .zh_cta_inner {
        padding: 24px 20px;
    }

    .zh_cta_icon {
        width: 56px;
        height: 56px;
    }

    .zh_cta_icon i {
        font-size: 24px;
    }
}