/* Kamche Cotizador - estilos minimalistas. Hereda tipografías del tema */
.kamche-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 12px;
  font-family: inherit;
}
.kamche-card{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.kamche-head{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.kamche-head h2{margin:0;font-size:16px;font-weight:750}
.kamche-head p{margin:6px 0 0;color:rgba(0,0,0,.58);font-size:13px;line-height:1.35}
.kamche-chip{
  align-self: flex-start;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
  font-size: 12px;
  color: rgba(0,0,0,.65);
  white-space: nowrap;
}
.kamche-tabs{
  flex-wrap: wrap;
  display:flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.kamche-tab{
  flex:1;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
  font-weight: 750;
  font-size: 13px;
  color: rgba(0,0,0,.6);
}
.kamche-tab.is-active{
  background: rgba(0,0,0,.06);
  color: #000;
}
.kamche-body{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
}
@media(min-width: 980px){
  .kamche-body{grid-template-columns: 1.1fr .9fr;}
}
.kamche-field label{
  display:block;
  font-size: 12px;
  color: rgba(0,0,0,.6);
  margin: 0 0 6px;
}
.kamche-field input, .kamche-field select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  outline: none;
  background: #fff;
}
.kamche-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
@media(min-width: 560px){
  .kamche-grid.two{grid-template-columns: 1fr 1fr;}
  .kamche-grid.three{grid-template-columns: 1fr 1fr 1fr;}
}
.kamche-summary{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(0,0,0,.02);
}
.kamche-total{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}
.kamche-total-big{font-size:22px;font-weight:800}
.kamche-total-sub{margin-top:6px;color:rgba(0,0,0,.55);font-size:12px;line-height:1.35}
.kamche-list{
  margin-top: 10px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
}
.kamche-item{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.kamche-item:first-child{border-top:none}
.kamche-item .k{font-weight:750;font-size:13px;margin:0}
.kamche-item .d{margin:4px 0 0;color:rgba(0,0,0,.55);font-size:12px;line-height:1.3}
.kamche-item .v{font-weight:800;font-size:13px;white-space:nowrap}
.kamche-actions{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.kamche-btn{
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor:pointer;
  font-weight: 800;
}
.kamche-btn.primary{
  background:#000;
  color:#fff;
  border-color:#000;
}
.kamche-btn.ghost{
  background: transparent;
  color: rgba(0,0,0,.60);
}
.kamche-note{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
  line-height: 1.35;
}


/* Ocultar desglose (solo total visible) */
.kamche-list{display:none !important;}
.kamche-actions{grid-template-columns: 1fr;}

.kamche-includes{font-size:12px;color:rgba(0,0,0,.45);margin-top:4px;}


.kamche-zone{margin-bottom:12px;}
.kamche-zone .kamche-field select{min-height:44px;}


/* Chip obligatorio (Estado) */
.kamche-required{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,90,90,.25);
  background: rgba(255,90,90,.10);
  color:#b00020;
  font-size:12px;
  font-weight:700;
  line-height:1;
}
.kamche-required .dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#ff5a5a;
}

/* hide accidental duplicate required chips */
#kamcheEstadoReq + #kamcheEstadoReq{display:none !important;}
.kamche-required + .kamche-required{display:none !important;}
