.bocco-spieki-offer-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 10px 0 1.25rem;
	padding: 14px 18px;
	background: #fff4ed;
	border: 1px solid #f0d2c0;
	border-left: 4px solid #ea631b;
}

.bocco-spieki-offer-banner .bocco-offer-banner__badge,
.bocco-spieki-offer-banner__badge {
	display: inline-block;
	margin-bottom: 4px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fff;
	background: #ea631b;
	border-color: #ea631b;
}

.bocco-spieki-offer-banner .bocco-offer-banner__link {
	color: #ea631b;
}

.bocco-spieki-offer-banner .bocco-offer-banner__btn--ghost {
	color: #ea631b;
	border-color: #ea631b;
}

.bocco-spieki-offer-banner .bocco-offer-banner__btn--ghost:hover {
	background: #ea631b;
	color: #fff;
}

.bocco-spieki-offer-banner__text {
	margin: 0;
	font-size: 14px;
}

.bocco-spieki-offer-banner__btn {
	display: inline-block;
	padding: 8px 14px;
	font-size: 13px;
	color: #ea631b;
	border: 1px solid #ea631b;
	text-decoration: none;
}

.bocco-spieki-offer-banner__btn:hover {
	background: #ea631b;
	color: #fff;
}

.bocco-spieki-qty-locked {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3.5rem;
	padding: 0.7rem 1rem;
	border-radius: 80px;
	border: 2px solid #e4d7cd;
	background: #f5f0ed;
	color: #222;
	font-size: 20px;
	font-weight: 600;
	line-height: 120%;
}

/* Ten sam kadr miniatury co link produktu (154×203). */
.custom-cart-item .product_thumbnail {
	flex: 0 0 auto;
	width: 154px;
	min-width: 154px;
	align-self: flex-start;
}

.custom-cart-item .product_thumbnail > a.bocco-cart-thumb,
.custom-cart-item .product_thumbnail > a,
.custom-cart-item .product_thumbnail > .bocco-cart-thumb {
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 154px !important;
	min-width: 154px !important;
	height: 203px !important;
	aspect-ratio: 154 / 203 !important;
	overflow: hidden;
	background: #f5f0ed;
}

.custom-cart-item .product_thumbnail > a img,
.custom-cart-item .product_thumbnail > .bocco-cart-thumb > img:not(.bocco-cart-fallback-logo) {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	margin: 0;
}

.custom-cart-item .product_thumbnail .bocco-cart-fallback-thumb {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
	background: #f5f0ed;
}

.custom-cart-item .product_thumbnail .bocco-cart-fallback-logo {
	display: block;
	width: 58% !important;
	max-width: 88px;
	height: auto !important;
	margin: 0;
	padding: 0;
	object-fit: contain !important;
}

@media screen and (max-width: 992px) {
	.custom-cart-item .product_thumbnail {
		width: 93px;
		min-width: 93px;
	}

	.custom-cart-item .product_thumbnail > a.bocco-cart-thumb,
	.custom-cart-item .product_thumbnail > a,
	.custom-cart-item .product_thumbnail > .bocco-cart-thumb {
		width: 93px !important;
		min-width: 93px !important;
		height: 123px !important;
	}

	.bocco-spieki-qty-locked {
		font-size: 0.875rem;
		padding: 0.5rem 0.75rem;
	}
}

body.bocco-spieki-offer-cart-mode .custom-cart-item .product-remove,
body.bocco-spieki-offer-cart-mode .custom-cart-item .mobile-del-product {
	display: none !important;
}

.bocco-spieki-service-desc {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	color: #736c64;
}

.bocco-spieki-service-desc p {
	margin: 0 0 0.35em;
}

.bocco-spieki-service-desc p:last-child {
	margin-bottom: 0;
}

.bocco-spieki-service-desc ul,
.bocco-spieki-service-desc ol {
	margin: 0.25em 0 0.35em 1.1em;
	padding: 0;
}

/* Ukryj puste taxonomie pod usługą Spieki */
.custom-cart-item:has(.bocco-spieki-service-desc) .product-taxonomies:empty {
	display: none;
}

.bocco-spieki-offer-files {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
}

.bocco-spieki-viz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid #ea631b;
	border-radius: 80px;
	background: #fff;
	color: #ea631b;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.custom-cart-item .product-atributes .bocco-spieki-viz-btn {
	width: fit-content;
}

.bocco-spieki-viz-btn:hover {
	background: #ea631b;
	color: #fff;
}

.bocco-spieki-viz-link,
.bocco-spieki-viz-link-inline,
.bocco-spieki-viz-accept a.bocco-spieki-viz-link-inline,
.bocco-spieki-viz-accept button.bocco-spieki-viz-link-inline {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: #ea631b !important;
	font: inherit;
	line-height: inherit;
	vertical-align: baseline;
}

.bocco-spieki-viz-link-inline .bocco-spieki-viz-link-icon {
	flex: 0 0 auto;
	width: 0.85em;
	height: 0.85em;
	display: block;
}

.bocco-spieki-viz-link-sep {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.bocco-spieki-viz-accept {
	margin-top: 0.5rem;
}

.bocco-spieki-viz-accept .required {
	color: #e2401c;
}

.bocco-spieki-viz-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.bocco-spieki-viz-modal[hidden] {
	display: none !important;
}

.bocco-spieki-viz-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

.bocco-spieki-viz-modal__dialog {
	position: relative;
	z-index: 1;
	max-width: min(960px, 96vw);
	max-height: 90vh;
	background: #fff;
	padding: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bocco-spieki-viz-modal__img {
	display: block;
	max-width: 100%;
	max-height: 82vh;
	height: auto;
}

.bocco-spieki-viz-modal__close {
	position: absolute;
	top: 4px;
	right: 8px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #222;
}

.bocco-spieki-viz-accept {
	margin: 1rem 0 !important;
}

body.bocco-spieki-offer-cart-mode .coupon,
body.bocco-spieki-offer-cart-mode .woocommerce-form-coupon-toggle {
	display: none !important;
}

