.Catelogue{
    display:flex;
    flex-direction: column;
    width:80%;
    margin:5rem auto;
    gap:3rem;
justify-content: center;
    align-items: center;
}

.Cateloguetext{
    width:40%;
    text-align: center;
}
.Cateloguetext h1{
    font-size: 52px;
    line-height: 70px;
    font-weight: 400;
    
}
.Cateloguetext h1 span{
    color: #727272;
}
.Cateloguetext p{

    color:#52525B;
    font-size: 18px;
    text-decoration: underline;
}
.category-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}

.categories{
    display:flex;
    overflow:auto;
    scroll-behavior: smooth;
    flex:1;
    gap:25px;
    background-color: #FFFFFF;
    padding: 10px;
}
.category{
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background-color: #F5F5FF;
    padding:10px 65px;
    white-space: nowrap;
    cursor:pointer;

}

.scroll-btn{
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color:#ffff;
    padding:0.5rem 2rem;

}
.categories::-webkit-scrollbar{
    display:none;
}

.category.active {
  background:#FF0F24;
  color: #fff;
}

.products{
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  width:100%;
}

.product-card{
  
  border-radius: 30px;
  background-position: center;
  background-size: cover;
  text-align: center;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
   flex: 1 1 calc(33.33% - 30px);  /* grow, shrink, min-width */
  min-width: 300px;
  max-width: 400px;
  overflow: hidden;
 position: relative;
 min-height: 350px;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 cursor: pointer;
 

}

.product-top {

  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  position: relative;
  z-index:8888;
}

.product-card .badge{
  background: red;
  color: white;
  padding: 5px 12px;
  border-radius:20px;
  font-size: 13px;
  font-weight: bold;
 box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}
.productimage{
  position:absolute;
  top:0;
  left:0;
  object-fit:cover;
  z-index:-999;
}
.arrow-btn {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display:flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
  
}

.arrow-btn:hover {
  background: #f35d69;

}



.product-card .product-info{
  padding:20px 10px;
  background: rgba(255, 255, 255, 0.51);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5.4px);
-webkit-backdrop-filter: blur(5.4px);
border: 1px solid rgba(255, 255, 255, 0.14);
  width:95%;
  text-align: left;
  border-radius: 0px 20px 0px ;
  display:flex;
  flex-direction: column;
  gap:10px;

}
.product-card:hover {
  transform: scale(1.02);

}


.product-info h3 {
  margin: 0;
  font-size: 22px;
  color:#fff;
}

.product-info p {
  font-size: 13px;
  color: #555;
}

@media screen and (max-width:1500px){
  .Cateloguetext{
    width:60%;
  }
}
@media screen and (max-width:1000px){
  .Cateloguetext{
    width:70%;
  }
}


@media screen and (max-width:850px){
   .Cateloguetext{
    width:90%;
  }
.Cateloguetext h1{
    font-size: 42px;
     line-height: 50px;
     margin:0;
}
}

@media screen and (max-width:650px){
   .Cateloguetext{
    width:90%;
  }
.Cateloguetext h1{
    font-size: 32px;
    line-height:40px;
}
.category{
  padding:10px 20px;
    font-size: 17px;
}
.arrow-btn{
  width:20px;
  height:20px;
}
.scroll-btn{
  padding: 10px 20px;

}
}
@media screen and (max-width:450px){
   .Cateloguetext{
    width:90%;
  }
.Cateloguetext h1{
    font-size: 24px;
   
}
.category{
  padding:10px 10px;
  font-size: 15px;
}
}