/* ============================
   GLOBAL STYLE (Soybite v2)
============================ */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #9ab6ff, #a177ff);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.app-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 10px;
}

.app-header {
  background-color: #188c43;
  color: white;
  text-align: center;
  padding: 20px;
  font-weight: 600;
  position: relative;
}

.cart-icon {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
}

.app-body {
  padding: 20px;
}

.section-title {
  text-align: center;
  color: #188c43;
  font-weight: 700;
  margin: 20px 0;
}

/* ====== Produk ====== */
.product-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.product-card img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 15px;
}

.product-info {
  flex: 1;
}

.product-info h4 {
  margin: 0;
  color: #155f2b;
}

.product-info p {
  margin: 3px 0 8px 0;
  color: #555;
  font-size: 14px;
}

.product-price {
  color: #d44a00;
  font-weight: 700;
  margin-bottom: 5px;
}

/* ====== Tombol Kuantitas ====== */
.qty-area {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0;
}

.qty-btn {
  background-color: white;
  border: 2px solid #188c43;
  color: #188c43;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.qty-btn:hover {
  background-color: #188c43;
  color: white;
}

.qty-display {
  min-width: 18px;
  text-align: center;
  font-weight: bold;
  color: #333;
}

/* ====== Tombol Utama ====== */
.btn-green {
  background-color: #188c43;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.btn-green:hover {
  background-color: #106630;
}

.btn-light {
  background-color: #f1fff1;
  border: 1px solid #b2dfb2;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.button-group {
  text-align: center;
  margin-top: 10px;
}

/* ====== Checkout Form ====== */
.form-row {
  margin-bottom: 10px;
}
.form-row label {
  display: block;
  font-size: 13px;
  color: #2f6b3f;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #e6f0e8;
}

/* ====== Saus Tambahan ====== */
.sauce-list .sauce-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  margin-bottom: 6px;
  background: #fff;
  border: 1px solid #f0f6f0;
  border-radius: 6px;
}

.sauce-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sauce-price {
  color: #d35400;
  min-width: 60px;
  text-align: right;
  font-weight: bold;
}

.total-row {
  text-align: right;
  margin-top: 10px;
  font-weight: bold;
  color: #2f6b3f;
}

/* ====== Upload Box ====== */
.upload-box {
  border: 2px dashed #e6f0e8;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #8dbb9a;
  cursor: pointer;
}

/* ====== Checkout Footer ====== */
.checkout-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

/* ====== Modal QRIS ====== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-inner {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.modal-inner img {
  width: 200px;
  margin: 10px auto;
  display: block;
  border-radius: 10px;
}

/* ====== Animasi Cart ====== */
.cart-bounce {
  animation: bounce 0.6s ease;
}
@keyframes bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
