/* Casa Siam · Panel de cookies (5 nov 2026). Lo arma casasiam-cookies.js.
   Tarjeta crema abajo a la izquierda (en el teléfono, a todo el ancho con 12 px de margen);
   «Rechazar» y «Aceptar» son el mismo botón, como pide la Política de privacidad; «Preferencias»
   va como enlace de texto. El prefijo largo gana a los estilos de botón de Elementor. */

html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies {
  position: fixed; left: 24px; bottom: 24px; z-index: 100001; box-sizing: border-box;
  width: min(440px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow: auto;
  padding: 22px 24px 20px; border-radius: 14px;
  background: #F7F3EC; color: #2B2B2B; border: 1px solid rgba(47, 28, 14, .14);
  box-shadow: 0 18px 48px rgba(47, 28, 14, .18), 0 2px 8px rgba(47, 28, 14, .08);
  font: 400 14px/1.6 "Poppins", Arial, sans-serif; text-align: left;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies[hidden],
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies [hidden] { display: none !important; }
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies h2.cs-cookies__titulo {
  margin: 0 0 6px !important; padding: 0 !important; color: #2F1C0E !important;
  font: 600 16px/1.4 "Poppins", Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies p.cs-cookies__texto {
  margin: 0 0 16px !important; color: #2B2B2B !important; font: 400 14px/1.6 "Poppins", Arial, sans-serif !important;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies a {
  font: inherit !important; color: #6F5828 !important; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px !important;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies .cs-cookies__acciones {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
}

/* «Rechazar», «Aceptar» y «Guardar preferencias»: el mismo botón, de línea café */
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies button.cs-cookies__boton,
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies button.cs-cookies__boton:is(:hover, :focus, :active) {
  -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 116px; margin: 0 !important; padding: 0 22px !important; box-sizing: border-box;
  border: 1px solid #2F1C0E !important; border-radius: 999px !important; box-shadow: none !important;
  background: transparent !important; color: #2F1C0E !important;
  font: 500 14px/1 "Poppins", Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  cursor: pointer; transition: background-color .2s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies button.cs-cookies__boton:hover { background: rgba(47, 28, 14, .07) !important; }
}
/* «Preferencias» y «Volver»: enlace de texto */
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies button.cs-cookies__enlace,
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies button.cs-cookies__enlace:is(:hover, :focus, :active) {
  -webkit-appearance: none; appearance: none; min-height: 44px; margin: 0 0 0 4px !important; padding: 0 6px !important;
  border: 0 !important; border-radius: 4px !important; box-shadow: none !important; background: transparent !important; color: #6F5828 !important;
  font: 500 14px/1 "Poppins", Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 4px !important; cursor: pointer;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies :is(button, input, a):focus-visible {
  outline: 2px solid #6F5828 !important; outline-offset: 2px !important;
}

/* Preferencias: una fila por categoría */
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies .cs-cookies__fila {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 0 0 14px;
  border-bottom: 1px solid rgba(47, 28, 14, .12); cursor: pointer; font: 400 13px/1.55 "Poppins", Arial, sans-serif;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies .cs-cookies__fila strong {
  display: block; margin-bottom: 2px; color: #2F1C0E; font-weight: 600; font-size: 14px;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies .cs-cookies__fila input {
  flex: none; width: 20px; height: 20px; margin: 2px 0 0 !important; accent-color: #2F1C0E; cursor: pointer;
}
html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies .cs-cookies__fila input:disabled { cursor: default; opacity: .6; }

/* Teléfono: a todo el ancho, sobre el botón flotante de WhatsApp */
@media (max-width: 599px) {
  html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto;
    max-height: calc(100vh - 24px); padding: 18px 18px 16px;
  }
  html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies button.cs-cookies__boton { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(#cs-a):not(#cs-b):not(#cs-c):not(#cs-d):not(#cs-e):not(#cs-f):not(#cs-g):not(#cs-h):not(#cs-i):not(#cs-j):not(#cs-k) .cs-cookies button { transition: none !important; }
}
