.menu-page {
  min-height: 100vh;
  padding-bottom: 100px;
}

.menu-loading {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--ink-soft);
}

.loading-pot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid var(--clay-100);
  border-top-color: var(--clay-600);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.menu-hero {
  background: linear-gradient(165deg, var(--clay-700) 0%, var(--clay-600) 55%, var(--gold) 130%);
  color: var(--cream);
  padding: 36px 24px 30px;
  border-radius: 0 0 28px 28px;
  position: relative;
}

.table-chip {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.menu-hero h1 {
  font-size: 34px;
  color: var(--cream);
  font-weight: 700;
}

.menu-hero-slogan {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.01em;
}

.menu-hero-sub {
  margin: 4px 0 0;
  opacity: 0.85;
  font-size: 14px;
}

.menu-controls {
  padding: 18px 20px 0;
}

.search-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 15px;
  color: var(--ink);
}

.search-input::placeholder {
  color: var(--ink-soft);
}

.filter-pills {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}

.pill {
  border: 1.5px solid var(--line);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.pill.active {
  background: var(--clay-600);
  border-color: var(--clay-600);
  color: var(--white);
}

.category-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 5;
  border-bottom: 1px solid var(--line);
}

.cat-tab {
  background: transparent;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.cat-tab.active {
  background: var(--leaf-700);
  color: var(--cream);
}

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

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

.menu-section h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--clay-700);
}

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

.item-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}

.item-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.item-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-popular { background: var(--gold-soft); color: var(--clay-700); }
.tag-veg { background: var(--leaf-500); color: var(--cream); }
.tag-spicy { background: var(--clay-100); color: var(--clay-700); }

.item-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.item-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}

.item-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.item-price {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.add-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--clay-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 60px 20px;
}

@media (min-width: 720px) {
  .item-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 31, 28, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-sheet {
  background: var(--cream);
  width: 100%;
  max-width: 540px;
  border-radius: 24px 24px 0 0;
  padding: 24px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.2s ease;
}

@media (min-width: 600px) {
  .modal-overlay { align-items: center; }
  .modal-sheet { border-radius: var(--radius-lg); }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1;
}

.modal-header h2 {
  font-size: 24px;
  margin-bottom: 6px;
  padding-right: 36px;
}

.modal-header p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.5;
}

.modal-base-price {
  font-weight: 800;
  color: var(--clay-700);
  font-size: 16px;
}

.modal-section {
  margin-top: 22px;
}

.modal-section h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-family: var(--body-font);
  font-weight: 800;
}

.addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.addon-row input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--clay-600);
}

.addon-price {
  font-weight: 700;
  color: var(--ink-soft);
}

.modal-section textarea {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  resize: none;
  font-size: 14px;
  background: var(--white);
}

.modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  position: sticky;
  bottom: 0;
  background: var(--cream);
  padding-top: 10px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 16px;
  background: var(--white);
}

.qty-stepper button {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--clay-600);
  font-weight: 700;
  padding: 10px 0;
}

.add-to-cart-btn {
  flex: 1;
  background: var(--clay-600);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
}
.cart-bar {
  position: fixed;
  bottom: 18px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: var(--leaf-700);
  color: var(--cream);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-pop);
  z-index: 20;
}

.cart-bar-count {
  background: rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.cart-bar-label {
  font-weight: 800;
  font-size: 15px;
}

.cart-bar-total {
  font-weight: 800;
  font-size: 15px;
}
.checkout-page {
  min-height: 100vh;
  padding: 0 20px 110px;
  max-width: 560px;
  margin: 0 auto;
}

.checkout-empty {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.checkout-empty button {
  background: var(--clay-600);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.checkout-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
}

.back-btn {
  background: var(--white);
  border: 1px solid var(--line);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
}

.checkout-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
}

.checkout-section h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  font-family: var(--body-font);
  font-weight: 800;
  margin-bottom: 12px;
}

.order-type-row, .payment-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.type-btn {
  flex: 1;
  min-width: 100px;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}

.type-btn.active {
  background: var(--clay-600);
  border-color: var(--clay-600);
  color: var(--white);
}

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

.cart-line:last-child {
  border-bottom: none;
}

.cart-line-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.cart-line-addons, .cart-line-notes {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  flex-shrink: 0;
}

.cart-line-qty button {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--clay-600);
  font-weight: 700;
}

.text-input {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  margin-bottom: 10px;
  font-size: 14.5px;
  background: var(--cream);
}

.text-input:last-child {
  margin-bottom: 0;
}

.checkout-summary {
  background: var(--leaf-700);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 5px 0;
  opacity: 0.9;
}

.summary-total {
  border-top: 1px solid rgba(255,255,255,0.25);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 800;
  font-size: 16px;
  opacity: 1;
}

.summary-note {
  font-size: 11.5px;
  opacity: 0.7;
  margin: 10px 0 0;
}

.checkout-error {
  background: var(--clay-100);
  color: var(--clay-700);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.place-order-btn {
  width: 100%;
  background: var(--clay-600);
  color: var(--white);
  border: none;
  padding: 17px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 16px;
}

.place-order-btn:disabled {
  opacity: 0.6;
}
.track-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  min-height: 100vh;
}

.track-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: var(--ink-soft);
}

.track-header h1 {
  font-size: 24px;
}

.track-header p {
  color: var(--ink-soft);
  margin: 4px 0 0;
  font-size: 14px;
}

.track-cancelled {
  background: var(--clay-100);
  color: var(--clay-700);
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-weight: 600;
}

.journey {
  margin: 30px 0;
  padding: 4px 0;
}

.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}

.journey-step:last-child {
  padding-bottom: 0;
}

.journey-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  z-index: 2;
  filter: grayscale(1) opacity(0.5);
  transition: all 0.3s ease;
}

.journey-step.reached .journey-dot {
  border-color: var(--clay-600);
  background: var(--clay-100);
  filter: none;
}

.journey-step.active .journey-dot {
  background: var(--clay-600);
  border-color: var(--clay-600);
  box-shadow: 0 0 0 6px var(--clay-100);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px var(--clay-100); }
  50% { box-shadow: 0 0 0 10px var(--clay-100); }
}

.journey-label {
  font-weight: 700;
  font-size: 15px;
  padding-top: 9px;
  color: var(--ink-soft);
}

.journey-step.reached .journey-label {
  color: var(--ink);
}

.journey-line {
  position: absolute;
  left: 20px;
  top: 42px;
  width: 2px;
  height: 28px;
  background: var(--line);
}

.journey-line.filled {
  background: var(--clay-600);
}

.track-items {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.track-items h3 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-family: var(--body-font);
  font-weight: 800;
}

.track-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
}

.track-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 800;
}

.rider-banner {
  background: var(--leaf-700);
  color: var(--cream);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.review-thanks {
  margin-top: 20px;
  text-align: center;
  background: var(--gold-soft);
  color: var(--clay-700);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

/* Review form - did not exist in the prior React build, added here */
.review-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.review-form h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.star-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--line);
  padding: 2px;
  line-height: 1;
}

.star.filled {
  color: var(--gold);
}

.review-comment {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  resize: none;
  font-size: 14px;
  background: var(--cream);
  margin-top: 4px;
  margin-bottom: 14px;
}

.review-submit {
  width: 100%;
  background: var(--clay-600);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
}

.review-submit:disabled {
  opacity: 0.5;
}
