 :root {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --text: #183746;
  --muted: #657b83;
  --border: #dfe9e9;
  --primary: #2f7f9f;
  --primary-dark: #22657f;
  --primary-soft: #e4f2f5;
  --accent: #e47c67;
  --accent-soft: #fff0eb;
  --sun: #efbf52;
  --sand: #f3ead8;
  --danger: #b91c1c;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(39, 87, 103, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(224, 244, 247, .85), transparent 25%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 55%, #eef6f5 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: 92px;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, 900px);
  margin-inline: auto;
}

.app-header {
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sun), #f7d77c);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 5px 14px rgba(239, 191, 82, .25);
}

.brand-copy {
  min-width: 0;
}

.brand-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.brand-name {
  margin-top: 1px;
  color: var(--primary-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .07em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent);
}

.brand-subtitle {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.location-badge {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid #cce4e9;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.welcome-card {
  position: relative;
  margin: 24px 0 0;
  padding: 24px 22px 22px;
  background: rgba(255, 253, 248, .94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.welcome-accent {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #63b6c7, var(--sun), var(--accent));
}

.welcome-card h2 {
  margin: 5px 0 6px;
  color: var(--primary-dark);
  font-size: 26px;
}

.welcome-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.menu-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.section-heading h2 {
  margin: 5px 0 17px;
  color: var(--text);
  font-size: 22px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

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

.category-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 15px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
}

.category-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 127, 159, .20);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.menu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.menu-image {
  aspect-ratio: 4 / 3;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 34px;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.menu-name {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.menu-description {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.menu-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.menu-price {
  font-size: 14px;
  font-weight: 800;
}

.add-button {
  border: 0;
  background: var(--accent);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.add-button:active,
.cart-bar:active,
.quantity-button:active {
  transform: scale(0.97);
}

.unavailable {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 900px);
  border: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 16px;
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.22);
  z-index: 30;
}

.cart-bar span:last-child {
  font-size: 13px;
  opacity: 0.9;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  display: grid;
  place-items: end center;
  z-index: 50;
  padding: 16px;
}

.modal {
  width: min(100%, 600px);
  max-height: min(80vh, 700px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.small-modal {
  max-height: none;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin: 3px 0 0;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-size: 22px;
}

.cart-empty {
  padding: 28px 8px;
  text-align: center;
  color: var(--muted);
}

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

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.cart-total {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
}

.hidden {
  display: none;
}

.empty-menu {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px dashed var(--border);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

@media (min-width: 700px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modal-backdrop {
    place-items: center;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, 900px);
  }

  .menu-grid {
    gap: 8px;
  }

  .menu-info {
    padding: 11px;
  }

  .cart-bar {
    width: calc(100% - 20px);
    bottom: 10px;
  }
}
/* Phase 2 additions */
.modal{max-height:90vh;overflow:auto}.checkout-location{display:flex;justify-content:space-between;gap:12px;margin:14px 0;padding:13px;border-radius:12px;background:#f3f4f6}.modal label{display:block;margin-bottom:7px;font-weight:700;font-size:13px}.modal input{width:100%;min-height:48px;padding:0 13px;border:1px solid #e5e7eb;border-radius:12px;outline:none}.primary-button,.secondary-button{width:100%;min-height:48px;border-radius:12px;font-weight:800}.primary-button{border:0;background:#111827;color:#fff}.secondary-button{border:1px solid #e5e7eb;background:#fff;color:#111827;margin-top:9px}.cart-item{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5e7eb}.cart-item small{display:block;margin-top:4px;color:#6b7280}.qty{display:flex;align-items:center;gap:9px}.qty button{width:32px;height:32px;border:1px solid #e5e7eb;border-radius:9px;background:#fff}.total-row,.review-total{display:flex;justify-content:space-between;margin:16px 0;padding-top:14px;border-top:1px solid #e5e7eb}.review-meta{display:grid;gap:9px;margin-bottom:14px}.review-meta>div,.success-info>div{display:flex;justify-content:space-between;gap:12px}.review-meta span,.success-info span{color:#6b7280}.review-item{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e5e7eb}.actions{display:grid;gap:8px;margin-top:16px}.success-panel{text-align:center}.success-icon{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:#dcfce7;color:#15803d;font-size:30px;font-weight:900}.order-number{margin:8px 0;font-size:30px;font-weight:900}.muted{color:#6b7280;line-height:1.5}.success-info{display:grid;gap:9px;margin:16px 0;padding:13px;border-radius:12px;background:#f3f4f6;text-align:left}.history-card{padding:13px 0;border-bottom:1px solid #e5e7eb}.history-top{display:flex;justify-content:space-between;gap:12px}.history-top small,.history-info{color:#6b7280;font-size:12px}.history-info{margin:5px 0 7px}.empty-cart{text-align:center;padding:25px;color:#6b7280}


.history-notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}

.history-notice.hidden,
.floating-history-button.hidden {
  display: none;
}

.history-notice .eyebrow {
  margin-bottom: 2px;
}

.history-notice strong {
  display: block;
  font-size: 13px;
}

.history-notice-button {
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--soft);
  padding: 8px 12px;
  font-weight: 800;
}

.floating-history-button {
  position: fixed;
  right: 12px;
  bottom: 76px;
  z-index: 29;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 9px 13px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
  font-size: 12px;
  font-weight: 800;
}

.floating-history-button span {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  margin-left: 3px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
}

.history-notice{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;border:1px solid var(--border);border-radius:15px;background:#fff}.history-notice.hidden,.history-float.hidden{display:none}.history-notice .eyebrow{margin-bottom:3px}.history-notice-content strong{font-size:13px}.history-notice-button{flex-shrink:0;border:1px solid var(--border);border-radius:10px;background:var(--soft);padding:8px 11px;font-weight:800}.history-float{position:fixed;right:12px;bottom:76px;z-index:29;border:1px solid var(--border);border-radius:999px;background:#fff;padding:8px 12px;box-shadow:0 5px 18px rgba(0,0,0,.12);font-size:12px;font-weight:800}.history-float b{display:inline-grid;min-width:19px;height:19px;margin-left:3px;place-items:center;border-radius:999px;background:var(--soft)}


/* ============================================================
   ASTOUND HILL VISUAL THEME
   Santorini-inspired: lake blue + white + warm sand + coral.
   ============================================================ */

.history-notice {
  margin-top: 18px;
  margin-bottom: 0;
  padding: 15px 16px;
  background: linear-gradient(135deg, #f8fdfe, #eef8f7);
  border-color: #cfe4e7;
  box-shadow: 0 6px 20px rgba(47, 127, 159, .07);
}

.history-notice-button {
  color: var(--primary-dark);
  background: #fff;
  border-color: #c8dfe3;
}

.history-float {
  color: var(--primary-dark);
  border-color: #c8dfe3;
  background: #fffdf8;
}

.history-float b {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.menu-section {
  margin-top: 0;
}

.menu-card {
  background: rgba(255, 253, 248, .96);
  border-color: #dce7e7;
  box-shadow: 0 5px 18px rgba(39, 87, 103, .06);
}

.menu-image {
  background:
    linear-gradient(135deg, rgba(224, 242, 245, .9), rgba(247, 234, 216, .8));
}

.menu-price {
  color: var(--primary-dark);
}

.modal {
  background: #fffdf8;
}

.primary-button {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.secondary-button {
  background: #fffdf8;
  border-color: #cfe0e2;
  color: var(--primary-dark);
}

.checkout-location,
.success-info {
  background: var(--primary-soft);
}

.success-icon {
  background: #fff0d4;
  color: #c48b20;
}

@media (max-width: 480px) {
  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 18px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 8px;
  }

  .location-badge {
    padding: 8px 10px;
    font-size: 11px;
  }

  .history-notice {
    margin-top: 18px;
  }

  .menu-section {
    padding-top: 32px;
  }
}


/* ============================================================
   ASTOUND HILL LOGO-MATCHED FINAL VISUAL POLISH
   ============================================================ */
:root {
  --bg: #f4faf8;
  --surface: #fffefa;
  --text: #143c49;
  --muted: #64777b;
  --border: #d9e7e4;
  --primary: #18a9d7;
  --primary-dark: #075a35;
  --primary-soft: #e7f7fb;
  --accent: #43b83f;
  --accent-soft: #edf9e9;
  --sun: #f2c94c;
  --sand: #f6f3e8;
  --shadow: 0 8px 28px rgba(24, 88, 76, .08);
}
.app-header { background: rgba(255, 254, 250, .97); border-bottom-color: #dce8e5; }
.header-inner { min-height: 74px; }
.brand-lockup { gap: 0; }
.brand-logo { display:block; width:120px; height:57px; object-fit:contain; object-position:left center; margin-top:2px; mix-blend-mode:multiply; }
.brand-kicker { color:var(--accent); margin-bottom:0; }
.brand-subtitle { color:var(--muted); margin-top:0; }
.location-badge { background:#eef8fb; color:var(--primary-dark); border-color:#c9e7ef; }
.menu-section { padding-top:34px; }
.history-notice { margin-top:26px; margin-bottom:0; background:linear-gradient(135deg,#f7fcf8,#eef9fb); border-color:#cfe5df; }
.history-notice-button { color:var(--primary-dark); background:#fffefa; border-color:#c7ded8; }
.history-float { color:var(--primary-dark); border-color:#c8e0da; background:#fffefa; }
.history-float b { background:var(--accent-soft); color:var(--primary-dark); }
.category-tab.active { background:linear-gradient(135deg,var(--primary-dark),#087b72); border-color:var(--primary-dark); box-shadow:0 5px 14px rgba(7,90,53,.16); }
.menu-card { background:rgba(255,254,250,.98); border-color:#d8e6e3; box-shadow:0 5px 18px rgba(24,88,76,.06); }
.menu-image { background:linear-gradient(135deg,#e9f8fb,#f5f2e7); }
.menu-body { padding:16px 16px 18px; display:flex; flex-direction:column; gap:6px; flex:1; }
.menu-name,.menu-description { padding-inline:1px; }
.menu-bottom { margin-top:10px; padding:0 4px; }
.menu-price { color:var(--primary-dark); padding-left:1px; }
.add-button { flex:0 0 40px; width:40px; height:40px; margin-right:3px; background:linear-gradient(145deg,var(--accent),#2d9f39); box-shadow:0 4px 10px rgba(67,184,63,.18); }
.cart-bar { background:linear-gradient(135deg,var(--primary-dark),#087b72); box-shadow:0 12px 30px rgba(7,90,53,.20); }
.primary-button { background:linear-gradient(135deg,var(--primary-dark),#087b72); }
.secondary-button { color:var(--primary-dark); }
.checkout-location,.success-info { background:var(--primary-soft); }
.success-icon { background:#eaf8df; color:var(--accent); }
@media (max-width:480px) {
  .header-inner { min-height:70px; }
  .brand-logo { width:110px; height:53px; }
  .brand-subtitle { font-size:8px; }
  .location-badge { padding:8px 10px; font-size:11px; }
  .history-notice { margin-top:24px; }
  .menu-section { padding-top:34px; }
  .menu-body { padding:14px 14px 16px; }
  .add-button { width:38px; height:38px; flex-basis:38px; margin-right:2px; }
}


/* ============================================================
   MOBILE COMPACT UI — Astound Hill
   Desktop layout remains unchanged.
   ============================================================ */
@media (max-width: 480px) {
  body {
    padding-bottom: 78px;
  }

  .topbar {
    min-height: 64px;
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-lockup {
    gap: 8px !important;
  }

  .brand-logo {
    width: 80px !important;
    height: 38px !important;
    max-width: 80px !important;
    object-fit: contain;
  }

  .brand-copy .eyebrow,
  .brand-eyebrow {
    font-size: 8px !important;
    letter-spacing: .07em !important;
    margin-bottom: 1px !important;
  }

  .brand-copy .brand-name,
  .brand-name {
    font-size: 16px !important;
    line-height: 1.05 !important;
  }

  .brand-copy .brand-tagline,
  .brand-tagline {
    margin-top: 2px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  .location-badge {
    padding: 6px 9px;
    font-size: 11px;
    white-space: nowrap;
  }

  .container {
    padding: 12px;
  }

  .history-notice {
    margin-top: 10px;
    padding: 10px 11px;
    border-radius: 12px;
  }

  .history-notice strong {
    font-size: 11px;
  }

  .history-notice .eyebrow {
    font-size: 8px;
  }

  .history-notice-button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .menu-section {
    margin-top: 18px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .category-tabs {
    gap: 6px;
    padding: 9px 0;
  }

  .category-tab {
    padding: 7px 12px;
    font-size: 13px;
  }

  .menu-grid {
    gap: 8px;
  }

  .menu-body {
    padding: 9px 10px 10px !important;
  }

  .menu-name {
    min-height: 32px;
    font-size: 13px !important;
    line-height: 1.2;
  }

  .menu-description {
    min-height: 28px;
    margin-top: 3px;
    font-size: 10px !important;
    line-height: 1.3;
  }

  .menu-bottom {
    margin-top: 8px;
    gap: 6px;
  }

  .menu-price {
    font-size: 12px !important;
  }

  .add-button {
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 17px;
  }

  .cart-bar {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    min-height: 54px;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
    box-sizing: border-box;
    z-index: 50;
  }

  .cart-bar span {
    min-width: 0;
  }

  .cart-bar span:last-child {
    text-align: right;
    white-space: nowrap;
  }

  .floating-history-button {
    right: 10px;
    bottom: 65px;
    padding: 7px 10px;
    font-size: 10px;
  }
}


@media (max-width: 480px) {
  body {
    padding-bottom: 92px !important;
  }

  .cart-bar {
    max-width: calc(100vw - 24px);
    overflow: hidden;
  }
}


@media (max-width: 480px) {
  .cart-bar {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    margin: 0 !important;
  }
}


/* Astound Hill MenuOnline V1: catalogue, vector art, variants and checkout */
.eyebrow{margin:0;color:#29965f;font-size:10px;font-weight:900;letter-spacing:.15em}
.welcome-card{margin-top:20px;padding:22px 20px}
.welcome-card h2{font-family:Georgia,serif;font-size:clamp(22px,5vw,30px);margin:8px 0}
.welcome-card p:last-child{max-width:560px}
.menu-section{padding-top:26px}
.section-heading h2{margin-bottom:15px}
.menu-card{min-height:100%;border-radius:18px}
.menu-image{aspect-ratio:4/3;overflow:hidden;padding:0}
.menu-image img{width:100%;height:100%;object-fit:cover;display:block}
.menu-info{padding:13px;gap:8px}
.menu-name{font-size:14px;font-weight:850;line-height:1.3;min-height:36px}
.menu-description{font-size:11px;line-height:1.45;min-height:32px}
.menu-price{font-size:13px;color:var(--primary-dark);display:block}
.variant-hint{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.add-button{flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:#43b83f}
.product-detail-image{height:175px;border-radius:15px;overflow:hidden;background:#e8f5f0;margin-bottom:12px}
.product-detail-image img{width:100%;height:100%;object-fit:cover}
.product-description{color:var(--muted);font-size:13px;line-height:1.5}
.variant-list{display:grid;gap:9px;margin-top:15px}
.variant-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border);border-radius:13px;background:#fff}
.variant-row b{display:block;font-size:13px}
.variant-row small{display:block;margin-top:4px;color:var(--primary-dark);font-weight:800}
.variant-add{border:0;border-radius:10px;padding:9px 13px;background:var(--accent);color:white;font-weight:800}
.field-label{display:block;margin:16px 0 8px;font-size:13px;font-weight:800}
.payment-options{display:grid;gap:9px;margin-bottom:16px}
.payment-option{display:flex!important;align-items:center;gap:10px;padding:12px;border:1px solid var(--border);border-radius:13px;background:#fff}
.payment-option input{width:18px!important;min-height:18px!important;accent-color:var(--primary-dark)}
.payment-option span{display:grid;gap:3px}
.payment-option small{font-size:11px;color:var(--muted);font-weight:400}
.payment-note{padding:12px;border-radius:12px;background:var(--primary-soft);color:var(--primary-dark);font-size:12px;line-height:1.5}
.whatsapp-open{display:flex;align-items:center;justify-content:center;text-decoration:none;margin-top:12px;background:#168a4b}
@media(max-width:480px){
 .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .menu-info{padding:10px}
 .menu-name{font-size:13px;min-height:34px}
 .menu-description{font-size:10px;min-height:42px}
 .menu-image{aspect-ratio:1.2/1}
 .variant-row{padding:10px}
}

/* Per-menu customer notes */
.cart-item-with-note{align-items:flex-start}
.cart-item-main{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.note-button{border:1px solid #b9d9c8;background:#f1f8f3;color:#176b43;border-radius:9px;padding:6px 10px;font-size:11px;font-weight:800;margin-top:5px;cursor:pointer}
.note-button.has-note{background:#e4f3e9;border-color:#78b992}
.saved-note{font-size:11px;line-height:1.45;color:#725a31;background:#fff8e8;border:1px solid #f1dfb8;border-radius:8px;padding:7px 9px;margin-top:3px;max-width:100%;overflow-wrap:anywhere}
.note-help{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 12px}
#itemNote{display:block;width:100%;min-height:100px;resize:vertical;border:1px solid var(--border);border-radius:12px;padding:11px;font:inherit;font-size:13px;box-sizing:border-box}
.note-counter{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:5px 0 14px}
.review-note{display:block;color:#725a31;font-size:11px;line-height:1.45;margin-top:4px}
@media(max-width:480px){.cart-item-with-note{gap:8px}.cart-item-main{max-width:calc(100% - 100px)}.note-button{font-size:10px;padding:6px 8px}}

/* Tax display: prices are pre-tax; totals include 10% tax */
.tax-disclaimer{margin:0 0 14px;padding:9px 11px;border:1px solid #f1dfb8;border-radius:10px;background:#fff8e8;color:#725a31;font-size:11px;line-height:1.45}
.cart-tax-note{margin:14px 0 10px}
.price-breakdown{display:grid;gap:9px;margin:14px 0;padding:13px;border:1px solid var(--border);border-radius:12px;background:#fbfdfc;font-size:13px}
.price-breakdown>div{display:flex;justify-content:space-between;gap:12px}
.price-breakdown .grand-total{padding-top:10px;border-top:1px solid var(--border);font-weight:900;color:var(--primary-dark);font-size:15px}
.history-price{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:9px 0;font-size:12px;color:var(--muted)}
.history-price strong{grid-column:1/-1;color:var(--primary-dark);font-size:14px}

/* V1.2.3 — table QR identification prompt and scanner */
.location-help-modal{text-align:left}.qr-help-icon{width:64px;height:64px;display:grid;place-items:center;margin:4px auto 14px;border-radius:18px;background:var(--primary-soft);color:var(--primary-dark);font-size:42px;font-weight:900}.qr-help-lead{text-align:center;font-size:17px;font-weight:900;color:var(--primary-dark);margin:0 0 7px}.qr-help-copy{text-align:center;color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 17px}.qr-scanner-area{margin-top:13px;overflow:hidden;border-radius:15px;background:#111}.qr-scanner-area video{display:block;width:100%;max-height:280px;object-fit:cover}.qr-photo-divider{display:flex;align-items:center;gap:12px;margin:14px 0;color:var(--muted);font-size:12px}.qr-photo-divider:before,.qr-photo-divider:after{content:"";height:1px;flex:1;background:var(--border)}.qr-photo-button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.qr-photo-note{margin:9px 0;color:var(--muted);font-size:11px;line-height:1.5;text-align:center}.qr-status{min-height:34px;margin:10px 0 0;padding:9px 11px;border-radius:10px;background:var(--primary-soft);color:var(--primary-dark);font-size:12px;line-height:1.45;text-align:center}

/* ============================================================
   ASTOUND HILL V2.0.0 — AEGEAN EDITORIAL / BALANCED
   Presentation-layer refresh. Ordering logic intentionally untouched.
   ============================================================ */
:root{
  --bg:#F8F6EF;--surface:#FFFFFF;--text:#173D4B;--muted:#718084;
  --border:#DCE4E0;--primary:#245C79;--primary-dark:#173D4B;
  --primary-soft:#DDEFEA;--accent:#D77C4C;--accent-soft:#F8E9DF;
  --green:#267A59;--sand:#F2EBDD;--radius:20px;
  --shadow:0 10px 28px rgba(23,61,75,.08);
}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:"DM Sans",Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.container{width:min(100% - 32px,1120px)}
.app-header{background:rgba(248,246,239,.94);border-bottom:1px solid var(--border);backdrop-filter:blur(14px)}
.header-inner{min-height:76px}
.brand-kicker,.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--green)}
.brand-logo{display:block;width:auto;height:34px;max-width:180px;object-fit:contain;margin:3px 0}
.brand-subtitle{font-size:10px;color:var(--muted);letter-spacing:.04em}
.location-badge{background:#E7F0EB;color:var(--green);border:1px solid #C8DED1;border-radius:999px;padding:9px 12px;font-size:11px}
.welcome-card{margin:22px 0 0;padding:26px 28px 24px;min-height:176px;border:1px solid #E5E2D8;border-radius:26px;background:linear-gradient(112deg,#fff 0%,#fff 62%,#E8F1EC 62%,#E8F1EC 100%);box-shadow:0 10px 28px rgba(23,61,75,.055);}
.welcome-accent{inset:0 auto 0 0;width:5px;height:auto;background:var(--accent)}
.welcome-card .eyebrow{margin:0 0 9px}
.welcome-card h2{max-width:520px;margin:0 0 8px;color:var(--primary-dark);font-family:"DM Serif Display",Georgia,serif;font-size:clamp(30px,4vw,43px);font-weight:400;line-height:1.04;letter-spacing:-.025em}
.welcome-card p:last-child{max-width:470px;font-size:14px;line-height:1.55;color:var(--muted)}
.menu-section{padding-top:27px}
.section-heading{display:flex;align-items:end;justify-content:space-between}
.section-heading h2{margin:4px 0 13px;font-family:"DM Serif Display",Georgia,serif;font-weight:400;font-size:30px;letter-spacing:-.02em;color:var(--deep)}
.tax-disclaimer{display:inline-flex;align-items:center;margin:0 0 15px;padding:8px 12px;border:1px solid #D9E5DF;border-radius:10px;background:#EEF4EF;color:#42675A;font-size:12px;font-weight:700}
.category-tabs{gap:8px;padding:0 0 15px}
.category-tab{padding:9px 15px;border:1px solid #D8E1DC;background:#FFFEFA;color:var(--text);font-size:13px;border-radius:999px;transition:background .16s,border-color .16s,transform .16s}
.category-tab.active{background:var(--primary);border-color:var(--primary);box-shadow:none;color:#fff}
.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.menu-card{position:relative;border:1px solid #E4E4DA;border-radius:19px;background:#fff;box-shadow:0 5px 17px rgba(23,61,75,.045);transition:transform .18s,border-color .18s,box-shadow .18s}
.menu-card:active{transform:translateY(1px)}
.menu-image{aspect-ratio:5/4;padding:10px;background:linear-gradient(145deg,#EAF3EF,#F7F0E4 90%);font-size:0}
.menu-image img{width:100%;height:100%;object-fit:contain;padding:4px}
.menu-info{padding:12px 13px 13px;gap:7px}
.menu-name{font-size:14px;line-height:1.28;font-weight:800;color:var(--primary-dark)}
.menu-description{font-size:11px;line-height:1.4}
.menu-price{font-size:13px;font-weight:800;color:var(--primary)}
.add-button{width:38px;height:38px;flex:0 0 38px;background:var(--accent);border-radius:13px;color:white;font-size:21px;box-shadow:0 4px 10px rgba(215,124,76,.16)}
.cart-bar{width:min(calc(100% - 32px),720px);bottom:12px;min-height:58px;padding:0 18px;border-radius:17px;background:var(--primary-dark);box-shadow:0 12px 30px rgba(23,61,75,.23)}
.cart-bar span:last-child{font-weight:800;opacity:1}
.history-float{bottom:80px;border-color:#D9E5DF;color:var(--primary-dark);background:#fff}
.modal-backdrop{background:rgba(16,39,47,.52);backdrop-filter:blur(3px);padding:12px}
.modal{width:min(100%,620px);max-height:min(88vh,760px);padding:22px;border:1px solid rgba(255,255,255,.7);border-radius:24px;background:#FFFEFA;box-shadow:0 24px 70px rgba(15,39,48,.22)}
.modal-header h2{font-family:"DM Serif Display",Georgia,serif;font-weight:400;font-size:27px;color:var(--primary-dark)}
.icon-button{width:42px;height:42px;border-radius:13px;color:var(--primary-dark);background:#F5F4EE;border-color:var(--border)}
.primary-button{background:var(--primary-dark);color:white;border:0;border-radius:13px;min-height:48px}
.secondary-button{background:white;color:var(--primary);border:1px solid #D4E0DA;border-radius:13px;min-height:48px}
.checkout-location,.success-info{background:#EDF3EF;border-radius:13px}
input:focus,textarea:focus{outline:2px solid rgba(36,92,121,.24);border-color:var(--primary)}
.history-notice{background:#EDF3EF;border-color:#D8E5DC;box-shadow:none}
.history-notice-button{background:white;color:var(--primary);border-color:#D3E0D8}
.success-icon{background:#E6F1E8;color:var(--green)}
.empty-menu,.empty-cart,.cart-empty{border-radius:18px;background:#fff}
@media(min-width:700px){
 .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .menu-card{display:grid;grid-template-columns:42% 1fr;min-height:160px}
 .menu-image{aspect-ratio:auto;min-height:160px}
 .menu-info{padding:15px;}
 .welcome-card{padding:34px 36px;min-height:190px}
}
@media(max-width:480px){
 .container{width:calc(100% - 24px)}
 .header-inner{min-height:68px;gap:8px}
 .brand-logo{height:29px;max-width:150px}
 .brand-subtitle{font-size:9px}
 .location-badge{max-width:145px;overflow:hidden;text-overflow:ellipsis;padding:8px 9px;font-size:10px}
 .welcome-card{margin-top:14px;padding:20px 17px 18px;min-height:145px;border-radius:21px;background:linear-gradient(115deg,#fff 0%,#fff 72%,#E8F1EC 72%,#E8F1EC 100%)}
 .welcome-card h2{font-size:30px;max-width:300px}
 .welcome-card p:last-child{font-size:12px;max-width:290px}
 .menu-section{padding-top:23px}
 .section-heading h2{font-size:27px}
 .menu-grid{gap:10px}
 .menu-card{border-radius:16px}
 .menu-image{aspect-ratio:1/0.88;padding:7px}
 .menu-info{padding:10px;gap:6px}
 .menu-name{font-size:13px}
 .menu-price{font-size:12px}
 .add-button{width:36px;height:36px;flex-basis:36px}
 .cart-bar{width:calc(100% - 24px);bottom:9px;min-height:55px;padding:0 14px}
 .modal{padding:18px;border-radius:22px 22px 18px 18px;max-height:90vh}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* MIWATO Digital footer — Aegean Editorial V2 */
.miwato-footer{margin:56px 0 104px;padding:0 0 24px;border-top:1px solid var(--color-border,#DCE4E0)}
.miwato-footer-inner{max-width:var(--content-max,1200px);margin:0 auto;padding:24px 20px 0;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.miwato-footer-kicker{display:block;color:var(--color-muted,#718084);font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.miwato-footer-title{margin:7px 0 4px;color:var(--color-deep,#173D4B);font-size:15px;font-weight:600}
.miwato-footer-title a{color:var(--color-primary,#245C79);text-decoration:none;font-weight:800}
.miwato-footer-title a:hover{text-decoration:underline;text-underline-offset:3px}
.miwato-footer-copy{max-width:440px;margin:0;color:var(--color-muted,#718084);font-size:12px;line-height:1.6}
.miwato-footer-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;text-align:right}
.miwato-footer-product{color:var(--color-deep,#173D4B);font-size:10px;font-weight:800;letter-spacing:.15em}
.miwato-footer-version{color:var(--color-muted,#718084);font-size:11px}
@media(max-width:600px){.miwato-footer{margin:40px 0 100px}.miwato-footer-inner{padding:20px 16px 0;align-items:flex-start;flex-direction:column;gap:14px}.miwato-footer-meta{align-items:flex-start;text-align:left}}

/* V2.1.0 — grouped price selection and compact combination picker */
.selection-intro{margin:14px 0 10px;color:var(--color-deep,#173D4B);font-size:12px;font-weight:700}
.price-group{padding:13px 0;border-top:1px solid var(--color-border,#DCE4E0)}
.price-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.price-group-head span{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--color-muted,#718084)}
.price-group-head strong{font-size:15px;color:var(--color-primary,#245C79)}
.variant-chips{display:flex;flex-wrap:wrap;gap:8px}
.variant-chip,.matrix-option{border:1px solid var(--color-border,#DCE4E0);border-radius:12px;background:#fff;color:var(--color-deep,#173D4B);cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.variant-chip{min-height:42px;padding:9px 12px;font-size:12px;font-weight:700}
.variant-chip.selected,.matrix-option.selected{border-color:var(--color-primary,#245C79);background:#EAF2F4;box-shadow:inset 0 0 0 1px var(--color-primary,#245C79)}
.mujair-matrix{display:grid;gap:10px;margin-top:12px}
.mujair-method{padding:12px;border:1px solid var(--color-border,#DCE4E0);border-radius:16px;background:rgba(255,255,255,.72)}
.mujair-method h3{margin:0 0 9px;font:600 15px var(--font-ui, sans-serif);color:var(--color-deep,#173D4B)}
.mujair-size-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.matrix-option{display:grid;gap:5px;min-width:0;padding:10px 5px;text-align:center}
.matrix-option span{font-size:11px;font-weight:700}
.matrix-option strong{font-size:11px;color:var(--color-primary,#245C79)}
.selection-footer{position:sticky;bottom:-18px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px -2px -2px;padding:12px 2px 2px;background:linear-gradient(180deg,rgba(255,254,250,0),#FFFEFA 22%)}
.selection-current{display:grid;gap:3px;min-width:0}
.selection-current small{font-size:10px;color:var(--color-muted,#718084)}
.selection-current strong{font-size:14px;color:var(--color-deep,#173D4B)}
.selection-add{min-height:46px;padding:0 16px;white-space:nowrap}
.selection-add:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:420px){.variant-chip{font-size:11px;padding:9px 10px}.selection-add{padding:0 12px;font-size:12px}.mujair-method{padding:10px}.matrix-option{padding:9px 3px}}
