/* LumestraPanel Connect — habillage du panier de vitrine.
   Volontairement neutre : il s'adapte au thème sans imposer de couleurs
   de marque. Les seules teintes fortes sont fonctionnelles (libre / pris). */

.lmc-btn{display:inline-block;border:0;border-radius:8px;padding:11px 18px;font-size:15px;
  font-weight:600;cursor:pointer;text-decoration:none;line-height:1.2;
  background:#2563eb;color:#fff;transition:filter .15s ease}
.lmc-btn:hover{filter:brightness(1.08);color:#fff}
.lmc-btn:disabled{opacity:.55;cursor:default}
.lmc-btn-petit{padding:7px 12px;font-size:13.5px}
.lmc-btn-principal{display:block;text-align:center;width:100%;box-sizing:border-box}
.lmc-lien{display:block;width:100%;margin-top:9px;background:none;border:0;color:#475569;
  font-size:13.5px;cursor:pointer;text-decoration:underline}

/* ---- Bulle permanente, présente sur toutes les pages ---- */
.lmc-bulle{position:fixed;right:20px;bottom:20px;z-index:99990;width:58px;height:58px;
  border:0;border-radius:50%;background:#0f172a;color:#fff;cursor:pointer;
  box-shadow:0 6px 22px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center}
.lmc-bulle-ico{font-size:23px;line-height:1}
.lmc-bulle-nb{position:absolute;top:-4px;right:-4px;min-width:23px;height:23px;padding:0 5px;
  border-radius:12px;background:#94a3b8;color:#fff;font-size:12.5px;font-weight:700;
  display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.lmc-bulle-plein .lmc-bulle-nb{background:#e11d48}

/* ---- Volet ---- */
.lmc-volet[hidden]{display:none}
.lmc-volet{position:fixed;inset:0;z-index:99991}
.lmc-volet-fond{position:absolute;inset:0;background:rgba(15,23,42,.5)}
.lmc-volet-boite{position:absolute;top:0;right:0;height:100%;width:min(400px,100%);
  background:#fff;display:flex;flex-direction:column;box-shadow:-8px 0 30px rgba(0,0,0,.2)}
.lmc-volet-tete{display:flex;align-items:center;justify-content:space-between;
  padding:17px 20px;border-bottom:1px solid #e2e8f0;font-size:17px;color:#0f172a}
.lmc-fermer{background:none;border:0;font-size:27px;line-height:1;cursor:pointer;color:#64748b}
.lmc-volet-corps{flex:1;overflow:auto;padding:8px 20px}
.lmc-volet-pied{padding:16px 20px;border-top:1px solid #e2e8f0;background:#f8fafc}
body.lmc-fige{overflow:hidden}

/* ---- Lignes ---- */
.lmc-ligne{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 0;border-bottom:1px solid #f1f5f9}
.lmc-ligne:last-child{border-bottom:0}
.lmc-ligne-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.lmc-ligne-nom{font-weight:600;color:#0f172a;font-size:14.5px;word-break:break-word}
.lmc-ligne-det{color:#64748b;font-size:13px}
.lmc-retirer{background:none;border:0;color:#b91c1c;font-size:13px;cursor:pointer;
  text-decoration:underline;white-space:nowrap}
.lmc-vide{color:#64748b;padding:26px 0;text-align:center;font-size:14.5px}
.lmc-total{display:flex;justify-content:space-between;align-items:baseline;
  margin-bottom:13px;font-size:16px;color:#0f172a}
.lmc-total strong{font-size:19px}
.lmc-note{margin:10px 0 0;font-size:12.5px;color:#64748b;text-align:center}

/* ---- Panier en pleine page ---- */
.lmc-panier-page{max-width:640px;margin:0 auto}
.lmc-page-pied{margin-top:22px;padding-top:18px;border-top:1px solid #e2e8f0}

/* ---- Recherche de domaine ---- */
.lmc-recherche{max-width:680px;margin:0 auto}
.lmc-recherche-titre{font-size:19px;font-weight:700;margin-bottom:11px;color:#0f172a}
.lmc-recherche-form{display:flex;gap:9px;flex-wrap:wrap}
.lmc-recherche-champ{flex:1 1 260px;min-width:0;padding:12px 15px;font-size:15.5px;
  border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a}
.lmc-recherche-champ:focus{outline:2px solid #2563eb;outline-offset:1px}
.lmc-recherche-resultat{margin-top:13px;padding:0;font-size:14.5px;line-height:1.55}
.lmc-recherche-resultat:empty{display:none}
.lmc-recherche-resultat{padding:13px 15px;border-radius:8px}
.lmc-res-attente{background:#f1f5f9;color:#475569}
.lmc-res-libre{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.lmc-res-libre .lmc-btn{margin-left:8px;vertical-align:middle}
.lmc-res-pris{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.lmc-res-erreur{background:#fffbeb;color:#92400e;border:1px solid #fde68a}

/* ---- Confirmation ---- */
.lmc-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,140%);
  z-index:99992;background:#0f172a;color:#fff;padding:12px 20px;border-radius:9px;
  font-size:14.5px;box-shadow:0 8px 26px rgba(0,0,0,.3);transition:transform .28s ease;
  max-width:calc(100vw - 40px);text-align:center}
.lmc-toast-on{transform:translate(-50%,0)}

/* ---- Compteur posé dans un menu ---- */
.lmc-compteur-inline{background:none;border:0;cursor:pointer;font:inherit;color:inherit;padding:0}

@media (max-width:600px){
  .lmc-bulle{right:14px;bottom:14px;width:52px;height:52px}
  .lmc-volet-boite{width:100%}
}

@media (prefers-reduced-motion:reduce){
  .lmc-toast{transition:none}
}

/* Bloc de recherche pose automatiquement par le plugin : on lui donne de l'air
   sans imposer de couleurs, pour qu'il s'insere dans n'importe quel theme. */
.lmc-injecte{margin:26px auto 30px;padding:0 18px;max-width:760px}
