/* =========================================================
   Product cards – single layout everywhere:
   heart (right, above title) → title 1 line → price → cart icon
   Shop / bestsellers / cart “Nowe w sklepie” / cross-sells
   ========================================================= */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce-cart .cross-sells li.product,
.sc-cart-new-products li.product {
	position: relative !important;
	min-width: 0 !important;
	padding-bottom: 0 !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

.woocommerce ul.products li.product .product-details-filled,
.sc-cart-new-products li.product .product-details-filled {
	padding-bottom: 0.75rem !important;
}

.sc-cart-new-products {
	margin: 0;
	clear: both;
	width: 100%;
	padding: 0;
	background: transparent;
}

.sc-panel--wishlist .sc-cart-new-products,
.sc-wishlist-body .sc-cart-new-products {
	margin-top: 0;
}

/* Full-bleed bands disabled on cart/wishlist – stay inside boxed white content */
body.sc-wishlist-like-cart .sc-new-products__products-band,
body.sc-wishlist-like-cart .sc-new-products__head-band,
body.woocommerce-cart .sc-new-products__products-band,
body.woocommerce-cart .sc-new-products__head-band,
body.sc-wishlist-like-cart .sc-wishlist-main-band {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.sc-wishlist-like-cart .sc-new-products__inner,
body.woocommerce-cart .sc-new-products__inner {
	width: 100% !important;
	max-width: 100% !important;
}

body.sc-wishlist-like-cart .sc-new-products__head-band {
	background: transparent !important;
	padding: 0 0 0.85rem !important;
}

body.sc-wishlist-like-cart .sc-new-products__products-band {
	background: transparent !important;
	padding: 0 0 1.5rem !important;
}

.sc-cart-new-products__head {
	display: none;
}

/* Same product grid as cart / bestsellers – account + wishlist + cart */
.sc-cart-new-products ul.products,
.sc-cart-new-products .products,
html body .sc-cart-new-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 1.15rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
	float: none !important;
	clear: both !important;
}

.sc-cart-new-products ul.products::before,
.sc-cart-new-products ul.products::after,
html body .sc-cart-new-products ul.products::before,
html body .sc-cart-new-products ul.products::after {
	display: none !important;
	content: none !important;
}

.sc-cart-new-products ul.products li.product,
html body .sc-cart-new-products ul.products li.product,
html body.woocommerce-account .sc-cart-new-products li.product,
html body.sc-account-wishlist-page .sc-cart-new-products li.product {
	list-style: none !important;
	list-style-type: none !important;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0 !important;
	position: relative !important;
	background: #ffffff !important;
	box-shadow:
		0 4px 10px rgba(22, 56, 42, 0.05),
		0 14px 32px rgba(22, 56, 42, 0.1) !important;
	border-radius: 2px !important;
}

.sc-cart-new-products ul.products li.product::marker,
.sc-cart-new-products ul.products li.product::before,
html body .sc-cart-new-products ul.products li.product::marker,
html body .sc-cart-new-products ul.products li.product::before {
	content: none !important;
	display: none !important;
}

.sc-cart-new-products ul.products li.product img,
html body .sc-cart-new-products li.product img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	border-radius: var(--sc-radius, 8px);
	margin: 0 !important;
}

.sc-cart-new-products .sc-product-card__wish-slot,
html body .sc-cart-new-products .sc-product-card__wish-slot {
	display: flex !important;
	justify-content: flex-end !important;
	align-items: center !important;
	width: 100% !important;
	margin: 0 0 0.15rem !important;
	min-height: 2.75rem !important;
}

.sc-cart-new-products .sc-product-card__title,
.sc-cart-new-products li.product .woocommerce-loop-product__title,
.sc-cart-new-products li.product h2:not(.sc-cart-new-products__title),
.sc-cart-new-products li.product h3,
html body .sc-cart-new-products .sc-product-card__title {
	font-family: var(--sc-font-serif) !important;
	font-size: 1.15rem !important;
	font-weight: 600 !important;
	color: var(--sc-green) !important;
	line-height: 1.5 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-height: none !important;
	height: auto !important;
	padding: 0.5rem 0 0.25rem !important;
}

@media (max-width: 1024px) {
	.sc-cart-new-products ul.products,
	html body .sc-cart-new-products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 720px) {
	.sc-cart-new-products ul.products,
	html body .sc-cart-new-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Match homepage “Bestsellery” section title */
.sc-cart-new-products__title,
.sc-new-products__head-band .sc-cart-new-products__title,
.woocommerce-cart .cross-sells > h2,
.woocommerce-cart .sc-cart-new-products .sc-section-head__title,
html body.woocommerce-cart .cross-sells > h2,
html body.woocommerce-cart .sc-cart-new-products__title,
html body.woocommerce-cart .sc-cart-new-products > h2,
html body.sc-account-wishlist-page .sc-cart-new-products__title,
html body.woocommerce-account .sc-cart-new-products__title,
html body .sc-panel--wishlist .sc-cart-new-products__title,
html body .sc-wishlist-body .sc-cart-new-products__title,
html body .sc-new-products__head-band .sc-cart-new-products__title {
	font-family: var(--sc-font-serif) !important;
	font-size: clamp(1.9rem, 3vw, 2.4rem) !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.2 !important;
	color: var(--sc-green) !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	width: 100% !important;
}

/* Kill absolute / float placement from parent theme leftovers */
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.product a.button.product_type_simple,
.woocommerce ul.products li.product a.button.product_type_variable,
.woocommerce ul.products li.product a.button.product_type_grouped,
.woocommerce ul.products li.product a.button.product_type_external,
.woocommerce ul.products li.product a.sc-loop-cart-btn,
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce-cart .cross-sells li.product a.button:not(.tinvwl_add_to_wishlist_button),
.sc-cart-new-products li.product a.button:not(.tinvwl_add_to_wishlist_button) {
	position: static !important;
	inset: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	float: none !important;
}

.woocommerce ul.products li.product .tinv-wraper,
.woocommerce-cart .cross-sells li.product .tinv-wraper,
.sc-cart-new-products li.product .tinv-wraper {
	position: static !important;
	inset: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	float: none !important;
	transform: none !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.sc-product-card {
	position: relative !important;
	min-width: 0 !important;
}

.sc-product-card .sc-product-card__title,
.sc-product-card .woocommerce-loop-product__title,
.sc-product-card h2,
.sc-product-card h3 {
	font-family: var(--sc-font-serif) !important;
	font-size: 1.15rem !important;
	font-weight: 600 !important;
	color: var(--sc-green) !important;
	line-height: 1.5 !important;
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
	min-width: 0 !important;
	max-height: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0.25rem 0 0.4rem !important;
}

/* Cart / wishlist product names: same size as bestsellers */
html body.woocommerce-cart .sc-cart-new-products li.product .woocommerce-loop-product__title,
html body.woocommerce-cart .sc-cart-new-products li.product .kadence-loop-product-title,
html body.woocommerce-cart .sc-cart-new-products li.product h2:not(.sc-cart-new-products__title),
html body.woocommerce-cart .sc-cart-new-products li.product h3,
html body.woocommerce-cart .sc-cart-new-products li.product .product-details a:not(.button):not(.add_to_cart_button):not(.tinvwl_add_to_wishlist_button),
html body.woocommerce-cart .sc-cart-new-products li.product .sc-product-card__title,
html body.woocommerce-cart .cross-sells li.product .woocommerce-loop-product__title,
html body.woocommerce-cart .cross-sells li.product h2,
html body.woocommerce-cart .cross-sells li.product h3,
html body.woocommerce-cart .cross-sells li.product .product-details a:not(.button):not(.add_to_cart_button):not(.tinvwl_add_to_wishlist_button),
html body.woocommerce-cart .entry-content ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce-cart .entry-content ul.products li.product h2,
html body.woocommerce-cart .entry-content ul.products li.product h3,
html body.woocommerce-cart .entry-content ul.products li.product .product-details a:not(.button):not(.add_to_cart_button):not(.tinvwl_add_to_wishlist_button),
html body.woocommerce-cart ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce-cart ul.products li.product .kadence-loop-product-title,
html body.woocommerce-cart ul.products li.product .product-details h2,
html body.woocommerce-cart ul.products li.product .product-details h3,
html body.woocommerce-cart ul.products li.product .sc-product-card__title,
html body .sc-cart-new-products li.product .woocommerce-loop-product__title,
html body .sc-cart-new-products li.product h2:not(.sc-cart-new-products__title),
html body .sc-cart-new-products li.product h3,
html body .sc-cart-new-products li.product .sc-product-card__title,
html body.sc-account-wishlist-page .sc-cart-new-products li.product .woocommerce-loop-product__title,
html body.sc-account-wishlist-page .sc-cart-new-products li.product h2:not(.sc-cart-new-products__title),
html body.sc-account-wishlist-page .sc-cart-new-products li.product h3,
html body.woocommerce-account .sc-cart-new-products li.product .woocommerce-loop-product__title,
html body.woocommerce-account .sc-cart-new-products li.product h2:not(.sc-cart-new-products__title),
html body.woocommerce-account .sc-cart-new-products li.product h3 {
	font-family: var(--sc-font-serif) !important;
	font-size: 1.15rem !important;
	font-weight: 600 !important;
	color: var(--sc-green) !important;
	line-height: 1.5 !important;
}

/* Cart “Nowe w sklepie” / cross-sells: force 1-line title (same as bestsellers) */
html body.woocommerce-cart .cross-sells li.product,
html body.woocommerce-cart .sc-cart-new-products li.product,
html body .sc-cart-new-products li.product,
html body.woocommerce-cart .entry-content ul.products li.product {
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: visible !important;
}

html body.woocommerce-cart .cross-sells li.product .product-details,
html body.woocommerce-cart .cross-sells li.product .product-details-filled,
html body.woocommerce-cart .sc-cart-new-products li.product .product-details,
html body.woocommerce-cart .sc-cart-new-products li.product .product-details-filled,
html body .sc-cart-new-products li.product .product-details,
html body .sc-cart-new-products li.product .product-details-filled,
html body.woocommerce-cart .entry-content ul.products li.product .product-details,
html body.woocommerce-cart .entry-content ul.products li.product .product-details-filled {
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: visible !important;
	width: 100% !important;
}

html body.woocommerce-cart .cross-sells li.product .woocommerce-loop-product__title,
html body.woocommerce-cart .cross-sells li.product .kadence-loop-product-title,
html body.woocommerce-cart .cross-sells li.product h2,
html body.woocommerce-cart .cross-sells li.product h3,
html body.woocommerce-cart .cross-sells li.product .product-details a:not(.button):not(.add_to_cart_button):not(.tinvwl_add_to_wishlist_button),
html body.woocommerce-cart .sc-cart-new-products li.product .woocommerce-loop-product__title,
html body.woocommerce-cart .sc-cart-new-products li.product .kadence-loop-product-title,
html body.woocommerce-cart .sc-cart-new-products li.product h2:not(.sc-cart-new-products__title),
html body.woocommerce-cart .sc-cart-new-products li.product h3,
html body.woocommerce-cart .sc-cart-new-products li.product .product-details a:not(.button):not(.add_to_cart_button):not(.tinvwl_add_to_wishlist_button),
html body.woocommerce-cart .sc-cart-new-products li.product .sc-product-card__title,
html body.woocommerce-cart .entry-content ul.products li.product .woocommerce-loop-product__title,
html body.woocommerce-cart .entry-content ul.products li.product h2,
html body.woocommerce-cart .entry-content ul.products li.product h3,
html body.woocommerce-cart .entry-content ul.products li.product .product-details a:not(.button):not(.add_to_cart_button),
html body.woocommerce-cart .sc-cart-new-products .wc-block-components-product-name,
html body.woocommerce-cart .sc-cart-new-products .wp-block-post-title,
html body .sc-cart-new-products li.product .woocommerce-loop-product__title,
html body .sc-cart-new-products li.product h2:not(.sc-cart-new-products__title),
html body .sc-cart-new-products li.product h3,
html body .sc-cart-new-products li.product .product-details a:not(.button):not(.add_to_cart_button):not(.tinvwl_add_to_wishlist_button),
html body .sc-cart-new-products .wc-block-components-product-name,
html body .sc-product-card .product-details a:not(.button):not(.add_to_cart_button):not(.tinvwl_add_to_wishlist_button):not(.tinvwl-button),
html body .sc-product-card .sc-product-card__title {
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
	width: 100% !important;
	min-width: 0 !important;
	max-height: none !important;
	height: auto !important;
	line-height: 1.5 !important;
	padding-top: 0.5rem !important;
	padding-bottom: 0.25rem !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
	font-family: var(--sc-font-serif) !important;
	font-size: 1.15rem !important;
	font-weight: 600 !important;
	color: var(--sc-green) !important;
}

/* Cart line items: allow product name to wrap (do not inherit card ellipsis) */
html body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-name,
html body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
html body.woocommerce-cart .wc-block-components-product-name.wc-block-components-product-name--cart,
html body.woocommerce-cart .wp-block-woocommerce-cart-line-item .wc-block-components-product-name,
html body.woocommerce-cart table.cart td.product-name,
html body.woocommerce-cart table.cart td.product-name a,
html body.woocommerce-cart .woocommerce-cart-form .product-name a,
html body.woocommerce-cart .woocommerce-cart-form td.product-name {
	display: inline !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	max-height: none !important;
	height: auto !important;
	line-height: 1.4 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow-wrap: anywhere !important;
	word-break: normal !important;
	font-size: inherit !important;
	font-weight: 600 !important;
	font-family: var(--sc-font-sans) !important;
	color: var(--sc-green) !important;
}

html body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
html body.woocommerce-cart table.cart td.product-name a {
	display: inline-block !important;
	max-width: 100% !important;
}

.sc-product-card .price {
	color: var(--sc-green) !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	font-family: var(--sc-font-sans) !important;
	margin: 0 0 0.5rem !important;
}

.sc-product-card__actions {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.75rem !important;
	width: 100% !important;
	margin: 0.35rem 0 0 !important;
	padding: 0 !important;
	position: static !important;
	clear: both !important;
	box-sizing: border-box !important;
}

.sc-product-card__wish-slot {
	display: flex !important;
	justify-content: flex-end !important;
	align-items: center !important;
	width: 100% !important;
	margin: 0 0 0.15rem !important;
	padding: 0 !important;
	min-height: 2.75rem !important;
	position: relative !important;
	z-index: 4;
}

.sc-product-card__wish-slot .tinv-wraper,
.sc-product-card .sc-wish-top {
	position: static !important;
	inset: auto !important;
	margin: 0 !important;
	float: none !important;
	transform: none !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* Icon-only cart – solid green + inline SVG (not background-image) */
.sc-loop-cart-btn,
.sc-product-card__actions a.button.add_to_cart_button,
.sc-product-card__actions a.button.product_type_simple,
.sc-product-card__actions a.button.ajax_add_to_cart,
.sc-product-card__actions a.added_to_cart,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn,
html body .sc-cart-new-products a.sc-loop-cart-btn,
html body .woocommerce-cart .cross-sells a.sc-loop-cart-btn {
	position: static !important;
	inset: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.75rem !important;
	height: 2.75rem !important;
	min-width: 2.75rem !important;
	max-width: 2.75rem !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: 0 !important;
	letter-spacing: 0 !important;
	color: #ffffff !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	background: var(--sc-green) !important;
	background-image: none !important;
	flex: 0 0 2.75rem !important;
}

.sc-loop-cart-btn:hover,
.sc-product-card__actions a.button:hover,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn:hover {
	background: var(--sc-green-dark) !important;
	background-image: none !important;
	color: #ffffff !important;
}

.sc-loop-cart-btn::before,
.sc-loop-cart-btn::after,
.sc-product-card__actions a.button::before,
.sc-product-card__actions a.button::after,
.sc-product-card__actions a.added_to_cart::before,
.sc-product-card__actions a.added_to_cart::after,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn::before,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn::after,
html body .woocommerce ul.products li.product a.button.add_to_cart_button::before,
html body .woocommerce ul.products li.product a.button.add_to_cart_button::after {
	content: none !important;
	display: none !important;
	background: none !important;
	width: 0 !important;
	height: 0 !important;
	mask: none !important;
	-webkit-mask: none !important;
}

.sc-loop-cart-btn__icon {
	display: block !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	flex: 0 0 1.35rem !important;
	line-height: 0 !important;
	color: #ffffff !important;
}

.sc-loop-cart-btn__icon svg {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	stroke: #ffffff !important;
	fill: none !important;
}

/* Wishlist button shell */
html body .sc-product-card .sc-product-card__wish-slot a.tinvwl_add_to_wishlist_button,
html body .sc-product-card .sc-product-card__wish-slot a.tinvwl-button,
html body .woocommerce ul.products li.product.sc-product-card a.tinvwl_add_to_wishlist_button,
html body .woocommerce ul.products li.product.sc-product-card a.tinvwl-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.75rem !important;
	height: 2.75rem !important;
	min-width: 2.75rem !important;
	min-height: 2.75rem !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	position: relative !important;
	overflow: visible !important;
}

/*
 * ONE heart only: kill every TI / theme / icon-font pseudo + glyph.
 * Visible heart is only .sc-wish-icon (JS).
 */
html body .woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button::before,
html body .woocommerce ul.products li.product a.tinvwl_add_to_wishlist_button::after,
html body .woocommerce ul.products li.product a.tinvwl-button::before,
html body .woocommerce ul.products li.product a.tinvwl-button::after,
html body .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button::before,
html body .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button::after,
html body .sc-product-card a.tinvwl_add_to_wishlist_button::before,
html body .sc-product-card a.tinvwl_add_to_wishlist_button::after,
html body .sc-product-card a.tinvwl-button::before,
html body .sc-product-card a.tinvwl-button::after,
html body .sc-cart-new-products a.tinvwl_add_to_wishlist_button::before,
html body .sc-cart-new-products a.tinvwl_add_to_wishlist_button::after,
html body .woocommerce-cart .cross-sells a.tinvwl_add_to_wishlist_button::before,
html body .woocommerce-cart .cross-sells a.tinvwl_add_to_wishlist_button::after {
	content: none !important;
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	background-image: none !important;
	mask: none !important;
	-webkit-mask: none !important;
	mask-image: none !important;
	-webkit-mask-image: none !important;
	font-size: 0 !important;
}

html body .sc-product-card .tinvwl_add_to_wishlist_button .ftinvwl,
html body .sc-product-card .tinvwl_add_to_wishlist_button i,
html body .sc-product-card .tinvwl_add_to_wishlist_button svg:not(.sc-wish-icon),
html body .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button .ftinvwl,
html body .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button i {
	display: none !important;
}

body .sc-product-card .sc-wish-icon {
	display: block !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	flex: 0 0 1.35rem !important;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.5-9.5-9A5.5 5.5 0 0 1 12 6.5 5.5 5.5 0 0 1 21.5 12C19 16.5 12 21 12 21z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
}

body .sc-product-card .sc-product-card__wish-slot a.tinvwl_add_to_wishlist_button:hover .sc-wish-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c45c4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.5-9.5-9A5.5 5.5 0 0 1 12 6.5 5.5 5.5 0 0 1 21.5 12C19 16.5 12 21 12 21z'/%3E%3C/svg%3E") !important;
}

body .sc-product-card .sc-wish-icon.is-filled,
body .sc-product-card a.tinvwl_add_to_wishlist_button.sc-wish-active .sc-wish-icon,
body .sc-product-card a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list .sc-wish-icon,
body .sc-product-card a.tinvwl_add_to_wishlist_button.tinvwl-product-make-remove .sc-wish-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c45c4a' d='M12 21s-7-4.5-9.5-9A5.5 5.5 0 0 1 12 6.5 5.5 5.5 0 0 1 21.5 12C19 16.5 12 21 12 21z'/%3E%3C/svg%3E") !important;
}

body .sc-product-card a.tinvwl_add_to_wishlist_button.sc-wish-active:hover .sc-wish-icon,
body .sc-product-card a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list:hover .sc-wish-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a84a3b' d='M12 21s-7-4.5-9.5-9A5.5 5.5 0 0 1 12 6.5 5.5 5.5 0 0 1 21.5 12C19 16.5 12 21 12 21z'/%3E%3C/svg%3E") !important;
}

.sc-product-card__wish-slot .tinvwl_add_to_wishlist-text,
.sc-product-card__wish-slot .tinvwl_remove_from_wishlist-text,
.sc-product-card__wish-slot .tinvwl_already_on_wishlist-text,
.sc-product-card .tinvwl_add_to_wishlist-text,
.sc-product-card .tinvwl_remove_from_wishlist-text,
.sc-product-card .tinvwl_already_on_wishlist-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

/* =========================================================
   Wishlist only: do not override cart product hover / details.
   Clone uses same Gutenberg markup – let Kadence/Woo styles run.
   ========================================================= */
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci,
html body.sc-wishlist-like-cart .sc-cart-new-products.sc-wishlist-nasze-nowosci {
	margin-top: 1.5rem;
	clear: both;
}

html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.product,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.wc-block-product,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .wc-block-grid__product {
	background: #ffffff !important;
	box-shadow:
		0 4px 10px rgba(22, 56, 42, 0.05),
		0 14px 32px rgba(22, 56, 42, 0.1) !important;
	border-radius: 2px !important;
}

/*
 * Wishlist only: center name/price plate (override .sc-cart-new-products width:100%).
 * left + calc width = equal inset; do not touch transform (Kadence hover).
 */
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .product-details,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .product-details-filled,
html body.sc-wishlist-like-cart .sc-cart-new-products.sc-wishlist-nasze-nowosci li.product .product-details,
html body.sc-wishlist-like-cart .sc-cart-new-products.sc-wishlist-nasze-nowosci li.product .product-details-filled,
html body.sc-wishlist-like-cart .sc-cart-new-products.sc-wishlist-nasze-nowosci li.wc-block-product .product-details,
html body.sc-wishlist-like-cart .sc-cart-new-products.sc-wishlist-nasze-nowosci li.wc-block-product .product-details-filled {
	opacity: 1 !important;
	visibility: visible !important;
	background: #ffffff !important;
	left: 0.65rem !important;
	right: auto !important;
	width: calc(100% - 1.3rem) !important;
	max-width: calc(100% - 1.3rem) !important;
	margin: 0 !important;
	padding: 0.45rem 0.6rem 0.55rem !important;
	box-shadow: none !important;
	filter: none !important;
	border-radius: 2px !important;
	box-sizing: border-box !important;
}

html body.sc-wishlist-like-cart .content-bg,
html body.sc-wishlist-like-cart .entry-content-wrap {
	overflow: visible !important;
	/* Padding lives on .sc-wishlist-like-cart__wrap (white card), not here */
	padding-bottom: 0 !important;
}

/* Leftover panel class from older builds – neutralize only on wishlist */
html body.sc-wishlist-like-cart .sc-product-card__panel {
	position: static !important;
	transform: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

/*
 * Forced cart recommendations host – only used when cart has items.
 */
html body.woocommerce-cart .sc-cart-recs-host {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100%;
	margin: 2rem 0 0;
}

/* Never show empty-cart chrome inside the forced recs host */
html body.woocommerce-cart .sc-cart-recs-host .wp-block-woocommerce-empty-cart-message-block,
html body.woocommerce-cart .sc-cart-recs-host .wc-block-cart__empty-cart__,
html body.woocommerce-cart .sc-cart-recs-host .wp-block-woocommerce-empty-cart-block,
html body.woocommerce-cart .sc-cart-recs-host .wc-block-components-empty-cart,
html body.woocommerce-cart .sc-cart-recs-host .return-to-shop {
	display: none !important;
}

/* Hide PHP product-loop fallback if present */
html body.woocommerce-cart .sc-cart-new-products.sc-new-products:not(.sc-cart-recs-host):not(.sc-wishlist-nasze-nowosci) {
	display: none !important;
}

/*
 * Empty cart product cards (legacy selectors):
 * truncate titles even before/without JS adding .sc-cart-new-products.
 */
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block li.product,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block li.wc-block-product,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-post.product,
html body.woocommerce-cart .wp-block-woocommerce-product-collection li,
html body.woocommerce-cart .wc-block-product-template > li {
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: visible !important;
}

html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .woocommerce-loop-product__title,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .kadence-loop-product-title,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-name,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-post-title,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .product-details a:not(.button):not(.add_to_cart_button),
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2:not(.sc-cart-new-products__title):not(.wp-block-heading),
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h3,
html body.woocommerce-cart .wp-block-woocommerce-product-collection .wc-block-components-product-name,
html body.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-post-title,
html body.woocommerce-cart .wp-block-woocommerce-product-collection .woocommerce-loop-product__title,
html body.woocommerce-cart .sc-cart-new-products .wc-block-components-product-name,
html body.woocommerce-cart .sc-cart-new-products .wp-block-post-title a {
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
	width: 100% !important;
	min-width: 0 !important;
	max-height: none !important;
	line-height: 1.5 !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}
