/* ConsultaRUC V2.2: solo tarjetas y composicion interna de #tidcr-planes.
   Prevalece sobre V2/V2.1, sin afectar formularios ni Culqi. */
body.tidcrv-active #tidcr-planes #tidcrv-servicio.tidcrv-v22-ready .tidcrv-v22-oldintro{display:none !important}
body.tidcrv-active #tidcr-planes #tidcrv-servicio.tidcrv-v22-ready{
  width:100%!important;max-width:none!important;min-width:0!important;
  background:transparent!important;padding:0!important;margin:0!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-layout{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column!important;gap:22px!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;width:100%!important;margin:0!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special{
  position:relative!important;box-sizing:border-box!important;min-width:0!important;
  width:100%!important;max-width:none!important;height:auto!important;min-height:150px!important;
  margin:0!important;padding:23px 190px 20px 25px!important;
  background:#fff!important;border:1px solid #d7e5ee!important;border-radius:17px!important;
  box-shadow:none!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;align-items:stretch!important;gap:3px!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special h2,
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special h3{
  margin:0 0 2px!important;font-size:19px!important;line-height:1.25!important;
  letter-spacing:0!important;color:#103956!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special p{
  margin:0!important;font-size:12px!important;line-height:1.45!important;color:#678097!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special ul{
  display:none!important; /* Los detalles permanecen sin alteraciones en el HTML original. */
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special :is(strong,.cr-price,.cr-plan-price,.price){
  font-size:18px!important;line-height:1.25!important;color:#008ea7!important;
  margin-top:2px!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special :is(button,a[class*=btn],a[class*=button]){
  position:absolute!important;right:24px!important;top:50%!important;
  transform:translateY(-50%)!important;margin:0!important;
  padding:12px 15px!important;min-height:43px!important;
  width:auto!important;max-width:158px!important;white-space:normal!important;text-align:center!important;
  background:#eaf6fa!important;color:#07517c!important;border:0!important;
  border-radius:10px!important;font-weight:750!important;font-size:12px!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-layout>.cr-plan-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;width:100%!important;max-width:none!important;margin:0!important;
  padding:0!important;align-items:stretch!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-layout>.cr-plan-grid>article.cr-plan{
  box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;
  height:100%!important;margin:0!important;padding:26px 25px 22px!important;
  border-radius:17px!important;background:#fff!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-layout>.cr-plan-grid>article.cr-plan.tidcrv-featured{
  border:2px solid #04aaca!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-layout>.cr-plan-grid>article.cr-plan h2,
body.tidcrv-active #tidcr-planes .tidcrv-v22-layout>.cr-plan-grid>article.cr-plan h3{
  font-size:22px!important;line-height:1.25!important;margin:2px 0 7px!important;
}
body.tidcrv-active #tidcr-planes .tidcrv-v22-layout>.cr-plan-grid>article.cr-plan :is(button,a[class*=btn],a[class*=button]){
  width:100%!important;max-width:none!important;
}
@media(max-width:800px){
  body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special{padding-right:150px!important}
  body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special :is(button,a[class*=btn],a[class*=button]){max-width:120px!important;right:13px!important}
}
@media(max-width:650px){
  body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow,
  body.tidcrv-active #tidcr-planes .tidcrv-v22-layout>.cr-plan-grid{grid-template-columns:1fr!important}
  body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special{padding:20px 16px 75px!important}
  body.tidcrv-active #tidcr-planes .tidcrv-v22-specialrow>article.cr-plan-special :is(button,a[class*=btn],a[class*=button]){
    top:auto!important;bottom:16px!important;right:auto!important;left:16px!important;transform:none!important;max-width:calc(100% - 32px)!important;
  }
}
