/* Fiche produit — Souvent achetés ensemble */

.kw-pd-fbt {
	margin: 32px 0;
	padding: 0 20px;
	background: transparent;
	border: 0;
}

.kw-pd-fbt .kw-pd-section-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #2c3d49;
	line-height: 1.25;
}

.kw-pd-fbt__list {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.kw-pd-fbt__item,
.kw-pd-fbt__plus {
	list-style: none;
}

.kw-pd-fbt__item::marker,
.kw-pd-fbt__plus::marker {
	content: none;
}

.kw-pd-fbt__item {
	flex: 1 1 200px;
	min-width: 0;
}

.kw-pd-fbt__card {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(44, 61, 73, 0.08);
}

.kw-pd-fbt__plus {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	align-self: center;
	font-size: 22px;
	font-weight: 700;
	color: #2c3d49;
	line-height: 1;
}

.kw-pd-fbt__check {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #d32f2f;
	cursor: pointer;
}

.kw-pd-fbt__thumb-wrap {
	position: relative;
	flex: 0 0 auto;
}

.kw-pd-fbt__thumb img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.kw-pd-fbt__meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	margin: 0;
	cursor: pointer;
}

.kw-pd-fbt__name,
.kw-pd-fbt__price,
.kw-pd-fbt__price .amount,
.kw-pd-fbt__price ins,
.kw-pd-fbt__price del,
.kw-pd-fbt__price bdi {
	font-size: 14px;
	color: #545454;
	line-height: 1.4;
}

.kw-pd-fbt__name {
	font-weight: 600;
}

.kw-pd-fbt__price,
.kw-pd-fbt__price .amount,
.kw-pd-fbt__price ins,
.kw-pd-fbt__price bdi {
	font-weight: 600;
}

.kw-pd-fbt__price del {
	opacity: 0.65;
	font-weight: 400;
}

/* Wishlist — même rendu que les cartes boutique */
.kw-pd-fbt__thumb-wrap .tinv-wishlist,
.kw-pd-fbt__thumb-wrap .tinv-wraper.tinv-wishlist,
.kw-pd-fbt__thumb-wrap .tinv-wraper.tinv-wishlist.tinvwl-above_thumb-add-to-cart {
	position: absolute !important;
	top: 4px !important;
	right: 4px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 3 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 30px !important;
	max-width: 30px !important;
	min-width: 0 !important;
	height: auto !important;
	overflow: visible !important;
	transform: none !important;
}

.kw-pd-fbt__thumb-wrap .tinv-wishlist form,
.kw-pd-fbt__thumb-wrap .tinv-wraper.tinv-wishlist form {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
}

.kw-pd-fbt__thumb-wrap .tinv-wishlist .tinvwl_add_to_wishlist_button,
.kw-pd-fbt__thumb-wrap .tinv-wraper.tinv-wishlist .tinvwl_add_to_wishlist_button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	min-height: 30px !important;
	padding: 0 !important;
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12) !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

.kw-pd-fbt__thumb-wrap .tinv-wishlist .tinvwl_add_to_wishlist_button::before {
	content: "\e909" !important;
	font-size: 16px !important;
	line-height: 1 !important;
	color: #ffffff !important;
	-webkit-text-stroke: 1px #d32f2f !important;
	paint-order: stroke fill;
	margin: 0 !important;
	position: static !important;
}

.kw-pd-fbt__thumb-wrap .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before {
	content: "\e908" !important;
	color: #d32f2f !important;
	-webkit-text-stroke: 0 transparent !important;
}

.kw-pd-fbt__thumb-wrap .tinv-wishlist .tinvwl_add_to_wishlist_button:hover {
	background-color: #000 !important;
	border-color: #000 !important;
}

.kw-pd-fbt__thumb-wrap .tinv-wishlist .tinvwl_add_to_wishlist_button:hover::before {
	color: #fff !important;
	-webkit-text-stroke: 0 transparent !important;
}

.kw-pd-fbt__thumb-wrap .tinvwl-tooltip {
	display: none !important;
}

.kw-pd-fbt__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0 0;
	border-top: 1px solid #e0e0e0;
}

.kw-pd-fbt__total {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin: 0;
}

.kw-pd-fbt__total-label {
	font-size: 20px;
	color: #545454;
}

.kw-pd-fbt__total-value {
	color: #545454;
	font-size: 20px;
	font-weight: 600;
}

.kw-pd-fbt__submit {
	font-size: 16px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	min-height: 52px !important;
	padding: 14px 28px !important;
}

.kw-pd-fbt__submit.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

@media (max-width: 980px) {
	.kw-pd-fbt__item {
		flex-basis: calc(50% - 8px);
	}

	.kw-pd-fbt__total-label,
	.kw-pd-fbt__total-value {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.kw-pd-fbt .kw-pd-section-title {
		font-size: 18px;
		margin-bottom: 14px;
	}

	.kw-pd-fbt__list {
		gap: 10px;
	}

	.kw-pd-fbt__item {
		flex-basis: 100%;
	}

	.kw-pd-fbt__plus {
		display: none;
	}

	.kw-pd-fbt__card {
		padding: 10px;
	}

	.kw-pd-fbt__thumb img {
		width: 64px;
		height: 64px;
	}

	.kw-pd-fbt__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.kw-pd-fbt__submit {
		width: 100%;
		min-height: 48px !important;
		padding: 12px 20px !important;
		font-size: 15px !important;
	}
}

@media (max-width: 479px) {
	.kw-pd-fbt__name,
	.kw-pd-fbt__price,
	.kw-pd-fbt__price .amount {
		font-size: 13px;
	}
}
