/* ==========================================================================
   #BOUTIQUE — correctifs et panier latéral (01/10/2026)
   Feuille autonome chargée après main.css : la chaîne Sass ne compile pas
   sur le poste. Trois sujets : les cartes produit au survol, le bouton
   Google des pages de compte, le panier latéral.
   ========================================================================== */

/* La carte produit se soulevait deux fois au survol : la cocarde la lève de
   2 px avec une ombre, et l'ancien thème décalait encore son corps de 12 px
   vers le haut avec un cadre bleu, d'où le chevauchement avec la carte du
   dessus (Jean, 01/10/2026). */
.c-card.c-card__addtocart .c-card__body,
.c-card.c-card__addtocart:hover .c-card__body,
.c-card.c-card__addtocart:focus .c-card__body { transform: none; box-shadow: none; border-radius: inherit; }
/* les cartes produit se touchaient d'une rangée à l'autre : un même espace
   sous chaque carte, quel que soit le gabarit de liste */
.t-cocarde .c-card:has(> .c-card__body > .article-card) { margin-bottom: 28px; }
.t-cocarde .o-layout__item.u-margin-bottom-large:has(> .c-card > .c-card__body > .article-card) { margin-bottom: 0 !important; }
/* la barre « quantité + panier » qui apparaît au survol couvrait le prix :
   la carte lui réserve sa place en bas, sur écran large seulement ; et le
   bouton vert ne chevauche plus les − et + (une rangée, un écart fixe) */
@media (min-width: 61.25em) {
  .c-card__addtocart .c-card__body__addtocart { padding-bottom: 76px; }
  .c-card__addtocart .simple__addtocart { bottom: 10px; left: 10px; width: calc(100% - 20px); padding: 8px; background: var(--ct-surface-sub, #f0ede2); border-radius: 10px; }
}
.simple__addtocart .c-form-field__quantity__wrapper__fullwidth { display: flex; flex-direction: row; align-items: stretch; justify-content: flex-start; gap: 8px; width: 100%; padding: 0; background: none; }
.simple__addtocart .c-form-field__quantity { flex: 1 1 auto; width: auto; min-width: 0; margin: 0; }
.simple__addtocart .c-form-field__quantity input { flex: 1 1 auto; width: auto; min-width: 0; }
.simple__addtocart .c-form-field__quantity button { flex: none; width: 34px; }
.simple__addtocart .c-form-field__quantity__wrapper__fullwidth > .c-btn--primary, .simple__addtocart .c-form-field__quantity__wrapper__fullwidth > button:last-child { flex: none; width: 56px; margin: 0; padding: 0; display: grid; place-items: center; }
.c-form-field__quantity__wrapper--small { display: flex; align-items: stretch; gap: 8px; }
.c-form-field__quantity__wrapper--small .c-form-field__quantity { flex: 1 1 auto; width: auto; min-width: 0; }
.c-form-field__quantity__wrapper--small > button:last-child { flex: none; margin: 0; }

/* Le bouton Google portait la classe « c-btn--border », dont le survol anime
   des traits sur les quatre côtés : un trait barrait le texte. */
.bouton-google { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 48px; padding: 0 22px; border: 1.5px solid var(--ct-line-strong, rgba(32,51,88,.26)); border-radius: 12px; background: #fff; color: var(--ct-ink, #16213e) !important; font-weight: 600; font-size: 1rem; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.bouton-google:hover { border-color: var(--ct-ink, #16213e); box-shadow: 0 2px 10px rgba(22,33,62,.08); }
.bouton-google:focus-visible { outline: 3px solid rgba(23,138,94,.28); outline-offset: 2px; }
.bouton-google svg { flex: none; }
.bouton-google__sous { margin: 8px 0 0; font-size: .85rem; color: var(--ct-ink-3, #6b7891); }

/* ---------- panier latéral ---------- */
body .addtocart__popin { width: min(400px, 100vw); max-width: none; background: var(--ct-paper, #faf9f5); box-shadow: -6px 0 24px -12px rgba(22,33,62,.45); overflow-y: auto; padding: 0; font-family: var(--ct-sans, "Public Sans", system-ui, sans-serif); color: var(--ct-ink, #16213e); }
.panier-lateral { display: flex; flex-direction: column; min-height: 100%; }
.panier-lateral *, .panier-lateral *::before, .panier-lateral *::after { box-sizing: border-box; }
.panier-lateral__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--ct-line, rgba(32,51,88,.13)); position: sticky; top: 0; background: var(--ct-paper, #faf9f5); z-index: 2; }
.panier-lateral__titre { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.panier-lateral__nb { display: block; font-size: .82rem; color: var(--ct-ink-3, #6b7891); margin-top: 2px; }
.panier-lateral__fermer { width: 38px; height: 38px; flex: none; border: 1px solid var(--ct-line-strong, rgba(32,51,88,.26)); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.panier-lateral__fermer:hover { background: var(--ct-surface-sub, #f0ede2); }
.panier-lateral__fermer i { font-size: 1.15rem; color: var(--ct-ink, #16213e) !important; }
.panier-lateral__liste { padding: 6px 20px 12px; flex: 1 1 auto; }
.panier-lateral__vide { padding: 36px 0; text-align: center; color: var(--ct-ink-3, #6b7891); }
.panier-lateral__ligne { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ct-line, rgba(32,51,88,.13)); }
.panier-lateral__ligne:last-child { border-bottom: 0; }
.panier-lateral__img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #fff; border: 1px solid var(--ct-line, rgba(32,51,88,.13)); display: block; }
.panier-lateral__nom { display: block; font-weight: 600; font-size: .92rem; line-height: 1.3; text-transform: none; color: var(--ct-ink, #16213e); }
.panier-lateral__detail { display: block; font-size: .82rem; color: var(--ct-ink-3, #6b7891); margin-top: 3px; }
.panier-lateral__alerte { display: block; font-size: .8rem; margin-top: 4px; }
.panier-lateral__alerte:empty { display: none; }
.panier-lateral__droite { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.panier-lateral__total-ligne { font-weight: 700; white-space: nowrap; }
.panier-lateral__suppr { width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: var(--ct-ink-3, #6b7891); cursor: pointer; display: grid; place-items: center; padding: 0; }
.panier-lateral__suppr:hover { background: #fdf0ee; color: #b03a2e; }
.panier-lateral__suppr i { font-size: 1rem; color: inherit !important; }
.panier-lateral__pied { padding: 14px 20px 22px; border-top: 1px solid var(--ct-line, rgba(32,51,88,.13)); background: #fff; position: sticky; bottom: 0; }
.panier-lateral__tot { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .95rem; }
.panier-lateral__tot--total { font-weight: 800; font-size: 1.12rem; }
.panier-lateral__tot--total div, .panier-lateral__tot--total span { font-size: inherit; font-weight: inherit; text-transform: none; }
.panier-lateral__tot--remise { color: var(--ct-accent, #178a5e); font-weight: 600; }
.panier-lateral__tot--muted { color: var(--ct-ink-3, #6b7891); font-size: .88rem; }
.panier-lateral__franco { margin: 10px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--ct-accent-soft, #e6f4ee); font-size: .88rem; color: var(--ct-ink-2, #3b4a68); }
.panier-lateral__franco p { margin: 0 0 8px; }
.panier-lateral__franco strong { color: var(--ct-ink, #16213e); }
.panier-lateral__barre { height: 6px; border-radius: 3px; background: rgba(23,138,94,.18); overflow: hidden; }
.panier-lateral__barre span { display: block; height: 100%; background: var(--ct-accent, #178a5e); border-radius: 3px; transition: width .3s ease; }
.panier-lateral__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 52px; border-radius: 12px; background: var(--ct-accent, #178a5e); color: #fff !important; font-weight: 700; font-size: 1.02rem; text-decoration: none !important; margin-bottom: 10px; transition: background .15s; }
.panier-lateral__btn:hover { background: var(--ct-accent-hov, #12734e); }
.panier-lateral__btn--ghost { background: #fff; color: var(--ct-ink, #16213e) !important; border: 1.5px solid var(--ct-line-strong, rgba(32,51,88,.26)); }
.panier-lateral__btn--ghost:hover { background: var(--ct-surface-sub, #f0ede2); }
.panier-lateral__confiance { text-align: center; font-size: .78rem; color: var(--ct-ink-3, #6b7891); margin: 4px 0 0; }
