header {
    height: 100px;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.header-button {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: none;
    background: var(--red);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s ease;
}

.header-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.header-button-secondary {
    background: var(--white);
    color: var(--red);
    border: 2px solid var(--red);
}


#cart {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: 50%;
}

#cart_item_count {
    margin: 0;
    font-size: 36px;
}

#cart img {
    height: 40px;
}

#cart p {
    display: inline-block;
    font-size: 60px;
    color: black;
}



.menu-item {
    border: 8px solid var(--yellow);
    /*padding: 10px;*/
    min-width: 200px;
    border-radius: 16px;
    background-color: var(--white);
    display: inline-block;
    color: black;
    text-align: center;
    margin: 6px;
    box-shadow: 0 0 3px rgba(0,0,0,0.25);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
    filter: brightness(1.05);
}

.menu-item img {
    max-width: 250px;
    height: 200px;
    padding: 10px;
}

.menu-item h3 {
    background-color: var(--gray1);
    padding: 8px;
}

.menu-item .menu-controls {
    background-image: linear-gradient(to right, var(--yellow), var(--red));
    display: flex;
    /*height: 20px;*/
    padding: 8px;
    justify-content: space-between;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.menu-item .menu-controls span {
    /*text-align: right;*/
    padding: 2px;
}

.menu-item .menu-controls button {
    background-color: var(--yellow);
    border: unset;
    border-radius: 4px;
    padding: 6px;
    min-width: 40px;
    font-weight: bold;
}

.menu-item .menu-controls button:hover {
    background-color: var(--red);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    color: #222222;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.modal-content h2 {
    margin-bottom: 0.75rem;
}

.modal-content input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}



.modal-content button {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: none;
    background: var(--red);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}

.modal-content button:hover {
    opacity: 0.9;
}

@media (max-width: 650px) {
    .menu-item {
        display: block;
        max-width: 80%;
        margin: auto;
        margin-bottom: 20px;
    }
    .menu-item img {
        max-width: unset;
        width: 100%;
        height: 100%;
        padding: 10px;
    }

    header {
        padding-inline: 6px;
    }

    .header-left {
        gap: 0.4rem;
    }

    #cart_item_count {
        font-size: 22px;
    }

    #cart img {
        height: 28px;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .header-button {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

