/* Product Layout Adjustments for More Products */

/* First line of products - normal size */
.product-line-1 .product-card {
    width: 300px;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Second line of products - smaller size to accommodate more products */
.product-line-2 .product-card {
    width: 220px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-line-2 .product-card .product-image {
    height: 150px;
    object-fit: cover;
}

.product-line-2 .product-card .product-info {
    padding: 15px;
}

.product-line-2 .product-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.product-line-2 .product-card .product-description {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.product-line-2 .product-card .product-specs {
    margin-bottom: 10px;
}

.product-line-2 .product-card .product-specs span {
    font-size: 0.75rem;
    padding: 3px 6px;
    margin: 2px;
}

.product-line-2 .product-card .product-price {
    margin-bottom: 10px;
}

.product-line-2 .product-card .price {
    font-size: 1.1rem;
}

.product-line-2 .product-card .original-price {
    font-size: 0.9rem;
}

.product-line-2 .product-card .product-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Hover effects for clickable products */
.clickable-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* Product grid adjustments */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.product-grid.line-1 {
    justify-content: space-between;
}

.product-grid.line-2 {
    justify-content: flex-start;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-line-1 .product-card {
        width: 280px;
    }
    
    .product-line-2 .product-card {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .product-line-1 .product-card {
        width: 250px;
    }
    
    .product-line-2 .product-card {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .product-line-1 .product-card,
    .product-line-2 .product-card {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }
    
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
}

