.cotizador-capture {
  background: #ffffff;
  color: #103166;
  border-radius: 24px;
  overflow: hidden;
  margin: 0 auto 24px;
  max-width: 950px;
  width: 100%;
}

/* IMAGEN */
.cotizador-drop {
  background: #ffffff;
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 4px solid var(--accent);
  cursor: pointer;
  overflow: hidden;
}

.cotizador-drop img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.cotizador-hint {
  color: #94a3b8;
  text-align: center;
  font-weight: 700;
  padding: 40px;
}

/* FORMULARIO */
.cotizador-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.cotizador-controls input,
.cotizador-controls select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: #0b1220;
  color: var(--text);
}

.cotizador-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

/* OPCIONES */
.cotizador-escenario {
  padding: 14px 22px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.cotizador-escenario.recomendada {
  border-left: 6px solid #55b642;
  background: #f0fff4;
}

.cotizador-title {
  font-size: 1.15rem;
  font-weight: 900;
  display: block;
  margin-bottom: 8px;
  color: #103166;
}

.cotizador-spec {
  color: #64748b;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-top: 6px;
}

.cotizador-spec span {
  color: #103166;
  font-weight: 900;
}

.cotizador-price {
  text-align: right;
  min-width: 170px;
  font-size: 1.05rem;
  color: #103166;
}

.cotizador-final {
  color: #55b642;
  font-size: 2rem;
  font-weight: 900;
  margin-top: 8px;
}

.cotizador-delete {
  color: #ef4444;
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
  font-size: 0.85rem;
}

/* EXPORTACIÓN */
.cotizador-capture.is-exporting .no-export {
  display: none !important;
}

/* CELULAR */
@media(max-width:768px) {
  .cotizador-capture {
    max-width: 100%;
  }

  .cotizador-drop {
    max-height: 240px;
  }

  .cotizador-drop img {
    max-height: 240px;
  }

  .cotizador-actions {
    flex-direction: column;
  }

  .cotizador-escenario {
  padding: 12px 22px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

  .cotizador-price {
    text-align: left;
  }
}

.cotizador-panel {
  max-width: 950px;
  margin: 0 auto 30px;
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
}

.cotizador-panel h2 {
  margin-bottom: 20px;
  color: var(--accent);
}

.cotizador-panel .cotizador-controls {
  margin-bottom: 0;
}

.cotizador-panel .cotizador-actions {
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 0;
}

/* EXPORTACIÓN EN FORMATO FIJO */
.cotizador-capture.export-mode {
  width: 950px !important;
  max-width: 950px !important;
}

.cotizador-capture.export-mode .cotizador-drop {
  width: 100% !important;
  height: auto !important;
  min-height: 180px !important;
}

.cotizador-capture.export-mode .cotizador-drop img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Jerarquía visual consistente entre formulario y cotización. */
.cotizador-escenario { padding:22px; align-items:center; }
.cotizador-escenario > div:first-child { flex:1; min-width:0; }
.cotizador-escenario.recomendada { background:#f8fbf5; border-left-color:#84cc16; }
.cotizador-option-heading { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:14px; }
.cotizador-option-label { font-size:.85rem; font-weight:700; color:#52627b; }
.cotizador-recommended-label { padding:4px 9px; border-radius:6px; background:#eaf5d8; color:#3b6218; font-size:.72rem; font-weight:800; }
.cotizador-production-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:0 0 14px; border:1px solid #dce8d5; border-radius:12px; overflow:hidden; background:#f5f9f0; }
.cotizador-production-summary > div { min-width:0; padding:12px; color:#304c26; border-right:1px solid #dce8d5; }
.cotizador-production-summary > div:last-child { border-right:0; }
.cotizador-production-summary .cotizador-material-stat { background:#eaf3df; }
.cotizador-production-summary strong { display:block; font-size:1.65rem; line-height:1.2; font-weight:800; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.cotizador-production-summary span { display:block; margin-bottom:7px; font-size:.72rem; color:#52627b; font-weight:700; }
.cotizador-production-summary small { font-size:.7rem; font-weight:600; }
.cotizador-spec { font-size:.9rem; font-weight:500; }
.cotizador-spec span { font-weight:700; }
@media(max-width:650px) {
 .cotizador-escenario { flex-direction:column; align-items:stretch; padding:16px; }
 .cotizador-production-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cotizador-production-summary > div:nth-child(2) { border-right:0; }
 .cotizador-production-summary > div:nth-child(-n+2) { border-bottom:1px solid #dce8d5; }
 .cotizador-price { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid #dce8d5; padding-top:12px; }
}

/* Texto azul sobre los fondos verdes de la cotización. */
.cotizador-capture .cotizador-production-summary > div,
.cotizador-capture .cotizador-production-summary span,
.cotizador-capture .cotizador-option-label,
.cotizador-capture .cotizador-recommended-label,
.cotizador-capture .cotizador-spec,
.cotizador-capture .cotizador-final { color: #103166; }
