/* V14.3 - chat más pequeño + filtros alineados + comparador activo */
.v14-ai-panel{
  width:min(350px,88vw)!important;
  height:min(470px,68vh)!important;
  max-height:68vh!important;
  right:18px!important;
  bottom:140px!important;
  border-radius:22px!important;
}
.v14-ai-head{padding:12px 14px!important}
.v14-ai-head b{font-size:16px!important}
.v14-ai-chat{
  max-height:285px!important;
  padding:10px!important;
  gap:8px!important;
}
.v14-msg{
  font-size:13px!important;
  padding:10px 12px!important;
  border-radius:15px!important;
  max-width:92%!important;
}
.v14-chips{
  padding:0 10px 10px!important;
  gap:6px!important;
  max-height:82px!important;
}
.v14-chips button{
  font-size:12px!important;
  padding:7px 9px!important;
}
.v14-ai-form{
  padding:10px!important;
  grid-template-columns:1fr 44px!important;
}
.v14-ai-form input{
  padding:10px!important;
  font-size:13px!important;
}
.v14-ai-button{
  padding:12px 14px!important;
  font-size:13px!important;
  right:20px!important;
  bottom:88px!important;
}

/* filtros de categoria: check/cuadro + texto + contador en la misma línea */
.filter-chip,
.filters .filter-chip,
.sidebar .filter-chip,
.category-option,
.filter-option{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:48px!important;
}

.filter-chip label,
.filter-chip span:first-child,
.category-option label,
.filter-option label{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:1!important;
  line-height:1!important;
  margin:0!important;
}

.filter-chip input[type="radio"],
.category-option input[type="radio"],
.filter-option input[type="radio"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  border:2px solid #BBD4EA!important;
  border-radius:6px!important;
  background:white!important;
  display:inline-grid!important;
  place-content:center!important;
  margin:0!important;
  vertical-align:middle!important;
}
.filter-chip input[type="radio"]::before,
.category-option input[type="radio"]::before,
.filter-option input[type="radio"]::before{
  content:"✓";
  font-size:13px;
  font-weight:950;
  color:white;
  transform:scale(0);
}
.filter-chip input[type="radio"]:checked,
.category-option input[type="radio"]:checked,
.filter-option input[type="radio"]:checked{
  background:linear-gradient(135deg,#075BFF,#00B8D9)!important;
  border-color:#00B8D9!important;
}
.filter-chip input[type="radio"]:checked::before,
.category-option input[type="radio"]:checked::before,
.filter-option input[type="radio"]:checked::before{
  transform:scale(1);
}
.filter-chip .count,
.filter-count,
.badge-count{
  margin-left:auto!important;
  line-height:1!important;
}

/* comparador: elimina texto de próximamente */
.compare-next,
.compare-soon,
.compare-panel .next-step,
#comparePanel .next-step{
  display:none!important;
}

@media(max-width:700px){
  .v14-ai-panel{
    left:auto!important;
    right:10px!important;
    width:min(330px,92vw)!important;
    height:58vh!important;
    max-height:58vh!important;
    bottom:132px!important;
  }
  .v14-ai-chat{max-height:calc(58vh - 170px)!important}
  .v14-ai-button{
    right:14px!important;
    bottom:86px!important;
  }
}
