/* 策划师列表页 — 墨绿 + 香槟金 */

.zh_merchants_main {
    padding: 60px 0 100px;
    background: var(--zh-bg-cream);
}

/* 工具栏 */
.zh_merchants_toolbar {
    background: #fff;
    border-radius: var(--zh-radius-lg);
    padding: 18px 22px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--zh-shadow-sm);
    border-top: 3px solid var(--zh-accent);
}

.zh_search_bar {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 480px;
    background: var(--zh-bg-cream);
    border-radius: var(--zh-radius-pill);
    padding: 4px 4px 4px 18px;
    border: 1.5px solid var(--zh-bg-soft);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.zh_search_bar:focus-within {
    border-color: var(--zh-accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}
.zh_search_icon {
    color: var(--zh-text-mute);
    font-size: 14px;
    margin-right: 10px;
}
.zh_search_input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 14px;
    color: var(--zh-text-heading);
    outline: none;
    min-width: 0;
}
.zh_search_input::placeholder { color: var(--zh-text-mute); }
.zh_search_btn {
    border: none;
    background: var(--zh-gradient-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--zh-radius-pill);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.zh_search_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 81, 50, 0.25);
}
.zh_merchants_count {
    color: var(--zh-text-mute);
    font-size: 13px;
    white-space: nowrap;
}
.zh_merchants_count strong {
    color: var(--zh-primary);
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    margin: 0 4px;
}

/* ========== 卡片网格 ========== */
.zh_merchants_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.zh_merchant_card {
    position: relative;
    background: #fff;
    border: 1px solid var(--zh-bg-soft);
    border-radius: var(--zh-radius-lg);
    padding: 30px 26px 26px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

/* 顶部金色斜切色块装饰 */
.zh_merchant_card_top {
    position: absolute;
    top: 0;
    left: -10%;
    right: -10%;
    height: 6px;
    background: var(--zh-gradient-accent);
    transform: skewY(-1deg);
    transform-origin: left;
    transition: height 0.4s ease;
    z-index: 1;
}

.zh_merchant_card:hover {
    transform: translateY(-8px);
    box-shadow: var(--zh-shadow-md);
    border-color: var(--zh-accent);
    color: inherit;
}

.zh_merchant_card:hover .zh_merchant_card_top {
    height: 10px;
}

/* Logo 圆形 */
.zh_merchant_logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--zh-primary-soft);
    border: 3px solid var(--zh-bg-paper);
    box-shadow: 0 0 0 1.5px var(--zh-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 18px;
    transition: box-shadow 0.4s;
    position: relative;
    z-index: 2;
}

.zh_merchant_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.zh_merchant_logo i {
    font-size: 36px;
    color: var(--zh-primary);
}

.zh_merchant_card:hover .zh_merchant_logo {
    box-shadow: 0 0 0 1.5px var(--zh-accent), 0 8px 22px rgba(201, 169, 97, 0.3);
}

.zh_merchant_name {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-text-heading);
    margin: 0 0 12px;
    letter-spacing: 0.04em;
    line-height: 1.4;
    transition: color 0.3s;
}

.zh_merchant_card:hover .zh_merchant_name {
    color: var(--zh-primary);
}

.zh_merchant_badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.zh_merchant_desc {
    font-size: 13.5px;
    color: var(--zh-text-mute);
    line-height: 1.7;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_merchant_footer {
    width: 100%;
    padding-top: 16px;
    border-top: 1px dashed var(--zh-bg-soft);
}

.zh_merchant_link {
    color: var(--zh-primary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s, color 0.3s;
}

.zh_merchant_card:hover .zh_merchant_link {
    color: var(--zh-accent-dark);
    gap: 12px;
}

.zh_merchant_link i {
    font-size: 12px;
}

/* 空状态 */
.zh_empty_state {
    background: #fff;
    border-radius: var(--zh-radius-lg);
    padding: 80px 30px;
    text-align: center;
    border: 1px dashed var(--zh-bg-soft);
}

.zh_empty_icon {
    font-size: 56px;
    color: var(--zh-bg-soft);
    margin-bottom: 20px;
}

.zh_empty_title {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    color: var(--zh-text-heading);
    margin: 0 0 10px;
}

.zh_empty_desc {
    color: var(--zh-text-mute);
    margin: 0 0 26px;
    font-size: 14px;
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
    .zh_merchants_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .zh_merchants_main { padding: 40px 0 60px; }
    .zh_merchants_toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .zh_search_bar { max-width: none; }
    .zh_merchants_count { text-align: center; }
}

@media (max-width: 480px) {
    .zh_merchants_grid { grid-template-columns: 1fr; gap: 18px; }
}
