/**
 * 产品页面手机端优化样式
 * 适用于所有产品子页面
 */

/* 手机端产品卡片优化 - 两列布局 */
@media (max-width: 768px) {
    /* 产品网格两列布局 */
    .products-grid-new {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    /* 产品卡片整体调整 */
    .product-card {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    }
    
    /* 产品图片区域调整 */
    .product-card-image {
        height: 180px !important;
    }
    
    /* 产品卡片主体内边距调整 */
    .product-card-body {
        padding: 12px !important;
    }
    
    /* 产品标题字体调整 */
    .product-card-title {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        font-weight: 600 !important;
        min-height: auto !important;
    }
    
    /* 产品分类字体缩小 */
    .product-card-category {
        font-size: 11px !important;
    }
    
    /* 产品型号字体缩小 */
    .product-card-model {
        font-size: 11px !important;
    }
    
    /* 产品描述字体调整 */
    .product-card-desc {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        color: #666 !important;
        -webkit-line-clamp: 2 !important;
    }
    
    /* 产品状态标签调整 */
    .product-card-status {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
    
    /* 产品卡片底部调整 */
    .product-card-footer {
        padding-top: 10px !important;
        border-top: 1px solid #f0f0f0 !important;
    }
    
    /* 产品规格调整 */
    .product-specs {
        font-size: 12px !important;
        flex-wrap: wrap !important;
    }
    
    /* 产品图片容器调整 */
    .product-image-wrapper {
        height: 180px !important;
    }
    
    /* 新产品信息区域调整 */
    .product-info-new {
        padding: 12px !important;
    }
    
    /* 新产品标题调整 */
    .product-title-new {
        font-size: 15px !important;
    }
    
    /* 新产品描述调整 */
    .product-desc-new {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-card {
        height: 580px !important;
    }
    
    .product-card-image {
        height: 360px !important;
    }
}

/* 带鱼屏和超宽屏优化 */
@media (min-width: 2560px) {
    .product-card {
        height: 620px !important;
    }
    
    .product-card-image {
        height: 400px !important;
    }
}
