/* 策划师详情页 — 专属深色 Hero + 浮起卡片 */

/* ============ 深色 Hero ============ */
.zh_merchant_hero {
    position: relative;
    background: var(--zh-gradient-primary);
    color: #fff;
    padding: 50px 0 120px;
    overflow: hidden;
    isolation: isolate;
}

.zh_merchant_hero_overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* 金色斜切装饰块 */
.zh_merchant_hero_overlay::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: -120px;
    width: 460px;
    background: var(--zh-gradient-accent);
    transform: skewX(-16deg);
    opacity: 0.16;
}

/* 圆环装饰 */
.zh_merchant_hero_overlay::after {
    content: '';
    position: absolute;
    left: -80px; top: -80px;
    width: 280px; height: 280px;
    border: 1.5px solid rgba(201, 169, 97, 0.22);
    border-radius: 50%;
}

.zh_merchant_hero .zh_container {
    position: relative;
    z-index: 1;
}

.zh_merchant_hero_breadcrumb {
    margin-bottom: 28px;
}

.zh_merchant_hero_inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.zh_merchant_hero_avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--zh-bg-paper);
    border: 4px solid var(--zh-accent);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.zh_merchant_hero_meta {
    flex: 1;
    min-width: 0;
}

.zh_merchant_hero_eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--zh-accent);
    margin-bottom: 12px;
}

.zh_merchant_hero_name {
    font-family: 'Noto Serif SC', serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.25;
    letter-spacing: 0.04em;
}

.zh_merchant_hero_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.zh_merchant_hero_chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 239, 220, 0.28);
    border-radius: var(--zh-radius-pill);
    font-size: 13px;
    color: rgba(245, 239, 220, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.zh_merchant_hero_chip i {
    color: var(--zh-accent);
    font-size: 12px;
}

.zh_merchant_hero_tagline {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: rgba(245, 239, 220, 0.78);
    max-width: 720px;
}

/* ============ 主区 ============ */
.zh_merchant_main {
    background: var(--zh-bg-cream);
    padding-bottom: 100px;
    position: relative;
}

.zh_merchant_layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    margin-top: -60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* 左侧主内容 */
.zh_merchant_content {
    background: #fff;
    border-radius: var(--zh-radius-lg);
    box-shadow: var(--zh-shadow-md);
    border: 1px solid var(--zh-bg-soft);
    overflow: hidden;
}

.zh_merchant_section {
    padding: 32px 36px;
    border-bottom: 1px solid var(--zh-bg-soft);
}

.zh_merchant_section:last-child { border-bottom: none; }

.zh_merchant_section_head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
}

.zh_merchant_section_title {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    color: var(--zh-text-heading);
    padding-left: 14px;
    border-left: 3px solid var(--zh-accent);
    margin: 0 0 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.zh_merchant_section_head .zh_merchant_section_title {
    margin-bottom: 0;
}

.zh_merchant_intro {
    color: var(--zh-text-body);
    font-size: 15px;
    line-height: 1.95;
    padding-left: 20px;
    border-left: 2px solid var(--zh-accent-soft);
}

/* 服务列表 */
.zh_merchant_infos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.zh_merchant_info_card {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--zh-bg-cream);
    border: 1px solid var(--zh-bg-soft);
    border-radius: var(--zh-radius-md);
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.zh_merchant_info_card:hover {
    transform: translateY(-3px);
    border-color: var(--zh-accent);
    box-shadow: var(--zh-shadow-sm);
    color: inherit;
}

.zh_merchant_info_img {
    position: relative;
    width: 130px;
    aspect-ratio: 4 / 3;
    border-radius: var(--zh-radius-sm);
    overflow: hidden;
    background: var(--zh-bg-soft);
    flex-shrink: 0;
}

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

.zh_merchant_info_tag {
    position: absolute;
    top: 8px; left: 8px;
    background: var(--zh-gradient-accent);
    color: var(--zh-text-heading);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--zh-radius-pill);
}

.zh_merchant_info_body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.zh_merchant_info_body h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--zh-text-heading);
    margin: 0 0 6px;
    line-height: 1.4;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_merchant_info_card:hover .zh_merchant_info_body h4 {
    color: var(--zh-primary);
}

.zh_merchant_info_body p {
    font-size: 12.5px;
    color: var(--zh-text-mute);
    line-height: 1.6;
    margin: 0 0 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_merchant_info_meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--zh-text-mute);
}

.zh_merchant_info_meta i { color: var(--zh-accent-dark); margin-right: 3px; }

/* 空状态 */
.zh_merchant_empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--zh-text-mute);
    background: var(--zh-bg-cream);
    border-radius: var(--zh-radius-md);
}

.zh_merchant_empty i {
    font-size: 48px;
    color: var(--zh-bg-soft);
    margin-bottom: 12px;
}

/* 推荐其他策划师 */
.zh_merchant_related {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.zh_merchant_related_card {
    text-align: center;
    padding: 20px 14px;
    background: var(--zh-bg-cream);
    border: 1px solid var(--zh-bg-soft);
    border-radius: var(--zh-radius-md);
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s, border-color 0.4s;
}

.zh_merchant_related_card:hover {
    transform: translateY(-3px);
    border-color: var(--zh-accent);
    color: inherit;
}

.zh_merchant_related_logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--zh-primary-soft);
    border: 2px solid var(--zh-accent-soft);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.zh_merchant_related_card h5 {
    font-family: 'Noto Serif SC', serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--zh-text-heading);
    margin: 0 0 6px;
}

.zh_merchant_related_card span {
    font-size: 11px;
    color: var(--zh-accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ============ 右侧联系卡（sticky） ============ */
.zh_merchant_sidebar {
    position: sticky;
    top: 100px;
}

.zh_merchant_contact_card {
    background: #fff;
    border-radius: var(--zh-radius-lg);
    box-shadow: var(--zh-shadow-md);
    padding: 28px 26px;
    border-top: 4px solid var(--zh-accent);
    border-right: 1px solid var(--zh-bg-soft);
    border-bottom: 1px solid var(--zh-bg-soft);
    border-left: 1px solid var(--zh-bg-soft);
    position: relative;
    overflow: hidden;
}

.zh_merchant_contact_card::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 140px;
    height: 140px;
    border: 1.5px solid var(--zh-accent-soft);
    border-radius: 50%;
    pointer-events: none;
}

.zh_merchant_contact_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.zh_merchant_contact_top h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    color: var(--zh-text-heading);
    margin: 0;
    font-weight: 700;
}

.zh_merchant_contact_list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border-top: 1px dashed var(--zh-bg-soft);
    border-bottom: 1px dashed var(--zh-bg-soft);
    padding: 16px 0;
}

.zh_merchant_contact_list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}

.zh_merchant_contact_icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--zh-primary-soft);
    color: var(--zh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.zh_merchant_contact_info {
    flex: 1;
    min-width: 0;
}

.zh_merchant_contact_info span {
    display: block;
    font-size: 11px;
    color: var(--zh-text-mute);
    margin-bottom: 2px;
    letter-spacing: 0.06em;
}

.zh_merchant_contact_info strong {
    display: block;
    font-size: 14px;
    color: var(--zh-text-heading);
    font-weight: 600;
    word-break: break-all;
}

.zh_merchant_contact_info strong a {
    color: var(--zh-text-heading);
    text-decoration: none;
}
.zh_merchant_contact_info strong a:hover { color: var(--zh-primary); }

.zh_merchant_contact_actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.zh_merchant_contact_btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
}

.zh_merchant_contact_tip {
    font-size: 12px;
    color: var(--zh-text-mute);
    line-height: 1.7;
    padding: 12px 14px;
    background: var(--zh-accent-soft);
    border-radius: var(--zh-radius-sm);
    display: flex;
    gap: 8px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.zh_merchant_contact_tip i {
    color: var(--zh-accent-dark);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
    .zh_merchant_layout { grid-template-columns: 1fr; gap: 24px; }
    .zh_merchant_sidebar { position: static; }
    .zh_merchant_infos { grid-template-columns: 1fr; }
    .zh_merchant_related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .zh_merchant_hero { padding: 40px 0 100px; }
    .zh_merchant_hero_inner { flex-direction: column; text-align: center; gap: 18px; }
    .zh_merchant_hero_avatar { width: 100px; height: 100px; }
    .zh_merchant_hero_name { font-size: 26px; }
    .zh_merchant_hero_chips { justify-content: center; }
    .zh_merchant_section { padding: 24px 22px; }
    .zh_merchant_main { padding-bottom: 60px; }
    .zh_merchant_layout { margin-top: -50px; }
}

@media (max-width: 480px) {
    .zh_merchant_related { grid-template-columns: 1fr; }
    .zh_merchant_info_card { flex-direction: column; }
    .zh_merchant_info_img { width: 100%; aspect-ratio: 16 / 9; }
}
