/* ================================
   艺而亿定制商城 - 商品详情页样式
   ================================ */

/* 基础变量 */
:root {
    --zh-primary-color: #D32F2F;
    --zh-primary-dark: #B71C1C;
    --zh-secondary-color: #FBC02D;
    --zh-text-primary: #333333;
    --zh-text-secondary: #666666;
    --zh-background-light: #F5F5F5;
    --zh-background-white: #FFFFFF;
    --zh-border-color: #E0E0E0;
    --zh-disabled-color: #9E9E9E;
    --zh-shadow-light: 0 2px 8px rgba(0,0,0,0.1);
    --zh-shadow-medium: 0 4px 16px rgba(0,0,0,0.15);
    --zh-radius-small: 6px;
    --zh-radius-medium: 12px;
    --zh-radius-large: 16px;
    --zh-transition: all 0.3s ease;
}

/* 重置和基础样式 */
* {
    box-sizing: border-box;
}

.zh_goods_main {
    background: var(--zh-background-light);
    min-height: 100vh;
    padding-bottom: 80px; /* 为移动端底栏留空间 */
}

.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航 */
.zh_breadcrumb_wrapper {
    background: var(--zh-background-white);
    border-bottom: 1px solid var(--zh-border-color);
    padding: 15px 0;
    margin-bottom: 20px;
}

.zh_breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--zh-text-secondary);
}

.zh_breadcrumb_item {
    display: flex;
    align-items: center;
    color: var(--zh-text-secondary);
    text-decoration: none;
    transition: var(--zh-transition);
}

.zh_breadcrumb_item:hover {
    color: var(--zh-primary-color);
}

.zh_breadcrumb_item i {
    margin-right: 5px;
}

.zh_breadcrumb_separator {
    margin: 0 10px;
    font-size: 12px;
    color: var(--zh-disabled-color);
}

.zh_breadcrumb_current {
    color: var(--zh-text-primary);
    font-weight: 500;
}

/* 商品主要信息区域 */
.zh_goods_section {
    margin-bottom: 30px;
}



.zh_goods_layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--zh-background-white);
    padding: 30px;
    border-radius: var(--zh-radius-large);
    box-shadow: var(--zh-shadow-light);
}

/* 商品图片展示区 */
.zh_goods_gallery {
    position: relative;
}

.zh_gallery_main {
    margin-bottom: 20px;
}

.zh_main_image_wrapper {
    position: relative;
    border-radius: var(--zh-radius-medium);
    overflow: hidden;
    background: var(--zh-background-light);
}

.zh_main_image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--zh-transition);
}

.zh_image_zoom_btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zh-text-secondary);
    cursor: pointer;
    transition: var(--zh-transition);
}

.zh_image_zoom_btn:hover {
    background: var(--zh-background-white);
    color: var(--zh-primary-color);
    transform: scale(1.1);
}

.zh_image_badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.zh_badge_hot {
    background: linear-gradient(135deg, #FF6B6B, #FF5722);
}

.zh_badge_new {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

/* 缩略图 */
.zh_gallery_thumbs {
    max-height: 120px;
    overflow: hidden;
}

.zh_thumbs_container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.zh_thumbs_container::-webkit-scrollbar {
    height: 4px;
}

.zh_thumbs_container::-webkit-scrollbar-track {
    background: var(--zh-background-light);
    border-radius: 2px;
}

.zh_thumbs_container::-webkit-scrollbar-thumb {
    background: var(--zh-disabled-color);
    border-radius: 2px;
}

.zh_thumb_item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--zh-radius-small);
    overflow: hidden;
    cursor: pointer;
    transition: var(--zh-transition);
}

.zh_thumb_item:hover,
.zh_thumb_item.zh_active {
    border-color: var(--zh-primary-color);
    transform: translateY(-2px);
}

.zh_thumb_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品信息面板 */
.zh_goods_info_panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 商品标题区域 */
.zh_goods_header h1.zh_goods_title {
    font-size: 28px;
    font-weight: 600;
    color: var(--zh-text-primary);
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.zh_goods_subtitle {
    font-size: 16px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.zh_goods_tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.zh_tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.zh_tag_custom {
    background: linear-gradient(135deg, var(--zh-secondary-color), #F57F17);
    color: white;
}

.zh_tag_quality {
    background: linear-gradient(135deg, var(--zh-primary-color), var(--zh-primary-dark));
    color: white;
}

/* 价格信息区域 */
.zh_price_section {
    background: linear-gradient(135deg, #FFF8E1, #FFF3C4);
    border: 2px solid var(--zh-secondary-color);
    border-radius: var(--zh-radius-medium);
    padding: 20px;
}

.zh_price_main {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.zh_current_price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.zh_price_label {
    font-size: 14px;
    color: var(--zh-text-secondary);
    margin-right: 5px;
}

.zh_currency {
    font-size: 20px;
    color: var(--zh-primary-color);
    font-weight: 600;
}

.zh_price_value {
    font-size: 36px;
    color: var(--zh-primary-color);
    font-weight: 700;
    line-height: 1;
}

.zh_price_unit {
    font-size: 14px;
    color: var(--zh-text-secondary);
    margin-left: 5px;
}

.zh_market_price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--zh-text-secondary);
}

.zh_market_value {
    text-decoration: line-through;
}

.zh_promotion_banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #FF5722, #D84315);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    width: fit-content;
}

/* 商品基础信息 */
.zh_goods_meta {
    background: var(--zh-background-light);
    border-radius: var(--zh-radius-medium);
    padding: 20px;
}

.zh_meta_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.zh_meta_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zh_meta_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--zh-text-secondary);
}

.zh_meta_label i {
    color: var(--zh-primary-color);
}

.zh_meta_value {
    font-size: 14px;
    color: var(--zh-text-primary);
    font-weight: 500;
}

/* 规格选择区域 */
.zh_spec_section {
    border: 1px solid var(--zh-border-color);
    border-radius: var(--zh-radius-medium);
    padding: 20px;
}

.zh_spec_group {
    margin-bottom: 20px;
}

.zh_spec_group:last-child {
    margin-bottom: 0;
}

.zh_spec_header {
    margin-bottom: 12px;
}

.zh_spec_label {
    font-size: 14px;
    color: var(--zh-text-primary);
    font-weight: 500;
}

.zh_spec_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zh_spec_item {
    margin: 0;
}

.zh_spec_option {
    display: block;
    padding: 8px 16px;
    border: 1px solid var(--zh-border-color);
    border-radius: var(--zh-radius-small);
    color: var(--zh-text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--zh-transition);
    background: var(--zh-background-white);
}

.zh_spec_option:hover {
    border-color: var(--zh-primary-color);
    color: var(--zh-primary-color);
}

.zh_spec_option.hovered {
    background: var(--zh-primary-color);
    border-color: var(--zh-primary-color);
    color: white;
}

.zh_spec_option.disable {
    background: var(--zh-background-light);
    color: var(--zh-disabled-color);
    border-color: var(--zh-border-color);
    cursor: not-allowed;
}

/* 数量选择区域 */
.zh_quantity_section {
    border: 1px solid var(--zh-border-color);
    border-radius: var(--zh-radius-medium);
    padding: 20px;
}

.zh_quantity_header {
    margin-bottom: 15px;
}

.zh_quantity_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--zh-text-primary);
    font-weight: 500;
}

.zh_quantity_label i {
    color: var(--zh-primary-color);
}

.zh_quantity_selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_quantity_control {
    display: flex;
    align-items: center;
    border: 1px solid var(--zh-border-color);
    border-radius: var(--zh-radius-small);
    overflow: hidden;
}

.zh_quantity_btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--zh-background-light);
    color: var(--zh-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--zh-transition);
}

.zh_quantity_btn:hover {
    background: var(--zh-primary-color);
    color: white;
}

.zh_quantity_input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    color: var(--zh-text-primary);
    outline: none;
}

.zh_stock_hint {
    font-size: 12px;
    color: var(--zh-text-secondary);
}

/* 购买操作区域 */
.zh_purchase_section {
    background: var(--zh-background-light);
    border-radius: var(--zh-radius-medium);
    padding: 25px;
}

.zh_purchase_buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.zh_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--zh-radius-small);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--zh-transition);
    text-decoration: none;
    flex: 1;
    min-height: 44px;
}

.zh_btn_contact {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.zh_btn_contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--zh-shadow-medium);
}

.zh_btn_inquiry {
    background: linear-gradient(135deg, var(--zh-secondary-color), #F57F17);
    color: white;
}

.zh_btn_inquiry:hover {
    transform: translateY(-2px);
    box-shadow: var(--zh-shadow-medium);
}

.zh_btn_cart {
    background: linear-gradient(135deg, var(--zh-primary-color), var(--zh-primary-dark));
    color: white;
}

.zh_btn_cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--zh-shadow-medium);
}

.zh_btn_disabled {
    background: var(--zh-border-color);
    color: var(--zh-disabled-color);
    cursor: not-allowed;
}

.zh_btn_notify {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.zh_btn_store {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    text-decoration: none;
}

.zh_purchase_tips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_tip_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--zh-text-secondary);
}

.zh_tip_item i {
    color: var(--zh-primary-color);
}

/* 店铺信息卡片 */
.zh_store_section {
    margin-top: 20px;
    margin-bottom: 0;
}

/* 在商品图片区域内的商家信息样式调整 */
.zh_goods_gallery .zh_store_section {
    margin-top: 20px;
}

.zh_goods_gallery .zh_store_card {
    padding: 20px;
    box-shadow: var(--zh-shadow-light);
}

.zh_goods_gallery .zh_store_header {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.zh_goods_gallery .zh_store_name {
    font-size: 16px;
}

.zh_goods_gallery .zh_store_actions .zh_btn {
    padding: 8px 16px;
    font-size: 13px;
}

.zh_store_card {
    background: var(--zh-background-white);
    border-radius: var(--zh-radius-large);
    padding: 25px;
    box-shadow: var(--zh-shadow-light);
}

.zh_store_header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--zh-border-color);
}

.zh_store_avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.zh_store_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_store_info {
    flex: 1;
}

.zh_store_name {
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-text-primary);
    margin: 0 0 8px 0;
}

.zh_store_meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.zh_store_level,
.zh_store_time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--zh-text-secondary);
}

.zh_store_level i {
    color: var(--zh-secondary-color);
}

.zh_store_time i {
    color: var(--zh-primary-color);
}

.zh_store_actions {
    flex-shrink: 0;
}

.zh_store_contact {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.zh_contact_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.zh_contact_item i {
    color: var(--zh-primary-color);
}

.zh_contact_label {
    color: var(--zh-text-secondary);
}

.zh_contact_value {
    color: var(--zh-text-primary);
    font-weight: 500;
    text-decoration: none;
}

.zh_contact_value:hover {
    color: var(--zh-primary-color);
}

.zh_store_business {
    background: var(--zh-background-light);
    border-radius: var(--zh-radius-small);
    padding: 15px;
}

.zh_business_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-text-primary);
    margin: 0 0 10px 0;
}

.zh_business_title i {
    color: var(--zh-primary-color);
}

.zh_business_content {
    font-size: 14px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
}

/* 详情选项卡区域 */
.zh_details_section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.zh_details_container {
    background: var(--zh-background-white);
    border-radius: var(--zh-radius-large);
    overflow: hidden;
    box-shadow: var(--zh-shadow-light);
}

.zh_tabs_nav {
    display: flex;
    background: var(--zh-background-light);
    border-bottom: 1px solid var(--zh-border-color);
}

.zh_tab_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: var(--zh-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--zh-transition);
    border-bottom: 3px solid transparent;
}

.zh_tab_btn:hover,
.zh_tab_btn.zh_active {
    color: var(--zh-primary-color);
    background: var(--zh-background-white);
    border-bottom-color: var(--zh-primary-color);
}

.zh_tabs_content {
    min-height: 400px;
}

.zh_tab_panel {
    display: none;
    padding: 30px;
}

.zh_tab_panel.zh_active {
    display: block;
}

/* 商品详情内容 */
.zh_details_content {
    line-height: 1.6;
    color: var(--zh-text-primary);
}

.zh_default_details {
    text-align: center;
}

.zh_detail_section img {
    max-width: 100%;
    height: auto;
    border-radius: var(--zh-radius-medium);
    margin-bottom: 20px;
}

.zh_detail_section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--zh-text-primary);
    margin: 0 0 15px 0;
}

.zh_detail_section p {
    font-size: 16px;
    color: var(--zh-text-secondary);
    margin: 0 0 20px 0;
}

.zh_feature_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.zh_feature_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--zh-background-light);
    border-radius: var(--zh-radius-small);
    font-size: 14px;
    color: var(--zh-text-primary);
}

.zh_feature_item i {
    color: var(--zh-primary-color);
    font-size: 16px;
}

/* 规格参数 */
.zh_params_content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-text-primary);
    margin: 0 0 20px 0;
}

.zh_params_table {
    border: 1px solid var(--zh-border-color);
    border-radius: var(--zh-radius-small);
    overflow: hidden;
}

.zh_param_row {
    display: flex;
    border-bottom: 1px solid var(--zh-border-color);
}

.zh_param_row:last-child {
    border-bottom: none;
}

.zh_param_label {
    flex: 0 0 150px;
    padding: 15px 20px;
    background: var(--zh-background-light);
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-text-primary);
    border-right: 1px solid var(--zh-border-color);
}

.zh_param_value {
    flex: 1;
    padding: 15px 20px;
    font-size: 14px;
    color: var(--zh-text-secondary);
}

/* 定制说明 */
.zh_custom_content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-text-primary);
    margin: 0 0 25px 0;
}

.zh_custom_process {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_process_step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.zh_step_number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--zh-primary-color), var(--zh-primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.zh_step_content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-text-primary);
    margin: 0 0 8px 0;
}

.zh_step_content p {
    font-size: 14px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 常见问题 */
.zh_qa_content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-text-primary);
    margin: 0 0 25px 0;
}

.zh_qa_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_qa_item {
    background: var(--zh-background-light);
    border-radius: var(--zh-radius-small);
    padding: 20px;
}

.zh_qa_item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-text-primary);
    margin: 0 0 10px 0;
}

.zh_qa_item h4 i {
    color: var(--zh-primary-color);
}

.zh_qa_item p {
    font-size: 14px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 移动端固定底栏 */
.zh_mobile_bottom_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--zh-background-white);
    border-top: 1px solid var(--zh-border-color);
    padding: 15px 20px;
    z-index: 1000;
    display: none;
}

.zh_mobile_bar_content {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.zh_mobile_price_info {
    flex: 1;
}

.zh_mobile_price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.zh_mobile_currency {
    font-size: 14px;
    color: var(--zh-primary-color);
    font-weight: 600;
}

.zh_mobile_price_value {
    font-size: 20px;
    color: var(--zh-primary-color);
    font-weight: 700;
}

.zh_mobile_price_unit {
    font-size: 12px;
    color: var(--zh-text-secondary);
}

.zh_mobile_actions {
    display: flex;
    gap: 10px;
}

.zh_mobile_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 16px;
    border: none;
    border-radius: var(--zh-radius-small);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--zh-transition);
    min-width: 80px;
}

.zh_mobile_contact {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.zh_mobile_cart {
    background: linear-gradient(135deg, var(--zh-primary-color), var(--zh-primary-dark));
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_goods_layout {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }
    
    .zh_main_image {
        height: 300px;
    }
    
    .zh_goods_title {
        font-size: 22px !important;
    }
    
    .zh_price_value {
        font-size: 28px !important;
    }
    
    .zh_meta_grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .zh_purchase_buttons {
        flex-direction: column;
    }
    
    .zh_store_header {
        flex-direction: column;
        text-align: center;
    }
    
    .zh_store_contact {
        flex-direction: column;
        gap: 10px;
    }
    
    /* 移动端商家信息调整 */
    .zh_goods_gallery .zh_store_section {
        margin-top: 15px;
    }
    
    .zh_goods_gallery .zh_store_card {
        padding: 15px;
    }
    
    .zh_tabs_nav {
        overflow-x: auto;
    }
    
    .zh_tab_btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .zh_feature_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_custom_process {
        gap: 15px;
    }
    
    .zh_process_step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .zh_mobile_bottom_bar {
        display: block;
    }
    
    .zh_goods_main {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .zh_breadcrumb {
        font-size: 12px;
    }
    
    .zh_breadcrumb_item span {
        display: none;
    }
    
    .zh_thumbs_container {
        gap: 8px;
    }
    
    .zh_thumb_item {
        width: 60px;
        height: 60px;
    }
    
    .zh_goods_title {
        font-size: 18px !important;
    }
    
    .zh_price_value {
        font-size: 24px !important;
    }
    
    .zh_btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .zh_tab_panel {
        padding: 20px 15px;
    }
}

/* 动画效果 */
@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zh_slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zh_slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.zh_animate_fadeInUp {
    animation: zh_fadeInUp 0.6s ease-out;
}

.zh_animate_slideInLeft {
    animation: zh_slideInLeft 0.6s ease-out;
}

.zh_animate_slideInRight {
    animation: zh_slideInRight 0.6s ease-out;
}

/* 加载状态 */
.zh_loading {
    position: relative;
    overflow: hidden;
}

.zh_loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.7), 
        transparent
    );
    animation: zh_shimmer 1.5s infinite;
}

@keyframes zh_shimmer {
    to {
        left: 100%;
    }
}

/* 打印样式 */
@media print {
    .zh_mobile_bottom_bar,
    .zh_purchase_section,
    .zh_store_actions {
        display: none !important;
    }
    
    .zh_goods_main {
        background: white !important;
        padding: 0 !important;
    }
    
    .zh_goods_layout {
        box-shadow: none !important;
    }
}
