/* ========== 详情页样式 - 深色主题风格 ========== */

/* ========== 顶部大图Hero ========== */
.zh_detail_hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.zh_detail_hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.zh_detail_hero_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_detail_hero_mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.95) 100%);
}

.zh_detail_hero_inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0 50px;
}

/* 面包屑 - 亮色版本 */
.zh_breadcrumb_light {
    margin-bottom: 30px;
}

.zh_breadcrumb_light a,
.zh_breadcrumb_light span {
    color: rgba(255, 255, 255, 0.7);
}

.zh_breadcrumb_light a:hover {
    color: var(--zh-primary);
}

.zh_breadcrumb_light .zh_breadcrumb_sep {
    color: rgba(255, 255, 255, 0.4);
}

/* 主信息区 */
.zh_detail_hero_main {
    max-width: 800px;
}

.zh_detail_cat {
    display: inline-block;
    padding: 6px 16px;
    background: var(--zh-primary);
    border-radius: 20px;
    color: var(--zh-white);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
}

.zh_detail_title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--zh-white);
    line-height: 1.3;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

.zh_detail_stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.zh_detail_stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_detail_stats i {
    color: var(--zh-primary);
}

/* ========== 主内容区 ========== */
.zh_detail_main {
    background: var(--zh-black);
    padding: 60px 0 80px;
}

.zh_detail_grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.zh_detail_content {
    min-width: 0;
}

/* ========== 图片展示 ========== */
.zh_detail_gallery {
    margin-bottom: 30px;
}

.zh_gallery_main {
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    border: 1px solid var(--zh-dark-400);
}

.zh_gallery_main img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== 内容区块 ========== */
.zh_detail_block {
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.zh_detail_block_header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: var(--zh-dark-100);
    border-bottom: 1px solid var(--zh-dark-400);
}

.zh_detail_block_header i {
    color: var(--zh-primary);
    font-size: 16px;
}

.zh_detail_block_header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0;
}

/* 详细参数 */
.zh_detail_params {
    padding: 24px;
}

.zh_param_row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_param_row:last-child {
    border-bottom: none;
}

.zh_param_key {
    flex: 0 0 120px;
    font-size: 13px;
    color: var(--zh-text-muted);
    font-weight: 500;
}

.zh_param_val {
    flex: 1;
    font-size: 14px;
    color: var(--zh-white);
}

.zh_param_val a {
    color: var(--zh-primary);
}

.zh_param_val a:hover {
    text-decoration: underline;
}

/* 详细介绍 */
.zh_detail_article {
    padding: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--zh-text-light);
}

.zh_detail_article p {
    margin-bottom: 16px;
}

.zh_detail_article h2,
.zh_detail_article h3,
.zh_detail_article h4 {
    color: var(--zh-white);
    margin: 24px 0 14px;
    font-weight: 600;
}

.zh_detail_article img {
    max-width: 100%;
    height: auto;
    border-radius: var(--zh-radius);
    margin: 16px 0;
}

.zh_detail_article ul,
.zh_detail_article ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.zh_detail_article li {
    margin-bottom: 8px;
}

/* ========== 右侧边栏 ========== */
.zh_detail_sidebar {
    position: sticky;
    top: 90px;
}

/* 服务商卡片 */
.zh_sidebar_merchant {
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.zh_merchant_top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, var(--zh-primary) 0%, #c92626 100%);
}

.zh_merchant_avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.zh_merchant_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_merchant_text h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0 0 6px;
}

.zh_merchant_verify {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.zh_merchant_verify i {
    color: #4ade80;
}

.zh_merchant_contact {
    padding: 20px 24px;
    border-bottom: 1px solid var(--zh-dark-400);
}

.zh_contact_row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--zh-text-light);
}

.zh_contact_row i {
    width: 18px;
    color: var(--zh-text-muted);
}

.zh_contact_phone a {
    color: var(--zh-primary);
    font-weight: 600;
    font-size: 16px;
}

.zh_merchant_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    color: var(--zh-white);
    font-size: 14px;
    font-weight: 500;
    transition: var(--zh-transition);
}

.zh_merchant_btn:hover {
    background: var(--zh-dark-100);
    color: var(--zh-primary);
}

/* 侧边栏小部件 */
.zh_sidebar_widget {
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.zh_widget_title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--zh-dark-100);
    border-bottom: 1px solid var(--zh-dark-400);
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-white);
}

.zh_widget_title i {
    color: var(--zh-primary);
}

.zh_widget_list {
    padding: 16px 20px;
}

.zh_widget_item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--zh-dark-300);
    transition: var(--zh-transition);
}

.zh_widget_item:last-child {
    border-bottom: none;
}

.zh_widget_item:hover {
    opacity: 0.8;
}

.zh_widget_thumb {
    width: 70px;
    height: 52px;
    border-radius: var(--zh-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.zh_widget_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_widget_info {
    flex: 1;
    min-width: 0;
}

.zh_widget_info h5 {
    font-size: 13px;
    font-weight: 500;
    color: var(--zh-white);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_widget_info span {
    font-size: 12px;
    color: var(--zh-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 热门排行 */
.zh_hot_ranking {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
}

.zh_hot_ranking li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--zh-dark-300);
}

.zh_hot_ranking li:last-child {
    border-bottom: none;
}

.zh_rank_num {
    width: 24px;
    height: 24px;
    background: var(--zh-dark-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--zh-text-muted);
    flex-shrink: 0;
}

.zh_rank_num.top {
    background: var(--zh-primary);
    color: var(--zh-white);
}

.zh_hot_ranking a {
    flex: 1;
    font-size: 13px;
    color: var(--zh-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--zh-transition);
}

.zh_hot_ranking a:hover {
    color: var(--zh-primary);
}

/* 侧边栏CTA */
.zh_sidebar_cta {
    background: linear-gradient(135deg, var(--zh-dark-200) 0%, var(--zh-dark-100) 100%);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    padding: 30px 24px;
    text-align: center;
}

.zh_cta_icon {
    width: 60px;
    height: 60px;
    background: var(--zh-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.zh_cta_icon i {
    font-size: 24px;
    color: var(--zh-white);
}

.zh_sidebar_cta h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0 0 8px;
}

.zh_sidebar_cta p {
    font-size: 13px;
    color: var(--zh-text-muted);
    margin: 0 0 20px;
    line-height: 1.6;
}

.zh_cta_btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--zh-primary);
    color: var(--zh-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--zh-radius);
    transition: var(--zh-transition);
}

.zh_cta_btn:hover {
    background: var(--zh-primary-light);
    transform: translateY(-2px);
}

/* ========== 相关推荐区域 ========== */
.zh_related_section {
    background: var(--zh-dark-100);
    padding: 70px 0;
    border-top: 1px solid var(--zh-dark-300);
}

.zh_related_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.zh_related_header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--zh-white);
    margin: 0;
}

.zh_related_header a {
    font-size: 14px;
    color: var(--zh-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--zh-transition);
}

.zh_related_header a:hover {
    color: var(--zh-primary);
}

.zh_related_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_related_card {
    display: block;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    transition: var(--zh-transition);
}

.zh_related_card:hover {
    transform: translateY(-8px);
    border-color: var(--zh-primary);
    box-shadow: 0 20px 50px rgba(229, 46, 46, 0.15);
}

.zh_related_img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.zh_related_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--zh-transition);
}

.zh_related_card:hover .zh_related_img img {
    transform: scale(1.05);
}

.zh_related_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--zh-transition);
}

.zh_related_card:hover .zh_related_overlay {
    opacity: 1;
}

.zh_related_overlay span {
    width: 50px;
    height: 50px;
    background: var(--zh-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zh-white);
    font-size: 18px;
    transform: scale(0.8);
    transition: var(--zh-transition);
}

.zh_related_card:hover .zh_related_overlay span {
    transform: scale(1);
}

.zh_related_body {
    padding: 18px;
}

.zh_related_cat {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(229, 46, 46, 0.15);
    border-radius: 4px;
    color: var(--zh-primary);
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 10px;
}

.zh_related_body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-white);
    margin: 0 0 10px;
    line-height: 1.4;
}

.zh_related_meta {
    font-size: 12px;
    color: var(--zh-text-muted);
}

.zh_related_meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== 底部导航 ========== */
.zh_detail_nav {
    background: var(--zh-black);
    padding: 30px 0;
    border-top: 1px solid var(--zh-dark-300);
}

.zh_detail_nav_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zh_nav_back,
.zh_nav_category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--zh-dark-200);
    border: 1px solid var(--zh-dark-400);
    border-radius: var(--zh-radius);
    color: var(--zh-text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--zh-transition);
}

.zh_nav_back:hover,
.zh_nav_category:hover {
    border-color: var(--zh-primary);
    color: var(--zh-white);
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .zh_detail_grid {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }

    .zh_related_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .zh_detail_hero {
        min-height: 360px;
    }

    .zh_detail_title {
        font-size: 28px;
    }

    .zh_detail_grid {
        grid-template-columns: 1fr;
    }

    .zh_detail_sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .zh_sidebar_merchant {
        grid-column: span 2;
    }

    .zh_sidebar_cta {
        grid-column: span 2;
    }

    .zh_related_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .zh_detail_hero {
        min-height: 300px;
    }

    .zh_detail_hero_inner {
        padding: 40px 0 30px;
    }

    .zh_detail_title {
        font-size: 24px;
    }

    .zh_detail_stats {
        gap: 16px;
        font-size: 13px;
    }

    .zh_detail_main {
        padding: 40px 0 60px;
    }

    .zh_detail_sidebar {
        grid-template-columns: 1fr;
    }

    .zh_sidebar_merchant,
    .zh_sidebar_cta {
        grid-column: span 1;
    }

    .zh_related_section {
        padding: 50px 0;
    }

    .zh_related_header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .zh_related_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .zh_detail_nav_inner {
        flex-direction: column;
        gap: 12px;
    }

    .zh_nav_back,
    .zh_nav_category {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .zh_detail_title {
        font-size: 20px;
    }

    .zh_detail_cat {
        font-size: 11px;
        padding: 5px 12px;
    }

    .zh_detail_block_header {
        padding: 14px 18px;
    }

    .zh_detail_params,
    .zh_detail_article {
        padding: 18px;
    }

    .zh_param_key {
        flex: 0 0 100px;
        font-size: 12px;
    }

    .zh_merchant_top {
        padding: 18px;
    }

    .zh_merchant_contact {
        padding: 16px 18px;
    }

    .zh_sidebar_cta {
        padding: 24px 18px;
    }
}
