/*********************************
row1
*********************************/
.slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - var(--header-height));
}

.slider {
  display: flex;
  height: 100%;
  /* transition: transform 0.5s ease-in-out; */

}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.5s ease-in-out;
  background: rgba(0,0,0,0.5);
  padding: 20px;
  color: #fff;
  text-align: center;
  max-width: 70%;
  border-radius: 10px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.slide-content.visible {
  opacity: 1;
  visibility: visible;
}

.slide-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.slider-controls {
  position: absolute;
  padding: 0 20px;
  bottom: 30px;
  width: 100%;
  display: flex;
  gap: 20px;
  transform: translateY(-50%);
  z-index: 1;
}

.slider-controls span {
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: rgb(59, 59, 59);
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.429);
  backdrop-filter: blur(20px);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
  border-radius: 15px;
}

@media(max-width: 770px){
  .slider-wrapper {
    height: 500px;
  }
}
@media(max-width: 460px){
  .slider-wrapper {
    height: 300px;
  }
}




/*********************************
row2
*********************************/
#home .row2{
  margin-top: 60px;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

#home .row2 .inner-container{
  width: 1300px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

#home .row2 h2{
  font-size: 40px;
  font-family: var(--font-bold);
  font-weight: 1000;
  text-align: center;
  color: black;
}

#home .row2 hr{
  height: 7px;
  width: 150px;
  background-color: var(--main-color);
  border: none;
  border-radius: 100%;
  align-self: center;
  margin: 0;
}

#home .row2 .p-cats-loop-container{
  width: 100%;
  margin-top: 30px;
  position: relative;
}

#home .row2 .p-cats-loop-container .product-categories-loop{
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 20px 0 50px 0;
  gap: 10px;
  
}

#home .row2 .p-cats-loop-container .product-categories-loop .category-card{
  flex: 0 0 auto;
  width: var(--cards4);
  scroll-snap-align: start;
  height: auto;
  aspect-ratio: 1;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 5px 7px -3px rgba(0, 0, 0, .3);
}

#home .row2 .p-cats-loop-container .product-categories-loop .category-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#home .row2 .p-cats-loop-container .product-categories-loop .category-card
 .category-thumb{
  overflow: hidden;
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
 }

#home .row2 .p-cats-loop-container .product-categories-loop .category-card h3{
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90%;
  transform: translate(-50%, 0);
  font-size: 14px;
  font-family: var(--font-medium);
  font-weight: 1000;
  color: white;
  text-align: center;
  padding: 10px 20px;
  border-radius: 15px 15px 0 0;
  background-color: var(--main-color);
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.265);
  backdrop-filter: blur(20px);
}



#home .row2 .p-cats-loop-container .loop-controls{
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;

}

#home .row2 .p-cats-loop-container .loop-controls span{
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: rgb(59, 59, 59);
  cursor: pointer;
  background: var(--acent-color);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
  border-radius: 15px;
}



/*********************************
row2      RESPONSIVE
*********************************/
@media(max-width: 770px){
  #home .row2 .inner-container{
    width: 100%;
    padding: 0 10px;
  }

  #home .row2 .inner-container h2{
    font-size: 30px;
  }

  #home .row2 .p-cats-loop-container .product-categories-loop .category-card{
    flex: 0 0 auto;
    width: var(--cards2)
  }
  #home .row2 .p-cats-loop-container .product-categories-loop .category-card h3{
    font-size: 12px;
  }
}





/*********************************
row3
*********************************/
#home .row3{
  margin-top: 80px;
  display: flex;
  justify-content: center;
  background-image: url(https://iliapokhtalborz.com/wp-content/uploads/2025/08/banner034561.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 500px;
}

#home .row3 .inner-container{
  width: 1300px;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#home .row3 .inner-container h2{
  font-size: 40px;
  font-family: var(--font-bold);
  font-weight: 1000;
  color: black;
  text-align: center;
}

#home .row3 .inner-container .icon-box-container{
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#home .row3 .inner-container .icon-box-container .icon-box{
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.468);
  backdrop-filter: blur(20px);
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}


#home .row3 .inner-container .icon-box-container .icon-box .icon svg{
  width: 50px;
  height: 50px;
}

#home .row3 .inner-container .icon-box-container .icon-box .icon svg path{
  fill: var(--main-color);
}

#home .row3 .inner-container .icon-box-container .icon-box h3{
  font-size: 25px;
  font-family: var(--font-bold);
  font-weight: 1000;
  color: var(--main-color);
}

#home .row3 .inner-container .icon-box-container .icon-box p{
  margin: 0;
  font-size: 18px;
  font-family: var(--font-medium);
  font-weight: 500;
  color: black !important;
}


/**********************************
row3      RESPONSIVE
*********************************/
@media(max-width: 770px){
  #home .row3{
    min-height: 400px;
    background-position: 30% 50%;
  }

  #home .row3 .inner-container{
    width: 100%;
    padding: 30px 10px;
  }

  #home .row3 .inner-container h2{
    font-size: 30px;
  }

  #home .row3 .inner-container .icon-box-container .icon-box h3{
    font-size: 20px;
  }

  #home .row3 .inner-container .icon-box-container .icon-box p{
    font-size: 14px;
    text-align: justify;
  }
}