body { font-family: 'Poppins', sans-serif; background-color: #ffffff; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 20px; padding-bottom: 70px; max-width: 100%; width: 100%; box-sizing: border-box; }
.header { text-align: center; margin-bottom: 20px; }
.header img { width: 150px; height: auto; }
.header h1 { margin: 10px 0; color: #333333; font-size: 24px; }
.header p { color: #555555; font-size: 16px; }
.menu-navigation { display: flex; justify-content: center; width: 100%; }
.menu-buttons { display: flex; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; gap: 5px; }
.menu-buttons button { padding: 10px 20px; margin: 0 5px; background-color:rgb(223, 223, 223); color:rgb(168, 81, 0); border: 2px solid #8B451D; border-radius: 20px; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; width: 100px; height: 40px; font-size: 14px; }
.menu-buttons button.active { background-color: #8B451D; color: #ffffff; }
.menu-buttons button:hover { background-color: #654321; color: #ffffff; }
.menu-cards { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
.menu-card { background-color:rgb(255, 253, 233); border-radius: 12px; border: 2px solid #8B451D; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin: 10px; width: calc(50% - 20px); text-align: center; padding: 10px; box-sizing: border-box; position: relative; min-height: 300px; }
.menu-card img { width: 100%; height: 100%; max-height: 150px; object-fit: cover; border-radius: 8px; cursor: pointer; }
.menu-card h3 { margin: 30px 0 20px 0; color: #333333; font-size: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-clamp: 2; font-size: 16px; }
.menu-card p { color: #555555; font-size: 16px; }
.price-line { position: absolute; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; padding: 5px 0; top: 160px; border-bottom: 1px solid #8B451D; }
.menu-card .price { color: rgb(84, 99, 0); font-size: 14px; font-weight: bold; margin: 0; padding: 0; }
.menu-card .stok { color: rgb(110, 110, 110); font-size: 12px; font-weight: bold; margin: 0; padding: 0; font-style: italic; }
.menu-card button { padding: 9px 20px; background-color: #8B451D; color: #ffffff; border: none; border-radius: 10px; cursor: pointer; transition: background-color 0.3s ease; position: absolute; bottom: 15px; left: 10px; right: 10px; font-size: 14px; width: calc(100% - 20px); }
.menu-card button:hover { background-color: #654321; }
.separator { width: 100%; height: 1px; background-color: #8B451D; margin: 5px 0; opacity: 0.3; }
.tittle-top { text-align: left; }
.tittle-top h1 { margin: 0; padding: 0; line-height: 1; font-size: 20px; }
.tittle-top p { font-size: 12px; margin: 2px 0 0 0; padding: 0; line-height: 1.2; }
.search-form { display: flex; justify-content: center; margin-bottom: 10px; width: 95%; max-width: 1280px; }
.search-form input { padding: 10px; width: 100%; border: 2px solid #8B451D; border-radius: 8px; font-size: 18px; }
.cart-bubble { position: fixed; bottom: 20px; right: 20px; background-color:rgb(64, 139, 29); color: #ffffff; padding: 10px 20px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: none; align-items: center; gap: 10px; font-size: 14px; z-index: 1003; }
.cart-bubble i { font-size: 20px; }
.popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; padding: 20px; border: 2px solid #8B451D; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); z-index: 1000; text-align: center; }
.popup input { padding: 10px; width: 50px; border: 2px solid #8B451D; border-radius: 8px; font-size: 18px; text-align: center; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); }
.popup button { padding: 10px 20px; background-color: #8B451D; color: #ffffff; border: none; border-radius: 10px; cursor: pointer; transition: background-color 0.3s ease; margin-top: 10px; }
.popup button:hover { background-color: #654321; }
.popup .quantity-controls { display: flex; justify-content: center; align-items: center; margin-top: 10px; }
.popup .quantity-controls button { padding: 10px 20px; background-color: #8B451D; color: #ffffff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; margin: 0 5px; }
.popup .quantity-controls button:hover { background-color: #654321; }
.popup .quantity-controls button.ok { background-color: #4CAF50; }
.popup .quantity-controls button.ok:hover { background-color: #45a049; }
.popup .quantity-controls button.cancel { background-color: #FF0000; }
.popup .quantity-controls button.cancel:hover { background-color: #CC0000; }
.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.8); display: flex; justify-content: center; align-items: center; z-index: 9999; display: none; }
.loading-spinner { border: 8px solid #f3f3f3; border-top: 8px solid #8B451D; border-radius: 50%; width: 50px; height: 50px; animation: spin 2s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.cart-popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; padding: 20px; border: 2px solid #8B451D; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); z-index: 1001; text-align: center; width: 80%; max-width: 400px; }
.cart-popup h3 { margin-top: 0; }
.cart-popup .cart-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cart-popup .cart-item .item-name { flex: 1; text-align: left; }
.cart-popup .cart-item .item-quantity { margin: 0 10px; }
.cart-popup .cart-item .item-price { font-weight: bold; }
.cart-popup .cart-item .item-controls { display: flex; gap: 5px; }
.cart-popup .cart-item .item-controls button { padding: 5px 10px; background-color: #8B451D; color: #ffffff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; }
.cart-popup .cart-item .item-controls button:hover { background-color: #654321; }
.cart-popup .cart-item .item-controls button.remove { background-color: #FF0000; }
.cart-popup .cart-item .item-controls button.remove:hover { background-color: #CC0000; }
.cart-popup .total { font-size: 18px; font-weight: bold; margin-top: 20px; }
.cart-popup .actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.cart-popup .actions button { padding: 10px 20px; background-color: #8B451D; color: #ffffff; border: none; border-radius: 10px; cursor: pointer; transition: background-color 0.3s ease; }
.cart-popup .actions button:hover { background-color: #654321; }
.cart-popup .actions button.cancel { background-color: #FF0000; }
.cart-popup .actions button.cancel:hover { background-color: #CC0000; }
.order-bubble { position: fixed; bottom: 20px; left: 10px; background-color: #FF8C00; color: #ffffff; padding: 12px 10px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: none; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; font-weight: bold; z-index: 1002; }
.order-bubble:hover { background-color: #FF8C00; }
.order-popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; padding: 20px; border: 2px solid #8B451D; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); z-index: 1001; text-align: center; width: 80%; max-width: 400px; }
.order-popup h3 { margin-top: 0; }
.order-popup .order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    border-bottom: 1px solid #8B451D;
    padding-bottom: 10px;
}

.order-popup .order-item .item-name {
    flex: 3;
    text-align: left;
    margin-right: 5px;
}

.order-popup .order-item .item-price {
    flex: 1.5;
    font-weight: bold;
    text-align: right;
    margin-right: 5px;
}

.order-popup .order-item .item-notes {
    flex: 2.4;
    text-align: left;
}

.order-popup .order-item .item-notes text {
    width: 100%;
    border: 1px solid #8B451D;
    border-radius: 5px;
    font-size: 12px;
    resize: vertical;
    margin-bottom: 10px;
}

.order-popup .total { font-size: 18px; font-weight: bold; margin-top: 20px; border-top: 2px solid #8B451D; padding-top: 10px; }
.order-popup .actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.order-popup .actions button { padding: 10px 20px; background-color: #8B451D; color: #ffffff; border: none; border-radius: 10px; cursor: pointer; transition: background-color 0.3s ease; }
.order-popup .actions button:hover { background-color: #654321; }
.order-popup .actions button.cancel { background-color: #FF0000; }
.order-popup .actions button.cancel:hover { background-color: #CC0000; }
.notification { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(0, 0, 0, 0.8); color: white; padding: 15px; border-radius: 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; opacity: 0; transition: opacity 0.5s; text-align: center; }
.notification.show { opacity: 1; }
.table-number {
    width: 92%;
    margin-left: 2%;
    text-align: right;
    font-size: 14px;
    color: #8B451D;
    font-weight: bold;
    margin-top: -35px;
    margin-bottom: -10px;
}
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: auto;
    }

    #nameForm {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1002;
        display: none;
    }

    #nameForm input {
        padding: 10px;
        width: 200px;
        border: 2px solid #8B451D;
        border-radius: 5px;
        margin-bottom: 10px;
        background-color: white;
    }

    #nameForm button {
        padding: 10px 20px;
        background-color: #8B451D;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    #nameForm button:hover {
        background-color: #654321;
    }
    
    