#cookie-panel[hidden]{display:none!important}
#cookie-panel{position:fixed;z-index:1000;left:0;right:0;bottom:0;margin:0;padding:12px max(20px,calc((100vw - 1180px)/2)) calc(12px + env(safe-area-inset-bottom));background:#101820;color:#f4f1e8;border-top:1px solid rgba(244,241,232,.2);font-family:inherit;display:flex;align-items:center;justify-content:space-between;gap:12px 28px;text-align:left}
#cookie-panel .cookie-text{min-width:0;flex:1 1 auto}
#cookie-panel h2{font-size:14px;line-height:1.3;font-weight:600;margin:0 0 2px;color:#f4f1e8}
#cookie-panel p{font-size:13px;line-height:1.45;margin:0;color:#f4f1e8}
#cookie-panel a{color:#f4f1e8;text-decoration:underline;text-underline-offset:2px;display:inline-block;padding:2px 0}
#cookie-panel #cookie-status{display:none}
#cookie-panel .cookie-actions{display:flex;flex:0 0 auto;gap:10px}
#cookie-panel button{line-height:1.2;font-family:inherit;font-size:14px;font-weight:600;min-height:40px;padding:8px 22px;border:1px solid #f4f1e8;border-radius:999px;background:#f4f1e8;color:#101820;cursor:pointer}
#cookie-panel button:hover{background:#fff}
#cookie-panel #cookie-reject{background:transparent;color:#f4f1e8;border-color:rgba(244,241,232,.55)}
#cookie-panel #cookie-reject:hover{border-color:#f4f1e8;background:rgba(244,241,232,.08)}
#cookie-settings{font:inherit;font-size:15px;line-height:1.6;background:none;border:0;color:inherit;padding:0;min-height:32px;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#cookie-settings:hover{color:#c6f34a}
#cookie-panel :focus-visible,#cookie-settings:focus-visible{outline:2px solid #c6f34a;outline-offset:2px}
/* Mobile: barra fina (máx. ~120px). Título só para leitores de tela. */
@media(max-width:900px){
  #cookie-panel{flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
  #cookie-panel h2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  #cookie-panel p{font-size:12px;line-height:1.4}
  #cookie-panel .cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  #cookie-panel button{padding:6px 8px}
}
/* A barra de compra rápida fica escondida enquanto a barra de cookies estiver visível. */
body:has(#cookie-panel:not([hidden])) .dock{display:none!important}
