/* ============================================================
   Banner de cookies - gastromaps.net
   Layout: Banner (esquina inferior DERECHA, 680px, destacado)
   Paleta tomada de la web: blanco, texto #1a1a1a,
   azul de marca #1558b8, tipografia Plus Jakarta Sans.

   Pegar en: WPLP Compliance &gt; Cookie Consent &gt; Banner Settings
             &gt; pestana "Custom CSS"  (y guardar desde esa pestana)
   ============================================================ */

/* ---- Contenedor ---- */
#gdpr-cookie-consent-bar{
  /* fondo azul muy claro, tono de marca, para que no se confunda
     con el contenido blanco de la web */
  background: linear-gradient(180deg, #F5F9FF 0%, #EDF3FD 100%) !important;
  border: 2px solid #1558b8 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 48px rgba(21,88,184,.22), 0 4px 14px rgba(0,0,0,.10) !important;
  padding: 28px 32px !important;
  max-width: 680px !important;
  width: calc(100vw - 48px) !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  gap: 18px !important;
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, 'Segoe UI', sans-serif !important;
}

/* ---- Texto ---- */
#gdpr-cookie-consent-bar .gdpr-notice-content-body p{
  color: #1a1a1a !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  text-align: left !important;
  margin: 0 !important;
}

#gdpr-cookie-consent-bar #cookie_action_link{
  color: #1558b8 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* ---- Botones ----
   IMPORTANTE: "Aceptar todo" y "Rechazar todo" comparten
   EXACTAMENTE el mismo estilo. Lo exige la AEPD: rechazar
   debe ser tan facil y visible como aceptar. No los diferencies. */
#gdpr-cookie-consent-bar #cookie_action_accept_all,
#gdpr-cookie-consent-bar #cookie_action_reject{
  background: #1558b8 !important;
  color: #ffffff !important;
  border: 1px solid #1558b8 !important;
  border-radius: 999px !important;
  padding: 12px 26px !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  min-width: 150px !important;
  text-align: center !important;
  transition: opacity .15s ease, transform .15s ease !important;
}

#gdpr-cookie-consent-bar #cookie_action_accept_all:hover,
#gdpr-cookie-consent-bar #cookie_action_reject:hover{
  opacity: .88 !important;
  transform: translateY(-1px) !important;
}

/* ---- "Preferencias": enlace discreto (permitido) ---- */
#gdpr-cookie-consent-bar #cookie_action_settings{
  background: transparent !important;
  color: #5b6472 !important;
  border: none !important;
  padding: 10px 2px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  min-width: 0 !important;
}

#gdpr-cookie-consent-bar .cookie_notice_buttons{
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin-top: 2px !important;
}

/* ---- Ocultar el sello "Powered by" ---- */
#gdpr-cookie-consent-bar .powered-by-credits,
#gdpr-cookie-consent-bar [class*="powered"],
#gdpr-cookie-consent-bar a[href*="wplegalpages"]{
  display: none !important;
}

/* ---- Movil: a todo el ancho ---- */
@media (max-width: 600px){
  #gdpr-cookie-consent-bar{
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: none !important;
    width: auto !important;
    padding: 18px 16px !important;
  }
  #gdpr-cookie-consent-bar #cookie_action_accept_all,
  #gdpr-cookie-consent-bar #cookie_action_reject{
    flex: 1 1 130px !important;
    min-width: 0 !important;
  }
}
