/* Aviso de cookies (cookies.js). Archivo aparte porque lo cargan también las
   páginas legales, que no usan web.css. Mismo formato que el de Dermallum:
   pop-up pequeño en el centro, dos botones del mismo tamaño. */

html.con-aviso { overflow: hidden; }
.cookies {
  position: fixed;
  inset: 0;
  z-index: 200;                 /* por encima de la carga (100) y el menú (80) */
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(20 9 15 / .5);
}
.cookies__caja {
  width: 100%;
  max-width: 400px;
  padding: 28px 26px 26px;
  background: rgb(252 244 232);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgb(0 0 0 / .25);
}
.cookies__titulo {
  margin: 0 0 .5rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.1;
  color: rgb(107 9 63);
}
.cookies__texto {
  margin: 0 0 1.25rem;
  font-family: Lora, serif;
  font-size: .9375rem;
  line-height: 1.55;
  color: rgb(26 26 26 / .75);
}
.cookies__texto a { color: rgb(107 9 63); text-decoration: underline; text-underline-offset: 2px; }
.cookies__botones { display: grid; gap: 10px; }
.cookies__boton {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgb(107 9 63 / .35);
  background: transparent;
  color: rgb(107 9 63);
  font-family: Questrial, sans-serif;
  font-size: .6875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.cookies__boton:hover { background: rgb(107 9 63); color: rgb(252 244 232); }
.cookies__boton--si { background: rgb(107 9 63); border-color: rgb(107 9 63); color: rgb(252 244 232); }
.cookies__boton--si:hover { background: rgb(170 65 103); border-color: rgb(170 65 103); }
.cookies__boton:focus-visible,
.cookies__texto a:focus-visible { outline: 2px solid #c6a15b; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .cookies__boton { transition: none; } }
