/* Colores de litiosolar.com (rojo #e62e04 y gris oscuro #212121) para el banner (CookieConsent v3) y piezas propias. */
#cc-main {
  --cc-font-family: inherit;
  --cc-btn-primary-bg: #e62e04;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-border-color: #e62e04;
  --cc-btn-primary-hover-bg: #212121;
  --cc-btn-primary-hover-color: #ffffff;
  --cc-btn-primary-hover-border-color: #212121;
  --cc-btn-secondary-bg: #e62e04;
  --cc-btn-secondary-color: #ffffff;
  --cc-btn-secondary-border-color: #e62e04;
  --cc-btn-secondary-hover-bg: #212121;
  --cc-btn-secondary-hover-color: #ffffff;
  --cc-btn-secondary-hover-border-color: #212121;
  --cc-toggle-on-bg: #e62e04;
  --cc-link-color: #212121;
  z-index: 2147483000;
}
#cc-main .cm__desc, #cc-main .pm__section-desc { font-size: 15px; line-height: 1.55; }
#cc-main a { text-decoration: underline; }
#cc-main .pm__badge { background: #212121; color: #ffffff; }

/* Icono para volver a configurar las cookies (abajo a la izquierda; el chat y «subir» van a la derecha). */
.ls-cookie-icon {
  position: fixed; left: 16px; bottom: 16px; z-index: 9990;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #212121; color: #ffffff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.ls-cookie-icon:hover, .ls-cookie-icon:focus { background: #e62e04; color: #ffffff; }
html.show--consent .ls-cookie-icon { display: none; }

/* Botón propio del chat (sin cookies) cuando no se aceptan las funcionales. Encima del botón «subir» del tema. */
.ls-chat-btn {
  position: fixed; right: 20px; bottom: 80px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #e62e04; color: #ffffff; border: 0; border-radius: 30px; padding: 10px 16px;
  font-size: 16px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.ls-chat-btn[hidden] { display: none; }
.ls-chat-btn:hover, .ls-chat-btn:focus { background: #212121; }
@media (max-width: 575px) { .ls-chat-btn span { display: none; } .ls-chat-btn { padding: 10px; } }

/* Tablas de las páginas legales. */
.ls-legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.ls-legal th, .ls-legal td { border: 1px solid #ddd; padding: 8px 10px; vertical-align: top; text-align: left; font-size: 15px; line-height: 1.5; }
.ls-legal th { background: #f5f5f5; }
.ls-legal code { font-size: 14px; background: #f3f3f3; padding: 1px 4px; border-radius: 3px; }
@media (max-width: 767px) { .ls-legal .table-responsive { overflow-x: auto; } .ls-legal table { min-width: 560px; } }
