/* Gallery View Override Styles */
.product-grid.view-gallery {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-grid.view-gallery .product-img {
    height: 164px;
    width: 100%;
    background: #fff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-grid.view-gallery .product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}

.product-grid.view-gallery .product-card:hover .product-img img {
    transform: scale(1.05);
}
