/* ========== 详情页样式 - Figma 黄色主题风格 ========== */

/* ========== 页面 Hero ========== */
.zh_show_hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

.zh_show_hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.zh_show_hero_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_show_hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(16, 20, 17, 0.5) 0%,
        rgba(16, 20, 17, 0.75) 50%,
        rgba(16, 20, 17, 0.95) 100%);
}

.zh_show_hero_content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 0 60px;
}

/* 面包屑 (复用 list.css) */
.zh_show_hero .zh_breadcrumb {
    margin-bottom: 28px;
}

/* 标题卡片 */
.zh_show_hero_card {
    max-width: 800px;
}

.zh_show_hero_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.zh_hero_tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    font-size: 12px;
    font-weight: 600;
    color: var(--zh-black);
}

.zh_hero_tag i {
    font-size: 11px;
}

.zh_show_hero_title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--zh-white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.zh_show_hero_merchant {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.zh_show_hero_merchant i {
    color: var(--zh-primary);
}

.zh_show_hero_merchant a {
    color: var(--zh-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.zh_show_hero_merchant a:hover {
    color: var(--zh-white);
}

/* ========== 主内容区 ========== */
.zh_show_main {
    background: var(--zh-gray-100);
    padding: 60px 0 80px;
}

.zh_show_layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.zh_show_content {
    min-width: 0;
}

/* ========== 服务商卡片 ========== */
.zh_merchant_card {
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow);
    overflow: hidden;
    margin-bottom: 32px;
}

.zh_merchant_header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--zh-primary);
    border-bottom: 2px solid var(--zh-black);
}

.zh_merchant_avatar {
    width: 56px;
    height: 56px;
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0px 3px 0px 0px var(--zh-black);
}

.zh_merchant_avatar i {
    font-size: 24px;
    color: var(--zh-black);
}

.zh_merchant_info {
    flex: 1;
}

.zh_merchant_info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-black);
    margin-bottom: 4px;
}

.zh_merchant_badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--zh-black);
    opacity: 0.8;
}

.zh_merchant_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--zh-black);
    color: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0px 3px 0px 0px rgba(0,0,0,0.3);
}

.zh_merchant_link:hover {
    background: #2a2f2b;
    color: var(--zh-white);
    transform: translateY(-2px);
    box-shadow: 0px 5px 0px 0px rgba(0,0,0,0.3);
}

.zh_merchant_body {
    padding: 28px;
}

.zh_merchant_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.zh_merchant_item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zh_merchant_item_full {
    grid-column: span 2;
}

.zh_merchant_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--zh-gray-500);
}

.zh_merchant_label i {
    color: var(--zh-primary-dark);
    font-size: 14px;
}

.zh_merchant_value {
    font-size: 15px;
    color: var(--zh-black);
    font-weight: 500;
}

.zh_merchant_phone {
    color: var(--zh-primary-dark);
    font-weight: 700;
}

/* ========== 详情区块 ========== */
.zh_section_card {
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow-sm);
    margin-bottom: 32px;
    overflow: hidden;
}

.zh_section_header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    background: var(--zh-primary);
    border-bottom: 2px solid var(--zh-black);
}

.zh_section_icon {
    width: 44px;
    height: 44px;
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 3px 0px 0px var(--zh-black);
}

.zh_section_icon i {
    font-size: 18px;
    color: var(--zh-black);
}

.zh_section_header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-black);
    margin: 0;
}

.zh_section_body {
    padding: 28px;
}

/* 参数网格 */
.zh_params_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.zh_param_item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: var(--zh-gray-100);
    border: 2px solid var(--zh-gray-200);
    border-radius: 12px;
}

.zh_param_label {
    font-size: 12px;
    color: var(--zh-gray-500);
    font-weight: 600;
    text-transform: uppercase;
}

.zh_param_value {
    font-size: 15px;
    color: var(--zh-black);
    font-weight: 500;
}

.zh_param_value a {
    color: var(--zh-primary-dark);
    text-decoration: none;
}

.zh_param_value a:hover {
    text-decoration: underline;
}

/* 内容区域 */
.zh_content_area {
    font-size: 16px;
    line-height: 1.8;
    color: var(--zh-text);
}

.zh_content_area p {
    margin-bottom: 18px;
}

.zh_content_area h2,
.zh_content_area h3,
.zh_content_area h4 {
    color: var(--zh-black);
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 700;
}

.zh_content_area img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 2px solid var(--zh-black);
    margin: 20px 0;
}

.zh_content_area ul,
.zh_content_area ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.zh_content_area li {
    margin-bottom: 8px;
}

/* 图片展示 */
.zh_gallery {
    border-radius: 16px;
    border: 2px solid var(--zh-black);
    overflow: hidden;
}

.zh_gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== 侧边栏 (复用 list.css 的 widget 样式) ========== */
.zh_show_main .zh_sidebar {
    position: sticky;
    top: 100px;
}

/* 分类链接 */
.zh_category_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zh_category_link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--zh-gray-100);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--zh-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.zh_category_link i:first-child {
    color: var(--zh-primary-dark);
}

.zh_category_link span {
    flex: 1;
}

.zh_category_link i:last-child {
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.zh_category_link:hover {
    background: var(--zh-primary);
    border-color: var(--zh-black);
    color: var(--zh-black);
}

.zh_category_link:hover i {
    color: var(--zh-black);
    opacity: 1;
}

.zh_category_link.active {
    background: var(--zh-primary);
    border-color: var(--zh-black);
    color: var(--zh-black);
    box-shadow: var(--zh-shadow-sm);
}

.zh_category_link.active i {
    color: var(--zh-black);
    opacity: 1;
}

/* 相关列表 (复用 list.css) */
.zh_show_main .zh_related_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zh_show_main .zh_related_item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    padding: 12px;
    margin: -12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.zh_show_main .zh_related_item:hover {
    background: var(--zh-gray-100);
}

.zh_show_main .zh_related_img {
    width: 80px;
    height: 60px;
    border: 2px solid var(--zh-black);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.zh_show_main .zh_related_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_show_main .zh_related_info {
    flex: 1;
    min-width: 0;
}

.zh_show_main .zh_related_info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-black);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_show_main .zh_related_info span {
    font-size: 12px;
    color: var(--zh-gray-500);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 推荐卡片 */
.zh_featured_card {
    position: relative;
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow);
    overflow: hidden;
}

.zh_featured_image {
    position: relative;
    height: 200px;
}

.zh_featured_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_featured_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(16, 20, 17, 0.9) 100%);
}

.zh_featured_content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.zh_featured_badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    font-size: 11px;
    font-weight: 700;
    color: var(--zh-black);
    margin-bottom: 12px;
}

.zh_featured_content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--zh-white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.zh_featured_meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.zh_featured_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    color: var(--zh-black);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0px 3px 0px 0px var(--zh-black);
}

.zh_featured_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 5px 0px 0px var(--zh-black);
}

/* ========== 更多相关区域 ========== */
.zh_more_section {
    background: var(--zh-white);
    padding: 70px 0;
    border-top: 2px solid var(--zh-black);
}

.zh_more_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.zh_more_header h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--zh-black);
}

.zh_more_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.zh_more_link:hover {
    color: var(--zh-primary-dark);
}

.zh_more_link i {
    transition: transform 0.3s ease;
}

.zh_more_link:hover i {
    transform: translateX(4px);
}

.zh_more_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.zh_more_card {
    background: var(--zh-white);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.zh_more_card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 0px 0px var(--zh-black);
}

.zh_more_card_image {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-bottom: 2px solid var(--zh-black);
}

.zh_more_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_more_card:hover .zh_more_card_image img {
    transform: scale(1.05);
}

.zh_more_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 20, 17, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_more_card:hover .zh_more_card_overlay {
    opacity: 1;
}

.zh_more_card_view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-btn);
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-black);
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--zh-shadow-sm);
}

.zh_more_card:hover .zh_more_card_view {
    transform: translateY(0);
}

.zh_more_card_body {
    padding: 22px;
}

.zh_more_card_body h3 {
    margin-bottom: 10px;
}

.zh_more_card_body h3 a {
    font-size: 16px;
    font-weight: 700;
    color: var(--zh-black);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.zh_more_card_body h3 a:hover {
    color: var(--zh-primary-dark);
}

.zh_more_card_meta {
    font-size: 13px;
    color: var(--zh-gray-500);
}

.zh_more_card_meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== 底部 CTA ========== */
.zh_show_cta {
    background: var(--zh-gray-100);
    padding: 80px 0;
}

.zh_show_cta_card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 56px;
    background: var(--zh-primary);
    border: 2px solid var(--zh-black);
    border-radius: var(--zh-radius-card);
    box-shadow: var(--zh-shadow);
}

.zh_show_cta_text h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--zh-black);
    margin-bottom: 8px;
}

.zh_show_cta_text p {
    font-size: 16px;
    color: var(--zh-black);
    opacity: 0.8;
    margin: 0;
}

.zh_show_cta_btns {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .zh_show_layout {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }

    .zh_more_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .zh_show_hero {
        min-height: 400px;
        margin-top: -70px;
        padding-top: 70px;
    }

    .zh_show_hero_title {
        font-size: 32px;
    }

    .zh_show_layout {
        grid-template-columns: 1fr;
    }

    .zh_show_main .zh_sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .zh_featured_card {
        grid-column: span 2;
    }

    .zh_more_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_show_cta_card {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 40px 36px;
    }

    .zh_show_cta_btns {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .zh_show_hero {
        min-height: 350px;
    }

    .zh_show_hero_title {
        font-size: 26px;
    }

    .zh_show_hero_tags {
        gap: 8px;
    }

    .zh_hero_tag {
        padding: 6px 12px;
        font-size: 11px;
    }

    .zh_show_main {
        padding: 40px 0 60px;
    }

    .zh_merchant_header {
        flex-wrap: wrap;
        gap: 16px;
    }

    .zh_merchant_link {
        width: 100%;
        justify-content: center;
    }

    .zh_merchant_grid {
        grid-template-columns: 1fr;
    }

    .zh_merchant_item_full {
        grid-column: span 1;
    }

    .zh_params_grid {
        grid-template-columns: 1fr;
    }

    .zh_show_main .zh_sidebar {
        grid-template-columns: 1fr;
    }

    .zh_featured_card {
        grid-column: span 1;
    }

    .zh_more_section {
        padding: 50px 0;
    }

    .zh_more_header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .zh_more_header h2 {
        font-size: 24px;
    }

    .zh_more_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .zh_show_cta {
        padding: 60px 0;
    }

    .zh_show_cta_text h2 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .zh_show_hero_title {
        font-size: 22px;
    }

    .zh_merchant_header {
        padding: 20px;
    }

    .zh_merchant_body {
        padding: 20px;
    }

    .zh_section_header {
        padding: 18px 20px;
    }

    .zh_section_body {
        padding: 20px;
    }

    .zh_section_icon {
        width: 38px;
        height: 38px;
    }

    .zh_section_icon i {
        font-size: 16px;
    }

    .zh_section_header h2 {
        font-size: 16px;
    }

    .zh_more_card_body {
        padding: 18px;
    }

    .zh_show_cta_card {
        padding: 32px 24px;
    }
}
