/* 产品详情页样式 - 创新设计 */

/* 页面整体布局 - 避免被导航遮挡 */
.zh_goods_page {
    padding-top: 120px;
}

/* 面包屑导航 */
.zh_breadcrumb_bar {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.zh_breadcrumb_nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.zh_crumb_link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.zh_crumb_link:hover {
    color: #749F06;
}

.zh_crumb_sep {
    color: #ccc;
    font-size: 10px;
}

.zh_crumb_current {
    color: #18813f;
    font-weight: 600;
    font-size: 14px;
}

/* 产品展示区 - 全宽大图 */
.zh_product_showcase {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    padding: 60px 0;
}

.zh_showcase_container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_main_showcase {
    margin-bottom: 30px;
}

.zh_showcase_img {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.zh_showcase_img:hover {
    border-color: #749F06;
    box-shadow: 0 12px 48px rgba(116, 159, 6, 0.2);
}

.zh_showcase_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.zh_img_zoom_hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.zh_showcase_img:hover .zh_img_zoom_hint {
    opacity: 1;
    transform: translateY(0);
}

/* 缩略图画廊 */
.zh_thumbnail_gallery {
    margin-top: 20px;
}

.zh_gallery_track {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.zh_thumb_box {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.zh_thumb_box:hover {
    border-color: #749F06;
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(116, 159, 6, 0.2);
}

.zh_thumb_box.active {
    border-color: #749F06;
    box-shadow: 0 0 0 2px rgba(116, 159, 6, 0.2);
}

.zh_thumb_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品信息区 - 两列布局 */
.zh_product_info_section {
    padding: 60px 0;
    background: #fff;
}

.zh_info_grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.zh_info_column {
    display: flex;
    flex-direction: column;
}

/* 信息卡片 */
.zh_info_card,
.zh_merchant_card,
.zh_guarantee_card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    height: 100%;
    transition: all 0.3s ease;
}

.zh_info_card:hover,
.zh_merchant_card:hover,
.zh_guarantee_card:hover {
    border-color: #749F06;
    box-shadow: 0 8px 24px rgba(116, 159, 6, 0.15);
}

/* 标题区域 */
.zh_title_area {
    margin-bottom: 25px;
}

.zh_labels_row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.zh_label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.zh_label_new {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
}

.zh_label_hot {
    background: linear-gradient(135deg, #FF6B6B 0%, #C92A2A 100%);
    color: #fff;
}

.zh_label_verified {
    background: #e9f5e3;
    color: #18813f;
}

.zh_goods_title {
    font-size: 32px;
    font-weight: 800;
    color: #18813f;
    line-height: 1.3;
    margin-bottom: 10px;
}

.zh_goods_brief {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 评分区域 */
.zh_rating_section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 25px;
}

.zh_rating_display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_stars_large {
    display: flex;
    gap: 4px;
    color: #FFD700;
    font-size: 20px;
}

.zh_rating_score {
    font-size: 24px;
    font-weight: 800;
    color: #333;
}

.zh_rating_count {
    font-size: 14px;
    color: #18813f;
    font-weight: 600;
}

/* 价格区域 */
.zh_price_section {
    background: linear-gradient(135deg, #e9f5e3 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.zh_price_row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.zh_price_tag {
    font-size: 16px;
    font-weight: 700;
    color: #666;
}

.zh_price_display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zh_current_price {
    font-size: 42px;
    font-weight: 900;
    color: #749F06;
    line-height: 1;
}

.zh_market_price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

/* 规格选择 */
.zh_specs_section {
    margin-bottom: 30px;
}

.zh_section_label {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.zh_spec_row {
    margin-bottom: 20px;
}

.zh_spec_name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
}

.zh_spec_values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zh_spec_choice {
    cursor: pointer;
}

.zh_spec_choice input[type="radio"] {
    display: none;
}

.zh_choice_text {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.zh_spec_choice:hover .zh_choice_text {
    background: #e9f5e3;
    border-color: #749F06;
    color: #749F06;
}

.zh_spec_choice input[type="radio"]:checked + .zh_choice_text {
    background: #749F06;
    border-color: #749F06;
    color: #fff;
    font-weight: 700;
}

/* 购买区域 */
.zh_purchase_section {
    margin-top: 30px;
}

.zh_quantity_row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.zh_qty_label {
    font-size: 15px;
    font-weight: 600;
    color: #666;
}

.zh_qty_control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    overflow: hidden;
}

.zh_qty_minus,
.zh_qty_plus {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_qty_minus:hover,
.zh_qty_plus:hover {
    background: #749F06;
    color: #fff;
}

.zh_qty_input {
    width: 70px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    background: #fff;
}

.zh_stock_info {
    font-size: 14px;
    color: #999;
}

/* 购买按钮 */
.zh_buy_buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.zh_buy_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zh_btn_add_cart {
    background: #fff;
    color: #749F06;
    border: 2px solid #749F06;
}

.zh_btn_add_cart:hover {
    background: #749F06;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 159, 6, 0.3);
}

.zh_btn_buy_now {
    background: linear-gradient(135deg, #749F06 0%, #638708 100%);
    color: #fff;
    border: 2px solid transparent;
}

.zh_btn_buy_now:hover {
    background: linear-gradient(135deg, #638708 0%, #527006 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 159, 6, 0.4);
}

/* 辅助操作 */
.zh_extra_actions {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.zh_action_item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zh_action_item:hover {
    color: #749F06;
}

.zh_action_item i {
    font-size: 16px;
}

/* 商家信息卡片 */
.zh_merchant_header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.zh_merchant_icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #749F06 0%, #638708 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
}

.zh_merchant_title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.zh_merchant_link {
    font-size: 18px;
    font-weight: 700;
    color: #18813f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_merchant_link:hover {
    color: #749F06;
}

.zh_merchant_stats {
    margin-bottom: 25px;
}

.zh_stat_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.zh_stat_row:last-child {
    border-bottom: none;
}

.zh_stat_name {
    font-size: 14px;
    color: #666;
}

.zh_stat_val {
    font-size: 14px;
    font-weight: 700;
    color: #18813f;
}

.zh_merchant_badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.zh_merchant_badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #e9f5e3;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #18813f;
}

.zh_merchant_badge i {
    font-size: 16px;
}

/* 平台保障卡片 */
.zh_card_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #18813f;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.zh_card_title i {
    font-size: 22px;
}

.zh_guarantee_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_guarantee_item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.zh_guarantee_item > i {
    color: #749F06;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.zh_guarantee_text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.zh_guarantee_text p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 商品详情区 - 简化版 */
.zh_details_section {
    background: #f8f9fa;
    padding: 60px 0;
}

.zh_detail_wrapper {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
}

.zh_detail_header {
    background: linear-gradient(135deg, #749F06 0%, #638708 100%);
    padding: 25px 40px;
}

.zh_detail_title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.zh_detail_title i {
    font-size: 28px;
}

/* 详情内容 */
.zh_detail_body {
    padding: 40px;
}

.zh_detail_text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.zh_detail_images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_detail_img_item {
    border-radius: 16px;
    overflow: hidden;
}

.zh_detail_img_item img {
    width: 100%;
    height: auto;
    display: block;
}


/* 相关推荐 */
.zh_related_products_section {
    padding: 80px 0;
    background: #fff;
}

.zh_section_head {
    text-align: center;
    margin-bottom: 50px;
}

.zh_section_title {
    font-size: 36px;
    font-weight: 800;
    color: #18813f;
    margin-bottom: 10px;
}

.zh_section_desc {
    font-size: 16px;
    color: #666;
}

.zh_related_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.zh_related_item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.zh_related_item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(116, 159, 6, 0.15);
    border-color: #749F06;
}

.zh_related_link {
    text-decoration: none;
    display: block;
}

.zh_related_img {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.zh_related_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_related_item:hover .zh_related_img img {
    transform: scale(1.1);
}

.zh_related_info {
    padding: 20px;
}

.zh_related_name {
    font-size: 16px;
    font-weight: 700;
    color: #18813f;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.zh_related_price {
    font-size: 20px;
    font-weight: 800;
    color: #749F06;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .zh_related_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .zh_showcase_img {
        height: 450px;
    }

    .zh_info_grid {
        grid-template-columns: 1fr;
    }

    .zh_goods_title {
        font-size: 26px;
    }

    .zh_current_price {
        font-size: 36px;
    }

    .zh_buy_buttons {
        grid-template-columns: 1fr;
    }

    .zh_related_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .zh_product_showcase {
        padding: 30px 0;
    }

    .zh_showcase_img {
        height: 350px;
    }

    .zh_goods_title {
        font-size: 22px;
    }

    .zh_current_price {
        font-size: 32px;
    }

    .zh_info_card,
    .zh_merchant_card {
        padding: 25px;
    }

    .zh_detail_body {
        padding: 25px;
    }

    .zh_detail_header {
        padding: 20px 25px;
    }

    .zh_related_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .zh_showcase_img {
        height: 280px;
        border-radius: 16px;
    }

    .zh_thumb_box {
        width: 70px;
        height: 70px;
    }

    .zh_goods_title {
        font-size: 20px;
    }

    .zh_current_price {
        font-size: 28px;
    }

    .zh_extra_actions {
        flex-direction: column;
        gap: 10px;
    }

    .zh_action_item {
        width: 100%;
        justify-content: center;
    }

    .zh_merchant_badges {
        grid-template-columns: 1fr;
    }
}
