/* Menú Grid */
.menu-categories {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.cat-btn {
    background: transparent;
    border: 1px solid var(--beige-light);
    color: var(--beige-light);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.cat-btn.active, .cat-btn:hover {
    background: var(--beige-light);
    color: var(--dark-deep);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.food-card {
    background: var(--dark-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.food-img { height: 180px; background-size: cover; background-position: center; }

.food-info { padding: 20px; }

.food-info h3 { margin-bottom: 10px; color: var(--beige-light); }

.food-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.price { font-weight: 700; font-size: 18px; }

.btn-add {
    background: var(--beige-light);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
}

/* CARRITO SIDEBAR */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 350px;
    height: 100%;
    background: var(--dark-card);
    z-index: 2000;
    transition: 0.4s;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.cart-items { flex: 1; padding: 20px 0; }

.cart-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.btn-checkout {
    width: 100%;
    background: var(--beige-light);
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
}

/* HISTORIAL */
.orders-list { display: flex; flex-direction: column; gap: 20px; }

.order-item {
    background: var(--dark-card);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--beige-light);
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.order-id { font-weight: 700; display: block; }
.order-date { font-size: 12px; color: var(--text-muted); }

.status-badge {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(0,255,0,0.1);
    color: #4cd137;
}

.order-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}