*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.nav-bar {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content:space-between ;
    background-color: black;
    text-align: end;
    padding: 10px 20px;
}
.nav-bar a{
    text-decoration: none;
    color: white;
    display: flex;
    align-items: end;
 margin: 10px 10px;
 font-size: 22px;

}
.nav-bar a:hover {
    color: white;
}
.nav-bar i{
    width: 27px;
    color: white;
   margin-left: 10px;
}
.nav-bar h1{
    margin-top: 10px;
    color:white;
}
.main{
 display: grid;
  grid-template-columns: 1fr 1fr ;
}
.main img{
 
    width: 100%;
    height: 100%;
    margin-top: 40px;
}


.product-card{
   margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr ;
}
.product-card img{
    width: 100%;
    height: 100%;
      padding:0 40px;
       object-fit: contain;
  margin-bottom: 1rem;
}
.product-card a {
display: flex;
justify-content: center;
  padding: 10px 4px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.product-card h3 {
    margin-top: 20px;
  font-size: 19px;
  margin-bottom: 0.5rem;
}
.product-card p {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 0.5rem;

}
.product-card a:hover {
  background-color: #0056b3;
}
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
   box-shadow:#D8EFEF 1px 1px 10px 0px ;
}

.filter-bar select,
.filter-bar input {
  background-image: linear-gradient(to right, #eeeeee, #e0e0e0);
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 80px;
}

@media screen and (min-width: 992px){
  .main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr  ;
    gap: 7px;
    width: 100%;
    border-radius: 10px;
    margin: 30px 0;
    height: 100%;
    margin-top: 0px;
    padding:  50px 10px;
}
  #product-scroll-container {
  padding: 1rem;
 
  
}
.product-section {
  padding: 1rem;
}
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
 margin-left: 0px;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  
}

#product-list {
  display: grid;
  grid-template-columns: 1fr 1fr ;
  gap: 2rem;
   overflow-x: auto;
  scroll-snap-type: x mandatory;
}
  .product-card{
   flex: 0 0 auto;
   flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  width: 100%;
  gap: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

}

.product-card img{
  border-radius: 12px;
  background-color: #8b8585;
  padding: 1rem;
   border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    width: 70%;
    height: 100%;
      padding:0 40px;
       object-fit: contain;
  margin-bottom: 1rem;
}
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
  font-size: 20px;
}
.filter-bar select,
.filter-bar input {
  background-image: linear-gradient(to right, #eeeeee, #e0e0e0);
  padding: 22px;
  width: 41%;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 20px;
}

}

