/* =========================================================
   Product cards – single layout everywhere:
   title (2 lines) → price → cart (left) + wishlist (right)
   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;
}

/* Promocja: wnętrze jak zwykła karta (białe), tylko czerwona poświata wokół */
.woocommerce ul.products li.product.sale,
.woocommerce-page ul.products li.product.sale,
.woocommerce-cart .cross-sells li.product.sale,
.sc-cart-new-products li.product.sale,
html body .sc-cart-new-products ul.products li.product.sale,
html body ul.products li.product.sc-product-card.sale,
html body .woocommerce ul.products li.product.sale,
html body .woocommerce-page ul.products li.product.sale {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	box-shadow:
		0 0 0 1px rgba(196, 92, 74, 0.22),
		0 0 14px rgba(196, 92, 74, 0.22),
		0 0 28px rgba(196, 92, 74, 0.14),
		0 6px 18px rgba(22, 56, 42, 0.06) !important;
}

.woocommerce ul.products li.product.sale .product-details,
.woocommerce ul.products li.product.sale .product-details-filled,
.woocommerce ul.products li.product.sale .product-details-content,
.woocommerce-page ul.products li.product.sale .product-details,
.woocommerce-page ul.products li.product.sale .product-details-filled,
.woocommerce-page ul.products li.product.sale .product-details-content,
.sc-cart-new-products li.product.sale .product-details,
.sc-cart-new-products li.product.sale .product-details-filled,
html body .woocommerce ul.products li.product.sale .product-details,
html body .woocommerce ul.products li.product.sale .product-details-filled {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !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 homepage bestsellers – cart / wishlist recs */
.sc-cart-new-products ul.products,
.sc-cart-new-products .products,
html body .sc-cart-new-products ul.products,
html body.woocommerce-cart .sc-cart-recs-host ul.products,
html body.woocommerce-cart .cross-sells ul.products,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
	justify-content: start !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,
html body.woocommerce-cart .sc-cart-recs-host li.product,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci 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;
	overflow: visible !important;
	text-align: left !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:has(.product-details-filled),
html body .sc-cart-new-products ul.products li.product:has(.product-details-filled),
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.product:has(.product-details-filled) {
	padding-bottom: 0 !important;
}

.sc-cart-new-products ul.products li.product.sale,
html body .sc-cart-new-products ul.products li.product.sale,
html body.woocommerce-account .sc-cart-new-products li.product.sale,
html body.sc-account-wishlist-page .sc-cart-new-products li.product.sale,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.product.sale {
	box-shadow:
		0 0 0 1px rgba(196, 92, 74, 0.22),
		0 0 14px rgba(196, 92, 74, 0.22),
		0 0 28px rgba(196, 92, 74, 0.14),
		0 6px 18px rgba(22, 56, 42, 0.06) !important;
}

/* Cart / wishlist only: jak sklep — belka w flow na białym dole;
   po hoverze translateY wjeżdża na zdjęcie. Nie ruszać sklepu/bestsellerów. */
.sc-cart-new-products ul.products li.product:not(:has(.product-details-filled)),
html body .sc-cart-new-products ul.products li.product:not(:has(.product-details-filled)),
html body.woocommerce-cart .sc-cart-recs-host li.product:not(:has(.product-details-filled)),
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.product:not(:has(.product-details-filled)) {
	padding-bottom: 0.75rem !important;
}

.sc-cart-new-products ul.products li.product .product-details,
.sc-cart-new-products ul.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.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.woocommerce-cart .sc-cart-recs-host li.product .product-details,
html body.woocommerce-cart .sc-cart-recs-host li.product .product-details-filled {
	position: relative !important;
	inset: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	top: auto !important;
	display: block !important;
	float: none !important;
	width: calc(100% - 1.3rem) !important;
	max-width: calc(100% - 1.3rem) !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	padding: 0.5rem 0.65rem 0.55rem !important;
	background: #ffffff !important;
	box-shadow: none !important;
	border-radius: 2px !important;
	box-sizing: border-box !important;
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
	transform: translate3d(0, 0, 0) !important;
	transition: transform 0.28s ease, box-shadow 0.28s ease !important;
	z-index: 2 !important;
}

.sc-cart-new-products ul.products li.product .product-details-filled,
html body .sc-cart-new-products li.product .product-details-filled,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .product-details-filled,
html body.woocommerce-cart .sc-cart-recs-host li.product .product-details-filled {
	padding-bottom: 0.75rem !important;
}

@media (hover: hover) and (pointer: fine) {
	.sc-cart-new-products ul.products li.product:hover .product-details,
	.sc-cart-new-products ul.products li.product:hover .product-details-filled,
	html body .sc-cart-new-products li.product:hover .product-details,
	html body .sc-cart-new-products li.product:hover .product-details-filled,
	html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.product:hover .product-details,
	html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.product:hover .product-details-filled,
	html body.woocommerce-cart .sc-cart-recs-host li.product:hover .product-details,
	html body.woocommerce-cart .sc-cart-recs-host li.product:hover .product-details-filled {
		transform: translate3d(0, -2.75rem, 0) !important;
		box-shadow: none !important;
		z-index: 5 !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,
html body.woocommerce-cart .sc-cart-recs-host li.product img,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.product img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	border-radius: var(--sc-radius, 8px) var(--sc-radius, 8px) 0 0 !important;
	margin: 0 !important;
}

.sc-cart-new-products .sc-product-card__wish-slot,
html body .sc-cart-new-products .sc-product-card__wish-slot,
.sc-product-card__actions .sc-product-card__wish-slot {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: auto !important;
	margin: 0 0 0 auto !important;
	min-height: 0 !important;
	flex-shrink: 0 !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.05rem !important;
	font-weight: 600 !important;
	color: var(--sc-green) !important;
	line-height: 1.35 !important;
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	white-space: normal !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-height: none !important;
	height: auto !important;
	box-sizing: content-box !important;
	padding: 0.2rem 0 0.15rem !important;
	margin: 0 0 0.15rem !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
}

@media (max-width: 1100px) {
	.sc-cart-new-products ul.products,
	html body .sc-cart-new-products ul.products,
	html body.woocommerce-cart .sc-cart-recs-host ul.products,
	html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci ul.products {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.sc-cart-new-products ul.products,
	html body .sc-cart-new-products ul.products,
	html body.woocommerce-cart .sc-cart-recs-host ul.products,
	html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci ul.products {
		grid-template-columns: 1fr 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-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-diameter {
	display: block;
	margin: 0 0 0.18rem;
	font-family: var(--sc-font-sans, inherit);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.015em;
	color: rgba(42, 42, 42, 0.52);
}

body.single-product .sc-product-diameter--single {
	margin: 0 0 0.35rem;
	font-size: 0.84rem;
	color: rgba(31, 77, 58, 0.58);
}

.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.05rem !important;
	font-weight: 600 !important;
	color: var(--sc-green) !important;
	line-height: 1.35 !important;
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	white-space: normal !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
	min-width: 0 !important;
	max-height: none !important;
	height: auto !important;
	box-sizing: content-box !important;
	margin: 0 0 0.15rem !important;
	padding: 0.2rem 0 0.15rem !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !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.05rem !important;
	font-weight: 600 !important;
	color: var(--sc-green) !important;
	line-height: 1.35 !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;
	overflow: visible !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: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	white-space: normal !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;
	box-sizing: content-box !important;
	line-height: 1.35 !important;
	padding-top: 0.2rem !important;
	padding-bottom: 0.15rem !important;
	margin-bottom: 0.15rem !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	font-family: var(--sc-font-serif) !important;
	font-size: 1.05rem !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-dark, #16382a) !important;
	font-weight: 700 !important;
	font-size: 1.2rem !important;
	font-family: var(--sc-font-sans) !important;
	letter-spacing: 0.01em !important;
	line-height: 1.3 !important;
	margin: 0.1rem 0 0.4rem !important;
	position: relative !important;
	z-index: 1 !important;
}

/* ----- Stock bar (between title and price) ----- */
.sc-stock-bar {
	display: block !important;
	width: 100% !important;
	margin: 0.35rem 0 0.55rem !important;
	padding: 0.55rem 0.65rem 0.6rem !important;
	box-sizing: border-box !important;
	background: rgba(255, 255, 255, 0.55) !important;
	border: 1px solid rgba(31, 77, 58, 0.08) !important;
	border-radius: 8px !important;
}

.sc-stock-bar__head {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.4rem !important;
	width: 100% !important;
	margin: 0 0 0.28rem !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

.sc-stock-bar__title {
	display: block !important;
	flex: 1 1 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--sc-font-sans) !important;
	font-size: 0.68rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	color: var(--sc-muted, #6b7280) !important;
	min-width: 0 !important;
}

.sc-stock-bar__pct {
	display: block !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--sc-font-sans) !important;
	font-size: 0.62rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.2 !important;
	color: #c4bdb2 !important;
	white-space: nowrap !important;
	opacity: 1 !important;
}

.sc-stock-bar__qty {
	display: block !important;
	margin: 0 0 0.35rem !important;
	padding: 0 !important;
	font-family: var(--sc-font-sans) !important;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.3 !important;
	color: var(--sc-green, #1f4d3a) !important;
}

.sc-stock-bar__track {
	display: block !important;
	width: 100% !important;
	height: 5px !important;
	border-radius: 999px !important;
	background: rgba(31, 77, 58, 0.12) !important;
	overflow: hidden !important;
	box-shadow: inset 0 1px 1px rgba(22, 56, 42, 0.06) !important;
}

.sc-stock-bar__fill {
	display: block !important;
	height: 100% !important;
	max-width: 100% !important;
	border-radius: inherit !important;
	background: linear-gradient(90deg, #1f4d3a 0%, #3d8a68 100%) !important;
	box-shadow: 0 0 8px rgba(31, 77, 58, 0.22) !important;
	transition: width 0.35s ease !important;
}

.sc-stock-bar--high .sc-stock-bar__fill {
	background: linear-gradient(90deg, #1f4d3a 0%, #4a9a74 100%) !important;
}

.sc-stock-bar--mid .sc-stock-bar__fill {
	background: linear-gradient(90deg, #8a6a3a 0%, #c4a574 100%) !important;
	box-shadow: 0 0 8px rgba(196, 165, 116, 0.28) !important;
}

.sc-stock-bar--low .sc-stock-bar__fill {
	background: linear-gradient(90deg, #a84a3b 0%, #c45c4a 100%) !important;
	box-shadow: 0 0 8px rgba(196, 92, 74, 0.28) !important;
}

.sc-stock-bar__msg {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--sc-font-sans) !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.35 !important;
	text-transform: none !important;
	color: var(--sc-green, #1f4d3a) !important;
}

.sc-stock-bar--out,
.sc-stock-bar--order {
	background: rgba(245, 245, 245, 0.9) !important;
	border-color: rgba(120, 120, 120, 0.18) !important;
}

.sc-stock-bar--out .sc-stock-bar__title,
.sc-stock-bar--order .sc-stock-bar__title {
	color: #9a9a9a !important;
	margin-bottom: 0.2rem !important;
}

.sc-stock-bar--out .sc-stock-bar__msg {
	color: #5c5c5c !important;
}

.sc-stock-bar--order .sc-stock-bar__msg {
	color: var(--sc-green, #1f4d3a) !important;
}

.sc-stock-bar--out .sc-stock-bar__track,
.sc-stock-bar--order .sc-stock-bar__track,
.sc-stock-bar--out .sc-stock-bar__fill,
.sc-stock-bar--order .sc-stock-bar__fill {
	display: none !important;
}

/* Sold-out stamp on product thumbnail */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce ul.products li.product > a:first-of-type,
.sc-product-card a:has(> img):first-of-type {
	position: relative;
}

.sc-sold-out-stamp {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	z-index: 4 !important;
	display: inline-block !important;
	padding: 0.35rem 0.7rem !important;
	transform: translate(-50%, -50%) rotate(-18deg) !important;
	border: 2px solid rgba(160, 48, 48, 0.85) !important;
	border-radius: 4px !important;
	background: rgba(255, 252, 250, 0.88) !important;
	box-shadow: 0 2px 10px rgba(80, 20, 20, 0.12) !important;
	color: rgba(160, 48, 48, 0.92) !important;
	font-family: var(--sc-font-sans) !important;
	font-size: clamp(0.72rem, 2.2vw, 0.92rem) !important;
	font-weight: 800 !important;
	letter-spacing: 0.12em !important;
	line-height: 1.1 !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	pointer-events: none !important;
	user-select: none !important;
}

.sc-product-card .price del {
	display: inline-block !important;
	margin-right: 0.35rem !important;
	opacity: 0.55 !important;
	font-size: 0.92em !important;
	font-weight: 600 !important;
	color: var(--sc-muted, #6b7280) !important;
	text-decoration: line-through !important;
}

.sc-product-card .price ins {
	display: inline-block !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	color: var(--sc-red, #c45c4a) !important;
	background: transparent !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.sc-cart-new-products li.product .price {
	color: var(--sc-green-dark, #16382a) !important;
	font-weight: 700 !important;
	font-size: 1.2rem !important;
	font-family: var(--sc-font-sans) !important;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins,
.sc-cart-new-products li.product .price ins {
	text-decoration: none !important;
	color: var(--sc-red, #c45c4a) !important;
	font-weight: 700 !important;
	background: transparent !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del,
.sc-cart-new-products li.product .price del {
	opacity: 0.55 !important;
	font-size: 0.92em !important;
	font-weight: 600 !important;
	color: var(--sc-muted, #6b7280) !important;
}

.sc-product-card__actions {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.75rem !important;
	width: 100% !important;
	margin: 0.15rem 0 0 !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 1 !important;
	clear: both !important;
	box-sizing: border-box !important;
}

.sc-product-card__wish-slot {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: auto !important;
	margin: 0 0 0 auto !important;
	padding: 0 !important;
	min-height: 0 !important;
	flex-shrink: 0 !important;
	position: relative !important;
	z-index: 4;
}

.sc-product-card__wish-slot .tinv-wraper,
.sc-product-card .sc-wish-top,
.sc-product-card .sc-wish-bottom {
	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:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order),
.sc-product-card__actions a.button.add_to_cart_button:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order),
.sc-product-card__actions a.button.product_type_simple:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order),
.sc-product-card__actions a.button.ajax_add_to_cart:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order),
html body .woocommerce ul.products li.product a.sc-loop-cart-btn:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order),
html body .sc-cart-new-products a.sc-loop-cart-btn:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order),
html body .woocommerce-cart .cross-sells a.sc-loop-cart-btn:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order) {
	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:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order):hover,
.sc-product-card__actions a.button:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order):hover,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn:not(.sc-loop-cart-btn--disabled):not(.sc-loop-cart-btn--soldout):not(.sc-loop-cart-btn--order):hover {
	background: var(--sc-green-dark) !important;
	background-image: none !important;
	color: #ffffff !important;
}

.sc-loop-cart-btn.sc-loop-cart-btn--disabled,
.sc-loop-cart-btn.sc-loop-cart-btn--soldout,
.sc-loop-cart-btn.sc-loop-cart-btn--order,
.sc-product-card__actions a.sc-loop-cart-btn.sc-loop-cart-btn--disabled,
.sc-product-card__actions a.sc-loop-cart-btn.sc-loop-cart-btn--soldout,
.sc-product-card__actions a.sc-loop-cart-btn.sc-loop-cart-btn--order,
.sc-product-card__actions a.button.sc-loop-cart-btn--disabled,
.sc-product-card__actions a.button.sc-loop-cart-btn--soldout,
.sc-product-card__actions a.button.sc-loop-cart-btn--order,
.sc-product-card__actions a.button.product_type_simple.sc-loop-cart-btn--disabled,
.sc-product-card__actions a.button.product_type_simple.sc-loop-cart-btn--soldout,
.sc-product-card__actions a.button.product_type_simple.sc-loop-cart-btn--order,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn.sc-loop-cart-btn--disabled,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn.sc-loop-cart-btn--soldout,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn.sc-loop-cart-btn--order,
html body .sc-cart-new-products a.sc-loop-cart-btn.sc-loop-cart-btn--disabled,
html body .sc-cart-new-products a.sc-loop-cart-btn.sc-loop-cart-btn--soldout,
html body .sc-cart-new-products a.sc-loop-cart-btn.sc-loop-cart-btn--order,
html body .woocommerce-cart .cross-sells a.sc-loop-cart-btn.sc-loop-cart-btn--disabled,
html body .woocommerce-cart .cross-sells a.sc-loop-cart-btn.sc-loop-cart-btn--soldout,
html body .woocommerce-cart .cross-sells a.sc-loop-cart-btn.sc-loop-cart-btn--order {
	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;
	color: #ffffff !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	background: #b0b0b0 !important;
	background-image: none !important;
	flex: 0 0 2.75rem !important;
	cursor: default !important;
	opacity: 1 !important;
}

.sc-loop-cart-btn.sc-loop-cart-btn--disabled:hover,
.sc-loop-cart-btn.sc-loop-cart-btn--soldout:hover,
.sc-loop-cart-btn.sc-loop-cart-btn--order:hover,
.sc-product-card__actions a.sc-loop-cart-btn.sc-loop-cart-btn--disabled:hover,
.sc-product-card__actions a.sc-loop-cart-btn.sc-loop-cart-btn--soldout:hover,
.sc-product-card__actions a.sc-loop-cart-btn.sc-loop-cart-btn--order:hover,
.sc-product-card__actions a.button.sc-loop-cart-btn--disabled:hover,
.sc-product-card__actions a.button.sc-loop-cart-btn--soldout:hover,
.sc-product-card__actions a.button.sc-loop-cart-btn--order:hover,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn.sc-loop-cart-btn--disabled:hover,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn.sc-loop-cart-btn--soldout:hover,
html body .woocommerce ul.products li.product a.sc-loop-cart-btn.sc-loop-cart-btn--order:hover {
	background: #9a9a9a !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,
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;
}

/* WooCommerce "Zobacz koszyk" / View cart after AJAX add – keep hidden */
a.added_to_cart,
.woocommerce a.added_to_cart,
.woocommerce ul.products li.product a.added_to_cart,
.sc-product-card__actions a.added_to_cart,
html body .woocommerce a.added_to_cart.wc-forward {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
	position: absolute !important;
	left: -9999px !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:not(.sale),
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci li.wc-block-product:not(.sale),
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .wc-block-grid__product:not(.sale) {
	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;
}

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 (recs host already shows classic grid) */
html body.woocommerce-cart .sc-cart-new-products.sc-new-products:not(.sc-cart-recs-host):not(.sc-wishlist-nasze-nowosci) {
	display: none !important;
}

/* Prefer classic recs host; hide Gutenberg product grids on cart to avoid duplicates */
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-collection,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.products,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .sc-cart-new-products__title,
html body.woocommerce-cart .entry-content > .wp-block-woocommerce-product-collection,
html body.woocommerce-cart .entry-content > .wp-block-heading:has(+ .wp-block-woocommerce-product-collection) {
	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: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	white-space: normal !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
	width: 100% !important;
	min-width: 0 !important;
	max-height: none !important;
	box-sizing: content-box !important;
	line-height: 1.35 !important;
	font-size: 1.05rem !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
}

/* ----- Single product: title + expanded info/reviews panels ----- */
body.single-product .sc-product-top {
	width: 100%;
	max-width: none;
	margin: 0.75rem 0 1rem;
	padding: 0;
	box-sizing: border-box;
}

body.single-product .sc-product-top .product_title,
body.single-product .sc-product-top h1.product_title {
	margin: 0;
	padding: 0;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.75rem, 3.2vw, 2.35rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--sc-green, #1f4d3a);
	text-align: inherit;
}

/* Hide duplicate title / leftover content breadcrumbs (okruszki tylko w sticky headerze) */
body.single-product .entry-header .entry-title,
body.single-product .summary > .product_title {
	display: none !important;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .kadence-breadcrumbs,
body.single-product .woo-site-breadcrumbs {
	display: none !important;
}

body.single-product .sc-sticky-crumbs,
body.single-product .sc-sticky-crumbs .woocommerce-breadcrumb {
	display: block !important;
}

body.single-product .summary .woocommerce-product-details__short-description {
	margin-bottom: 0.85rem;
}

body.single-product .summary > .price {
	display: block;
	margin: 0 0 1.15rem;
	font-family: var(--sc-font-sans);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--sc-green, #1f4d3a);
}

body.single-product .summary > .price del {
	opacity: 0.55;
	font-weight: 500;
	margin-right: 0.35rem;
}

/* Availability bar (same as shop cards) in the stock-status slot */
body.single-product .summary .sc-stock-bar,
body.single-product form.cart > .sc-stock-bar,
body.single-product .summary > .sc-stock-bar {
	display: block !important;
	width: 100% !important;
	max-width: 22rem;
	margin: 0.15rem 0 1rem !important;
}

/* Under-gallery slot: desktop hidden (bar stays in summary/form) */
body.single-product .sc-stock-bar-slot--under-gallery {
	display: none !important;
}

body.single-product .summary p.stock,
body.single-product form.cart > p.stock {
	display: none !important;
}

/* ----- Stand status (compact, in summary) ----- */
body.single-product .summary .sc-stand-status {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: 0.65rem 0 0.85rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid rgba(196, 165, 116, 0.35);
	border-radius: 8px;
	background: rgba(247, 244, 239, 0.55);
	box-sizing: border-box;
}

body.single-product .summary .sc-stand-status__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	margin-top: 0.05rem;
	color: var(--sc-green, #1f4d3a);
}

body.single-product .summary .sc-stand-status__icon svg {
	width: 1.15rem;
	height: 1.15rem;
}

body.single-product .summary .sc-stand-status__copy {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
	flex: 1 1 auto;
}

body.single-product .summary .sc-stand-status__label {
	font-family: var(--sc-font-sans);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sc-green, #1f4d3a);
}

body.single-product .summary .sc-stand-status__hint {
	font-family: var(--sc-font-sans);
	font-size: 0.8rem;
	line-height: 1.4;
	color: var(--sc-muted, #5c5c5c);
}

body.single-product .summary .sc-stand-status__action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.12rem;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

body.single-product .summary .sc-stand-status__action:hover .sc-stand-status__label,
body.single-product .summary .sc-stand-status__action:focus-visible .sc-stand-status__label {
	color: var(--sc-red, #c45c4a);
}

body.single-product .summary .sc-stand-status__action:focus-visible {
	outline: 2px solid rgba(31, 77, 58, 0.45);
	outline-offset: 3px;
	border-radius: 4px;
}

body.single-product .summary .sc-stand-status--do_kupienia {
	border-color: rgba(196, 92, 74, 0.35);
	background: rgba(255, 250, 248, 0.9);
}

body.single-product .summary .sc-stand-status--do_kupienia .sc-stand-status__icon {
	color: var(--sc-red, #c45c4a);
}

body.single-product .summary .sc-stand-status--do_kupienia .sc-stand-status__label {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

body.single-product .summary .sc-stand-status--w_zestawie {
	border-color: rgba(31, 77, 58, 0.28);
}

body.single-product .summary .sc-stand-status.is-hidden-idle {
	display: none;
}

/* Selected stand on product card */
body.single-product .summary .sc-stand-picked {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: start;
	margin: 0 0 0.95rem;
	padding: 0.7rem 0.75rem;
	border: 1px solid rgba(196, 92, 74, 0.35);
	border-radius: 8px;
	background: rgba(255, 250, 248, 0.95);
	box-sizing: border-box;
}

body.single-product .summary .sc-stand-picked[hidden] {
	display: none !important;
}

body.single-product .summary .sc-stand-picked__media {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(247, 244, 239, 0.95);
}

body.single-product .summary .sc-stand-picked__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-product .summary .sc-stand-picked__body {
	min-width: 0;
}

body.single-product .summary .sc-stand-picked__eyebrow {
	margin: 0 0 0.15rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sc-muted, #5c5c5c);
}

body.single-product .summary .sc-stand-picked__name {
	margin: 0 0 0.15rem;
	font-family: var(--sc-font-sans);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sc-green, #1f4d3a);
}

body.single-product .summary .sc-stand-picked__price {
	margin: 0 0 0.45rem;
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--sc-text, #222);
}

body.single-product .summary .sc-stand-picked__qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid rgba(196, 165, 116, 0.45);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

body.single-product .summary .sc-stand-picked__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sc-green, #1f4d3a);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

body.single-product .summary .sc-stand-picked__qty-btn:hover {
	color: var(--sc-red, #c45c4a);
}

body.single-product .summary .sc-stand-picked__qty-input {
	width: 2.4rem;
	height: 1.85rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid rgba(196, 165, 116, 0.35);
	border-right: 1px solid rgba(196, 165, 116, 0.35);
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-family: var(--sc-font-sans);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--sc-text, #222);
	-moz-appearance: textfield;
}

body.single-product .summary .sc-stand-picked__qty-input::-webkit-outer-spin-button,
body.single-product .summary .sc-stand-picked__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.single-product .summary .sc-stand-picked__tools {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
}

body.single-product .summary .sc-stand-picked__change,
body.single-product .summary .sc-stand-picked__clear {
	margin: 0;
	padding: 0.3rem 0.45rem;
	border: 0;
	border-radius: 4px;
	background: transparent;
	font-family: var(--sc-font-sans);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
}

body.single-product .summary .sc-stand-picked__change {
	color: var(--sc-green, #1f4d3a);
	box-shadow: inset 0 0 0 1px rgba(31, 77, 58, 0.3);
}

body.single-product .summary .sc-stand-picked__change:hover {
	color: var(--sc-red, #c45c4a);
	box-shadow: inset 0 0 0 1px rgba(196, 92, 74, 0.45);
}

body.single-product .summary .sc-stand-picked__clear {
	color: var(--sc-muted, #5c5c5c);
}

body.single-product .summary .sc-stand-picked__clear:hover {
	color: var(--sc-red, #c45c4a);
}

@media (max-width: 720px) {
	body.single-product .summary .sc-stand-picked {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	body.single-product .summary .sc-stand-picked__tools {
		grid-column: 1 / -1;
		flex-direction: row;
	}

	body.single-product .summary .sc-stand-picked__change,
	body.single-product .summary .sc-stand-picked__clear {
		flex: 1 1 auto;
	}
}

/* Stand picker drawer */
html.sc-stand-open,
html.sc-stand-open body {
	overflow: hidden;
}

.sc-stand-overlay {
	position: fixed;
	inset: 0;
	z-index: 1300;
	background: rgba(18, 32, 26, 0.45);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.sc-stand-overlay[hidden] {
	display: none !important;
}

html.sc-stand-open .sc-stand-overlay {
	opacity: 1;
}

.sc-stand-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1301;
	display: flex;
	flex-direction: column;
	width: min(100vw, 400px);
	height: 100vh;
	height: 100dvh;
	background: var(--sc-white, #fff);
	box-shadow: -12px 0 40px rgba(16, 40, 28, 0.18);
	font-family: var(--sc-font-sans);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-stand-drawer[hidden] {
	display: none !important;
}

html.sc-stand-open .sc-stand-drawer {
	display: flex !important;
	transform: translateX(0);
}

.sc-stand-drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.25rem 0.85rem;
	border-bottom: 1px solid rgba(31, 77, 58, 0.08);
	flex-shrink: 0;
}

.sc-stand-drawer__eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sc-muted, #5c5c5c);
}

.sc-stand-drawer__title {
	margin: 0;
	font-family: var(--sc-font-serif);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-green, #1f4d3a);
}

.sc-stand-drawer__close {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin: -0.2rem -0.35rem 0 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--sc-green, #1f4d3a);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.sc-stand-drawer__close:hover {
	color: var(--sc-red, #c45c4a);
}

.sc-stand-drawer__scroll {
	flex: 1 1 auto;
	overflow: auto;
	padding: 0.85rem 1.1rem 1.35rem;
	-webkit-overflow-scrolling: touch;
}

.sc-stand-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sc-stand-drawer__offer {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
	margin: 0;
	padding: 0.65rem;
	border: 1px solid rgba(196, 165, 116, 0.3);
	border-radius: 10px;
	background: #fff;
}

.sc-stand-drawer__media {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(247, 244, 239, 0.9);
}

.sc-stand-drawer__thumb-img,
.sc-stand-drawer__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-stand-drawer__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.sc-stand-drawer__name {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sc-green, #1f4d3a);
	text-decoration: none;
}

.sc-stand-drawer__name:hover {
	color: var(--sc-red, #c45c4a);
}

.sc-stand-drawer__price {
	font-size: 0.85rem;
	line-height: 1.35;
	color: var(--sc-text, #222);
}

.sc-stand-drawer__price del {
	opacity: 0.55;
	margin-right: 0.25rem;
}

.sc-stand-drawer__pick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.5rem;
	padding: 0.45rem 0.7rem;
	border-radius: 6px;
	border: 0;
	background: var(--sc-green, #1f4d3a);
	color: #fff !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	line-height: 1.2;
	cursor: pointer;
}

.sc-stand-drawer__pick:hover,
.sc-stand-drawer__offer.is-selected .sc-stand-drawer__pick {
	background: var(--sc-red, #c45c4a);
	color: #fff !important;
}

.sc-stand-drawer__pick--link {
	background: transparent;
	color: var(--sc-green, #1f4d3a) !important;
	box-shadow: inset 0 0 0 1px rgba(31, 77, 58, 0.35);
}

.sc-stand-drawer__pick--link:hover {
	background: transparent;
	color: var(--sc-red, #c45c4a) !important;
	box-shadow: inset 0 0 0 1px rgba(196, 92, 74, 0.55);
}

.sc-stand-drawer__offer.is-selected {
	border-color: rgba(196, 92, 74, 0.45);
	box-shadow: 0 0 0 1px rgba(196, 92, 74, 0.2);
}

.sc-stand-drawer__empty {
	padding: 1.5rem 0.5rem;
	text-align: center;
}

.sc-stand-drawer__empty-title {
	margin: 0 0 0.4rem;
	font-family: var(--sc-font-serif);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--sc-green, #1f4d3a);
}

.sc-stand-drawer__empty-text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--sc-muted, #5c5c5c);
}

.sc-stand-drawer__empty-btn {
	display: inline-flex;
}

@media (max-width: 720px) {
	body.single-product .summary .sc-stand-status {
		margin: 0.75rem 0 1rem;
		padding: 0.7rem 0.8rem;
	}

	.sc-stand-drawer__offer {
		grid-template-columns: 56px minmax(0, 1fr);
		grid-template-rows: auto auto;
	}

	.sc-stand-drawer__action {
		grid-column: 1 / -1;
	}

	.sc-stand-drawer__pick {
		width: 100%;
	}
}

/* Expanded panels */
body.single-product .sc-product-panels {
	display: grid;
	gap: 1rem;
	width: 100%;
	margin: 1.5rem 0 2rem;
}

body.single-product .sc-product-panel {
	margin: 0;
	padding: 1rem 1.1rem 1.15rem;
	background: #fff;
	border: 1px solid rgba(196, 165, 116, 0.4);
	border-radius: 10px;
	box-shadow: 0 8px 22px rgba(22, 56, 42, 0.06);
	box-sizing: border-box;
}

body.single-product .sc-product-panel__title {
	margin: 0 0 0.85rem;
	font-family: var(--sc-font-serif);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--sc-green, #1f4d3a);
}

body.single-product .sc-product-panel__body {
	display: block !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.single-product .sc-product-panel__body > h2,
body.single-product .sc-product-panel--reviews .woocommerce-Reviews-title {
	display: none !important;
}

body.single-product .sc-product-panel .shop_attributes {
	width: 100%;
	margin: 0;
}

/*
 * Desktop only: left = gallery + dodatkowe info; right = summary (SKU → trust).
 * Mobile: no product display/order overrides — Kadence/Woo natural stack.
 */
@media (min-width: 721px) {
	body.single-product div.product.type-product {
		display: grid !important;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		column-gap: 2.5rem;
		row-gap: 1.25rem;
		align-items: start;
	}

	body.single-product div.product.type-product > * {
		grid-column: 1 / -1;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	body.single-product div.product.type-product > .woocommerce-product-gallery,
	body.single-product div.product.type-product > .images {
		grid-column: 1;
		grid-row: 1;
	}

	body.single-product div.product.type-product > .summary,
	body.single-product div.product.type-product > .entry-summary {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: start;
	}

	body.single-product div.product.type-product > .sc-product-panel--additional {
		grid-column: 1;
		grid-row: 2;
		align-self: start;
	}
}

/* Hide residual WC tab entries for additional info / reviews (moved to panels) */
body.single-product .woocommerce-tabs ul.tabs li.additional_information_tab,
body.single-product .woocommerce-tabs ul.tabs li.reviews_tab,
body.single-product .woocommerce-Tabs-panel--additional_information,
body.single-product .woocommerce-Tabs-panel--reviews {
	display: none !important;
}

@media (max-width: 720px) {
	body.single-product .sc-product-top {
		margin-top: 0.55rem;
		margin-bottom: 0.85rem;
	}

	body.single-product .sc-product-panels {
		gap: 0.85rem;
		margin-top: 1.15rem;
	}

	body.single-product .sc-product-panel {
		padding: 0.95rem 0.95rem 1.05rem;
		border-radius: 8px;
	}

	body.single-product .sc-product-panel--additional {
		margin: 1.15rem 0 0;
	}

	/* Force open — no accordion collapse on mobile */
	body.single-product .sc-product-panel.is-open .sc-product-panel__body,
	body.single-product .sc-product-panel .sc-product-panel__body,
	body.single-product .sc-product-panel__body .woocommerce-Reviews,
	body.single-product .sc-product-panel__body #reviews,
	body.single-product .sc-product-panel__body #comments {
		display: block !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

/* Trust bar under categories / meta */
body.single-product .summary .sc-product-trust {
	list-style: none;
	margin: 1.15rem 0;
	padding: 0.9rem 0;
	border-top: 1px solid rgba(196, 165, 116, 0.35);
	border-bottom: 1px solid rgba(196, 165, 116, 0.35);
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

body.single-product .summary .sc-product-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: 0;
}

body.single-product .summary .sc-product-trust__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 8px;
	background: rgba(247, 244, 239, 0.95);
	color: var(--sc-green, #1f4d3a);
	box-shadow: inset 0 0 0 1px rgba(196, 165, 116, 0.35);
}

body.single-product .summary .sc-product-trust__icon svg {
	width: 1.2rem;
	height: 1.2rem;
}

body.single-product .summary .sc-product-trust__copy {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

body.single-product .summary .sc-product-trust__title {
	font-family: var(--sc-font-sans);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sc-green, #1f4d3a);
}

body.single-product .summary .sc-product-trust__text {
	font-family: var(--sc-font-sans);
	font-size: 0.82rem;
	line-height: 1.4;
	color: var(--sc-muted, #5c5c5c);
}

/* Single ATC: icon always in DOM; text on desktop, icon on mobile */
body.single-product .single_add_to_cart_button.sc-single-atc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
}

body.single-product .single_add_to_cart_button .sc-single-atc__icon {
	display: none;
	width: 1.35rem;
	height: 1.35rem;
	line-height: 0;
	flex: 0 0 auto;
}

body.single-product .single_add_to_cart_button .sc-single-atc__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	stroke: currentColor;
	fill: none;
}

body.single-product .single_add_to_cart_button .sc-single-atc__label {
	display: inline;
}

@media (max-width: 720px) {
	body.single-product .sc-product-top {
		margin-top: 0.25rem;
		margin-bottom: 0.85rem;
	}

	/* Mobile: short description under categories; everything else keeps relative order */
	body.single-product div.product .summary.entry-summary {
		display: flex;
		flex-direction: column;
	}

	body.single-product div.product .summary.entry-summary > * {
		order: 10;
	}

	body.single-product div.product .summary.entry-summary > .woocommerce-product-rating {
		order: 1;
	}

	body.single-product div.product .summary.entry-summary > .price {
		order: 2;
	}

	body.single-product div.product .summary.entry-summary > .sc-stand-status,
	body.single-product div.product .summary.entry-summary > .sc-stand-picked {
		order: 3;
	}

	body.single-product div.product .summary.entry-summary > form.cart,
	body.single-product div.product .summary.entry-summary > .cart {
		order: 4;
	}

	body.single-product div.product .summary.entry-summary > .tinv-wraper,
	body.single-product div.product .summary.entry-summary > .tinvwl-loop-button-wrapper,
	body.single-product div.product .summary.entry-summary > a.tinvwl_add_to_wishlist_button {
		order: 5;
	}

	body.single-product div.product .summary.entry-summary > .sc-product-trust {
		order: 6;
	}

	body.single-product div.product .summary.entry-summary > .product_meta {
		order: 7;
	}

	body.single-product div.product .summary.entry-summary > .woocommerce-product-details__short-description {
		order: 8;
		margin-top: 1rem;
		margin-bottom: 0;
	}

	/* Mobile: ATC as cart icon only */
	body.single-product form.cart {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.65rem;
	}

	/* Pasek dostępności pod zdjęciem (mobile); w formularzu ukryty */
	body.single-product .sc-stock-bar-slot--under-gallery {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0.85rem 0 1rem !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	body.single-product .sc-stock-bar-slot--under-gallery .sc-stock-bar {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	body.single-product .sc-stock-bar-slot--under-gallery .sc-stock-bar__qty {
		display: block !important;
		visibility: visible !important;
		font-size: 0.95rem !important;
		line-height: 1.35 !important;
		color: var(--sc-green, #1f4d3a) !important;
	}

	body.single-product form.cart > .sc-stock-bar,
	body.single-product .summary .sc-stock-bar {
		display: none !important;
	}

	body.single-product .single_add_to_cart_button.sc-single-atc,
	body.single-product button.single_add_to_cart_button {
		width: 2.75rem !important;
		min-width: 2.75rem !important;
		max-width: 2.75rem !important;
		height: 2.75rem !important;
		padding: 0 !important;
		gap: 0 !important;
		border-radius: 4px !important;
		font-size: 0 !important;
		line-height: 0 !important;
	}

	body.single-product .single_add_to_cart_button .sc-single-atc__icon {
		display: block !important;
		color: #fff;
	}

	body.single-product .single_add_to_cart_button .sc-single-atc__label {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}
}

/* „Z tej samej kategorii…” — fallback grid ONLY when not yet wrapped in rail */
body.single-product .related.products > ul.products,
body.single-product section.related > ul.products,
body.single-product .upsells.products > ul.products,
body.single-product section.upsells > ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
	justify-content: start !important;
	gap: 1.15rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
}

body.single-product .related.products > ul.products::before,
body.single-product .related.products > ul.products::after,
body.single-product section.related > ul.products::before,
body.single-product section.related > ul.products::after,
body.single-product .upsells.products > ul.products::before,
body.single-product .upsells.products > ul.products::after,
body.single-product section.upsells > ul.products::before,
body.single-product section.upsells > ul.products::after {
	content: none !important;
	display: none !important;
}

body.single-product .related.products > ul.products li.product,
body.single-product section.related > ul.products li.product,
body.single-product .upsells.products > ul.products li.product,
body.single-product section.upsells > ul.products li.product {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	min-width: 0 !important;
	position: relative !important;
	overflow: visible !important;
	text-align: left !important;
}

@media (max-width: 1100px) {
	body.single-product .related.products > ul.products,
	body.single-product section.related > ul.products,
	body.single-product .upsells.products > ul.products,
	body.single-product section.upsells > ul.products {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	body.single-product .related.products > ul.products,
	body.single-product section.related > ul.products,
	body.single-product .upsells.products > ul.products,
	body.single-product section.upsells > ul.products {
		grid-template-columns: 1fr 1fr !important;
		gap: 0.75rem !important;
	}
}

/* ----- Product rails: strzałki obok toru (flex), nie na produktach ----- */
.sc-product-rail {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 0.65rem;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: visible;
}

.sc-product-rail__viewport {
	container-type: inline-size;
	container-name: sc-product-rail;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	width: auto;
	max-width: 100%;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0.35rem 0 0.85rem;
	box-sizing: border-box;
}

.sc-product-rail__viewport::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.sc-product-rail ul.products,
.sc-product-rail .woocommerce ul.products,
.sc-home .sc-bestsellers .sc-product-rail .woocommerce ul.products,
.sc-home .sc-bestsellers .sc-product-rail ul.products,
body.single-product .sc-product-rail ul.products,
body.single-product .related.products .sc-product-rail ul.products,
body.single-product section.related .sc-product-rail ul.products,
body.single-product .upsells.products .sc-product-rail ul.products,
body.single-product section.upsells .sc-product-rail ul.products,
.sc-cart-new-products .sc-product-rail ul.products,
html body .sc-cart-new-products .sc-product-rail ul.products,
html body.woocommerce-cart .sc-cart-recs-host .sc-product-rail ul.products,
html body.sc-wishlist-like-cart .sc-wishlist-nasze-nowosci .sc-product-rail ul.products,
.cross-sells .sc-product-rail ul.products {
	display: flex !important;
	flex-flow: row nowrap !important;
	flex-wrap: nowrap !important;
	grid-template-columns: none !important;
	grid-auto-flow: column !important;
	justify-content: flex-start !important;
	align-items: stretch !important;
	gap: 1.15rem !important;
	width: max-content !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
}

.sc-product-rail ul.products li.product,
.sc-home .sc-bestsellers .sc-product-rail ul.products li.product,
body.single-product .sc-product-rail ul.products li.product,
body.single-product .related.products .sc-product-rail ul.products li.product,
body.single-product section.related .sc-product-rail ul.products li.product,
.sc-cart-new-products .sc-product-rail ul.products li.product,
html body .sc-cart-new-products .sc-product-rail ul.products li.product,
.cross-sells .sc-product-rail ul.products li.product {
	flex: 0 0 180px !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	width: 180px !important;
	max-width: 180px !important;
	min-width: 180px !important;
	margin: 0 !important;
	float: none !important;
	scroll-snap-align: start;
	box-sizing: border-box !important;
}

.sc-product-rail__btn {
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	z-index: 2;
	flex: 0 0 2.5rem !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 2.5rem !important;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(31, 77, 58, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--sc-green, #1f4d3a);
	box-shadow:
		0 8px 22px rgba(22, 56, 42, 0.12),
		inset 0 0 0 1px rgba(255, 255, 255, 0.55);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, visibility 0.2s ease;
}

.sc-product-rail.is-scrollable .sc-product-rail__btn {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.sc-product-rail__btn:hover:not(:disabled) {
	background: rgba(31, 77, 58, 0.94);
	color: #fff;
	border-color: rgba(31, 77, 58, 0.35);
}

.sc-product-rail__btn:disabled,
.sc-product-rail__btn.is-disabled {
	opacity: 0.35 !important;
	cursor: default;
	pointer-events: none;
}

.sc-product-rail__btn svg {
	width: 1.1rem;
	height: 1.1rem;
	display: block;
}

@media (max-width: 1100px) {
	.sc-product-rail ul.products li.product,
	.sc-home .sc-bestsellers .sc-product-rail ul.products li.product,
	body.single-product .sc-product-rail ul.products li.product,
	body.single-product .related.products .sc-product-rail ul.products li.product,
	.sc-cart-new-products .sc-product-rail ul.products li.product {
		flex: 0 0 160px !important;
		width: 160px !important;
		max-width: 160px !important;
		min-width: 160px !important;
	}
}

@media (max-width: 640px) {
	.sc-product-rail {
		gap: 0.4rem;
		padding: 0;
		overflow: visible;
	}

	.sc-product-rail__viewport {
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}

	.sc-product-rail ul.products,
	.sc-home .sc-bestsellers .sc-product-rail .woocommerce ul.products,
	.sc-home .sc-bestsellers .sc-product-rail ul.products,
	body.single-product .sc-product-rail ul.products,
	body.single-product .related.products .sc-product-rail ul.products,
	body.single-product section.related .sc-product-rail ul.products,
	.sc-cart-new-products .sc-product-rail ul.products {
		display: flex !important;
		flex-flow: row nowrap !important;
		grid-template-columns: none !important;
		gap: 0.75rem !important;
	}

	/* One row, exactly 2 cards in the visible viewport */
	.sc-product-rail ul.products li.product,
	.sc-home .sc-bestsellers .sc-product-rail ul.products li.product,
	body.single-product .sc-product-rail ul.products li.product,
	body.single-product .related.products .sc-product-rail ul.products li.product,
	body.single-product section.related .sc-product-rail ul.products li.product,
	.sc-cart-new-products .sc-product-rail ul.products li.product,
	html body .sc-cart-new-products .sc-product-rail ul.products li.product,
	.cross-sells .sc-product-rail ul.products li.product {
		flex: 0 0 var(--sc-rail-card, calc((100cqi - 0.75rem) / 2)) !important;
		width: var(--sc-rail-card, calc((100cqi - 0.75rem) / 2)) !important;
		max-width: var(--sc-rail-card, calc((100cqi - 0.75rem) / 2)) !important;
		min-width: var(--sc-rail-card, calc((100cqi - 0.75rem) / 2)) !important;
	}

	.sc-product-rail__btn {
		flex: 0 0 2.15rem !important;
		width: 2.15rem !important;
		height: 2.15rem !important;
		min-width: 2.15rem !important;
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
	}
}

/* =========================================================
   Custom product lightbox (replaces Woo PhotoSwipe)
   Blurred backdrop like login/cart overlays + soft stage for bombki.
   ========================================================= */
html.sc-lightbox-open,
html.sc-lightbox-open body {
	overflow: hidden;
}

/* Hide default WC zoom/lightbox trigger icon */
body.single-product .woocommerce-product-gallery__trigger {
	display: none !important;
}

body.single-product .woocommerce-product-gallery__image a {
	cursor: zoom-in;
}

.sc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1400;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.sc-lightbox[hidden] {
	display: none !important;
}

.sc-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sc-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 56, 42, 0.38);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.sc-lightbox__shell {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(100%, 56rem);
	max-height: min(94vh, 52rem);
	gap: 0.85rem;
	transform: translateY(10px) scale(0.985);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-lightbox.is-open .sc-lightbox__shell {
	transform: none;
}

.sc-lightbox__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: min(58vh, 28rem);
	max-height: min(72vh, 38rem);
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border-radius: 16px;
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 244, 239, 0.88) 55%, rgba(232, 223, 208, 0.78) 100%);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow:
		0 24px 60px rgba(22, 56, 42, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.75);
	box-sizing: border-box;
	overflow: hidden;
}

.sc-lightbox__glow {
	position: absolute;
	left: 50%;
	top: 48%;
	width: min(70%, 22rem);
	height: min(70%, 22rem);
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.35) 48%, transparent 72%);
	pointer-events: none;
}

.sc-lightbox__img {
	position: relative;
	z-index: 1;
	display: block;
	max-width: 100%;
	max-height: min(64vh, 34rem);
	width: auto;
	height: auto;
	object-fit: contain;
	opacity: 0;
	transform: scale(0.97);
	transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	filter: drop-shadow(0 16px 28px rgba(22, 56, 42, 0.14));
	user-select: none;
	-webkit-user-drag: none;
}

.sc-lightbox__img.is-ready {
	opacity: 1;
	transform: none;
}

.sc-lightbox__close {
	position: absolute;
	top: -0.15rem;
	right: 0;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: var(--sc-green, #1f4d3a);
	color: #fff;
	font-size: 1.45rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(22, 56, 42, 0.2);
	transition: background 0.2s ease, transform 0.2s ease;
}

.sc-lightbox__close:hover {
	background: var(--sc-green-dark, #16382a);
	transform: translateY(-1px);
}

.sc-lightbox__nav {
	position: absolute;
	top: 42%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--sc-green, #1f4d3a);
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(22, 56, 42, 0.16);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sc-lightbox__nav:hover {
	background: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(22, 56, 42, 0.2);
}

.sc-lightbox__nav[hidden] {
	display: none !important;
}

.sc-lightbox__nav--prev {
	left: 0.35rem;
}

.sc-lightbox__nav--next {
	right: 0.35rem;
}

.sc-lightbox__nav span {
	display: block;
	width: 0.55rem;
	height: 0.55rem;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.sc-lightbox__nav--prev span {
	transform: translateX(1px) rotate(-135deg);
}

.sc-lightbox__nav--next span {
	transform: translateX(-1px) rotate(45deg);
}

.sc-lightbox__meta {
	min-height: 1.1rem;
	text-align: center;
}

.sc-lightbox__counter {
	font-family: var(--sc-font-sans, "Source Sans 3", sans-serif);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 8px rgba(22, 56, 42, 0.35);
}

.sc-lightbox__thumbs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0.45rem;
	max-width: 100%;
	padding: 0.15rem 0.25rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.sc-lightbox__thumbs[hidden] {
	display: none !important;
}

.sc-lightbox__thumb {
	flex: 0 0 auto;
	width: 3.15rem;
	height: 3.15rem;
	padding: 0.2rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(22, 56, 42, 0.12);
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.sc-lightbox__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 6px;
}

.sc-lightbox__thumb:hover {
	transform: translateY(-1px);
	background: #fff;
}

.sc-lightbox__thumb.is-active {
	border-color: rgba(255, 255, 255, 0.95);
	background: #fff;
	box-shadow: 0 0 0 2px var(--sc-green, #1f4d3a), 0 6px 16px rgba(22, 56, 42, 0.16);
}

@media (max-width: 720px) {
	.sc-lightbox {
		padding: 0.85rem;
	}

	.sc-lightbox__shell {
		max-height: 96vh;
		gap: 0.7rem;
	}

	.sc-lightbox__stage {
		min-height: 48vh;
		max-height: 62vh;
		padding: 1rem;
		border-radius: 14px;
	}

	.sc-lightbox__img {
		max-height: 54vh;
	}

	.sc-lightbox__close {
		top: -0.1rem;
		right: 0;
	}

	.sc-lightbox__nav {
		width: 2.45rem;
		height: 2.45rem;
		top: 38%;
	}

	.sc-lightbox__nav--prev {
		left: 0.1rem;
	}

	.sc-lightbox__nav--next {
		right: 0.1rem;
	}

	.sc-lightbox__thumb {
		width: 2.75rem;
		height: 2.75rem;
	}
}




