* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f2ead9;
  color: #2b221c;
  padding-bottom: 90px;
}

.topbar {
  background: #3b2f26;
  padding: 18px 0;
  text-align: center;
}
.topbar .logo { height: 48px; }

.title-bar {
  background: #3b2f26;
  color: #e9c26b;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 0;
  font-size: 15px;
  border-top: 1px solid #56443480;
}

.status-bar {
  text-align: center;
  font-size: 12.5px;
  padding: 6px 10px;
  font-weight: 600;
}
.status-bar.status-offline { background: #f3d9a0; color: #6b4a1a; }

.loading-msg {
  text-align: center;
  padding: 40px 16px;
  color: #7a6a55;
  font-size: 14px;
}

.content { max-width: 1000px; margin: 0 auto; padding: 16px; }

.cat-title {
  background: #3b2f26;
  color: #e9c26b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 8px 10px;
  margin: 22px 0 12px;
  border-radius: 4px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid #d8c7a0;
  border-radius: 6px;
  overflow: hidden;
  background: #ece3cf;
}
.card-header {
  background: #e3d7ba;
  font-weight: 700;
  padding: 10px 12px;
  font-size: 15px;
  color: #3b2f26;
}
.card-body { padding: 6px 12px; }

.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #d8c7a0;
  gap: 8px;
}
.opt-row:last-child { border-bottom: none; }
.opt-label { flex: 1; font-size: 13.5px; color: #5a4a37; }
.opt-price { min-width: 80px; text-align: right; font-weight: 700; color: #1c4fa0; font-size: 13.5px; }

.qty-select, .extra-amount {
  width: 64px;
  padding: 6px;
  border: 1px solid #c9a54a;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  text-align: center;
}

.extras-box {
  border: 1px solid #d8c7a0;
  border-radius: 6px;
  background: #ece3cf;
  padding: 4px 14px;
}
.extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed #d8c7a0;
}
.extra-row:last-child { border-bottom: none; }
.extra-row .opt-label { flex: 1; }
.extra-row .opt-price { min-width: 55px; font-size: 11px; color: #7a6a55; font-weight: 600; }

.payment-box {
  margin-top: 16px;
  background: #ece3cf;
  border: 1px solid #d8c7a0;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 600;
}
.payment-box label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

.totals-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1c1712;
  padding: 12px 16px;
  border-top: 2px solid #c9a54a;
}
.totals-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
}
.total-item { display: flex; flex-direction: column; align-items: center; color: #cbb98a; }
.total-item span { font-size: 11px; letter-spacing: 0.5px; }
.total-item strong { color: #e9c26b; font-size: 16px; margin-top: 2px; }
#genelToplam { color: #7fd67f; font-size: 18px; }
