/* Mini-panier — suggestions « Ces produits peuvent aussi vous intéresser » */

.mc-mini-upsell {
	margin: 12px 0 16px;
	padding: 0 4px;
	flex: 0 0 auto;
}

.mc-mini-upsell__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.mc-mini-upsell__title {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-family: Nunito, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #227403;
}

.mc-mini-upsell__nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.mc-mini-upsell__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #d7e2d2;
	border-radius: 50%;
	background: #fff;
	color: #227403;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mc-mini-upsell__arrow:hover {
	background: #227403;
	border-color: #227403;
	color: #fff;
}

.mc-mini-upsell__arrow:focus-visible {
	outline: 2px solid #fa8400;
	outline-offset: 2px;
}

.mc-mini-upsell__viewport {
	overflow: hidden;
}

.mc-mini-upsell__card {
	display: none;
}

.mc-mini-upsell__card.is-active {
	display: block;
}

.mc-mini-upsell__card-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #e5ebe3;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(34, 116, 3, 0.05);
}

.mc-mini-upsell__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.mc-mini-upsell__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: #227403;
	text-decoration: none;
}

.mc-mini-upsell__name:hover {
	color: #fa8400;
}

.mc-mini-upsell__price {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	line-height: 1.2;
}

.mc-mini-upsell__price del {
	opacity: 0.65;
	font-weight: 400;
	margin-right: 4px;
}

.mc-mini-upsell__price ins {
	text-decoration: none;
}

.mc-mini-upsell__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 2px;
	padding: 6px 14px;
	border: 1.5px solid #227403;
	border-radius: 999px;
	background: transparent;
	color: #227403;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mc-mini-upsell__btn:hover,
.mc-mini-upsell__btn.added {
	background: #227403;
	border-color: #227403;
	color: #fff;
}

.mc-mini-upsell__btn-plus {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.mc-mini-upsell__media {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 8px;
	background: #f7f9f5;
}

.mc-mini-upsell__media img,
.mc-mini-upsell__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
}

/* Placement dans le drawer panier */
.peeboo-topcart.popup .mini-cart .cart-popup .widget_shopping_cart_content .mc-mini-upsell,
.mini-cart .cart-popup .widget_shopping_cart_content .mc-mini-upsell,
.peeboo-topcart.popup .mini-cart .cart-popup .cart-header-form .mc-mini-upsell {
	flex: 0 0 auto;
	margin-top: 12px;
	margin-bottom: 8px;
	position: relative;
	z-index: 1;
}

.peeboo-topcart.popup .mini-cart .cart-popup .cart-header-form {
	margin-bottom: 0;
}

.peeboo-topcart.popup .mini-cart .cart-popup .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

.peeboo-topcart.popup .mini-cart .cart-popup .cart-header-form {
	flex: 1 1 0;
	min-height: 0;
	max-height: none;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.peeboo-topcart.popup .mini-cart .cart-popup .total-cart,
.peeboo-topcart.popup .mini-cart .cart-popup .free-ship,
.peeboo-topcart.popup .mini-cart .cart-popup .buttons {
	flex: 0 0 auto;
}
