body {
    font-family: 'Spartan', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FCFAF1;
}

.products-header {
    background-color: #FCFAF1;
    color: black;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.right-section a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    background-color: #FCFAF1;
    border-radius: 3px;
    padding: 7px 10px;
}

.right-section .auth-button {
    text-decoration: underline;
}

.home-button {
    color: black;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.social-icon-nav {
    color: black;
    font-size: 1.5rem;
}
.social-icon-nav:hover {
    color: rgb(72, 72, 72);
}

.center-section .logo {
    height: 140px;
}

.cart-button {
    display: flex;
    align-items: center;
}

.cart-icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
}

.cart-button .cart-count {
    background-color: #b01d1d;
    color: white;
    border: none;
    padding: 0px 5px;
    border-radius: 100%;
    transform: translate(-5px,-10px);
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f5f0eb;
}

.category-button {
    background-color: transparent;
    border: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.category-button:hover {
    color: #b01d1d;
}

.category-button.active {
    color: #b01d1d;
    text-decoration: underline;
}

.products-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-category {
    display: none;
}

.product-category.active {
    display: block;
}

.product-category h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: #b01d1d;
    margin-bottom: 1.5rem;
}

/* Add styles for product items here */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background-color: #fffdf8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    text-align: center;
}

.product-price {
    font-family: 'Spartan', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #b01d1d;
    margin: 0.5rem 0;
}

.product-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.quantity-btn {
    background-color: #f5f0eb;
    border: none;
    color: #333;
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
}

.quantity {
    margin: 0 1rem;
    font-family: 'Spartan', sans-serif;
}

.add-to-cart {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #b01d1d;
}

.add-to-cart .clicked {
    background-color: #db3b3b;
}

.cart-icon {
    position: relative;
}

.cart-icon::after {
    content: attr(data-count);
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #b01d1d;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}