:root {
  --cream: #f7f0df;
  --cream-deep: #eadfc8;
  --paper: #fffaf0;
  --maroon: #681c2c;
  --maroon-deep: #48101d;
  --maroon-soft: #8c3a49;
  --gold: #c48a35;
  --gold-pale: #ecd4a3;
  --ink: #2a211d;
  --muted: #796b62;
  --line: rgba(82, 48, 36, 0.14);
  --success: #2c7654;
  --danger: #a42d37;
  --shadow: 0 18px 46px rgba(67, 31, 28, 0.16);
  --radius: 22px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Khmer", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, rgba(196, 138, 53, 0.08), transparent 30%),
    var(--cream);
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(196, 138, 53, 0.45);
  outline-offset: 2px;
}

.app-shell {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  background: var(--cream);
  overflow: hidden;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
  color: var(--paper);
  background: var(--maroon);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.65);
  border-radius: 50%;
}

.brand-fruit {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
}

.brand-crown {
  position: absolute;
  top: -8px;
  color: var(--gold-pale);
  font-size: 11px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: 0.16em;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--gold-pale);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.language-button span:last-child {
  opacity: 0.55;
}

.language-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
}

.hero {
  position: relative;
  min-height: 260px;
  padding: 36px 24px 34px;
  color: var(--paper);
  background:
    linear-gradient(118deg, rgba(59, 8, 22, 0.98), rgba(104, 28, 44, 0.91)),
    var(--maroon);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(30deg, transparent 48%, var(--gold-pale) 49%, var(--gold-pale) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, var(--gold-pale) 49%, var(--gold-pale) 51%, transparent 52%);
  background-size: 36px 62px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 68%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-pale);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.eyebrow i {
  width: 3px;
  height: 3px;
  background: var(--gold-pale);
  border-radius: 50%;
}

.hero h1 {
  margin: 16px 0 10px;
  font-family: Georgia, "Noto Serif Khmer", "Times New Roman", serif;
  font-size: clamp(29px, 7.5vw, 43px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 250, 240, 0.74);
  font-size: 13px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  font-size: 11px;
  font-weight: 700;
}

.hero-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-icon {
  color: var(--gold-pale);
  font-weight: 400;
}

.hero-plate {
  position: absolute;
  z-index: 1;
  top: 48px;
  right: -63px;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  border: 1px solid rgba(236, 212, 163, 0.25);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.06);
  box-shadow: inset 0 0 0 10px rgba(255, 250, 240, 0.035);
  transform: rotate(-8deg);
}

.plate-rim {
  display: grid;
  width: 137px;
  height: 137px;
  place-items: center;
  border: 2px solid rgba(236, 212, 163, 0.52);
  border-radius: 50%;
  background: radial-gradient(circle, #f5dca6 0 51%, #fff4d8 53% 68%, #a76c36 70% 72%, #f8ecd2 74%);
  box-shadow: 0 16px 30px rgba(20, 0, 8, 0.24);
}

.plate-rim span {
  font-size: 58px;
  filter: saturate(0.8);
}

.spice {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-pale);
  border-radius: 50%;
}

.spice-one { left: 12px; bottom: 30px; }
.spice-two { left: 34px; bottom: 16px; }
.spice-three { left: 14px; bottom: 7px; }

.order-context {
  position: relative;
  z-index: 3;
  margin-top: -16px;
  padding: 0 16px;
}

.service-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  background: var(--paper);
  border: 1px solid rgba(104, 28, 44, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(65, 34, 28, 0.12);
}

.service-toggle button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 14px;
}

.service-toggle button.active {
  color: var(--paper);
  background: var(--maroon);
  box-shadow: 0 8px 16px rgba(104, 28, 44, 0.2);
}

.toggle-icon {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: rgba(104, 28, 44, 0.08);
  font-size: 19px;
}

.active .toggle-icon {
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.1);
}

.service-toggle button > span:last-child {
  display: grid;
  min-width: 0;
}

.service-toggle strong {
  font-size: 13px;
}

.service-toggle small {
  margin-top: 3px;
  overflow: hidden;
  font-size: 9px;
  opacity: 0.68;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 13px 4px 0;
  padding: 10px 12px;
  color: #6f552e;
  background: rgba(233, 194, 119, 0.24);
  border: 1px solid rgba(196, 138, 53, 0.22);
  border-radius: 12px;
}

.demo-notice p {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}

.notice-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.category-nav {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  gap: 7px;
  padding: 17px 16px 12px;
  overflow-x: auto;
  background: linear-gradient(var(--cream) 80%, rgba(247, 240, 223, 0));
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.category-chip.active {
  color: var(--paper);
  background: var(--maroon);
  border-color: var(--maroon);
}

.menu-sections {
  padding: 0 16px 20px;
}

.menu-section {
  scroll-margin-top: 58px;
  margin-top: 16px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif Khmer", "Times New Roman", serif;
  color: var(--maroon-deep);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-heading span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-grid {
  display: grid;
  gap: 12px;
}

.dish-card {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  min-height: 164px;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 5px 16px rgba(68, 40, 31, 0.045);
}

.dish-art {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 42%, rgba(255, 255, 255, 0.95) 0 28%, rgba(255, 255, 255, 0.35) 29% 38%, transparent 39%),
    linear-gradient(145deg, #d8b16c, #7a2936);
}

.dish-art::before,
.dish-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(45deg);
}

.dish-art::before {
  width: 74px;
  height: 74px;
  left: -45px;
  top: -35px;
}

.dish-art::after {
  width: 46px;
  height: 46px;
  right: -27px;
  bottom: -23px;
}

.dish-art[data-section="dough"] { background: linear-gradient(145deg, #ebc98d, #a84c47); }
.dish-art[data-section="soups"] { background: linear-gradient(145deg, #cb9552, #6f2d2b); }
.dish-art[data-section="grills"] { background: linear-gradient(145deg, #b46643, #3f2022); }
.dish-art[data-section="salads"] { background: linear-gradient(145deg, #b7b66a, #517248); }
.dish-art[data-section="drinks"] { background: linear-gradient(145deg, #d8b477, #7c5544); }

.dish-emoji {
  position: relative;
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 12px 22px rgba(51, 18, 16, 0.22);
  font-size: 36px;
}

.halal-badge {
  position: absolute;
  z-index: 3;
  left: 8px;
  bottom: 8px;
  padding: 4px 6px;
  color: var(--paper);
  background: rgba(46, 94, 68, 0.9);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dish-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 13px 13px 12px;
}

.dish-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.dish-title-row h3 {
  margin: 0;
  color: var(--maroon-deep);
  font-family: Georgia, "Noto Serif Khmer", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
}

.popular-tag {
  flex: 0 0 auto;
  padding: 4px 6px;
  color: #80591d;
  background: rgba(236, 212, 163, 0.56);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.dish-description {
  display: -webkit-box;
  margin: 6px 0 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portion-options {
  display: flex;
  gap: 5px;
  margin-top: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.portion-options::-webkit-scrollbar { display: none; }

.portion-pill {
  flex: 0 0 auto;
  padding: 5px 7px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 8px;
  line-height: 1.15;
}

.portion-pill strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 10px;
}

.portion-pill.active {
  color: var(--paper);
  background: var(--maroon);
  border-color: var(--maroon);
}

.portion-pill.active strong { color: var(--paper); }

.dish-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 9px;
}

.add-button {
  min-width: 72px;
  padding: 8px 12px;
  color: var(--paper);
  background: var(--maroon);
  border: 0;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 900;
}

.mini-stepper,
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--maroon);
  font-size: 11px;
  font-weight: 900;
}

.mini-stepper button,
.quantity-stepper button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--maroon);
  background: rgba(104, 28, 44, 0.08);
  border: 0;
  border-radius: 9px;
  font-size: 18px;
}

.cart-dock {
  position: fixed;
  z-index: 20;
  right: max(14px, calc((100vw - 732px) / 2));
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: max(14px, calc((100vw - 732px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 16px 9px 10px;
  color: var(--paper);
  background: var(--maroon);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(62, 12, 25, 0.32);
}

.cart-count {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--maroon-deep);
  background: var(--gold-pale);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.cart-dock-label {
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.cart-dock strong {
  font-size: 14px;
}

.sheet-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(32, 16, 16, 0.56);
  backdrop-filter: blur(3px);
}

.bottom-sheet {
  position: fixed;
  z-index: 41;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 760px);
  max-height: min(88vh, 820px);
  max-height: min(88dvh, 820px);
  margin: 0 auto;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--paper);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 50px rgba(42, 13, 20, 0.25);
  animation: sheet-up 180ms ease-out;
}

@keyframes sheet-up {
  from { transform: translateY(35px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 13px;
  background: rgba(82, 48, 36, 0.16);
  border-radius: 99px;
}

.sheet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.sheet-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.sheet-heading h2 {
  margin: 0;
  color: var(--maroon-deep);
  font-family: Georgia, "Noto Serif Khmer", "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.icon-button {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: rgba(82, 48, 36, 0.06);
  border: 0;
  border-radius: 12px;
  font-size: 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line h3 {
  margin: 0;
  color: var(--maroon-deep);
  font-size: 14px;
}

.cart-line-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.cart-line-price {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 900;
}

.note-input {
  width: 100%;
  margin-top: 9px;
  padding: 9px 10px;
  color: var(--ink);
  background: rgba(247, 240, 223, 0.66);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 10px;
}

.order-summary {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  padding: 14px;
  background: rgba(247, 240, 223, 0.58);
  border-radius: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.summary-row.total {
  margin-top: 3px;
  padding-top: 10px;
  color: var(--maroon-deep);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 900;
}

.primary-button,
.secondary-button,
.danger-button {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
}

.primary-button {
  color: var(--paper);
  background: var(--maroon);
  border: 1px solid var(--maroon);
  box-shadow: 0 10px 22px rgba(104, 28, 44, 0.18);
}

.primary-button:disabled {
  opacity: 0.56;
  box-shadow: none;
}

.secondary-button {
  color: var(--maroon);
  background: rgba(104, 28, 44, 0.05);
  border: 1px solid rgba(104, 28, 44, 0.15);
}

.danger-button {
  color: var(--danger);
  background: rgba(164, 45, 55, 0.06);
  border: 1px solid rgba(164, 45, 55, 0.17);
}

.button-stack {
  display: grid;
  gap: 9px;
}

.checkout-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 16px;
}

.checkout-mode button {
  padding: 11px;
  color: var(--muted);
  background: rgba(247, 240, 223, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}

.checkout-mode button.active {
  color: var(--paper);
  background: var(--maroon);
  border-color: var(--maroon);
}

.field-grid {
  display: grid;
  gap: 12px;
}

.field-grid.two {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--maroon-deep);
  font-size: 10px;
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
}

.field textarea {
  min-height: 78px;
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.location-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  background: rgba(247, 240, 223, 0.56);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.location-card.has-pin {
  background: rgba(44, 118, 84, 0.07);
  border-color: rgba(44, 118, 84, 0.24);
}

.location-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}

.location-status b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--paper);
  background: var(--maroon);
  border-radius: 10px;
}

.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.location-actions button {
  padding: 9px;
  color: var(--maroon);
  background: var(--paper);
  border: 1px solid rgba(104, 28, 44, 0.15);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
}

.location-actions button:disabled {
  cursor: progress;
  opacity: 0.58;
}

.error-box {
  margin: 12px 0;
  padding: 11px 12px;
  color: #872631;
  background: rgba(164, 45, 55, 0.07);
  border: 1px solid rgba(164, 45, 55, 0.16);
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.4;
}

.mock-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding: 12px;
  color: #72521f;
  background: #fff1c9;
  border: 1px solid #e6c476;
  border-radius: 13px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.mock-banner b {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  color: #fff8e7;
  background: #b77a22;
  border-radius: 50%;
}

.khqr-card {
  width: min(100%, 330px);
  margin: 0 auto 15px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(164, 45, 55, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.khqr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: white;
  background: #d52b3f;
}

.khqr-head strong { font-size: 18px; letter-spacing: 0.06em; }
.khqr-head span { font-size: 9px; font-weight: 900; }

.khqr-body {
  padding: 15px;
  text-align: center;
}

.khqr-body h3 {
  margin: 0 0 4px;
  font-size: 12px;
}

.khqr-amount {
  color: var(--maroon);
  font-size: 22px;
  font-weight: 900;
}

.khqr-code {
  display: block;
  width: 194px;
  height: 194px;
  margin: 11px auto;
}

.khqr-demo-label {
  color: #c52336;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.payment-caption {
  margin: 10px 0 16px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

.real-map {
  position: relative;
  z-index: 0;
  height: 320px;
  margin-bottom: 13px;
  overflow: hidden;
  background: #e7eadf;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.real-map.map-fallback {
  display: grid;
  padding: 28px;
  place-items: center;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.leaflet-container {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.anora-leaflet-icon {
  background: transparent;
  border: 0;
}

.anora-leaflet-pin {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: #2b72a8;
  border: 3px solid white;
  border-radius: 50% 50% 50% 9px;
  box-shadow: 0 5px 12px rgba(27, 70, 103, 0.25);
  transform: rotate(-45deg);
}

.anora-leaflet-pin i {
  font-style: normal;
  transform: rotate(45deg);
}

.map-coordinate {
  margin: 0 0 12px;
  color: var(--muted);
  text-align: center;
  font-size: 9px;
}

.text-button {
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.success-sheet {
  min-height: 470px;
  display: grid;
  place-items: center;
  text-align: center;
}

.success-icon {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  margin: 10px auto 22px;
  place-items: center;
  color: white;
  background: var(--success);
  border: 8px solid rgba(44, 118, 84, 0.12);
  border-radius: 50%;
  background-clip: padding-box;
  font-size: 40px;
}

.success-copy h2 {
  margin: 0;
  color: var(--maroon-deep);
  font-family: Georgia, "Noto Serif Khmer", "Times New Roman", serif;
  font-size: 29px;
  font-weight: 500;
}

.success-copy p {
  max-width: 360px;
  margin: 10px auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.order-number {
  display: inline-block;
  margin: 10px 0 20px;
  padding: 9px 12px;
  color: var(--maroon);
  background: rgba(104, 28, 44, 0.06);
  border: 1px solid rgba(104, 28, 44, 0.12);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.toast {
  position: fixed;
  z-index: 70;
  top: calc(18px + env(safe-area-inset-top));
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 11px 14px;
  color: white;
  background: rgba(42, 33, 29, 0.94);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 800;
  transform: translateX(-50%);
}

[hidden] {
  display: none !important;
}

body.sheet-open {
  overflow: hidden;
}

@media (min-width: 620px) {
  body {
    background: #e8decb;
  }

  .app-shell {
    box-shadow: 0 0 60px rgba(53, 27, 21, 0.14);
  }

  .hero {
    min-height: 300px;
    padding: 48px 36px;
  }

  .hero-plate {
    top: 50px;
    right: 10px;
    width: 222px;
    height: 222px;
  }

  .plate-rim {
    width: 164px;
    height: 164px;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dish-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }
}

@media (max-width: 370px) {
  .hero { padding-left: 18px; }
  .hero-copy { width: 73%; }
  .hero-plate { right: -88px; }
  .dish-card { grid-template-columns: 96px minmax(0, 1fr); }
  .dish-body { padding-right: 10px; padding-left: 10px; }
  .field-grid.two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
