*{
    margin: 0;
    padding: 0;
    
}
a .login{
    border:2px solid rgb(29, 29, 223);
    color: rgb(29, 29, 223);
    height: 50px;
    width: 100px;
    border-radius: 10px;
    text-align: center;
    padding: auto;
    font-weight: 700;
   
}
a .login:hover{
    background-color:rgb(29, 29, 223) ;
    color: white;

}

nav input{
    width: 500px;
}

.category{
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
    overflow-x:auto;
}
.category-img{
    width: 300px;
    margin: 10px 20px;
}
.category img {
    width: 60%;
    padding: 10px;
}

.category div:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    font-weight: 500;
  }

  .category a{
    text-decoration: none;
    color: black;
  }


h2{
    text-align: center;
    color:  #4A3CE7;
    margin-top: 20px;
}

h2 img{
    width: 5%;
    padding: 10px;
    text-align: center;
}

.products-items{
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
   height: 50vh;
    
}

.product-container {
    width: 90%; /* Container width */
    overflow-x: auto; /* Horizontal scrolling */
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
}

.product {
    flex: 0 0 auto; /* Prevent products from shrinking or growing */
    width: 250px; /* Fixed width for each product */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #fff;
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-details {
    padding: 15px;
    text-align: center;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;



    margin-bottom: 10px;
}

.product-price {
    font-size: 16px;
    color: #e67e22;
}

/* Hover effects */
.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product img:hover {
    transform: scale(1.05);
}

/* Scrollbar customization */
.product-container::-webkit-scrollbar {
    height: 8px;
}

.product-container::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 4px;
}

.product-container::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    nav input{
        width: 160px;
        
    }
    .login-btn button {
        width: 90px;
        height: 50px;
    }
    .category img {
        width: 80%;
        padding: 10px;
    } 
}