/*
 * Panier latéral (D-19 ; maquette Shop-Catalogue-Panier) : 440 px à droite à l'ordinateur,
 * plein écran sous 720 px ; voile sur la page. Préfixe « pl ».
 */
.pl { position: fixed; inset: 0; z-index: 200; }
.pl[hidden] { display: none; }
.pl__voile { position: absolute; inset: 0; background: rgba(29, 29, 27, .45); opacity: 0; transition: opacity .2s; }
.pl__boite { position: absolute; top: 0; right: 0; bottom: 0; width: 100%; max-width: 440px; background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease-out; outline: none; }
.pl--visible .pl__voile { opacity: 1; }
.pl--visible .pl__boite { transform: none; }
html.pl-ouvert { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .pl__voile, .pl__boite { transition: none; } }

.pl__tete { padding: 18px 20px; border-bottom: 1px solid #EFE4CE; display: flex; justify-content: space-between; align-items: center; }
.pl__titre { margin: 0; font-size: 20px; font-weight: 700; }
.pl__titre span { font-size: 14px; font-weight: 500; color: #6E5235; font-family: var(--font); }
.pl__fermer { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--encre); border-radius: 50%; }
.pl__fermer:hover, .pl__fermer:focus-visible { background: #F2F4F1; }
.pl__infos { padding: 12px 20px; border-bottom: 1px solid #EFE4CE; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pl__creneau { display: flex; justify-content: space-between; gap: 10px; color: #6E5235; }
.pl__creneau a { font-weight: 600; color: var(--vert); }
.pl__jauge { display: flex; align-items: center; gap: 10px; }
.pl__jauge-barre { flex: 1; height: 6px; background: #EFE4CE; border-radius: 3px; overflow: hidden; display: block; }
.pl__jauge-barre span { display: block; height: 100%; background: var(--vert); }
.pl__jauge > span:last-child { white-space: nowrap; }
.pl__corps { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.pl__groupe { display: flex; flex-direction: column; }
.pl__rayon { padding: 14px 20px 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6E5235; }
.pl__ligne { display: flex; gap: 12px; padding: 10px 20px; align-items: flex-start; border-bottom: 1px solid #EFE4CE; }
.pl__photo { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 10px; border: 1px solid #EFE4CE; overflow: hidden; display: block; }
.pl__photo img, .pl__photo .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
.pl__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl__nom { font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.pl__detail { font-size: 12px; color: #6E5235; }
.pl__preco { font-size: 11px; color: var(--vert-fonce); background: #EFE4CE; border-radius: 6px; padding: 2px 6px; align-self: flex-start; }
.pl__qte { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; border: 1px solid #6E5235; border-radius: 8px; overflow: hidden; align-self: flex-start; }
.pl__qte button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 16px; cursor: pointer; }
.pl__qte > span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.pl__qte .pl__plus { background: var(--vert); color: #fff; }
.pl__qte button[disabled] { opacity: .45; cursor: not-allowed; }
.pl__droite { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pl__droite strong { font-size: 14px; white-space: nowrap; }
.pl__suppr { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pl__suppr:hover, .pl__suppr:focus-visible { background: #F2F4F1; }
.pl__vide { padding: 32px 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pl__vide p { margin: 0; }
.pl__alerte { margin: 12px 20px; padding: 12px 14px; border-radius: 12px; background: #EFE4CE; font-size: 14px; }
.pl__pied { padding: 16px 20px 20px; border-top: 1px solid #EFE4CE; display: flex; flex-direction: column; gap: 10px; background: #FBF8F2; }
.pl__ligne-total { display: flex; justify-content: space-between; font-size: 13px; color: #6E5235; }
.pl__ligne-total--fort { font-size: 18px; font-weight: 700; color: var(--encre); }
.pl__vider { border: 0; background: transparent; font: inherit; font-size: 13px; color: #6E5235; text-decoration: underline; cursor: pointer; align-self: center; padding: 6px; }
@media (max-width: 720px) { .pl__boite { max-width: none; } }
