.products-section
{
min-height: 100svh;
margin-top: 1rem;
margin-bottom: 2rem;
}



/* =========================================
   Products Grid Page (Cover Layout)
   ========================================= */

.product-card {
    background: #ffffff;
    border-radius: var(--rounded-theme, 12px); 
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Elevate the card slightly on hover */
.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px);
}

/* Force the image wrapper to have a consistent aspect ratio */
.product-img-wrapper {
    height: 220px; /* Fixed height so all cards align perfectly */
    overflow: hidden; /* Keeps the zoomed image inside the box */
    background-color: var(--grey, #F4F7FB); /* Nice placeholder background color */
}

/* Zoom effect on hover for the cover image */
.product-img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08); /* Zooms the image in slightly */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .product-img-wrapper {
        height: 160px; /* Slightly shorter on mobile so they fit nicely side-by-side */
    }
    
    .product-card h5 {
        font-size: 0.9rem !important; /* Slightly smaller text on mobile */
    }
}

/* UI Animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
}
.animated-slide-up {
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; 
}
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Fancybox Hover Effects */
.transition-transform { transition: transform 0.5s ease; }
.hover-scale-110:hover { transform: scale(1.1); }

/* The Sticky Logo - Pinned perfectly to the corner */
.mini-logo-overlay {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    z-index: 10;
    border-bottom-right-radius: 12px; /* Smooth inner curve */
}