.pdlv-panier[hidden] { display: none; }

.pdlv-panier {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 2147482000;
	font-family: "Akzidenz-Grotesk Next", Arial, sans-serif;
	color: #12232B;
}

.pdlv-panier__fond {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(18, 35, 43, .55);
	opacity: 0;
	transition: opacity .25s ease;
}

.pdlv-panier__boite {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 440px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -12px 0 40px rgba(18, 35, 43, .25);
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1);
	outline: none;
}

html.pdlv-panier-ouvert .pdlv-panier__fond { opacity: 1; }
html.pdlv-panier-ouvert .pdlv-panier__boite { transform: none; }
html.pdlv-panier-bloque,
html.pdlv-panier-bloque body { overflow: hidden; }

html.pdlv-panier-ouvert [class*="-ajax-notification"],
html.pdlv-panier-ouvert .wcpa-notif { display: none !important; }

.pdlv-panier__entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #E6EEF7;
}

.pdlv-panier__titre {
	margin: 0;
	font-family: "degular", sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.1;
	color: #12232B;
}

.pdlv-panier__fermer {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: none;
	color: #12232B;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.pdlv-panier__corps {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px 20px;
}

.pdlv-panier__chargement,
.pdlv-panier__vide {
	margin: 0;
	padding: 8px 0;
	font-size: 15px;
	color: #2B4E5D;
}

.pdlv-panier__produit {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.pdlv-panier__vignette img,
.pdlv-sugg__vignette img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
	background: #E6EEF7;
}

.pdlv-panier__infos { flex: 1; min-width: 0; }

.pdlv-panier__nom {
	margin: 0 0 4px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.25;
}

.pdlv-panier__detail {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.35;
	color: #536a75;
}

.pdlv-panier__ligne,
.pdlv-panier__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin: 0;
	font-size: 14px;
}

.pdlv-panier__total {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #E6EEF7;
	font-size: 15px;
}

.pdlv-panier__livraison {
	margin-top: 16px;
	padding: 14px;
	background: #E6EEF7;
}

.pdlv-panier__livraison p {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
}

.pdlv-panier__barre {
	height: 8px;
	overflow: hidden;
	background: #fff;
}

.pdlv-panier__barre span {
	display: block;
	height: 100%;
	background: #317EF5;
	transition: width .4s ease;
}

.pdlv-panier__livraison.est-offerte .pdlv-panier__barre span { background: #00FFA9; }

.pdlv-panier__livraison .pdlv-panier__note {
	margin: 8px 0 0;
	font-size: 12px;
	color: #536a75;
}

.pdlv-panier__sous-titre {
	margin: 22px 0 10px;
	font-family: "degular", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
}

.pdlv-panier__suggestions ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pdlv-sugg {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 12px;
	border: 1px solid #E6EEF7;
}

.pdlv-sugg__infos { flex: 1; min-width: 0; }

.pdlv-sugg__nom {
	display: block;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.25;
	color: #12232B;
	text-decoration: none;
}

.pdlv-sugg__nom:hover { color: #317EF5; }

.pdlv-sugg__prix {
	margin: 4px 0 8px;
	font-weight: 700;
	font-size: 14px;
	color: #317EF5;
}

.pdlv-sugg__action {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}

.pdlv-sugg__choix {
	position: relative;
	flex: 1 1 150px;
	min-width: 0;
}

.pdlv-sugg__choix::after {
	content: "▾";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	pointer-events: none;
	color: #2B4E5D;
}

.pdlv-panier select.pdlv-sugg__variation {
	width: 100%;
	min-height: 40px;
	padding: 8px 28px 8px 10px;
	font-size: 13px;
	line-height: 1.3;
	border: 0;
	border-radius: 0;
	background: #E6EEF7;
	color: #0f2430;
	-webkit-appearance: none;
	appearance: none;
}

.pdlv-sugg__ajouter {
	-webkit-appearance: none;
	appearance: none;
	min-height: 40px;
	padding: 0 16px;
	border: 2px solid #12232B;
	border-radius: 0;
	background: #12232B;
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .02em;
	text-transform: uppercase;
	cursor: pointer;
}

.pdlv-sugg__ajouter:hover:not([disabled]) {
	border-color: #317EF5;
	background: #317EF5;
}

.pdlv-sugg__ajouter[disabled] { opacity: .45; cursor: not-allowed; }
.pdlv-sugg__ajouter.est-en-cours { opacity: .7; cursor: progress; }

.pdlv-sugg__ajouter.est-ajoute,
.pdlv-sugg__ajouter.est-ajoute[disabled] {
	border-color: #00FFA9;
	background: #00FFA9;
	color: #002c1e;
	opacity: 1;
}

.pdlv-sugg__erreur {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: #e74c3c;
}

.pdlv-panier__actions {
	display: grid;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid #E6EEF7;
	background: #fff;
}

.pdlv-panier__bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid #12232B;
	border-radius: 0;
	font-family: inherit;
	font-weight: 900;
	font-size: 14px;
	letter-spacing: .02em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.pdlv-panier__bouton--plein {
	border-color: #00FFA9;
	background: #00FFA9;
	color: #002c1e;
}

.pdlv-panier__bouton--plein:hover {
	border-color: #12232B;
	background: #12232B;
	color: #00FFA9;
}

.pdlv-panier__bouton--contour {
	background: #fff;
	color: #12232B;
}

.pdlv-panier__bouton--contour:hover {
	background: #12232B;
	color: #fff;
}

.pdlv-panier a:focus-visible,
.pdlv-panier button:focus-visible,
.pdlv-panier select:focus-visible {
	outline: 2px solid #317EF5 !important;
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.pdlv-panier__actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
	.pdlv-panier__boite {
		top: auto;
		left: 0;
		width: 100%;
		max-height: 88vh;
		max-height: 88dvh;
		box-shadow: 0 -12px 40px rgba(18, 35, 43, .25);
		transform: translateY(100%);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.pdlv-panier__entete { padding: 14px 16px; }
	.pdlv-panier__corps { padding: 14px 16px; }
	.pdlv-panier__actions { padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.pdlv-panier__fond,
	.pdlv-panier__boite,
	.pdlv-panier__barre span { transition: none; }
}
