:root {
    --primary-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-bg: #f4f7f6;
}

body {
    background-color: var(--light-bg);
    font-family: 'Poppins', sans-serif;
    padding-bottom: 100px;
    color: var(--dark-color);
}

/* Header Lokasi */
.location-bar {
    background: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1040;
}

/* Kategori Horizontal */
.category-wrapper {
    display: flex;
    overflow-x: auto;
    padding: 15px 5px;
    gap: 10px;
    scrollbar-width: none;
}
.category-wrapper::-webkit-scrollbar { display: none; }

.cat-item {
    padding: 8px 20px;
    background: white;
    border-radius: 25px;
    white-space: nowrap;
    color: #888;
    text-decoration: none;
    border: 1px solid #eee;
    font-size: 14px;
    transition: 0.3s;
}
.cat-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

/* Card Menu Modern */
.food-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    border: none;
    position: relative;
    height: 100%;
    transition: transform 0.2s;
}
.food-card:active { transform: scale(0.97); }

.food-img-container {
    width: 100%;
    height: 130px;
    position: relative;
    background: #f0f0f0;
}
.food-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar pas & tidak gepeng */
}

/* Badge Qty di Pojok Gambar */
.qty-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    z-index: 2;
}

.food-info { padding: 12px; }
.food-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}
.food-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
}

/* Tombol Plus (+) agar Mudah Diklik */
.btn-add-quick {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.3);
}

/* Floating Cart */
.cart-float {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 450px;
    background: #222;
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* =========================================
   STYLE BARU: QTY SELECTOR & NOTES
   ========================================= */

/* Style Kapsul Qty di Halaman Menu & Keranjang */
.qty-control {
    display: inline-flex;
    align-items: center;
    background: #dc3545; /* Merah sesuai tema */
    border-radius: 50px;
    padding: 2px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-qty {
    background: transparent;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-qty:active {
    transform: scale(0.9);
}

.qty-amount {
    min-width: 25px;
    text-align: center;
    font-size: 14px;
}

/* Style Input Catatan di Keranjang */
.note-input-container {
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 10px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.note-input-container i {
    color: #888;
    font-size: 12px;
    margin-right: 8px;
}

.note-input-container input {
    border: none;
    background: transparent;
    font-size: 12px;
    width: 100%;
    outline: none;
    font-style: italic;
}