.container-fluid {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    display: none;
}

.product {
    padding: 30px 0;
    background: #fff;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 15px;
    position: relative;
    transition: all 0.2s ease;
}

.product-item:hover {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.product-img {
    position: relative;
    padding-bottom: 100%;
    background: #fff;
    margin-bottom: 15px;
}

.product-img a {
    display: block;
    height: 100%;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.product-info {
    padding: 0 5px;
}

.brand {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 10px;
    font-weight: 500;
}

.product-meta {
    font-size: 12px;
    color: #666;
    margin: 8px 0;
    line-height: 1.4;
}

.price-item {
    font-size: 16px;
    color: #000;
    margin: 12px 0;
    font-weight: 500;
}

.price-item s {
    color: #999;
    margin-right: 8px;
    font-weight: normal;
}

.stock-status {
    font-size: 13px;
    margin: 8px 0;
}

.stock-status.in-stock {
    color: #4CAF50;
}

.stock-status.out-of-stock {
    color: #f44336;
}

/* New Product Badge */
.new::before {
    content: 'NEW';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2196F3;
    color: white;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.product-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.quantity-wrapper {
    flex: 0 0 80px;
}

.quantity-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.add-to-cart-btn {
    flex: 1;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-to-cart-btn:hover {
    background: #333;
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Loading Indicator */
.spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Product Count */
.count {
    color: #1b1818;
    font-size: 14px;
    margin: 0;
    font-weight: bold;
    text-align: right;
}

@media (max-width: 1200px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .product-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        margin: 0 auto;
        padding: 0;
    }

    .product-name {
        font-size: 13px;
    }

    .price-item {
        font-size: 14px;
    }

    .product-item {
        padding: 10px;
    }

    .product-actions {
        flex-direction: column;
    }

    .quantity-wrapper {
        flex: none;
    }
}
