/* ==========================================================================
   IVONIX CATALOGUE — Lenovo-style product cards on shop / category / search
   ========================================================================== */
:root{ --navy:#192465; --gold:#dc9814; --ink:#1a1a1a; --muted:#6b7280; --line:#e6e8ee; }

/* ---- Card ---- */
ul.products li.product{
	background:#fff !important;
	border:1px solid var(--line) !important;
	border-radius:2px !important;
	padding:14px !important;
	position:relative;
	transition:box-shadow .2s, border-color .2s;
	display:flex; flex-direction:column;
}
ul.products li.product:hover{
	box-shadow:0 8px 24px rgba(16,24,64,.12) !important;
	border-color:#d2d6e2 !important;
}

/* ---- Image ---- */
ul.products li.product .woocommerce-image__wrapper{ position:relative; }
ul.products li.product .woocommerce-image__wrapper img,
ul.products li.product img.attachment-woocommerce_thumbnail{
	height:180px !important;
	width:auto !important;
	max-width:100% !important;
	margin:0 auto 6px !important;
	object-fit:contain !important;
	mix-blend-mode:multiply;
}

/* ---- Category eyebrow ---- */
ul.products li.product p.product__categories{
	font-size:11px !important; color:var(--muted) !important;
	text-transform:uppercase; letter-spacing:.3px; margin:0 0 4px !important;
}
ul.products li.product p.product__categories a{ color:var(--muted) !important; }

/* ---- Title (2-line clamp) ---- */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title{
	font-size:13px !important; font-weight:600 !important; line-height:1.35 !important;
	color:var(--ink) !important; padding:0 !important; margin:0 0 6px !important;
	min-height:35px;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* ---- Rating ---- */
ul.products li.product .star-rating{ margin:2px 0 6px !important; font-size:14px; }

/* ---- Price + Starting at + Free delivery ---- */
.ivx-loop-starting{ display:block; font-size:11px; color:var(--muted); line-height:1.2; }
ul.products li.product .price{
	color:var(--ink) !important; font-size:17px !important; font-weight:700 !important;
	margin:0 !important;
}
ul.products li.product .price del{ font-size:12px !important; color:#9aa0ad !important; font-weight:400 !important; opacity:1; }
ul.products li.product .price ins{ text-decoration:none; }
.ivx-loop-ship{ font-size:11px; font-weight:700; color:#1a7f37; letter-spacing:.2px; margin:6px 0 2px; }

/* ---- Add to cart button (only the real cart/read-more button, NOT compare) ---- */
ul.products li.product a.add_to_cart_button,
ul.products li.product a.product_type_simple,
ul.products li.product a.product_type_variable,
ul.products li.product a.product_type_grouped,
ul.products li.product a.product_type_external,
ul.products li.product .added_to_cart{
	margin-top:10px !important; width:100%; text-align:center;
	border-radius:2px !important; font-size:13px !important; font-weight:600 !important;
}

/* ---- Wishlist + Compare: small, subtle inline actions (not heavy buttons) ---- */
ul.products li.product .yith-add-to-wishlist-button-block,
ul.products li.product a.compare.button{
	display:inline-flex !important; align-items:center;
	margin:8px 12px 0 0 !important; padding:0 !important;
	background:transparent !important; border:none !important; box-shadow:none !important;
	width:auto !important; min-width:0 !important; height:auto !important;
}
ul.products li.product .yith-wcwl-add-to-wishlist-button{
	display:inline-flex !important; align-items:center; gap:4px;
	background:transparent !important; border:none !important; padding:0 !important;
	color:#666 !important; font-size:11px !important; font-weight:500 !important;
	box-shadow:none !important; line-height:1.4 !important; text-decoration:none;
}
ul.products li.product .yith-wcwl-add-to-wishlist-button .yith-wcwl-icon,
ul.products li.product .yith-wcwl-add-to-wishlist-button svg{
	width:13px !important; height:13px !important; margin:0 !important;
}
ul.products li.product a.compare.button{
	color:#666 !important; font-size:11px !important; font-weight:500 !important;
	line-height:1.4 !important; text-transform:none !important;
}
ul.products li.product a.compare.button .label{ font-size:11px !important; }
ul.products li.product .yith-wcwl-add-to-wishlist-button:hover,
ul.products li.product a.compare.button:hover{ color:var(--navy) !important; }

/* ---- Sale badge ---- */
ul.products li.product .onsale{
	position:absolute; top:10px; left:10px; z-index:3;
	border-radius:4px; font-size:11px; font-weight:700; padding:3px 8px;
}
