/* GEMORA – Upsells ("Często kupowane razem") */
.gemora-upsells {
	margin: 20px 0;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
.kwt-upsell-wrap,
.kwt-upsell-_ffd894-a1,
.wp-block-kadence-wootemplate-blocks-upsell {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
.kwt-upsell-wrap section.up-sells {
	width: 100% !important;
	max-width: 100% !important;
}
.upselltekst h2.upsell-heading-custom,
.upselltekst .upsell-heading-custom,
h2.upsell-heading-custom,
.upsell-heading-custom {
	font-family: 'Montserrat', Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #232323 !important;
	margin-bottom: 12px !important;
	font-style: normal !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	display: flex !important;
	align-items: center !important;
	gap: 7px !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}
.upselltekst h2.upsell-heading-custom::before,
.upselltekst .upsell-heading-custom::before,
h2.upsell-heading-custom::before,
.upsell-heading-custom::before {
	content: '' !important;
	display: inline-flex !important;
	width: 14px !important;
	height: 14px !important;
	flex-shrink: 0 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 00-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
}

/* Lista — zewnętrzna ramka z zaokrąglonymi rogami */
.upsell-list-custom {
	width: 100% !important;
	border: 1px solid #E8DDE2 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	display: block !important;
}

/* Wiersz */
.upsell-row-custom {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
	padding: 12px 14px !important;
	border-bottom: 1px solid #E8DDE2 !important;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	background: #fff !important;
}
.upsell-row-custom:last-child {
	border-bottom: none !important;
}

/* Miniatura */
.upsell-thumb-custom {
	flex-shrink: 0 !important;
}
.upsell-thumb-custom img {
	width: 56px !important;
	height: 56px !important;
	object-fit: cover !important;
	border-radius: 6px !important;
	display: block !important;
}

/* Tekst */
.upsell-info-custom {
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	min-width: 0 !important;
}
.upsell-title-custom {
	font-size: 12px !important;
	font-weight: 500 !important;
	color: #1A1014 !important;
	text-decoration: none !important;
	line-height: 1.35 !important;
}
.upsell-title-custom:hover {
	color: #6B1A33 !important;
}
.upsell-price-custom {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #6B1A33 !important;
	margin-top: 2px !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	flex-wrap: wrap !important;
}
.upsell-price-custom del {
	font-weight: 400 !important;
	font-size: 12px !important;
	color: #A0899A !important;
	text-decoration: line-through !important;
}

/* Przycisk */
.upsell-cart-custom {
	flex-shrink: 0 !important;
}
.upsell-cart-custom .button,
.upsell-cart-custom a.button,
.upsell-cart-custom .add_to_cart_button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #F9F0F3 !important;
	color: #6B1A33 !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 7px 16px !important;
	text-align: center !important;
	box-shadow: none !important;
	border: 1.5px solid rgba(107,26,51,.2) !important;
	white-space: nowrap !important;
	transition: background .2s, color .2s !important;
	cursor: pointer !important;
	text-decoration: none !important;
	width: auto !important;
	margin: 0 !important;
}
.upsell-cart-custom .button:hover,
.upsell-cart-custom a.button:hover,
.upsell-cart-custom .add_to_cart_button:hover {
	background: #6B1A33 !important;
	color: #fff !important;
}

/* Mobile */
@media (max-width: 600px) {
	.upsell-row-custom {
		gap: 10px !important;
		padding: 11px 12px !important;
	}
	.upsell-thumb-custom img {
		width: 50px !important;
		height: 50px !important;
	}
	.upsell-title-custom {
		font-size: 12px !important;
	}
	.upsell-cart-custom .button,
	.upsell-cart-custom a.button {
		font-size: 12px !important;
		padding: 6px 12px !important;
	}
}