/* ========== 服务商详情页样式 - 绿色主题 ========== */

/* ========== 面包屑导航 ========== */
.zh_breadcrumb_section {
    background: linear-gradient(135deg, var(--zh-primary-dark, #232e07) 0%, var(--zh-primary, #6b7d55) 100%);
    padding: 30px 0;
    margin-top: -112px;
    padding-top: 140px;
}

.zh_breadcrumb_container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zh_breadcrumb_container i.fa-home {
    color: rgba(248, 255, 242, 0.8);
    font-size: 16px;
}

.zh_breadcrumb_text {
    font-size: 14px;
    color: rgba(248, 255, 242, 0.85);
}

.zh_breadcrumb_text a {
    color: rgba(248, 255, 242, 0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.zh_breadcrumb_text a:hover {
    color: #fff;
}

.zh_breadcrumb_text span {
    color: #fff;
    font-weight: 500;
}

/* ========== 主内容区 ========== */
.zh_merchant_main {
    padding: 50px 0 100px;
    background: var(--zh-bg-light, #f8fff2);
}

/* ========== 服务商预览区 ========== */
.zh_provider_preview {
    margin-bottom: 60px;
}

.zh_provider_card {
    background: var(--zh-white, #ffffff);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(35, 46, 7, 0.08);
    border: 1px solid rgba(107, 125, 85, 0.1);
}

.zh_provider_header {
    background: linear-gradient(135deg, var(--zh-primary-dark, #232e07) 0%, var(--zh-primary, #6b7d55) 100%);
    padding: 50px 60px;
    color: var(--zh-bg-light, #f8fff2);
    position: relative;
    overflow: hidden;
}

.zh_provider_header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(248, 255, 242, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.zh_provider_header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 157, 112, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.zh_provider_header_content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 35px;
}

.zh_provider_logo {
    width: 120px;
    height: 120px;
    background: rgba(248, 255, 242, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(248, 255, 242, 0.2);
    flex-shrink: 0;
}

.zh_provider_logo i {
    font-size: 52px;
    color: rgba(248, 255, 242, 0.9);
}

.zh_provider_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_provider_title_wrap {
    flex: 1;
}

.zh_provider_title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
}

.zh_provider_meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.zh_provider_meta_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(248, 255, 242, 0.85);
}

.zh_provider_meta_item i {
    font-size: 16px;
    color: rgba(248, 255, 242, 0.7);
}

.zh_provider_badge_verified {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(248, 255, 242, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(248, 255, 242, 0.3);
}

.zh_provider_badge_verified i {
    color: #4ade80;
}

/* 服务商信息内容区 */
.zh_provider_content {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zh_provider_info_section {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: var(--zh-bg-cream, #f5f7f0);
    border-radius: 20px;
    border: 1px solid rgba(107, 125, 85, 0.1);
    transition: all 0.3s;
}

.zh_provider_info_section:hover {
    border-color: var(--zh-primary, #6b7d55);
    box-shadow: 0 8px 30px rgba(107, 125, 85, 0.1);
}

/* 区块图标 */
.zh_section_icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--zh-primary, #6b7d55) 0%, var(--zh-primary-light, #8a9d70) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(107, 125, 85, 0.2);
}

.zh_section_icon i {
    font-size: 26px;
    color: var(--zh-white, #ffffff);
}

/* 区块内容 */
.zh_section_content {
    flex: 1;
}

.zh_provider_info_title {
    font-size: 22px;
    font-weight: 600;
    color: var(--zh-heading, #232e07);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.zh_provider_info_title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--zh-primary, #6b7d55), var(--zh-primary-light, #8a9d70));
    border-radius: 2px;
}

.zh_provider_summary {
    font-size: 16px;
    line-height: 1.9;
    color: var(--zh-text, #484848);
}

/* 联系方式网格布局 */
.zh_contact_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.zh_contact_item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: var(--zh-white, #ffffff);
    border-radius: 16px;
    border: 1px solid rgba(107, 125, 85, 0.1);
    transition: all 0.3s;
}

.zh_contact_item:hover {
    border-color: var(--zh-primary, #6b7d55);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 125, 85, 0.1);
}

.zh_contact_icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(107, 125, 85, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_contact_icon i {
    font-size: 22px;
    color: var(--zh-primary, #6b7d55);
}

.zh_contact_details {
    flex: 1;
    min-width: 0;
}

.zh_contact_label {
    font-size: 13px;
    color: var(--zh-text, #484848);
    margin-bottom: 6px;
    font-weight: 500;
}

.zh_contact_value {
    font-size: 17px;
    color: var(--zh-heading, #232e07);
    font-weight: 600;
    word-break: break-all;
}

/* ========== 服务列表区域 ========== */
.zh_provider_services,
.zh_related_providers {
    margin-bottom: 60px;
}

.zh_provider_section_header {
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zh_provider_section_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--zh-heading, #232e07);
    position: relative;
    padding-bottom: 15px;
    margin: 0;
}

.zh_provider_section_title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--zh-primary, #6b7d55), var(--zh-primary-light, #8a9d70));
    border-radius: 2px;
}

.zh_provider_section_content {
    background: var(--zh-white, #ffffff);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(35, 46, 7, 0.06);
    border: 1px solid rgba(107, 125, 85, 0.1);
}

/* 服务网格 */
.zh_service_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.zh_service_item {
    background: var(--zh-white, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(107, 125, 85, 0.1);
}

.zh_service_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(35, 46, 7, 0.12);
    border-color: var(--zh-primary, #6b7d55);
}

.zh_service_item_inner {
    position: relative;
}

.zh_service_image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--zh-bg-cream, #f5f7f0);
}

.zh_service_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.zh_service_item:hover .zh_service_image img {
    transform: scale(1.08);
}

.zh_service_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(35, 46, 7, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.zh_service_item:hover .zh_service_overlay {
    opacity: 1;
}

.zh_service_badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.zh_service_info {
    padding: 25px;
}

.zh_service_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 14px;
}

.zh_service_title a {
    color: var(--zh-heading, #232e07);
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_service_title a:hover {
    color: var(--zh-primary, #6b7d55);
}

.zh_service_meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--zh-text, #484848);
    flex-wrap: wrap;
}

.zh_service_meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.zh_service_meta i {
    color: var(--zh-primary, #6b7d55);
    font-size: 12px;
}

.zh_service_actions {
    display: flex;
    gap: 10px;
}

.zh_service_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--zh-primary, #6b7d55);
    color: var(--zh-white, #ffffff);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.zh_service_btn:hover {
    background: var(--zh-primary-dark, #232e07);
    color: var(--zh-white, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 125, 85, 0.3);
}

/* 空列表状态 */
.zh_empty_list {
    text-align: center;
    padding: 100px 20px;
}

.zh_empty_icon {
    font-size: 80px;
    color: rgba(107, 125, 85, 0.25);
    margin-bottom: 25px;
}

.zh_empty_text {
    font-size: 17px;
    color: var(--zh-text, #484848);
}

/* ========== 相关推荐 ========== */
.zh_related_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_related_item {
    background: var(--zh-white, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(107, 125, 85, 0.1);
}

.zh_related_item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(35, 46, 7, 0.1);
    border-color: var(--zh-primary, #6b7d55);
}

.zh_related_icon {
    height: 130px;
    background: linear-gradient(135deg, var(--zh-primary-dark, #232e07) 0%, var(--zh-primary, #6b7d55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.zh_related_icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: rgba(248, 255, 242, 0.1);
    border-radius: 50%;
}

.zh_related_icon i {
    font-size: 48px;
    color: rgba(248, 255, 242, 0.85);
    position: relative;
    z-index: 1;
}

.zh_related_info {
    padding: 22px;
}

.zh_related_title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.zh_related_title a {
    color: var(--zh-heading, #232e07);
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_related_title a:hover {
    color: var(--zh-primary, #6b7d55);
}

.zh_related_meta {
    font-size: 14px;
    color: var(--zh-text, #484848);
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_related_meta i {
    color: var(--zh-primary, #6b7d55);
    font-size: 13px;
}

/* 分页样式 */
.zh_pagination {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.zh_pagination .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zh_pagination .page-item {
    list-style: none;
}

.zh_pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--zh-white, #ffffff);
    color: var(--zh-text, #484848);
    border: 1px solid rgba(107, 125, 85, 0.2);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.zh_pagination .page-link:hover {
    border-color: var(--zh-primary, #6b7d55);
    color: var(--zh-primary, #6b7d55);
    background: var(--zh-bg-cream, #f5f7f0);
}

.zh_pagination .page-item.active .page-link {
    background: var(--zh-primary, #6b7d55);
    color: var(--zh-white, #ffffff);
    border-color: var(--zh-primary, #6b7d55);
}

.zh_pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .zh_service_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_related_list {
        grid-template-columns: repeat(3, 1fr);
    }

    .zh_contact_grid {
        grid-template-columns: 1fr;
    }

    .zh_provider_header {
        padding: 40px 45px;
    }

    .zh_provider_content {
        padding: 40px 45px;
    }
}

@media (max-width: 992px) {
    .zh_breadcrumb_section {
        margin-top: -72px;
        padding-top: 100px;
    }

    .zh_provider_header {
        padding: 35px 30px;
    }

    .zh_provider_header_content {
        flex-direction: column;
        text-align: center;
    }

    .zh_provider_logo {
        width: 100px;
        height: 100px;
    }

    .zh_provider_title {
        font-size: 30px;
    }

    .zh_provider_meta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .zh_related_list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .zh_provider_content {
        padding: 30px 24px;
        gap: 24px;
    }

    .zh_provider_info_section {
        flex-direction: column;
        padding: 24px;
    }

    .zh_section_icon {
        width: 52px;
        height: 52px;
    }

    .zh_section_icon i {
        font-size: 22px;
    }

    .zh_provider_info_title {
        font-size: 20px;
    }

    .zh_contact_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .zh_provider_section_title {
        font-size: 26px;
    }

    .zh_provider_section_content {
        padding: 24px 20px;
    }

    .zh_service_grid,
    .zh_related_list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .zh_provider_logo {
        width: 90px;
        height: 90px;
    }

    .zh_provider_logo i {
        font-size: 40px;
    }

    .zh_merchant_main {
        padding: 35px 0 70px;
    }
}

@media (max-width: 576px) {
    .zh_merchant_main {
        padding: 25px 0 60px;
    }

    .zh_provider_card {
        border-radius: 20px;
    }

    .zh_provider_header {
        padding: 28px 20px;
    }

    .zh_provider_title {
        font-size: 26px;
    }

    .zh_provider_badge_verified {
        padding: 8px 16px;
        font-size: 13px;
    }

    .zh_contact_item {
        padding: 18px;
    }

    .zh_contact_icon {
        width: 44px;
        height: 44px;
    }

    .zh_contact_icon i {
        font-size: 18px;
    }

    .zh_contact_value {
        font-size: 15px;
    }

    .zh_service_info {
        padding: 20px;
    }

    .zh_service_title {
        font-size: 16px;
    }

    .zh_related_info {
        padding: 18px;
    }

    .zh_related_title {
        font-size: 15px;
    }
}
