:root {
  --green: #24382d;
  --green-soft: #3d5c49;
  --ink: #1c2420;
  --muted: #6a736e;
  --line: #e4e6e1;
  --field: #f3f4f1;
  --paper: #f7f5f0;
}

* { box-sizing: border-box; }

html {
  overflow-y: scroll;
  scrollbar-gutter: stable both-edges;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #e7e4dc;
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.phone {
  width: min(430px, 100%);
  min-height: 100vh;
  margin-inline: auto;
  background: var(--paper);
  padding: 32px 22px 40px;
}

.brand {
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 620;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--green);
  line-height: 1;
}

.byline {
  margin: 6px 0 0;
  color: var(--green-soft);
  font-size: 14px;
}

h1 {
  margin: 28px 0 0;
  font-family: Fraunces, serif;
  font-weight: 520;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.week {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.delivery {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e7efe9;
  color: var(--green);
}

.delivery span {
  font-size: 14px;
  font-weight: 400;
}

.delivery strong + span { margin-top: 8px; }

.delivery strong { font-weight: 600; }

.empty {
  margin-top: 28px;
  color: var(--green-soft);
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dish h2 {
  margin: 0;
  font-family: Fraunces, serif;
  font-size: 20px;
  font-weight: 520;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--green);
  color: #fff;
}

.locked {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3e8d6;
  color: #6b4720;
  font-weight: 500;
}

.category {
  margin: 0 0 4px;
  color: var(--green-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.description {
  margin: 6px 0 0;
  font-size: 14px;
}

.jain {
  margin: 8px 0 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #e4eefc;
  color: #1a56c4;
  font-size: 13px;
  font-weight: 600;
}

.ingredients {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.ingredients summary {
  cursor: pointer;
  color: var(--green-soft);
  font-weight: 500;
}

.ingredients p { margin: 4px 0 0; }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 0;
}

.price strong {
  font-family: Fraunces, serif;
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--green);
}

.price .size {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.stepper {
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.stepper button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.stepper button:hover { background: var(--green); color: #fff; }

.stepper input {
  width: 36px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  font-weight: 600;
}

.total strong {
  font-family: Fraunces, serif;
  font-size: 28px;
  font-weight: 620;
}

form { margin-top: 22px; }

label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green-soft);
}

input[type="text"],
input[type="tel"],
textarea {
  width: 100%;
  border: 0;
  background: var(--field);
  border-radius: 10px;
  padding: 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
}

textarea { min-height: 84px; resize: vertical; }

.hint {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.submit, .again {
  width: 100%;
  margin-top: 18px;
  border-radius: 999px;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.submit {
  border: 0;
  background: var(--green);
  color: #fff;
}

.submit:disabled { opacity: 0.35; cursor: default; }

.again {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.fine, .message {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.message { color: #8a3d32; }

.confirm { display: none; }

.confirm h2 {
  margin: 22px 0 0;
  font-family: Fraunces, serif;
  font-size: 32px;
  font-weight: 520;
}

.summary {
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.dish { grid-template-columns: 1fr; align-items: start; }
.dish.has-photo { grid-template-columns: 80px 1fr; }

.photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--field);
  align-self: start;
}

.credits {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

.credits summary { cursor: pointer; }
.credits ul { margin: 8px 0 0; padding-left: 18px; }
.credits a { color: var(--green-soft); }

.after, .after-pay {
  margin: 16px 0 0;
  font-size: 15px;
}

.after { font-weight: 600; color: var(--green); }
