:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
}
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(248, 241, 235, 0.9);
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 2rem;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #2c1810;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2c1810;
}

.cart-icon {
    font-size: 1.5rem;
    color: #2c1810;
    text-decoration: none;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #2c1810;
    color: white;
    font-size: 0.8rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

  /* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #2c1810;
    transition: all 0.3s ease;
}

  /* Mobile Styles */
@media screen and (max-width: 768px) {
    nav {
        justify-content: center;
        height: 2rem;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        left: 0;
        z-index: 1001;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(248, 241, 235, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
        padding: 2rem;
        transform: none;
    }

        .nav-links.active {
        left: 0;
        }
    
        .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        }
    
        .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        }
    
        .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        }
    
        .cart-icon {
        position: absolute;
        right: 0;
        }
    }