
* {
    -webkit-tap-highlight-color: transparent;
}

.header{
    display: none;
}

.backButton{
    display: flex;
}
.body-container {
    padding: 0px 0px 0px 0px;
}

/* Header row */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.sort-select {
  /* display: none; */
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px;
  background: #fff;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

/* Grid layout */
.cards-row {

  /* display: flex;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  flex-wrap: wrap; */
       

         display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  width: 168px;
  height: 111px;
  min-width: 168px;
}

.card:hover {
  /* transform: translateY(-4px); */
}

/* ✅ FIX: Remove white gap between image and label */
.card img {
  width: 100%;
  height: 100px;
  /* object-fit: contain; */
  background: #f3f4f6;
  display: block;   /* removes inline spacing below img */
  margin: 0;
  padding: 0;
  border: none;
  height: 83px;
}

/* Label section directly touches the image */
.card-label {
      padding: 6px;
    text-align: center;
    background: #334155;
    color: #C5C6CC;
    line-height: 1.4;
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 14px;
}
/* Responsive tweaks */
.inner-section-title{
    font-family: Lato;
font-weight: 700;
font-style: Bold;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: -0.24px;
vertical-align: middle;
/* color: #334155; */
color: #202936;
display: flex;
align-items: center;
gap: 4px;

}


.sub-category-btn {
    /* padding: 5px 0;
    padding-bottom: 10px; */
    padding: 8px 7px;
    color: #95A0B1;
    cursor: pointer;
    font-family: Lato;
    font-weight: 400;
    font-size: 16px;
    /* text-align: center; */
    text-align: start;
    position: relative;
    display: inline-block;
    width: 100%;
    /* padding-left: 5px; */
    /* Ensure that the element wraps its content */
}

.sub-category-btn.active {
    font-weight: bold;
    color: #334155;
    font-size: 16px;
    background: #F4F4F4;
    padding: 9px 5px 7px 9px;
    border-radius: 6px;

}

/* subs style start here */

/* --- Main container --- */
.plans {
  /* max-width: 450px; */
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
   font-family: Lato;
  color: #252E3C;
  margin: 20px auto;
  border: 1px solid #E3E3E4;
  max-width:600px;
  width: 100%;
}

.plans-title{
  font-family: Lato;
font-weight: 900;
font-style: Black;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
color: #202936;
padding-bottom: 15px;
padding-top: 3px;

}
/* --- Close icon --- */
.subs-crossicon {
  text-align: right;
  cursor: pointer;
  margin-bottom: 10px;
}

/* --- Info texts above plans --- */
.plan-deatails-info {
  /* margin-top: 20px; */
}
.plan-info-text {
  font-family: Lato;
font-weight: 500;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
color: #47576E;
display: flex;
align-items: center;
gap: 5px;
padding: 5px 0px;
}

/* --- Card container --- */
.choose-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
 
}

/* --- Individual plan card --- */
.choose-card {
  display: flex;
  /* flex-direction: column; */
  width: 100%;
   gap: 10px;
}

.choose-radio-form {
  width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

 .choose-radio-option {
 background: #fff;
 border-radius: unset;
 padding: unset;
 height: auto;
 padding-top: 10px;

}
.choose-radio-option.selected {
  background: #fff;
  border: none;
  border-radius:unset;
  padding: unset;
  padding-top: 10px;
}



.choose-radio-option input {
    margin-right: 10px;
}
.choose-month-subs{
      display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0px 10px 0px;
}

/* --- Selected plan --- */
/* .choose-radio-option.active,
.choose-radio-option:has(input:checked) {
  border-color: #f97316;
   border: 2px solid #f97316;
  background-color: #fff8f3;
  
} */

/* --- Plan title and price --- */
.subs-title {

  font-family: Lato;
font-weight: 500;
font-style: Medium;
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #828384;


}
.liteprice{
  font-family: Lato;
font-weight: 900;
font-style: Black;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-decoration: line-through;
color: #9F9D9D;
margin-right: 5px;

}

.price-input {
 
 color: #202936;
  font-family: Lato;
font-weight: 900;
font-style: Black;
font-size: 25px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

/* --- Discount text --- */
.saveannual-parent {
 
background: #FFF0A2;
  border-radius: 20px;
  padding: 10px 8px;

 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 min-width: 150px;
}
.saveannual-fiftyperc{
font-family: Lato;
font-weight: 700;
font-style: Bold;
font-size: 11px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #000000;

}
.saveannual-text{
font-family: Lato;
font-weight: 400;
font-style: Regular;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #000000;

}
.plan-info-tv{
  display: flex;
  flex-direction: column;
  /* padding-bottom: 10px; */
  width: 100%;
   min-width: unset
}
.plan-info-oter-childtext{
  font-family: Lato;
font-weight: 600;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 120%;
letter-spacing: 0%;
/* color: #404F65; */
color: #006CBA;
padding: 10px 0px;


}
.plan-info-inner-childtext{
font-family: Lato;
font-weight: 600;
font-style: Regular;
font-size: 14px;
leading-trim: NONE;
line-height: 120%;
letter-spacing: 0%;
color: #202936;

border: 1px solid #FF7A004D;
background: #FFFBF7;
padding: 10px 10px;
border-radius: 8px;


}
.plan-info-childcolortext{
font-family: Lato;
font-weight: 600;
font-style: SemiBold;
font-size: 14px;
leading-trim: NONE;
line-height: 120%;
letter-spacing: 0%;

color: #202936;

}
.plan-info-childdiscountprice{
  color: #737373;
font-family: Lato;

font-weight: 600;
font-style: Black;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-decoration: line-through;
margin-right: 3px;
}

.hidden-radio {
  display: none;
}

/* Create custom radio label */
.custom-radio-label {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #B0AEAE;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #fff;
  vertical-align: middle;
}

/* When checked, fill with orange and add checkmark */
.hidden-radio:checked + .custom-radio-label {
  background-color: #f97316;
  border-color: #f97316;
}

.hidden-radio:checked + .custom-radio-label::after {
  content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 3px;
    height: 9px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Hover effect */
.custom-radio-label:hover {
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* --- Plan highlights list --- */
.plan-percentage {
  text-align: right;
}

/* --- Pay button section --- */
.price-btn {
  margin-top: 20px;
  text-align: center;
}

.final-selected-price{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* max-width: 600px; */
}
.clicktopayBtn {
 background: #FF7A00;

  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  max-width: 400px;

  font-family: Lato;
font-weight: 900;
font-style: Black;
font-size: 18px;
leading-trim: NONE;
line-height: 150%;
letter-spacing: -0.16px;

}

.clicktopayBtn:hover {
  background: #FF7A00;
}

/* --- Annual plan highlight (orange border) --- */
/* .choose-radio-option.annual-plan {
  border: 2px solid #f97316;
  background: #fff8f3;
  position: relative;
} */

/* .choose-radio-option.annual-plan::after {
  content: "YOU SAVE 50% on annual plan";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #FFEBB3;
  color: #000;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 6px;
  border-radius: 4px;
} */
.activesubscriptionplantext{
  font-family: Lato;
font-weight: 500;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-decoration: underline;
text-decoration-style: solid;
text-decoration-offset: 0%;
text-decoration-thickness: 0%;
color: #147FD4;
display: flex;
    align-items: center;
    padding-bottom: 20px;
    /* justify-content: center; */

}



/* slide of subscription  toggle start */
.billing-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* background: #f2f2f2; */
  background: #E6E7E7;

  border-radius: 40px;
  padding: 4px;
  min-width: 240px;
}

.billing-toggle input {
  display: none;
}

.option {
  padding: 8px 18px;
  cursor: pointer;
  z-index: 2;
  color: #777;
  transition: color .25s ease;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-family: 'Lato';
  font-weight: 500;
}

.tag {
  display: flex;

font-family: Lato;
font-weight: 700;
font-style: Bold;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #006CBA

}
.yearly-option .tag{
  display: flex;
  align-items: center;
}

/* Slider */
.slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 40px;
  transition: all .25s ease;
  /* box-shadow: 0 1px 3px rgba(0,0,0,.15); */
  z-index: 1;
  border: 0.5px solid #BDBDBD;
  box-shadow: 2px 2px 10px 0px #0000001F;
  color: #334155;


}

/* ===== Monthly checked ===== */
 #monthly:checked ~ .slider {
  width: calc(82% / 2 - 4px);
  width: calc(70% / 2 - 4px);
  transform: translateX(0);
}
#monthly:checked + label {
 color: #334155;
  font-weight: 500;
}

/* ===== Yearly checked ===== */
#yearly:checked ~ .slider {
  /* width: calc(100% / 2 - 4px);
  transform: translateX(100%); */
  width:62%;
  transform: translateX(56%);
}
#yearly:checked + label {
 color: #334155;

  font-weight: 500;
}


/* subscription slide toggle end */


.single-video-card{
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-title-lable{
    font-family: Lato;
font-weight: 700;
font-style: Bold;
font-size: 16px;
leading-trim: NONE;
line-height: 120%;
letter-spacing: 0px;
color: #334155;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* height: 61px; */
  
}
.sort-search-container{
  display: flex;
  align-items: center;
  gap: 13px;
}
/* .mobile-search{
  line-height: 10px;
  padding-bottom: 10px;
} */

.mobile-search-div .viewall-search-text {
    border: 0;
    outline: none;
    width: 85%;
    float: left;
    position: relative;
    background-color: inherit;
    padding-top: 6px;
}

.desktop-search{
  display: none;
}
.mobile-search{
display: flex;
}

.viewall-header-txt-search {
    width: 0;
    opacity: 0 ;
    background: transparent;
    border: none ;
    outline: none;
    padding: 0;
    transition: all 0.4s ease ;

     /* overflow: hidden;
    flex-grow: 1;  */
}

.viewall-header-txt-search.active {
    /* min-width: 215px !important;
    width: 100% !important; */
    width: 332px;
    opacity: 1 ;
    padding: 5px 10px;
} 
 .viewall-header-btn-search:hover {
        cursor: pointer;
    }
    /* .viewall-header-btn-search {

    background-repeat: no-repeat;
    background-position: center center;
    background-size: 21px 22px;
    float: right;
} */

.viewall-header-btn-search {
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 21px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* prevent it from shrinking */
}
.header-search {
    background: #EFEFEF;
    border-radius: 50px;
    overflow: hidden ;
    border: solid 1px #cccccc;
    padding: 8px ;
    transition: all 0.4s ease;
display: flex;
}
/* subs style end here */
.movetotop{
  display: flex;
  align-items: center;
   position:fixed; 
   bottom:20px; 
   right:15px; 
   z-index:1000;
   background: #A6B2BA;
padding: 10px;
gap: 5px;
}
.movetotop-text{
  font-family: Lato;
font-weight: 600;
font-style: SemiBold;
font-size: 16px;
leading-trim: NONE;
line-height: 150%;
letter-spacing: 0%;
color: #FFFFFF;


}
.card-title{
        display: block;
      }
      .clicktopayBtn.disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}
      .final-selected-price.disabled {
  background: transparent;
cursor: not-allowed;
  pointer-events: none;
}
 .monthly-plan{
    display: none;
  }
   .plandata-parent-container{
    display: flex;
  flex-direction: column;
    gap: unset;
    width: 100%;
  }

 .planinfoandprice-parent {
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: unset;
    width: 100%;
}


 @media (min-width: 991px) {
  .dropdown-options{
      left: -71px;
    right: -8px;
}
  .choose-month-subs{
   
    padding: 0px 0px 10px 0px;
}
  .final-selected-price{
    margin-bottom: 10px;
  }
   .planinfoandprice-parent {
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: space-between;
    
}
  #monthly:checked ~ .slider {
  /* width: calc(82% / 2 - 4px);
  width: calc(88% / 2 - 4px); */
  width: calc(96% / 2 - 4px);
  transform: translateX(0);
}
#yearly:checked ~ .slider {
  /* width: calc(100% / 2 - 4px);
  transform: translateX(100%); */
  /* width:63%;
  transform: translateX(56%); */
  width: 48%;
    transform: translateX(105%);
}
   .billing-toggle {
 min-width: 470px;
  width: 100%;
  justify-content: space-around;

}
  .plan-info-tv{

   min-width: 250px
}

  .choose-radio-option {

    font-size: 16px;

    position: relative;
    z-index: 1;
    margin: 4px;

    display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  align-items: start;
 background: #F3F2F2;
 padding: 10px;
  border-radius: 8px;
  /* height: 170px; */
  height: 150px;
  cursor: pointer;

}

.choose-radio-option.selected {
  background: #fff;
  /* border: 2px solid #116DB6; */
  border: 2px solid #FF7A00;
  border-radius: 8px;
  padding: 10px;
}
  .choose-container {
  padding-top: 10px;
}
   .plans {
        max-width:987px;
        width: 100%;
    }
   .plandata-parent-container{
    display: flex;
    /* align-items: center;
    justify-content: center; */
    flex-direction: unset;
    gap: 20px;
    
    
  }
   .monthly-plan{
    display: unset;
  }

  .sub-category-btn{
    font-size: 18px;
}
.inner-section-title{
  font-size: 28px;
}
  .card {

   min-width: 292px;
  height: 210px;
 
}

/* FIX 1: Make sure no white space between image and label */
.card img {
  width: 100%;
  /* height: 83px; */
  height: 163px;

}

/* FIX 2: Tighten connection between image and label */
.card-label {
 
    width: 100%;
    /* height: 28px; */
    height: 46px;
    font-size: 19px;
    padding-top: 15px;
    /* text-transform: lowercase; */

}

      .card-title{
        display: none;
      }
      .desktop-search{
  display: flex;
}
.mobile-search{
display: none;
}
      .cards-row {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
                justify-content: center;
                gap:26px;
      }
       .card-title-lable{
        font-size: 18px;
        /* height: 66px; */
       }

      /* .card {
        flex: 1 0 22%;
        max-width: 22%;
      } */

      .myspace-card {
        flex: 1 0 48%;
      }


/* carde shrink 4 column card show  start*/
/* .cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 26px;
  width: 100%;
}
.card {
  width: 100%;
  height: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.single-video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
} */
      /* carde shrink 4 column card show  end*/
    }

@media (max-width: 768px) {
  .inner-section-title{
    font-size: 16px;
  }
  /* .cards-row {
     
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    overflow-x: hidden;
  } */
   .cards-row {
    grid-template-columns: 1fr; /* 1 card per row on mobile */
  }
  /* .card img {
    height: 83px;
  } */
      .body-hld {
        padding: 20px 10px 10px 10px;
    }
    .card {
      height: 80px;
      min-width: 110px;
      width: 110px;
      
    }
        .card img {
        height: 52px;
    }
    .card-label{
          width: 110px;
    }
    .single-video-card{
      padding-bottom: 15px;
   border-bottom: 0.5px solid #3C3C4333;
    }

}

@media (max-width: 480px) {
  .section-header {
    align-items: center;
    gap: 8px;
  }
  
}
@media (max-width: 370px) {
/* .choose-radio-option {
    min-width: 140px;
    min-height: 175px;
} */
.saveannual-parent {
    min-width: 134px;
}
/* .subs-title {
    font-size: 14px;
} */

.price-input {
    font-size: 20px;
}

.plan-info-oter-childtext{
  font-size: 13px;
}
.plan-info-childcolortext{
    font-size: 13px;
}
.plan-info-inner-childtext
 { 
    font-size: 11px;
}
.plan-info-text{
  font-size: 13px;
}
.plan-deatails-info {
    /* margin-top: 15px; */
}
    /* .cards-row {
  
          gap: 7px;
    } */
/* .card {
  width: 156px;
  min-width: 156px;
} */
}

@media only screen and (max-width: 320px) {
    .subs-title {
        font-size: 16px !important;
    }
.price-input {
        font-size: 24px !important;
    }
        .choose-radio-option {
        min-width: 87px;
        padding: 9px 0px 0px 0px;
    }
}