/* ===== Cotizador (CopyStore + WawaConnect) — tema claro, alineado
   con chatbot-widget.css (bubble.bot, chat-opt-btn, etc.)
   Reemplaza COMPLETO cualquier versión anterior de este archivo.
   v2: lista tipo "recibo", más compacta y profesional. ===== */

.chat-cotizador,
.chat-cotizador * {
  box-sizing: border-box;
}

.chat-cotizador {
  background: #fff;
  border: 1px solid var(--line, #dbe6f0);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 4px 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(10, 22, 40, .06);
}

/* ── Título opcional del bloque (si se agrega) ───── */
.chat-cotizador .cotiz-heading {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-500, #5c7189);
  margin: 0 0 8px;
}

/* ── Lista de ítems (estilo recibo, no "cajitas") ─── */
.chat-cotizador .cotiz-items {
  display: flex;
  flex-direction: column;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line, #eef2f7);
}

.chat-cotizador .cotiz-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  margin: 0;
  border-bottom: 1px solid var(--line, #eef2f7);
  background: transparent;
  border-radius: 0;
  font-size: 12.6px;
  line-height: 1.3;
  transition: background .15s ease;
}

.chat-cotizador .cotiz-item.is-clickable { cursor: pointer; }
.chat-cotizador .cotiz-item.is-clickable:hover {
  background: rgba(46, 139, 224, .045);
}
.chat-cotizador .cotiz-item.is-clickable:active {
  background: rgba(46, 139, 224, .08);
}

.chat-cotizador .cotiz-item input[type="checkbox"] {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--green-600, #1f8f3f);
  cursor: pointer;
}

/* Ícono separado del texto para mejor ritmo visual */
.chat-cotizador .cotiz-item-icon {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
  opacity: .9;
}

/* Texto del ítem: SIEMPRE una sola línea, con "..." si no cabe */
.chat-cotizador .cotiz-item-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-900, #0b1524);
  font-weight: 500;
}

.chat-cotizador .cotiz-price {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--blue-600, #1b5fa8);
  min-width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 12.8px;
}
.chat-cotizador .cotiz-price.incluido,
.chat-cotizador .cotiz-price.gratis {
  color: var(--green-600, #1f8f3f);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* ── Toggle de promoción (CopyStore) ─────────────── */
.chat-cotizador .cotiz-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  margin: 2px 0 12px;
  border-radius: 10px;
  background: rgba(47, 174, 78, .06);
  border: 1px dashed rgba(47, 174, 78, .38);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-700, #33455c);
}
.chat-cotizador .cotiz-toggle:hover {
  background: rgba(47, 174, 78, .09);
}
.chat-cotizador .cotiz-toggle input[type="checkbox"] {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--green-600, #1f8f3f);
  cursor: pointer;
}

/* ── Badge de promoción (WawaConnect) ────────────── */
.chat-cotizador .cotiz-promo-badge {
  background: rgba(47, 174, 78, .08);
  border: 1px dashed rgba(47, 174, 78, .35);
  color: var(--green-600, #1f8f3f);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 11px;
  margin: 0 0 12px;
  border-radius: 10px;
  text-align: center;
  letter-spacing: .01em;
}

/* ── Input de número de niños ────────────────────── */
.chat-cotizador .cotiz-ninos-label {
  display: block;
  font-size: 11.5px;
  color: var(--ink-700, #33455c);
  margin: 2px 0 6px;
  font-weight: 600;
}

.chat-cotizador .cotiz-ninos-input {
  width: 100%;
  padding: 9px 12px;
  margin: 0;
  border-radius: 10px;
  border: 1.5px solid var(--line, #dbe6f0);
  background: #fff;
  color: var(--ink-900, #0b1524);
  font-size: 13px;
  line-height: 1.3;
}
.chat-cotizador .cotiz-ninos-input:focus {
  outline: none;
  border-color: var(--blue-500, #2e8be0);
}

.chat-cotizador .cotiz-tarifa-nota {
  font-size: 10.5px;
  color: var(--ink-500, #5c7189);
  margin: 6px 0 12px;
  min-height: 13px;
  line-height: 1.3;
}

/* ── Total (estilo "línea final de recibo") ──────── */
.chat-cotizador .cotiz-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  padding: 10px 12px;
  margin: 4px 0 12px;
  color: var(--ink-900, #0b1524);
  background: var(--paper-50, #f4f8fc);
  border: 1px solid var(--line, #dbe6f0);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.4;
}
.chat-cotizador .cotiz-total b {
  color: var(--green-600, #1f8f3f);
  font-size: 15px;
  white-space: nowrap;
}
/* Cuando el total ocupa una sola frase completa (sin dos columnas) */
.chat-cotizador .cotiz-total.is-mensaje {
  display: block;
  text-align: center;
}

.chat-cotizador .cotiz-total-nota {
  display: block;
  font-size: 10px;
  color: var(--ink-500, #5c7189);
  margin-top: 2px;
}

/* ── Botón continuar (reutiliza .chat-opt-btn.green del widget) ── */
.chat-cotizador #pcCotizContinuar,
.chat-cotizador #pcWawaContinuar {
  width: 100%;
  margin: 0;
  text-align: center;
  justify-content: center;
  padding: 11px;
  font-size: 12.8px;
}