body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #fafafa;
  color: #333;
}

/* Header */
.app-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-bottom: 10px; padding: 10px 12px;
  background: #fff; border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header-left { display: flex; align-items: center; gap: 10px; }
.header-right { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.brand-link img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; border: none; }
.btn-telegram { background: #24A1DE; }
.btn-whatsapp { background: #25D366; }
.btn-telegram:hover { background: #1f8ec5; }
.btn-whatsapp:hover { background: #1fb95a; }

@media (max-width: 720px) {
  .brand-link img { width: 110px; height: 110px; }
}
@media (max-width: 520px) {
  .brand-link img { width: 90px; height: 90px; }
  .header-right .btn { font-size: 13px; padding: 6px 10px; }
}

/* Hero: Carousel + Marquee */
#hero { margin-bottom: 12px; }
.carousel { position: relative; height: 220px; border-radius: 12px; overflow: hidden; border: 1px solid #ddd; background: #eee; }
.carousel .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; background-size: cover; background-position: center; }
.carousel .slide.active { opacity: 1; }

.marquee { margin-top: 8px; border-radius: 10px; border: 1px solid #ddd; background: #fff; overflow: hidden; }
.marquee__track { display: inline-block; white-space: nowrap; padding: 8px 0; animation: marquee 18s linear infinite; }
.marquee__track span { padding-left: 24px; color: #444; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Icons inside buttons */
/* header buttons layout */
.header-right .btn { width: 100%; }

.category {
  margin-bottom: 15px;
}

.category h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #a00303; /* merah lembut */
  color: white;
  padding: 10px;
  margin: 0;
  cursor: pointer;
  border-radius: 5px;
}
.category h3:hover { filter: brightness(1.05); }
.caret { opacity: 0.9; transition: transform .2s ease; }
.category.open .caret { transform: rotate(180deg); }

.menu-list {
  display: none;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
}

.menu-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 10px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.menu-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.08); }

.menu-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.menu-info { flex: 1; }
.menu-info strong { display: block; margin-bottom: 2px; }
.menu-desc { color: #666; font-size: 12px; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.menu-price { color: #ff9800; font-weight: 700; }

.menu-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.menu-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.menu-actions input {
  width: 45px;
  padding: 3px;
  text-align: center;
}

.cart {
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}
.cart-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.cart-actions .btn, .cart-actions button { padding: 10px 16px; font-size: 15px; }

#bill {
  background: #fff;
  padding: 10px;
  width: 320px;
  border: 1px dashed #999;
  margin-bottom: 10px;
}

/* tombol hapus item di bill */
.bill-remove {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  cursor: pointer;
}
.bill-remove:hover { background: #dc2626; }

textarea {
  width: 100%;
  height: 60px;
  margin-bottom: 10px;
  font-size: 14px;
  padding: 5px;
}

.btn, button {
background: #ff9800;
color: white;
padding: 6px 10px;
border: none;
border-radius: 5px;
cursor: pointer;
  display: inline-block;
 text-decoration: none;
}
 
.btn:hover, button:hover { background: #e68900; }

/* animasi ringan tombol */
.btn, button { transition: transform .1s ease, background-color .15s ease; }
.btn:hover, button:hover { transform: translateY(-1px); }
.btn:active, button:active { transform: translateY(0); }

/* Platform button colors (override generic) */
.btn.btn-telegram { background: #24A1DE; }
.btn.btn-telegram:hover { background: #1f8ec5; }
.btn.btn-whatsapp { background: #25D366; }
.btn.btn-whatsapp:hover { background: #1fb95a; }

