ul.products{gap:22px 18px;}
ul.products li.product{position:relative;background:#f6f5f2;border:none !important;border-radius:14px;padding:0 0 18px !important;text-align:center;overflow:hidden;transition:box-shadow .25s ease,transform .25s ease;}
ul.products li.product:hover{box-shadow:0 12px 30px rgba(0,0,0,.10);transform:translateY(-2px);}

ul.products li.product .woocommerce-LoopProduct-link{display:block;text-decoration:none;}
.bbay-loop-media{display:block;position:relative;overflow:hidden;}
ul.products li.product .bbay-loop-media img,
ul.products li.product > a > img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;mix-blend-mode:multiply;display:block;}
.bbay-loop-media .bbay-hover-img{position:absolute !important;top:0;left:0;width:100% !important;height:100% !important;z-index:2;visibility:hidden !important;}
ul.products li.product:hover .bbay-loop-media .bbay-hover-img{visibility:visible !important;}
ul.products li.product:hover .bbay-loop-media:has(.bbay-hover-img) img:not(.bbay-hover-img){visibility:hidden;}

ul.products li.product .woocommerce-loop-product__title{font-family:'Cormorant Garamond',Georgia,serif !important;font-size:17.5px !important;font-weight:500 !important;line-height:1.35;color:#1a1a1a;padding:14px 16px 2px !important;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.1em;}
/* FIX: Στα grids καταλόγου (shop/κατηγορίες/tags) το 2-γραμμο clamp έκοβε τις τελευταίες λέξεις
   των μεγάλων τίτλων, ενώ το style.css ήδη δεσμεύει min-height:90px (~4 γραμμές) στον τίτλο.
   Εδώ ανεβάζουμε το όριο στις 4 γραμμές ώστε να φαίνονται πλήρεις οι τίτλοι χωρίς να αλλάζει
   το ύψος των καρτών. Μόνο desktop — το κινητό κρατά το δικό του 2-γραμμο clamp. */
@media(min-width:769px){
html body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
html body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
html body.tax-product_tag ul.products li.product .woocommerce-loop-product__title{
-webkit-line-clamp:4 !important;max-height:none !important;min-height:90px !important;
}
}
ul.products li.product .price{display:block;font-size:14.5px;font-weight:500;color:#1a1a1a;margin:4px 0 12px;}
ul.products li.product .price del{color:#b0aca4;font-weight:400;margin-right:6px;}
ul.products li.product .price ins{text-decoration:none;}

ul.products li.product .button.add_to_cart_button{display:block;width:calc(100% - 32px);margin:0 16px !important;background:#1a1a1a !important;color:#fff !important;border:none !important;border-radius:8px !important;padding:12px 10px !important;font-size:12px !important;font-weight:600 !important;letter-spacing:.09em;text-transform:uppercase;line-height:1.2;transition:background .2s ease;}
ul.products li.product .button.add_to_cart_button:hover{background:#000 !important;}
ul.products li.product .added_to_cart{display:block;font-size:12.5px;color:#1a1a1a;margin-top:8px;text-decoration:underline;text-underline-offset:3px;}

ul.products li.product .onsale,
ul.products li.product .bbay-sale-badge{position:absolute;top:12px;left:12px;z-index:3;background:#1a1a1a;color:#fff;font-size:11px;font-weight:600;letter-spacing:.06em;padding:4px 10px;border-radius:999px;line-height:1.4;min-width:0;min-height:0;margin:0;}
.single-product div.product span.bbay-sale-badge{position:absolute;top:16px;left:16px;z-index:3;background:#1a1a1a;color:#fff;font-size:12px;font-weight:600;letter-spacing:.06em;padding:5px 12px;border-radius:999px;line-height:1.4;}

ul.products li.product .tinv-wraper.tinvwl-after-add-to-cart{position:absolute;top:10px;right:10px;z-index:3;margin:0 !important;}
ul.products li.product .tinvwl_add_to_wishlist_button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.14);color:#1a1a1a;margin:0 !important;padding:0 !important;}
ul.products li.product .tinvwl_add_to_wishlist_button::before{margin:0 !important;font-size:15px;line-height:1;}
ul.products li.product .tinvwl_add_to_wishlist-text,
ul.products li.product .tinvwl-tooltip{display:none !important;}
ul.products li.product .tinvwl-product-in-list{background:#1a1a1a;color:#fff;}

@media(max-width:600px){
ul.products{gap:14px 10px;}
ul.products li.product .woocommerce-loop-product__title{font-size:15px !important;padding:10px 10px 0 !important;}
ul.products li.product .button.add_to_cart_button{width:calc(100% - 20px);margin:0 10px !important;font-size:11px !important;padding:10px 8px !important;}
}

/* ===== FIX: Πλήρεις τίτλοι στα grid καταλόγου (shop/κατηγορίες/tags) =====
   Το clamp των 2 γραμμών παραπάνω έκοβε τις τελευταίες λέξεις των ονομάτων,
   ενώ το style.css ήδη δεσμεύει min-height:90px (~4 γραμμές) στον τίτλο.
   Εδώ ανεβάζουμε το όριο σε 4 γραμμές ΜΟΝΟ στις σελίδες καταλόγου, ώστε να
   χωράνε ολόκληρα τα ονόματα χωρίς να αλλάζει το ύψος των καρτών.
   Το mobile clamp (2 γραμμές, bbay-theme-rose-fix.css) δεν επηρεάζεται
   γιατί έχει !important και υπερισχύει σε ≤768px. */
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title{
-webkit-line-clamp:4;
max-height:none;
}