/* ============================================================
   服务商列表样式 - 四只小猛犸闲置信息发布平台
   ============================================================ */

/* ========== 共享：顶部页面横幅 ========== */
.zh_list_header {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 40px 0 36px;
}
.zh_list_header_bg {
    position: absolute;
    inset: 0;
    background: var(--zh-gradient-hero);
    z-index: 0;
}
.zh_list_header_bg::before,
.zh_list_header_bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}
.zh_list_header_bg::before {
    top: -80px; right: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(0,188,212,.35), transparent 70%);
}
.zh_list_header_bg::after {
    bottom: -100px; left: 30%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(0,188,212,.18), transparent 70%);
}
.zh_list_header_inner {
    position: relative;
    z-index: 1;
}
.zh_list_header .zh_breadcrumb {
    margin-bottom: 14px;
    font-size: 13px;
}
.zh_list_header .zh_breadcrumb a {
    color: rgba(255,255,255,.75);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.zh_list_header .zh_breadcrumb a:hover { color: var(--zh-accent-light); }
.zh_list_header .zh_breadcrumb_sep {
    color: rgba(255,255,255,.4);
    font-size: 10px;
    margin: 0 4px;
}
.zh_list_header .zh_breadcrumb > span:last-child {
    color: var(--zh-accent-light);
    font-weight: 500;
}
.zh_list_title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.zh_list_subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    margin: 0;
}
.zh_list_subtitle strong {
    color: #fff;
    font-weight: 700;
    margin: 0 2px;
}
.zh_list_header_with_icon {
    display: flex;
    align-items: center;
    gap: 22px;
}
.zh_list_header_icon {
    flex-shrink: 0;
    width: 72px; height: 72px;
    border-radius: 18px;
    background: rgba(0,188,212,.18);
    border: 1px solid rgba(0,188,212,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--zh-accent-light);
}

/* 共享：搜索框 */
.zh_list_search {
    flex: 1;
    min-width: 280px;
    position: relative;
    display: flex;
    align-items: center;
}
.zh_list_search > i {
    position: absolute;
    left: 14px;
    color: var(--zh-text-light);
    font-size: 14px;
}
.zh_list_search input {
    flex: 1;
    height: 40px;
    padding: 0 100px 0 38px;
    border: 1px solid var(--zh-border);
    border-radius: 22px;
    background: var(--zh-bg-light);
    font-size: 14px;
    color: var(--zh-text);
    transition: all .25s;
}
.zh_list_search input:focus {
    outline: none;
    border-color: var(--zh-accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--zh-accent-glow);
}
.zh_list_search button {
    position: absolute;
    right: 4px;
    height: 32px;
    padding: 0 18px;
    background: var(--zh-gradient-cyan);
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* 共享：空状态 */
.zh_list_empty {
    background: #fff;
    border: 1px dashed var(--zh-border);
    border-radius: var(--zh-radius);
    padding: 70px 24px;
    text-align: center;
}
.zh_list_empty_icon {
    width: 96px; height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--zh-bg-light);
    color: var(--zh-text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.zh_list_empty h3 {
    font-size: 18px;
    color: var(--zh-text);
    margin: 0 0 10px;
    font-weight: 700;
}
.zh_list_empty p {
    font-size: 14px;
    color: var(--zh-text-muted);
    margin: 0 0 22px;
}

.zh_merchants_main {
    background: var(--zh-bg-light);
    padding: 36px 0 60px;
    min-height: 60vh;
}

/* ========== 工具栏 ========== */
.zh_merchants_toolbar {
    background: #fff;
    border: 1px solid var(--zh-border-light);
    border-radius: var(--zh-radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.zh_merchants_count {
    font-size: 13px;
    color: var(--zh-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.zh_merchants_count i {
    color: var(--zh-accent);
}

/* ========== 服务商卡片网格 ========== */
.zh_merchants_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.zh_merchant_card_lg {
    position: relative;
    background: #fff;
    border: 1px solid var(--zh-border-light);
    border-radius: var(--zh-radius);
    padding: 0 24px 24px;
    text-align: center;
    transition: all .3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.zh_merchant_card_lg:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(13,59,138,.12);
}
.zh_merchant_card_band {
    height: 80px;
    margin: 0 -24px 0;
    background: var(--zh-gradient-hero);
    position: relative;
    overflow: hidden;
}
.zh_merchant_card_band::after {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(0,188,212,.4), transparent 70%);
    border-radius: 50%;
}

/* 头像 */
.zh_merchant_card_avatar {
    width: 88px; height: 88px;
    margin: -44px auto 16px;
    border-radius: 50%;
    background: var(--zh-gradient-cyan);
    color: #fff;
    border: 4px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(13,59,138,.18);
    position: relative;
    z-index: 1;
}
.zh_merchant_card_avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* 名称与认证 */
.zh_merchant_card_name {
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-text);
    margin: 0 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zh_merchant_card_verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(0,188,212,.10);
    color: var(--zh-accent-dark);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* 简介 */
.zh_merchant_card_desc {
    font-size: 13px;
    color: var(--zh-text-muted);
    line-height: 1.7;
    margin: 0 0 18px;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 数据条 */
.zh_merchant_card_stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px 0;
    margin-bottom: 14px;
    background: var(--zh-bg-light);
    border-radius: var(--zh-radius-sm);
}
.zh_merchant_card_stat {
    text-align: center;
    border-right: 1px solid var(--zh-border-light);
}
.zh_merchant_card_stat:last-child { border-right: none; }
.zh_merchant_card_stat strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--zh-primary);
    line-height: 1.1;
}
.zh_merchant_card_stat span {
    display: block;
    font-size: 11px;
    color: var(--zh-text-muted);
    margin-top: 4px;
}

/* 联系信息 */
.zh_merchant_card_contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(0,188,212,.06);
    border-radius: 14px;
    font-size: 13px;
    color: var(--zh-text);
    font-weight: 500;
}
.zh_merchant_card_contact i {
    color: var(--zh-accent);
    font-size: 11px;
}

/* 按钮 */
.zh_merchant_card_btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    background: var(--zh-bg-light);
    color: var(--zh-primary);
    border-radius: var(--zh-radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all .25s;
    border: 1px solid var(--zh-border-light);
}
.zh_merchant_card_lg:hover .zh_merchant_card_btn {
    background: var(--zh-gradient-cyan);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0,188,212,.3);
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
    .zh_merchants_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .zh_merchants_grid { grid-template-columns: 1fr; gap: 18px; }
    .zh_merchants_toolbar .zh_list_search { min-width: 100%; }
    .zh_merchants_count { width: 100%; justify-content: center; }
}
