/* 紧急显示修复 - 确保产品卡片正确显示 */

/* 强制显示所有产品卡片 */
.shop-col,
.col-6.col-md-4.shop-col,
[class*="shop-col"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* 修复产品网格布局 */
.shop-product-wrap.data-grid {
    display: block !important;
    width: 100% !important;
}

.row.row-mtm {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

/* 修复产品卡片内部结构 */
.single-product {
    display: block !important;
    width: 100% !important;
}

.single-product-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* 修复图片显示 */
.product-image img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

/* 修复内容显示 */
.product-content {
    display: block !important;
}

.pro-content {
    display: block !important;
}

/* 修复标题显示 */
.product-title {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* 修复价格显示 */
.product-price {
    display: block !important;
    margin: 10px 0 !important;
}

.price-box {
    display: inline-block !important;
}

/* 修复描述显示 */
.product-description {
    display: block !important;
    margin: 10px 0 !important;
}

/* 修复操作按钮 */
.product-action-wrap {
    display: flex !important;
    justify-content: center !important;
    margin-top: 15px !important;
}

.product-action {
    display: flex !important;
    gap: 10px !important;
}

/* 加载指示器 */
#loading-indicator {
    display: block !important;
    text-align: center !important;
    padding: 40px 20px !important;
}

/* 错误消息 */
.alert {
    display: block !important;
    margin: 20px 0 !important;
    padding: 20px !important;
    border-radius: 5px !important;
}

/* 响应式修复 */
@media (max-width: 768px) {
    .col-6.col-md-4.shop-col {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 576px) {
    .col-6.col-md-4.shop-col {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.shop-col {
    animation: fadeIn 0.5s ease-in !important;
}

/* 确保分页显示 */
.pagination {
    display: flex !important;
    justify-content: center !important;
    margin-top: 30px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 强制显示所有内容 */
body.collection-layout-fix * {
    box-sizing: border-box !important;
}

/* 产品卡片悬停效果 */
.shop-col:hover {
    transform: translateY(-5px) !important;
    transition: transform 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}