/* Base Grid: Mobile (3 Columns) */
#more-to-love-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 5px;
}

#more-to-love-grid .product-wrapper {
    height: auto;
    min-height: 200px; /* Shorter for mobile 3-col */
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 5px;
}

#more-to-love-grid .product-info {
    position: relative;
    transform: none;
    left: 0;
    padding: 5px 2px;
    width: 100%;
}

#more-to-love-grid #flinme {
    font-size: 11px; /* Smaller font for mobile 3-col */
    line-height: 1.2em;
    height: 2.4em;
    overflow: hidden;
    color: #333;
}

#more-to-love-grid #fledp {
    font-size: 12px;
    font-weight: bold;
}

#load-more-cover{
    width:100%;
}

#load-more-love {margin-top: 15px; padding: 10px 25px; border-radius: 20px; border: 1px solid #ffbf00; background: white; color: #333; font-weight: bold; cursor: pointer;}

/* Tablet: 4 Columns (Screens wider than 768px) */
@media (min-width: 768px) {
    #more-to-love-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    #more-to-love-grid #flinme {
        font-size: 13px;
    }
    #more-to-love-grid .product-wrapper {
        min-height: 240px;
    }
}

/* Laptop/Desktop: 6 Columns (Screens wider than 1024px) */
@media (min-width: 1024px) {
    #more-to-love-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    #more-to-love-grid .product-wrapper {
        min-height: 250px;
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 480px) {
    #more-to-love-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on mobile */
    }
    #more-to-love-grid .product-wrapper {
        height: 230px; /* Slightly shorter for mobile */
    }
}