/* Banner de cookies (sc-consent.js). Abajo a la izquierda en escritorio, ancho completo en el celular; no tapa la barra de navegación inferior. */
.sc-consent { position: fixed; z-index: 100001; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); background: #fff; color: #14210f;
  border: 1px solid #dbe3d9; border-radius: 16px; box-shadow: 0 12px 40px rgba(14, 64, 15, .18); padding: 18px 18px 16px; display: grid; gap: 10px;
  font-size: 14px; line-height: 1.45; }
/* La barra de navegación inferior del sitio se ve hasta 1024 px: el banner va encima de ella */
@media (max-width: 1024px) { .sc-consent { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 767px) { .sc-consent { left: 8px; right: 8px; width: auto; } }
.sc-consent__title { margin: 0; padding-right: 28px; font-family: var(--sc-font-title, "Outfit"), sans-serif; font-weight: 700; font-size: 18px; color: #14210f; }
.sc-consent__text { margin: 0; color: #3d4a39; }
.sc-consent__text a { color: #0E400F; font-weight: 700; text-decoration: underline; }
button.sc-consent__x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; min-height: 0; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: #5b6b57; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: none; }
button.sc-consent__x:hover, button.sc-consent__x:focus { background: #d9f8e6; color: #0E400F; outline: none; }
.sc-consent__prefs { display: grid; gap: 8px; }
.sc-consent__prefs[hidden] { display: none; }
.sc-consent__opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid #dbe3d9; border-radius: 12px; cursor: pointer; }
.sc-consent__opt span { display: grid; gap: 1px; }
.sc-consent__opt small { color: #5b6b57; font-size: 12px; }
.sc-consent__opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: #0E400F; }
.sc-consent__opt--fixed { cursor: default; opacity: .8; }
.sc-consent__actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
@media (max-width: 400px) { .sc-consent__actions { grid-template-columns: 1fr 1fr; } .sc-consent__btn--primary { grid-column: 1 / -1; } }
/* Rifiuta y Accetta con el mismo peso visual (borde verde los dos; Accetta relleno) */
button.sc-consent__btn { min-height: 42px; padding: 8px 10px; border: 2px solid #0E400F; border-radius: 12px; background: transparent; color: #0E400F;
  font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: none; line-height: 1.15; }
button.sc-consent__btn[hidden] { display: none; }
button.sc-consent__btn:hover, button.sc-consent__btn:focus { background: #d9f8e6; color: #0E400F; border-color: #0E400F; outline: none; }
button.sc-consent__btn--primary { background: #0E400F; color: #36E383; }
button.sc-consent__btn--primary:hover, button.sc-consent__btn--primary:focus { background: #36E383; color: #0E400F; border-color: #36E383; }
