/* 商品详情页样式 - 参考首页深色系设计风格 */

/* 面包屑导航 */
.zh_breadcrumb_bar {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.zh_breadcrumb_nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.zh_crumb_link {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.zh_crumb_link:hover {
    color: #FA7D09;
}

.zh_crumb_current {
    color: #FA7D09;
    font-weight: 600;
}

/* 产品展示区 - 左右分栏布局 */
.zh_product_main_section {
    background: #fff;
    padding: 60px 0;
}

.zh_product_layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 左侧图片区域 */
.zh_product_images_column {
    position: sticky;
    top: 100px;
}

.zh_main_image_wrapper {
    margin-bottom: 20px;
}

.zh_main_image {
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    max-height: 500px;
}

.zh_main_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.zh_img_zoom_hint {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.zh_main_image:hover .zh_img_zoom_hint {
    opacity: 1;
}

.zh_thumbnail_gallery {
    margin-top: 20px;
}

.zh_gallery_track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
}

.zh_thumb_box {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.zh_thumb_box.active {
    border-color: #FA7D09;
}

.zh_thumb_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧信息区域 */
.zh_product_info_column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zh_product_basic_info {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.zh_title_area {
    margin-bottom: 25px;
}

.zh_labels_row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.zh_label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.zh_label_new {
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    color: #fff;
}

.zh_label_hot {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: #fff;
}

.zh_label_verified {
    background: linear-gradient(135deg, #2ed573 0%, #1dd65f 100%);
    color: #fff;
}

.zh_goods_title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.zh_goods_brief {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.zh_rating_section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.zh_rating_display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_stars_large {
    display: flex;
    gap: 4px;
}

.zh_stars_large i {
    color: #FA7D09;
    font-size: 18px;
}

.zh_rating_score {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.zh_rating_count {
    font-size: 14px;
    color: #666;
}

.zh_price_section {
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #FA7D09;
}

.zh_price_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zh_price_tag {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.zh_price_display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_current_price {
    font-size: 32px;
    font-weight: 700;
    color: #FA7D09;
}

.zh_market_price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.zh_specs_section {
    margin-bottom: 25px;
}

.zh_section_label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.zh_spec_row {
    margin-bottom: 20px;
}

.zh_spec_name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.zh_spec_values {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.zh_spec_choice {
    position: relative;
    cursor: pointer;
}

.zh_spec_choice input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.zh_choice_text {
    display: block;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    text-align: center;
    min-width: 80px;
}

.zh_spec_choice input[type="radio"]:checked + .zh_choice_text {
    background: #FA7D09;
    border-color: #FA7D09;
    color: #fff;
}

.zh_spec_choice:hover .zh_choice_text {
    border-color: #FA7D09;
    color: #FA7D09;
}

.zh_purchase_section {
    margin-top: 30px;
}

.zh_buy_buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.zh_buy_btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.zh_btn_add_cart {
    background: #FA7D09;
    color: #fff;
    border: 2px solid #FA7D09;
}

.zh_btn_add_cart:hover {
    background: #e56d00;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(250,125,9,0.3);
}

.zh_btn_buy_now {
    background: transparent;
    color: #FA7D09;
    border: 2px solid #FA7D09;
}

.zh_btn_buy_now:hover {
    background: #FA7D09;
    color: #fff;
    transform: translateY(-2px);
}

.zh_extra_actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.zh_action_item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #eee;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.zh_action_item:hover {
    border-color: #FA7D09;
    color: #FA7D09;
    transform: translateY(-2px);
}

/* 商家信息卡片 */
.zh_merchant_info_card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.zh_merchant_header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.zh_merchant_icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.zh_merchant_title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.zh_merchant_link {
    color: #FA7D09;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.zh_merchant_link:hover {
    color: #e56d00;
}

.zh_merchant_stats {
    margin-bottom: 20px;
}

.zh_stat_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.zh_stat_name {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.zh_stat_val {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.zh_merchant_badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zh_merchant_badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.zh_merchant_badge i {
    color: #FA7D09;
    font-size: 14px;
}

.zh_merchant_badge span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* 商品详情区 */
.zh_details_section {
    background: #fff;
    padding: 60px 0;
}

.zh_detail_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_detail_header {
    text-align: center;
    margin-bottom: 40px;
}

.zh_detail_title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.zh_detail_title i {
    color: #FA7D09;
    font-size: 28px;
}

.zh_detail_body {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #eee;
}

.zh_detail_text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.zh_detail_images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.zh_detail_img_item {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.zh_detail_img_item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 相关推荐 */
.zh_related_products_section {
    background: #f8f9fa;
    padding: 60px 0;
}

.zh_section_head {
    text-align: center;
    margin-bottom: 40px;
}

.zh_section_title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.zh_section_desc {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.zh_related_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.zh_related_item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.zh_related_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(250,125,9,0.2);
    border-color: #FA7D09;
}

.zh_related_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zh_related_img {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.zh_related_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.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: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.zh_related_price {
    font-size: 20px;
    font-weight: 700;
    color: #FA7D09;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .zh_product_layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zh_product_images_column {
        position: static;
    }
}

@media (max-width: 992px) {
    .zh_product_main_section {
        padding: 40px 0;
    }

    .zh_product_basic_info {
        padding: 25px;
    }

    .zh_goods_title {
        font-size: 24px;
    }

    .zh_current_price {
        font-size: 28px;
    }

    .zh_buy_buttons {
        flex-direction: column;
    }

    .zh_extra_actions {
        flex-direction: column;
        align-items: center;
    }

    .zh_details_section {
        padding: 40px 0;
    }

    .zh_detail_body {
        padding: 30px;
    }

    .zh_related_products_section {
        padding: 40px 0;
    }

    .zh_related_grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .zh_main_image {
        aspect-ratio: 4/3;
    }

    .zh_product_basic_info {
        padding: 20px;
    }

    .zh_goods_title {
        font-size: 20px;
    }

    .zh_current_price {
        font-size: 24px;
    }

    .zh_price_row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .zh_spec_values {
        justify-content: center;
    }

    .zh_merchant_info_card {
        padding: 20px;
    }

    .zh_merchant_header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .zh_detail_title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    .zh_detail_body {
        padding: 20px;
    }

    .zh_detail_images {
        grid-template-columns: 1fr;
    }

    .zh_section_title {
        font-size: 24px;
    }

    .zh_related_grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .zh_breadcrumb_nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .zh_goods_title {
        font-size: 20px;
    }

    .zh_current_price {
        font-size: 24px;
    }

    .zh_buy_btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .zh_action_item {
        padding: 10px 16px;
        font-size: 13px;
    }

    .zh_detail_title {
        font-size: 20px;
    }

    .zh_section_title {
        font-size: 20px;
    }
}