/*-----------slider---------------*/



#carouselExample {
  position: relative;
     height: calc(100vh - 140px);
  overflow: hidden;
	transition: height 0.5s ease-in-out;

}


.slider-collapse {
  height: 20vh !important;
  transition: height 0.5s ease-in-out;
  overflow: hidden;
}


.carousel-inner img {
        height: calc(100vh - 140px);
    object-fit: cover;
}



.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
   display: flex;
   align-items: center;
    color: #3C3C3C;
  
    
  }
  .carousel-text{
    height: 100%;
  }
  .carousel-text h2 {
    font-size: 2rem;
    font-weight: bold;
  }
  
  .carousel-indicators button {
    width: 15px!important;
    height: 15px!important;
    border-radius: 50%!important;
    background-color: transparent!important;
    border: 2px solid #fff!important;
    opacity: 0.7!important;
    transition: opacity 0.3s ease, transform 0.3s ease;
    -webkit-border-radius: 50%!important;
    -moz-border-radius: 50%!important;
    -ms-border-radius: 50%!important;
    -o-border-radius: 50%!important;
}
  
  .carousel-indicators button.active {
    border: 3px solid #fff!important;
    opacity: 1;
    
  }
  

.carousel-control-icon svg {
    color: var(--primery);
    background:#464646;
    width: 45px;
    height: 45;
}

    
@media only screen and (max-width: 767px) {

.carousel-control-icon svg {
  
    width: 25px;
    height: 25;
}


}

.slider_text1{
  position: relative;
  font-size: 1.5rem;
  display: block;
      font-weight: 600;
          color: #3C3C3C;
}

.slider_text2
{
     display: block;
        color: #3C3C3C;
    
}


.slider-video
{
  width: 100% !important;
  height: 100vh;
  object-fit: cover;
}

.progress-bar-container {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  height: 5px;
  background: #e0e0e0;
  z-index: 10;
  margin: auto;
}
#progress-bar {
  height: 100%;
  background: #3BD4AE;
  width: 0;
  transition: width 1s ease;
}
@media only screen and (max-width: 1023px) {

  .progress-bar-container {

     display: none;
  }
}


.carousel-indicators button.active {
  border: 3px solid #fff !important;
  opacity: 1;
  background: #f48a70 !important;
}
@media only screen and (min-width: 1024px) {
.carousel-indicators{
 
  bottom: 0px;
 text-align: center;
}
}

@media only screen and (max-width: 1023px) {
  .carousel-indicators .container{
    display: flex;
        justify-content: center;
  }
  }


@media only screen and (max-width: 991px) {
#carouselExample {

     height: calc(70vh - 300px);
 

}
.carousel-inner img {
        height: calc(70vh - 300px);
    
}
.slider_text1 {

    font-size: .9rem;
	}
}
/*--------------------------*/

.section-category
{
    padding: 50px 0;
}

.category-box
{
    border: 1px solid #F5EFDE;
    padding: 15px;
    border-radius: 24px;
        background: #fff;
        transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}
.category-box:hover span{
color: #f5886b;
}

.category-box:hover{
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.category-box figure{

margin-bottom: 0;

}
.category-box img {


  height: 100px;

}

.category-box a
{
  display: flex;
    justify-content: center;
}

.category-box span
{
  color:#313131;
      font-weight: 600;
       white-space: nowrap;
}


/*--------------------------*/


.section-adv1{

    padding: 50px 0 ;
}



.section-adv2{

    padding: 50px 0 ;
}

.adv-img{
  margin-bottom: 0;
}
.adv-img img

{
      width: 100%;
          border-radius: 24px;
}
.adver-holder {
  position: relative;
}

.adv-title,.adv-subtitle
{
  position: absolute;
    right: 30px;
    margin: auto;
    text-align: center;
    font-weight: 600;
    color: #000;
    top: 33px;
    font-size: 1.3rem;
}
.adv-subtitle{
  top: 82px;
font-size: .9rem;

}

.adv-link{
position: absolute;
    right: 30px;
    margin: auto;
    text-align: center;
    color: #5A5B5C;
    bottom: 35px;
    background: #fff;
    width: 85px;
    border-radius: 5px;
    padding: 2px 10px;
    font-size: .9rem;
    font-weight: 600;
    bottom: 40px; transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}
.adv-link:hover{
  width: 95px;
}
/*-----------------*/
.section-bestsell-products{
 padding: 0px 0 50px 0;
}

/*--------------------------*/
.section-news{
padding: 50px 0 0 0;
}
.news-img{
   margin-bottom: 0;
}
.news-img img{
   height: 190px;
   width: 100%;
   object-fit: cover;
   border-radius:24px 24px 0 0  ;
   -webkit-border-radius:24px 24px 0 0  ;
   -moz-border-radius:24px 24px 0 0  ;
   -ms-border-radius:24px 24px 0 0  ;
   -o-border-radius:24px 24px 0 0  ;
}

.news-box{
  background-color: #fff;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}


.news-box:hover
{
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.news-box  a{
  color: #000;
}
.news-box:hover a
{

   color:  #F48A70;
}


.news-header
{
      font-size: 1.3rem;
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
     color: #000;
}


.news-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 70px;
   
}

.section-brand{
  padding:50px 0 0 0 ;
}
.swiper-brand-holder{
  position: relative;
}
.brand-box {
    border: 1px solid #F5EFDE;
    padding: 15px;
    border-radius: 24px;
    background: #fff;
    height: 125px;
    display: block;
    margin: auto;
    display: flex;
     transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.brand-box:hover img
{
  transform: scale(.8);
  -webkit-transform: scale(.8);
  -moz-transform: scale(.8);
  -ms-transform: scale(.8);
  -o-transform: scale(.8);
}



.swiper-button-next svg {
  
    transform: rotate(180deg);
}
@media only screen and (max-width: 991px) {

.section-brand{
  padding:30px 0 0 0 ;
}


.adver-holder {
 
    margin-bottom: 15px;
}
.logo-box img
{
      margin:auto;
    display: flex
}


.insert-values {
  
    padding: 30px 12px;
    font-size: .8rem;
}

.selection-column{

  margin-bottom: 15px;
}
.category-box span {
 
    font-size: .9rem;
   
}

.section-category
{
    padding: 30px 0;
}


.section-adv1 {
    padding: 30px 0;
}
.section-adv2 {
    padding: 30px 0;
}

.section-news {
    padding: 30px 0 0 0;
}

.adv-title {
 
    font-size: 1rem;
}
 .adv-subtitle {
 
    font-size: .8rem;
    top: 65px;
}


.adv-link {

    bottom: 20px;

}


}
@media only screen and (max-width: 767px) {
 .advertise-img img {
   
    width: 144px;

}

}
.custom-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* متن تولتیپ */
.custom-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 130%; /* پایین آیکون */
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 10;
}

/* حالت hover */
.custom-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
