/* 移动端空状态样式 - 简化版 */

/* 当item-list包含空状态时的特殊样式 */
.item-list:has(.products-empty) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    min-height: 200px;
}

/* 商品空状态 */
.products-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    max-width: 300px;
}

.products-empty-icon {
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.products-empty-icon i {
    font-size: 24px;
    color: #999;
}

.products-empty-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.products-empty-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.4;
}



/* 响应式调整 */
@media (max-width: 480px) {
    .products-empty {
        padding: 30px 16px;
        max-width: 280px;
    }
    
    .products-empty-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .products-empty-icon i {
        font-size: 20px;
    }
    
    .products-empty-title {
        font-size: 15px;
        color: #fff;
    }
    
    .products-empty-desc {
        font-size: 13px;
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.8);
    }
}

/* 加载状态 */
.products-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    margin: 15px 0;
}

.products-loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #f5f5f5;
    border-top: 2px solid #3772ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

.products-loading-text {
    font-size: 14px;
    color: #666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
