body {
  background: #f9f9f9;
  font-family: "Poppins", sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero {
  background: url("gambar/hero.jpg") center/cover no-repeat;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: bold;
}
.hero p {
  margin-bottom: 20px;
}
.btn-red {
  background: red;
  color: #fff;
  border-radius: 20px;
  padding: 8px 20px;
  text-decoration: none;
}
.btn-red:hover {
  background: darkred;
  color: #fff;
}

/* Promo Cards */
.promo {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-right: auto;
  margin-left: auto;
}
.promo-card {
  flex: 1 1 300px;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  min-height: 180px;
  color: #fff;
}
@media (min-width: 576px) {
  .promo {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .promo {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .promo {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .promo {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .promo {
    max-width: 1320px;
  }
}
.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.promo-card-flash {
  border-radius: 10px;
  position: relative;
  height: 200px;
  border: solid, 0;
  background-color: #fcb53b;
}
.promo-card-flash .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border: solid, 0;
  background-color: #333;
}

.promo-card-collab {
  border-radius: 10px;
  position: relative;
  height: 200px;
  border: solid, 0;
  background-color: #ed3f27;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.promo-card-collab .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border: solid, 0;
  background-color: #fff;
  color: #333;
}
.promo-card .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}
.promo h2 {
  font-weight: bold;
  margin-top: 2%;
  margin-bottom: 2%;
}

/* POPUP OPTION */
a {
  text-decoration: none;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-box {
  background: #fff;
  border-radius: 12px;
  width: 400px;
  max-width: 95%;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.popup-header {
  padding: 16px;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.popup-body {
  padding: 16px;
}

.product-header {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 16px;
}

.product-header img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.product-header .badge {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #dc3545;
  color: white;
}

.option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.option .badge-yellow {
  background: #fcb53b;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  display: inline-block;
}

.option:hover {
  background-color: #fdf3e6;
  border-color: #fcb53b;
  transform: scale(1.01);
}

.option.active {
  background-color: #fff7e0; /* kuning lembut */
  border-color: #fcb53b;
  box-shadow: 0 0 6px rgba(252, 181, 59, 0.5);
  transform: scale(1.02);
}

.option strong {
  font-size: 14px;
}

.harga {
  font-weight: bold;
  color: #dc3545;
}

.popup-footer {
  border-top: 1px solid #eee;
  padding: 12px;
  text-align: center;
}

/* Menu Cards */
.menu {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 5%;
}
.menu-grid {
  display: grid;
  /* flex-wrap: wrap; */
  gap: 20px;
  margin-top: 20px;
  justify-content: flex-start; /* was: center */
  align-items: stretch;
}
@media (min-width: 576px) {
  .menu {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .menu {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .menu {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .menu {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .menu {
    max-width: 1320px;
  }
}

.menu h2 {
  font-weight: bold;
  margin-top: 2%;
}

.menu-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.menu-grid.single-item .menu-card {
  flex: 1 1 100%;
  max-width: 640px;
  margin: 0;
}
.menu-grid.single-item {
  justify-content: flex-start;
}
.menu-card .card-body {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* isi turun ke bawah */
  border: solid, 0;
}
.menu-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.menu-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ed3f27;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}
.price {
  color: red;
  font-weight: bold;
  margin: 10px 0;
}
.menu-card .opsi {
  font-size: 0.85rem;
  color: green;
}
.opsi {
  font-size: 0.9rem;
  color: green;
}
.btn-add {
  background: red;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.btn-add:hover {
  background: darkred;
}

.btn-addd {
  background: red;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.btn-addd:hover {
  background: darkred;
}

.footer {
  text-align: center;
  background: #ffffff;
  padding-top: 2%;
  padding-bottom: 1%;
  box-shadow: 5px 4px 8px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE */
/* Desktop */
@media (min-width: 992px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet */
@media (max-width: 991px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card img {
    height: 180px;
  }

  .menu-card h5 {
    font-size: 15px;
  }

  .menu-card .opsi {
    font-size: 12px;
  }

  .price {
    font-size: 14px;
  }

  .btn-add,
  .btn-addd {
    width: 42px;
    height: 42px;
    font-size: 22px;
    bottom: 12px;
    right: 12px;
  }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

#cart-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

#cart-badge {
  font-size: 12px;
  min-width: 20px;
}
