/* header.css */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #111827;
    color: #fff;
    flex-wrap: wrap;
    border-bottom: 3px solid #f2ac08;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 80px;
    object-fit: contain;
}

.branding h1 {
    font-size: 2rem;
    margin: 0;
    color: #f2ac08;
    font-weight: bold;
}

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    color: #f2ac08;
    border: none;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #f2ac08;
    border-bottom: 2px solid #f2ac08;
}

.cart-badge {
    background-color: #f2ac08d8;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 1rem;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding-left: 0;
    }
}
