.apps-section {
  color: white;
  text-align: center;
}

.apps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.apps-grid img {
  width: 110px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.apps-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .apps-grid img {
    width: 90px;
  }

  .app-nba {
    width: 100px;
  }
}

/*NUEVA CAJA PAQUETES*/
.plans{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 950px;
    margin: auto;
    position: relative;
    z-index: 1;
}
.plan{
    background-color: #3c4066;
    line-height: 1.2;
    font-size: 14px;
    color: #ffffff;
    border-radius: 15px;
    border: 1px solid #E3F9FD;
    flex-grow: 1;
    max-width: 300px;
}
.plan a{
    color: #FFFFFF;
}
.plan .header{
    position: relative;
    border-radius: 15px 15px 0 0;
    padding: 1.3rem 1rem 1.2rem;
    margin: 0 0 .8rem;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    z-index: 1;
}
.plan .header:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    border-radius: 1.6rem .5rem 10rem .8rem;
    z-index: -1;
}
.plan._100 .header:before{
    background: linear-gradient(90deg, #F28A11 0%, #FFCA1A 100%);
}
.plan._250 .header:before{
    background: linear-gradient(90deg, #264294 0%, #52A9DC 100%);
}
.plan._350 .header:before{
    background: linear-gradient(90deg, #76159A 0%, #D147B7 100%);
}
.plan._550 .header:before, .plan_500 .header:before{
    background: linear-gradient(90deg, #25045E 0%, #8434DB 100%);
}
.plan._1000 .header:before{
    background: linear-gradient(90deg, #FCA44C 0%, #EA4101 100%);
}
.plan._1200 .header:before{
    background: linear-gradient(90deg, #306F21 0%, #64D541 100%);
}

.plan.speakers._500 .header:before{
    background: linear-gradient(90deg, #25045E 0%, #8434DB 100%);
}
.plan.speakers._1000 .header:before{
    background: linear-gradient(90deg, #264294 0%, #52A9DC 100%);
}
.plan.speakers._1200 .header:before{
    background: linear-gradient(90deg, #CC3636 0%, #FF6E2E 100%);
}

.promo-price {
  font-size: 26px;
  font-weight: 700;
}

.promo-price .price-before {
  font-size: 16px;
  text-decoration: line-through;
  color: #ccc;
  margin-right: 10px;
  vertical-align: middle;
}

.plan .header:after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 70px;
    background: url(img/tp_tv.png) no-repeat 50%/contain
}
.plan.tvNew .header:after{
    height: 90px;
    bottom: -12px;
    background: url(img/paquetes/tp_tv_new.png) no-repeat 50%/contain
}
.plan._2p .header:after{
    background: url(img/paquetes/wifipro.png) no-repeat 50%/contain
}
.plan.speakers .header:after{
    background: url(img/paquetes/speakers.png) no-repeat 50%/contain
}
.plan .header span{
    font-style: italic;
}
.plan .header span.mbs{
    font-size: 30px;
    font-weight: 700;
    font-style: normal;
    display: block;
    margin-bottom: .33rem;
}
.plan .content{
    text-align: center;
}
.plan .content .includes{
    display: flex;
    flex-wrap: wrap;
    min-height: 112px;
    gap: 0 .5rem;
    padding: 0 .8rem;
    text-align: left;
}
.plan .content .includes > div{
    max-width: 100%;
    flex: 1 0 48.5%;
    font-size: 12px;
    font-weight: 500;
    background-color: #6575a0;
    border-radius: 5px;
    padding: .5rem .5rem .5rem 2rem;
    margin: .5rem 0 0;
    position: relative;
    cursor: pointer;
    height: 44px;
    align-content: center;
}
.plan .content .includes > div:before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: .4rem;
    width: 20px;
    height: 100%;
}
.plan .content .includes > div.apple{
    font-size: 14px;
    background-color: #000000;
    flex-basis: auto;
    padding: .8rem 45% .8rem 1rem;
    width: 100%;
    height: auto;
    margin: 0;
}
.plan .content .includes > div.apple:before{
    background: url(img/icons/appletvb.png) no-repeat center/contain;
    left: auto;
    right: 1.5rem;
    width: 65px;
}

/*planesbase*/
.plan.ofertabase.best .content, .plan.best.paquetes .content{
    position: relative;
}
.plan.ofertabase.best .content:before, .plan.best.paquetes .content:before{
    content: "El más vendido";
    z-index: 1;
    position: absolute;
    left: 3px;
    bottom: 100%;
    padding: 3px 14px;
    margin-bottom: 4px;
    border-radius: 15px;
    background-color: #EF4A01;
    color: #ffffff;
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
}
.plan.best.paquetes .content:before, .plan.best.paquetes.ofertabase .content:before{
    content: "Precio Especial por 3 meses";
}
.plan.ofertabase .content .includes{
    margin-bottom: 1rem;
}
.plan.ofertabase:not(._2p) .content .includes{
    min-height: 163px;
    align-content: start;
}

.plan.speakers .content  .includes .amodal.surround, .plan.speakers .content  .includes .amodal.tvcam  {
    background-color: #1164ba;
}
.plan._100 .content .includes .tp{
    margin-top: 40px !important;
    margin-bottom: 5px !important;
}

.plan .content .includes > div.canales:before, div.canales_nc:before{
    background: url(img/icons/canalesb.svg) no-repeat center/contain;
}
.plan .content .includes > div.clubwifi:before{
    background: url(img/icons/clubwifib.svg) no-repeat center/contain;
}
.plan .content .includes > div.wifi:before{
    background: url(img/icons/wifib.svg) no-repeat center/contain;
}
.plan .content .includes > div.alexa:before{
    background: url(img/icons/alexab.svg) no-repeat center/contain;
}
.plan .content .includes > div.tvcam:before{
    background: url(img/icons/tvcamb.svg) no-repeat center/contain;
}
.plan .content .includes > div.surround:before{
    background: url(img/icons/surroundb.svg) no-repeat center/contain;
}

/*ofertabase tp & netflix*/
.plan.ofertabase .content .includes > div.tp{
    font-size: 14px;
    background-color: #000000;
    flex-basis: auto;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 1rem;
}
.plan.ofertabase .content .includes > div.tp.order-1{
    margin: 0;
}
.plan.ofertabase .content .includes > div.tp:before{
    content: none;
}
.plan.ofertabase.tvNew .content .includes > div.tp:before{
    content: "Nuevo";
    width: 65px;
    height: 22px;
    background: #FE5537;
    border-radius: 7px;
    position: relative;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}
.plan .content .includes > div.tp:after{
    content: "";
    position: relative;
    width: 130px;
    height: 100%;
    background: url(img/icons/totalplay_tv.svg) no-repeat center/contain;
}

/*apps layout gnrl*/
.plan .content .apps{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    padding: 1rem 0;
    min-height: 161px;
}
.plan .content .apps > span{
    width: 100%;
    font-weight: 600;
    margin-bottom: .5rem;
}
.plan .content .apps .app{
    width: 92px;
    height: 92px;
    background: no-repeat center/cover;
    border-radius: 8px;
    cursor: pointer;
}
/*apps layout 1 app*/
.plan .content .apps.one{
    gap: .3rem;
    padding: 1rem 4rem;
}
.plan .content .apps.one .app{
    width: 47px;
    height: 47px;
    border-radius: 3px;
}
/*apps layout 2 apps*/
.plan .content .apps.two{
    gap: .5rem;
}
.plan .content .apps.two .app{
    width: 56px;
    height: 56px;
    border-radius: 3px;
}
.plan .content .apps .app.amazon{
    background-image: url(../img/icons/app_amazon.svg);
}
.plan .content .apps .app.hbo{
    background-image: url(../img/icons/app_hbo.png);
}
.plan .content .apps .app.hbo.adds{
    background-image: url(../img/icons/app_hbo_adds.svg);
}
.plan .content .apps .app.paramount{
    background-image: url(../img/icons/app_paramount.svg);
}
.plan .content .apps .app.universal{
    background-image: url(../img/icons/app_universal.svg);
}
.plan .content .apps .app.picardia{
    background-image: url(../img/icons/app_picardia.svg);
}
.plan .content .apps .app.karaoke{
    background-image: url(../img/icons/app_karaoke.png);
}
.plan .content .apps .app.qello{
    background-image: url(../img/icons/app_qello.svg);
}
.plan .content .apps .app.disney{
    background-image: url(../img/icons/app_disney.svg);
}
.plan .content .apps .app.foxsports{
    background-image: url(../img/icons/app_foxsports.svg);
}
.plan .content .apps .app.nba{
    background-image: url(../img/icons/app_nba.svg);
}
.plan .content > a{
    text-decoration: underline;
    cursor: pointer;
}
.plan .content > hr{
    width: 85%;
    border-color: #ffffff;
    margin: 1rem auto;
    opacity: 1;
}
.plan .content .priceBefore{
    text-decoration: line-through;
}
.plan .content .price{
    font-size: 26px;
    font-weight: 700;
}
.plan .content .choose{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1689FF;
    border: 0;
    border-radius: 0 0 15px 15px;
    padding: .8rem 0;
    width: 100%;
    margin: 1rem auto 0;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}
@media(max-width: 767px){
    .plans::-webkit-scrollbar{
        display: none;
    }
    .plans{
        justify-content: normal;
        flex-wrap: nowrap;
        overflow-x: scroll;
        gap: .8rem;
    }
}
@media(max-width: 991px){
    .plans .plan{
        flex: 0 0 auto;
    }
}

.includes .amodal.img-only {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.includes .amodal.img-only img {
  max-height: 30px; /* Ajusta a tu gusto */
  max-width: 90%;   /* Deja espacio a los lados */
  object-fit: contain;
}

.youtube-lazy {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  margin: 1rem auto;
}

.youtube-lazy .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: url('https://img.icons8.com/ios-filled/100/ffffff/play--v1.png') no-repeat center;
  background-size: contain;
}