/* ========================================
   服务商列表页样式 - Figma 黄色主题风格
   ======================================== */

/* === 页面Banner区域 === */
.zh_merchants_banner {
    background: var(--zh-white, #ffffff);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--zh-black, #101411);
}

.zh_banner_content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 装饰星星 */
.zh_banner_star {
    position: absolute;
    color: var(--zh-primary, #f2db0d);
    animation: starTwinkle 2s ease-in-out infinite;
}

.zh_star_1 {
    top: 20px;
    left: 15%;
    animation-delay: 0s;
}

.zh_star_2 {
    top: 60px;
    right: 18%;
    animation-delay: 0.5s;
}

.zh_star_3 {
    bottom: 40px;
    left: 22%;
    animation-delay: 1s;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.6; transform: scale(0.9) rotate(10deg); }
}

/* Banner标题 */
.zh_banner_title {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
    font-size: 56px;
    line-height: 1.15;
    color: var(--zh-black, #101411);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.zh_banner_subtitle {
    font-size: 20px;
    color: var(--zh-gray-600, #708494);
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 面包屑导航 */
.zh_banner_breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--zh-primary, #f2db0d);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 47px;
    box-shadow: 0px 4px 0px 0px var(--zh-black, #101411);
    font-size: 14px;
    font-weight: 500;
}

.zh_banner_breadcrumb a {
    color: var(--zh-black, #101411);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.zh_banner_breadcrumb a:hover {
    opacity: 0.7;
}

.zh_breadcrumb_sep {
    color: var(--zh-black, #101411);
    font-size: 10px;
    opacity: 0.5;
}

.zh_breadcrumb_current {
    color: var(--zh-black, #101411);
    font-weight: 600;
}

/* === 服务商列表主区域 === */
.zh_merchants_main {
    padding: 60px 0 80px;
    background: var(--zh-white, #ffffff);
}

/* 搜索栏 */
.zh_merchants_search {
    margin-bottom: 40px;
}

.zh_search_form {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.zh_search_input_wrap {
    flex: 1;
    position: relative;
}

.zh_search_input_wrap i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--zh-gray-500, #8c8f99);
    font-size: 16px;
}

.zh_search_input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--zh-black, #101411);
    border-radius: 47px;
    font-size: 15px;
    background: var(--zh-white, #ffffff);
    transition: all 0.3s;
}

.zh_search_input:focus {
    outline: none;
    box-shadow: 0px 4px 0px 0px var(--zh-black, #101411);
}

.zh_search_input::placeholder {
    color: var(--zh-gray-500, #8c8f99);
}

/* 统计信息 */
.zh_merchants_stats {
    margin-bottom: 32px;
    text-align: center;
}

.zh_stats_text {
    font-size: 15px;
    color: var(--zh-gray-600, #708494);
}

.zh_stats_text strong {
    color: var(--zh-black, #101411);
    font-weight: 700;
}

/* === 服务商卡片网格 === */
.zh_merchants_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

/* 服务商卡片 */
.zh_merchant_card {
    background: var(--zh-white, #ffffff);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 24px;
    box-shadow: 0px 7px 0px 0px var(--zh-black, #101411);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.zh_merchant_card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 0px 0px var(--zh-black, #101411);
}

/* 认证徽章 */
.zh_merchant_verified {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--zh-primary, #f2db0d);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 3px 0px 0px var(--zh-black, #101411);
}

.zh_merchant_verified i {
    color: var(--zh-black, #101411);
    font-size: 14px;
}

/* 服务商头部 */
.zh_merchant_header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.zh_merchant_avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border: 2px solid var(--zh-black, #101411);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 4px 0px 0px var(--zh-black, #101411);
}

.zh_merchant_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_avatar_placeholder {
    width: 100%;
    height: 100%;
    background: var(--zh-gray-200, #e7e5d7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_avatar_placeholder i {
    font-size: 28px;
    color: var(--zh-gray-500, #8c8f99);
}

.zh_merchant_info {
    flex: 1;
    min-width: 0;
}

.zh_merchant_name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    padding-right: 40px;
}

.zh_merchant_name a {
    color: var(--zh-black, #101411);
    text-decoration: none;
    transition: color 0.3s;
}

.zh_merchant_name a:hover {
    color: var(--zh-primary-dark, #d4c00b);
}

/* 标签 */
.zh_merchant_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zh_tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 2px solid var(--zh-black, #101411);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.zh_tag_verified {
    background: var(--zh-primary, #f2db0d);
    color: var(--zh-black, #101411);
}

.zh_tag_info {
    background: var(--zh-white, #ffffff);
    color: var(--zh-black, #101411);
}

/* 服务商简介 */
.zh_merchant_desc {
    flex: 1;
}

.zh_merchant_desc p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--zh-gray-600, #708494);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 联系信息 */
.zh_merchant_contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 2px dashed var(--zh-gray-200, #e7e5d7);
}

.zh_contact_row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--zh-black, #101411);
}

.zh_contact_row i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zh-gray-200, #e7e5d7);
    border-radius: 8px;
    font-size: 12px;
    color: var(--zh-black, #101411);
}

/* 操作按钮 */
.zh_merchant_action {
    margin-top: auto;
}

.zh_btn_card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--zh-black, #101411);
    color: var(--zh-white, #ffffff);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.zh_btn_card:hover {
    background: var(--zh-primary, #f2db0d);
    color: var(--zh-black, #101411);
}

.zh_btn_card i {
    font-size: 12px;
    transition: transform 0.3s;
}

.zh_btn_card:hover i {
    transform: translateX(4px);
}

/* === 空状态 === */
.zh_empty_state {
    text-align: center;
    padding: 80px 40px;
    background: var(--zh-white, #ffffff);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 24px;
    box-shadow: 0px 7px 0px 0px var(--zh-black, #101411);
}

.zh_empty_icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--zh-gray-200, #e7e5d7);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_empty_icon i {
    font-size: 40px;
    color: var(--zh-gray-500, #8c8f99);
}

.zh_empty_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--zh-black, #101411);
    margin: 0 0 12px 0;
}

.zh_empty_desc {
    font-size: 16px;
    color: var(--zh-gray-600, #708494);
    margin: 0 0 24px 0;
}

/* === CTA行动召唤区 === */
.zh_merchants_cta {
    background: var(--zh-primary, #f2db0d);
    padding: 80px 0;
    border-top: 2px solid var(--zh-black, #101411);
    border-bottom: 2px solid var(--zh-black, #101411);
}

.zh_cta_content {
    text-align: center;
}

.zh_cta_title {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 1.2;
    color: var(--zh-black, #101411);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zh_cta_desc {
    font-size: 18px;
    color: var(--zh-black, #101411);
    opacity: 0.8;
    margin: 0 0 32px 0;
}

.zh_btn_cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--zh-white, #ffffff);
    color: var(--zh-black, #101411);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 47px;
    box-shadow: 0px 7px 0px 0px var(--zh-black, #101411);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
}

.zh_btn_cta:hover {
    transform: translateY(-3px);
    box-shadow: 0px 10px 0px 0px var(--zh-black, #101411);
    color: var(--zh-black, #101411);
}

.zh_btn_cta i {
    font-size: 14px;
    transition: transform 0.3s;
}

.zh_btn_cta:hover i {
    transform: translateX(4px);
}

/* === 按钮通用样式 === */
.zh_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 2px solid var(--zh-black, #101411);
    border-radius: 47px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    text-decoration: none;
}

.zh_btn_primary {
    background: var(--zh-primary, #f2db0d);
    color: var(--zh-black, #101411);
    box-shadow: 0px 4px 0px 0px var(--zh-black, #101411);
}

.zh_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 0px 0px var(--zh-black, #101411);
    color: var(--zh-black, #101411);
}

/* === 分页样式 === */
.zh_pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.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: 48px;
    height: 48px;
    padding: 0 16px;
    background: var(--zh-white, #ffffff);
    border: 2px solid var(--zh-black, #101411);
    border-radius: 12px;
    color: var(--zh-black, #101411);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.zh_pagination .page-link:hover {
    background: var(--zh-gray-100, #f8f8f8);
    transform: translateY(-2px);
    box-shadow: 0px 4px 0px 0px var(--zh-black, #101411);
}

.zh_pagination .page-item.active .page-link {
    background: var(--zh-primary, #f2db0d);
    box-shadow: 0px 4px 0px 0px var(--zh-black, #101411);
}

.zh_pagination .page-item.disabled .page-link {
    background: var(--zh-gray-100, #f8f8f8);
    color: var(--zh-gray-500, #8c8f99);
    cursor: not-allowed;
}

/* === 响应式设计 === */
@media (max-width: 1200px) {
    .zh_merchants_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .zh_merchants_banner {
        padding: 120px 0 60px;
    }

    .zh_banner_title {
        font-size: 42px;
    }

    .zh_banner_star {
        display: none;
    }

    .zh_merchants_main {
        padding: 40px 0 60px;
    }

    .zh_merchants_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_cta_title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .zh_merchants_banner {
        padding: 100px 0 50px;
    }

    .zh_banner_title {
        font-size: 32px;
        letter-spacing: 0.5px;
    }

    .zh_banner_subtitle {
        font-size: 16px;
    }

    .zh_banner_breadcrumb {
        padding: 12px 20px;
        font-size: 13px;
    }

    .zh_merchants_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .zh_merchant_card {
        padding: 24px;
    }

    .zh_merchant_avatar {
        width: 60px;
        height: 60px;
    }

    .zh_merchant_name {
        font-size: 18px;
    }

    .zh_search_form {
        flex-direction: column;
    }

    .zh_search_input {
        padding: 14px 20px 14px 45px;
    }

    .zh_btn_primary {
        width: 100%;
    }

    .zh_cta_title {
        font-size: 28px;
    }

    .zh_cta_desc {
        font-size: 15px;
    }

    .zh_btn_cta {
        padding: 14px 28px;
        font-size: 14px;
    }

    .zh_pagination .page-link {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .zh_banner_title {
        font-size: 26px;
    }

    .zh_merchant_header {
        flex-direction: column;
        align-items: flex-start;
    }

    .zh_merchant_name {
        padding-right: 0;
    }

    .zh_merchant_verified {
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
    }

    .zh_merchant_verified i {
        font-size: 12px;
    }

    .zh_tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    .zh_contact_row {
        font-size: 13px;
    }

    .zh_contact_row i {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .zh_empty_state {
        padding: 60px 24px;
    }

    .zh_empty_icon {
        width: 80px;
        height: 80px;
    }

    .zh_empty_icon i {
        font-size: 32px;
    }
}