/* Bandeau de consentement aux cookies (boutique/static/consentement.js) — charte boutique.css (variables :root).
   Non bloquant : pas de voile, la page reste utilisable ; placé en bas, au-dessus de la bulle (z 50) et sous le chat (z 70).
   Les trois boutons de choix ont strictement le même style (aucun choix mis en avant). Cibles >= 44 px. */
.ckc{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;color:var(--texte,#212529);border-top:3px solid var(--teal,#4c94ae);
  box-shadow:0 -6px 24px rgba(31,82,102,.18);max-height:85vh;overflow:auto;font-size:15px;line-height:1.45}
.ckc[hidden]{display:none}
.ckc-in{max-width:1260px;margin:0 auto;padding:14px 20px 16px;position:relative}
.ckc h2{font-size:17px;margin:0 0 4px;color:var(--nuit,#1f5266);outline:none}
.ckc p{margin:0 0 10px}
.ckc a{color:var(--lien,#156f8f);text-decoration:underline}
.ckc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ckc-choix{border:0;margin:0 0 6px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ckc-choix[hidden]{display:none}
.ckc-cat{border:1px solid var(--ligne,#dde9ef);border-radius:8px;padding:8px 12px;background:var(--fond,#f5f9fb)}
.ckc-cat label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;flex-wrap:wrap}
.ckc-cat input{width:22px;height:22px;margin:0;accent-color:var(--teal-txt,#357a92);flex:none}
.ckc-cat input:disabled{cursor:not-allowed}
.ckc-cat p{margin:2px 0 4px;font-size:14px;color:var(--gris,#5c6670)}
.ckc-tj{font-size:13px;color:var(--ok,#22744a);font-weight:600}
.ckc-act{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.ckc-b{min-height:44px;min-width:150px;padding:10px 18px;border-radius:5px;border:2px solid var(--teal-txt,#357a92);background:#fff;color:var(--nuit,#1f5266);
  font:inherit;font-weight:700;cursor:pointer}
.ckc-b:hover{background:var(--clair,#d3eef7)}
.ckc-b:focus-visible,.ckc-x:focus-visible,.ckc a:focus-visible,.ckc-cat input:focus-visible{outline:3px solid var(--bleu,#65c5e8);outline-offset:2px}
.ckc-b[hidden],.ckc-x[hidden]{display:none}
.ckc-x{position:absolute;top:6px;right:10px;width:44px;height:44px;border:0;background:transparent;font-size:28px;line-height:1;color:var(--nuit,#1f5266);cursor:pointer;border-radius:6px}
.ckc-x:hover{background:var(--fond,#f5f9fb)}
.ckc-gerer h2{padding-right:48px}
/* la page reste lisible et la bulle du chat accessible au-dessus du bandeau */
body.ckc-ouvert{padding-bottom:var(--ckc-h,0px)}
body.ckc-ouvert #bulle{bottom:calc(var(--ckc-h,0px) + 14px)}
body.ckc-ouvert .barre-cmp{bottom:calc(var(--ckc-h,0px) + 14px)}
@media (max-width:900px){.ckc-choix{grid-template-columns:1fr}}
@media (max-width:640px){
  .ckc{font-size:14px;max-height:75vh}
  .ckc-in{padding:12px 12px 14px}
  .ckc h2{font-size:16px}
  .ckc-act{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ckc-b{min-width:0;width:100%;padding:10px 8px}
  .ckc-act [data-ckc="perso"],.ckc-act [data-ckc="enregistrer"]{grid-column:1/-1;order:3}
  body.chat-ouvert .ckc{display:none}
}
@media (prefers-reduced-motion:no-preference){.ckc{animation:ckc-entree .2s ease-out}}
@keyframes ckc-entree{from{transform:translateY(12px);opacity:.4}to{transform:none;opacity:1}}
