/* ═══════════════════════════════════════════════════════════════════════
   DOBLE V — cotizador

   Esta página se usa de pie, en el local del cliente y en un teléfono. Por
   eso: opciones grandes y fáciles de tocar, el total siempre a la vista en
   una barra pegada abajo, y un solo botón al final. Nada de scroll para
   averiguar cuánto va sumando.
   ═══════════════════════════════════════════════════════════════════════ */

.cotizador { margin-top: 40px; display: grid; gap: 54px; }

.bloque-cot > .etiqueta { display: block; }
.bloque-cot h2 {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 32px);
  font-weight: 500; margin: 14px 0 0; line-height: 1.2;
}
.bloque-cot .texto { margin-top: 10px; max-width: 62ch; }

/* ── Opciones ──────────────────────────────────────────────────────────── */
.opciones { display: grid; gap: 12px; margin-top: 26px; }
.opciones-cols { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.opcion {
  position: relative; display: block; cursor: pointer;
  border: 1px solid var(--crema-borde); border-radius: var(--radio);
  padding: 20px 22px 20px 54px; background: var(--crema);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.opcion:hover { border-color: var(--verde); }
.opcion input { position: absolute; opacity: 0; width: 0; height: 0; }

/* La marca de selección, dibujada, para que se vea igual en todos lados. */
.opcion .marca {
  position: absolute; left: 20px; top: 21px; width: 19px; height: 19px;
  border: 1.5px solid #b9b6ab; border-radius: 50%;
  transition: border-color .16s ease, background .16s ease;
}
.opcion.tipo-suma .marca { border-radius: 3px; }
.opcion .marca::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(.4); opacity: 0; transition: all .16s ease;
}
.opcion input:checked ~ .marca { background: var(--verde); border-color: var(--verde); }
.opcion input:checked ~ .marca::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.opcion:has(input:checked) {
  border-color: var(--verde); background: rgba(63, 107, 74, .045);
  box-shadow: inset 0 0 0 1px var(--verde);
}
.opcion input:focus-visible ~ .marca { outline: 2px solid var(--verde); outline-offset: 3px; }

.opcion-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.opcion-nombre { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.25; }
.opcion-precio {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  color: var(--verde); white-space: nowrap;
}
.opcion-precio small { font-size: 11.5px; font-family: var(--sans); opacity: .7; }
.opcion-resumen { font-size: 14px; color: var(--tinta-media); margin-top: 7px; line-height: 1.6; }
.opcion-detalle { font-size: 13.5px; color: var(--tinta-media); margin-top: 7px; line-height: 1.62; }
.opcion .lista-check { margin-top: 14px; }
.opcion .lista-check li { font-size: 13.5px; }
.opcion-para {
  font-size: 13px; color: var(--tinta-media); font-style: italic;
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--crema-borde);
}
.opcion-marca {
  display: inline-block; font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase;
  background: var(--verde); color: #fff; padding: 3px 8px; border-radius: 2px;
  margin-left: 9px; vertical-align: middle;
}

/* ── Plan por rubro: otra economía, otra caja ──────────────────────────── */
.plan-rubro {
  border: 1px solid var(--verde); border-radius: var(--radio);
  padding: 30px 32px; background: rgba(63, 107, 74, .05); margin-top: 30px;
}
.plan-rubro-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.plan-rubro h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.plan-rubro-precio { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--verde); }
.plan-rubro-precio small { font-size: 14px; font-family: var(--sans); opacity: .75; }
.plan-rubro .lista-check { margin-top: 20px; }
.plan-rubro-opciones {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px; margin-top: 22px;
}
.plan-rubro-opciones div {
  border: 1px solid var(--crema-borde); border-radius: var(--radio);
  padding: 15px 17px; background: var(--crema);
}
.plan-rubro-opciones b { display: block; font-size: 14.5px; font-weight: 500; }
.plan-rubro-opciones span { display: block; font-size: 13px; color: var(--tinta-media); margin-top: 4px; }

/* ── Resumen pegado abajo ──────────────────────────────────────────────── */
.resumen {
  position: sticky; bottom: 0; z-index: 60; margin-top: 8px;
  background: var(--noche); border-top: 1px solid var(--panel-borde);
  box-shadow: 0 -12px 34px rgba(13, 21, 18, .28);
}
.resumen-caja {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: 18px 0;
}
.resumen-cifras { display: flex; gap: 32px; flex-wrap: wrap; flex: 1; min-width: 0; }
.resumen-cifra span {
  display: block; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tinta-suave);
}
.resumen-cifra b {
  display: block; font-family: var(--serif); font-size: 27px; font-weight: 500;
  color: var(--tinta-clara); margin-top: 3px; font-variant-numeric: tabular-nums;
}
.resumen-cifra b em { font-style: normal; font-size: 14px; opacity: .7; }
.resumen .boton { flex: none; }

@media (max-width: 620px) {
  .resumen-caja { padding: 14px 0; gap: 14px; }
  .resumen-cifras { gap: 20px; }
  .resumen-cifra b { font-size: 21px; }
  .resumen .boton { width: 100%; justify-content: center; }
}

/* ── Detalle de lo elegido ─────────────────────────────────────────────── */
.detalle-sel { margin-top: 30px; border-top: 1px solid var(--crema-borde); }
.detalle-sel div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 2px; border-bottom: 1px solid var(--crema-borde); font-size: 14.5px;
}
.detalle-sel div b { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.detalle-sel div.total { border-bottom: 0; padding-top: 16px; font-size: 17px; }
.detalle-sel div.total b { color: var(--verde); font-family: var(--serif); font-size: 22px; }
.detalle-vacio { padding: 26px 0; color: var(--tinta-media); font-size: 15px; }

/* ── Formas de pago ────────────────────────────────────────────────────── */
.pagos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 24px; }

/* ── Aviso ─────────────────────────────────────────────────────────────── */
.nota-cot {
  font-size: 13.5px; color: var(--tinta-media); margin-top: 22px;
  max-width: 70ch; line-height: 1.65;
}
