* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: #f8f9fa;
    padding: 16px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#cart-btn {
    background: #ff9800;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

#categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 25px;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.3s;
}

.category-btn.active {
    background: #ff9800;
    color: white;
    border-color: #ff9800;
}

#items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.item-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.item-info {
    padding: 10px;
}

.item-info h3 {
    font-size: 1em;
    margin-bottom: 5px;
}

.item-price {
    font-weight: bold;
    color: #ff9800;
}

.add-to-cart {
    background: #ff9800;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 5px;
    cursor: pointer;
}

#cart {
    margin-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    margin-bottom: 5px;
}

.cart-item button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 5px;
    cursor: pointer;
}

#order-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1.2em;
    width: 100%;
    margin: 15px 0;
    cursor: pointer;
}

#back-to-menu {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
}