body {
    background-color: #FAFAFA;
    font-family: 'Inter', sans-serif;
}


.header {
    /* background-color: green; */
    display: flex;
}

ul {
    display: flex;
    gap: 40px;

}

.header ul a {
    text-decoration: none;
}

ul li {
    list-style: none;
    color: black;
    font-size: 16px;
}

.logo {
    position: relative;
    left: 200px;
    /* background-color: red; */
    height: 40px;
    width: 100px;
    overflow: hidden;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.user-button {
    height: 80px;
    width: 100px;
    background-color: rgb(227, 223, 218);
    position: absolute;
    z-index: 11;
    right: 50px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 20px;
}

.user-button.show {
  display: flex; /* Show when active */
}

.auth-btn {
    width: calc(100% - 0px); /* 130px */
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.auth-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.auth-btn .bx {
    font-size: 20px;
    color: #555;
}

.user {
    position: absolute;
    right: 60px;
    font-size: 20px;
    display: flex;
    gap: 10px;
    top: 25px;

}

.user a {
    color: black;
}


.category-block {
    display: flex;
    /* background-color: green; */
    height: 40px;
    width: 100%;
    gap: 20px;
    position: relative;
    top: 10px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;

}

.category {
    height: 38px;
    max-width: 280px;
    min-width: 100px;
    width: auto;
    background-color: transparent;
    border-radius: 15px;
    position: relative;
    left: 20px;
    cursor: pointer;
    text-align: center;
    border: 1px solid black;
    flex: 10 0 auto;
    width: fit-content;
    transition: background-color 0.2s, color 0.2s;
}

.category.active {
    background-color: black;
    color: white;
  }

.category p {
    position: relative;
    bottom: 6px;
    font-size: 16px;
}

.products {
    height: 330px;
    width: 100%;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    position: relative;
    top: 20px;
    /* background-color: green; */
}



.product-card {
    height: 300px;
    width: 280px;
    /* background-color: grey; */
    position: relative;
    left: 20px;
    top: 10px;
    overflow: hidden;

}



.image {
    height: 200px;
    width: 280px;
    overflow: hidden;
    background-color: white;
    border-radius: 20px;
}

.image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.like {
    background-color: white;
    height: 40px;
    width: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 100%;
    text-align: center;
}

.like i {
    font-size: 24px;
    position: relative;
    top: 8px;
}

.details {
    height: 100px;
    width: 300px;
    /* background-color: white; */
}

.price {
    font-size: 20px;
    position: relative;
    display: flex;
    bottom: 10px;
    left: 5px;
    gap: 10px;
}

.old-price {
    position: relative;
    left: 5px;
    text-decoration: line-through;
    color: rgb(158, 158, 158);
}

.product-name {
    font-size: 20px;
    position: relative;
    bottom: 30px;
    left: 5px;
    font-weight: 500;
}

.company-name {
    font-size: 16px;
    position: relative;
    bottom: 30px;
    left: 5px;
}