/* GENERAL */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
}

/* ===== TOP BAR ===== */
.top-bar {
  background-color: #fca311;
  color: white;
  padding: 14px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

/* ===== HOME PAGE ===== */
.home-body {
  background: #f9f9f9;
  padding-bottom: 90px;
}

.address-bar {
  width: 100%;
  background: orange;
  color: white;
  padding: 12px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.search-box {
  display: flex;
  justify-content: center;
  margin: 15px;
}
.search-box input {
  width: 100%;
  max-width: 350px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.home-buttons {
  margin-top: 20px;
  text-align: center;
}
.btn-home {
  display: block;
  margin: 10px auto;
  background: orange;
  color: white;
  padding: 15px;
  width: 85%;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
}

/* ===== BOTTOM NAV BAR ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 6px 0;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  z-index: 1000;
}

.bottom-nav a {
  text-align: center;
  font-size: 12px;
  color: #555;
  text-decoration: none;
}
.bottom-nav a.active {
  color: orange;
  font-weight: bold;
}

/* ===== MENU PAGE ===== */
.menu-body {
  background: #fff8e6;
  padding-bottom: 120px; /* Space for order bar */
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0;
}

.filter-btn {
  background: #ddd;
  border: none;
  padding: 10px 22px;
  font-size: 16px;
  border-radius: 6px;
  font-weight: bold;
  color: #333;
}
.filter-btn.active {
  background: orange;
  color: #fff;
}

.menu-container {
  margin: 10px;
}

.menu-item {
  display: flex;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 10px;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.item-img {
  width: 95px;
  height: 95px;
  border-radius: 10px;
  object-fit: cover;
}

.item-info {
  margin-left: 12px;
  width: 100%;
}

.item-name {
  font-size: 17px;
  font-weight: bold;
  margin: 0;
}

.item-price {
  font-size: 15px;
  margin: 6px 0;
  color: #222;
}

/* Veg / Non-Veg Icons */
.veg-icon, .nonveg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 2px solid;
  border-radius: 3px;
}
.veg-icon {
  border-color: green;
  background: green;
}
.nonveg-icon {
  border-color: red;
  background: red;
}

/* ADD Button */
.add-btn {
  background: #ff9800;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.qty-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.qty-box button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ff9800;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.qty-box span {
  font-size: 18px;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}

/* ===== BOTTOM ORDER BAR ===== */
.cart-bar {
  position: fixed;
  bottom: 60px; 
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  background: #ff9800;
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  display: none;
  z-index: 2001;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: 0.2s ease;
}
.cart-bar:active {
  background: #e07c00;
}

/* ===== ORDER PAGE ===== */
.cart-body {
  background: #fff;
  padding-bottom: 120px;
}

#orderItems {
  padding: 15px;
}

.empty-box {
  text-align: center;
  font-size: 17px;
  padding: 20px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff8e6;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 12px;
}

.name-price {
  width: 60%;
}

.order-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-qty button {
  width: 28px;
  height: 28px;
  background: orange;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.cart-form {
  padding: 15px;
}

.cart-form label {
  font-size: 15px;
  font-weight: bold;
}

.cart-form input,
.cart-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin: 8px 0 16px;
  font-size: 16px;
}

.order-type {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.order-type button {
  flex: 1;
  border: none;
  background: #ddd;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
}
.order-type button.active {
  background: orange;
  color: #fff;
  font-weight: bold;
}

/* Checkout */
.bottom-checkout {
  position: fixed;
  bottom: 60px;
  width: 100%;
  background: orange;
  padding: 14px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  z-index: 2000;
}
.bottom-checkout button {
  background: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  color: orange;
}