:root {
  --wlb-z-index: 2147483000;
}

.wlb-widget,
.wlb-widget * {
  box-sizing: border-box;
}

.wlb-widget {
  --wlb-accent: #1895d3;
  --wlb-accent-strong: #1895d3;
  --wlb-ink: #13201d;
  --wlb-muted: #66726f;
  --wlb-surface: #ffffff;
  --wlb-panel: #f7faf9;
  --wlb-line: #dfe8e5;
  --wlb-user: #dcf8c6;
  --wlb-bot: #ffffff;
  --wlb-shadow: 0 20px 55px rgba(18, 32, 29, 0.22);
  bottom: max(20px, env(safe-area-inset-bottom));
  color: var(--wlb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  z-index: var(--wlb-z-index);
}

.wlb-widget.is-left {
  left: max(20px, env(safe-area-inset-left));
  right: auto;
}

.wlb-launcher {
  align-items: center;
  background: var(--wlb-accent);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(18, 140, 126, 0.34);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px 0 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wlb-launcher:hover {
  background: var(--wlb-accent-strong);
  box-shadow: 0 18px 40px rgba(18, 140, 126, 0.42);
  transform: translateY(-1px);
}

.wlb-launcher:focus-visible,
.wlb-panel button:focus-visible,
.wlb-input:focus-visible {
  outline: 3px solid rgba(18, 140, 126, 0.26);
  outline-offset: 3px;
}

.wlb-launcher-icon,
.wlb-header-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.wlb-launcher-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.wlb-panel {
  background: var(--wlb-surface);
  border: 1px solid rgba(223, 232, 229, 0.85);
  border-radius: 18px;
  bottom: 74px;
  box-shadow: var(--wlb-shadow);
  display: none;
  flex-direction: column;
  max-height: min(680px, calc(100vh - 115px));
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(390px, calc(100vw - 32px));
}

.wlb-widget.is-left .wlb-panel {
  left: 0;
  right: auto;
}

.wlb-widget.is-open .wlb-panel {
  display: flex;
}

.wlb-header {
  align-items: center;
  background: linear-gradient(135deg, var(--wlb-accent), #0b6f63 58%, #184a63);
  color: #ffffff;
  display: flex;
  gap: 12px;
  min-height: 72px;
  padding: 14px 14px 14px 16px;
}

.wlb-header-icon {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  height: 42px;
  width: 42px;
}

.wlb-header-copy {
  min-width: 0;
}

.wlb-title {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.wlb-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.35;
  margin: 3px 0 0;
}

.wlb-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  transition: background 160ms ease;
  width: 34px;
}

.wlb-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.wlb-body {
  background: var(--wlb-panel);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.wlb-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
  min-height: 310px;
  overflow-y: auto;
  padding: 16px;
  scroll-behavior: smooth;
}

.wlb-message {
  border: 1px solid transparent;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(19, 32, 29, 0.06);
  font-size: 14px;
  line-height: 1.45;
  max-width: 88%;
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.wlb-message.is-bot {
  align-self: flex-start;
  background: var(--wlb-bot);
  border-color: rgba(223, 232, 229, 0.9);
}

.wlb-message.is-user {
  align-self: flex-end;
  background: var(--wlb-user);
  border-color: rgba(173, 220, 150, 0.55);
}

.wlb-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 13px;
}

.wlb-chip,
.wlb-action {
  align-items: center;
  border: 1px solid rgba(18, 140, 126, 0.24);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 38px;
  padding: 9px 13px;
  transition: background 160ms ease, border 160ms ease, color 160ms ease, transform 160ms ease;
}

.wlb-chip {
  background: #ffffff;
  color: var(--wlb-accent-strong);
}

.wlb-chip:hover {
  background: rgba(18, 140, 126, 0.08);
  transform: translateY(-1px);
}

.wlb-action {
  background: var(--wlb-accent);
  border-color: var(--wlb-accent);
  color: #ffffff;
}

.wlb-action:hover {
  background: var(--wlb-accent-strong);
  border-color: var(--wlb-accent-strong);
  transform: translateY(-1px);
}

.wlb-input-row {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--wlb-line);
  display: flex;
  gap: 9px;
  padding: 11px;
}

.wlb-input {
  background: #f7faf9;
  border: 1px solid var(--wlb-line);
  border-radius: 999px;
  color: var(--wlb-ink);
  flex: 1 1 auto;
  font: inherit;
  font-size: 14px;
  min-height: 42px;
  min-width: 0;
  padding: 0 14px;
}

.wlb-input::placeholder {
  color: #8a9693;
}

.wlb-send {
  align-items: center;
  background: var(--wlb-accent);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease;
  width: 42px;
}

.wlb-send:hover {
  background: var(--wlb-accent-strong);
  transform: translateY(-1px);
}

.wlb-footer {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--wlb-line);
  color: var(--wlb-muted);
  display: flex;
  font-size: 11px;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.35;
  padding: 9px 13px;
}

.wlb-footer a {
  color: var(--wlb-accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.wlb-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .wlb-widget {
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
  }

  .wlb-widget.is-left {
    left: 12px;
  }

  .wlb-launcher {
    justify-content: center;
    min-height: 54px;
    width: 100%;
  }

  .wlb-panel,
  .wlb-widget.is-left .wlb-panel {
    bottom: 66px;
    left: 0;
    max-height: min(620px, calc(100vh - 96px));
    right: 0;
    width: 100%;
  }

  .wlb-messages {
    min-height: 280px;
  }
}
/* Estado seleccionado en modelo/serie y capacidad/tamaño */
#cotizador-series .cotizador-modelo-card.active,
#cotizador-capacidades .cotizador-modelo-card.active{
	background:#f1f1f1 !important;
	border-color:#999 !important;
	box-shadow:none !important;
	color:#111 !important;
}

#cotizador-series .cotizador-modelo-card.active h4,
#cotizador-capacidades .cotizador-modelo-card.active h4{
	color:#111 !important;
}

#cotizador-series .cotizador-modelo-card.active p,
#cotizador-capacidades .cotizador-modelo-card.active p{
	color:#555 !important;
}