/* Aviso e preferências de cookies (LGPD), nas cores da página de links da Massamix */
.ck-aviso {
  position: fixed; z-index: 90; display: none; max-width: 520px; margin: 0 auto;
  left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
  background: #FFFFFF; color: #22313A; border: 1px solid #E6E8EA; border-radius: 16px; padding: 8px 8px 8px 16px;
  box-shadow: 0 18px 40px -16px rgba(34, 49, 58, .4);
  font-family: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 13px; line-height: 1.45;
}
.ck-aviso.ck-on { display: grid; animation: ckSobe .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ckSobe { from { transform: translate3d(0, 16px, 0); opacity: 0; } }
.ck-aviso p { margin: 0; }
.ck-painel a { color: #D93B3E; }
.ck-mais { border: 0; background: none; padding: 0; color: #5B6A72; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-ok { min-height: 44px; min-width: 70px; padding: 0 18px; border: 0; border-radius: 999px; background: #D93B3E; color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ck-ok:hover { background: #BF2C30; }
html.ck-travado { overflow: hidden; }
.ck-fundo { position: fixed; inset: 0; z-index: 95; background: rgba(40, 10, 16, .5); display: none; align-items: center; justify-content: center; padding: 16px; }
.ck-fundo.ck-on { display: flex; }
.ck-painel {
  width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; background: #FFFFFF; color: #22313A;
  border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  font-family: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: .9rem; line-height: 1.55;
}
.ck-painel p { margin: 0; }
.ck-painel h2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 1.15rem; font-weight: 500; font-family: inherit; color: inherit; letter-spacing: -.02em; }
.ck-fechar { border: 1px solid #E6E8EA; background: none; color: #22313A; border-radius: 10px; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; flex: none; }
.ck-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #F6F7F8; border: 1px solid #E6E8EA; border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.ck-item strong { display: block; font-weight: 500; }
.ck-item span { font-size: .84rem; color: #5B6A72; }
.ck-chave { position: relative; width: 46px; height: 26px; flex: none; }
.ck-chave input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ck-chave i { position: absolute; inset: 0; border-radius: 999px; background: #D3D8DB; transition: background .2s; }
.ck-chave i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.ck-chave input:checked + i { background: #D93B3E; }
.ck-chave input:checked + i::after { transform: translateX(20px); }
.ck-chave input:disabled + i { opacity: .55; }
.ck-chave input:focus-visible + i { outline: 2px solid #D93B3E; outline-offset: 2px; }
.ck-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ck-salvar { min-height: 46px; border: 1px solid rgba(34, 49, 58, .25); border-radius: 999px; background: #FFFFFF; color: #22313A; font: inherit; font-weight: 500; cursor: pointer; }
.ck-todos { min-height: 46px; border: 0; border-radius: 999px; background: #D93B3E; color: #FFFFFF; font: inherit; font-weight: 500; cursor: pointer; }
.ck-recusar { display: block; margin: 12px auto 0; border: 0; background: none; color: #5B6A72; font: inherit; font-size: .84rem; text-decoration: underline; cursor: pointer; padding: 6px; }
.link-cookies { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.ck-ok:focus-visible, .ck-mais:focus-visible, .ck-salvar:focus-visible, .ck-todos:focus-visible, .ck-recusar:focus-visible, .ck-fechar:focus-visible { outline: 2px solid #D93B3E; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ck-aviso.ck-on { animation: none; } }
