:root {
  --bg: #f1ece1;
  --bg-alt: #e7ddcf;
  --surface: rgba(255, 250, 240, 0.84);
  --surface-solid: #fffaf2;
  --surface-dark: #1f2f2a;
  --text: #1d2b26;
  --muted: #5f6d66;
  --accent: #176f52;
  --accent-2: #c99a4f;
  --accent-soft: rgba(23, 111, 82, 0.14);
  --line: rgba(24, 42, 35, 0.15);
  --danger: #b2483f;
  --shadow-soft: 0 18px 42px rgba(30, 42, 36, 0.14);
  --shadow-strong: 0 24px 60px rgba(24, 37, 31, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  display: grid;
  place-items: center;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 18%, rgba(201, 154, 79, 0.2), transparent 42%),
    radial-gradient(circle at 88% 84%, rgba(23, 111, 82, 0.2), transparent 38%),
    linear-gradient(145deg, var(--bg), var(--bg-alt));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 100%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.36) 0 1px, transparent 1px 100%);
  background-size: 26px 26px, 34px 34px;
  mask-image: radial-gradient(circle at 50% 35%, black 48%, transparent 100%);
}

.screen {
  width: min(100%, 430px);
  max-width: 100vw;
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  overflow-y: hidden;
  background: linear-gradient(180deg, #f8f3ea, #f3ece0);
}

.screen::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -210px;
  height: 300px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 111, 82, 0.24), transparent 70%);
  animation: glowDrift 7s ease-in-out infinite;
}

.hero {
  --hero-parallax-shift: 0px;
  position: relative;
  min-height: 78dvh;
  padding: calc(14px + env(safe-area-inset-top)) 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f8f3eb;
  background:
    radial-gradient(circle at 18% 12%, rgba(205, 214, 207, 0.26), transparent 34%),
    radial-gradient(circle at 78% 20%, rgba(212, 180, 122, 0.18), transparent 36%),
    linear-gradient(180deg, #adb2a6 0%, #8f9389 54%, #5d6358 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(calc(var(--hero-parallax-shift) * -0.35));
  transition: transform 0.18s ease;
  background:
    linear-gradient(180deg, rgba(18, 27, 23, 0.22) 0%, rgba(18, 27, 23, 0.35) 44%, rgba(18, 27, 23, 0.86) 100%),
    radial-gradient(circle at 76% 20%, rgba(201, 154, 79, 0.26), transparent 46%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -110px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 79, 0.34), transparent 72%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
}

.status-time {
  letter-spacing: 0.03em;
  font-size: 1.06rem;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sig,
.wifi {
  width: 18px;
  height: 12px;
  border: 2px solid rgba(255, 250, 240, 0.9);
  border-top: 0;
  border-radius: 2px;
}

.wifi {
  width: 16px;
  height: 11px;
  border-left: 0;
  border-right: 0;
  border-bottom: 2px solid rgba(255, 250, 240, 0.9);
  border-top: 2px solid rgba(255, 250, 240, 0.9);
  border-radius: 50%;
}

.battery {
  border: 1px solid rgba(255, 250, 240, 0.75);
  border-radius: 999px;
  padding: 3px 8px;
  line-height: 1;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-content {
  text-align: center;
  padding-bottom: 160px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #f4d8ad;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.55rem, 10.8vw, 4.55rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-shadow: 0 10px 22px rgba(6, 11, 9, 0.42);
}

.timing {
  margin: 10px 0 8px;
  font-size: clamp(1.02rem, 3.8vw, 1.28rem);
  color: #f4ead6;
  font-weight: 600;
}

.availability-note {
  margin: 8px auto 0;
  max-width: 330px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 176, 0.46);
  background: rgba(70, 22, 8, 0.34);
  color: #ffe8d2;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-note {
  margin: 0 auto 16px;
  max-width: 320px;
  color: rgba(248, 242, 230, 0.92);
  font-size: 0.98rem;
  line-height: 1.5;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 22px;
  max-width: 340px;
}

.hero-metrics span {
  border-radius: 999px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  background: rgba(22, 31, 27, 0.35);
  color: #f7efdd;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn,
.tab,
.quick-add-button,
.quick-control-btn,
.cart-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after,
.tab::after,
.quick-add-button::after,
.quick-control-btn::after,
.cart-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.32), transparent 62%);
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.btn:active::after,
.tab:active::after,
.quick-add-button:active::after,
.quick-control-btn:active::after,
.cart-cta:active::after {
  opacity: 1;
}

.btn:focus-visible,
.tab:focus-visible,
.add-item-btn:focus-visible,
.quick-add-button:focus-visible,
.quick-control-btn:focus-visible,
.drawer-close:focus-visible,
.qty-control button:focus-visible,
.remove-btn:focus-visible,
.sauce-cancel:focus-visible {
  outline: 2px solid rgba(201, 154, 79, 0.75);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  filter: saturate(0.75);
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(95deg, var(--accent), #2e8f6f 52%, var(--accent-2));
  color: #fefaf0;
  box-shadow: 0 12px 30px rgba(11, 70, 52, 0.34);
}

.btn-ghost {
  background: rgba(13, 21, 18, 0.42);
  color: #f8f1e2;
  border: 1px solid rgba(255, 240, 214, 0.35);
}

.hero-actions .btn {
  min-width: 150px;
  padding: 13px 18px;
  animation: heroCtaFloat 2.7s ease-in-out infinite;
  will-change: transform;
}

.hero-actions #orderNowBtn {
  background: linear-gradient(95deg, #176f52, #2e8f6f 58%, #176f52);
  color: #fefaf0;
  border: 1px solid rgba(255, 250, 240, 0.28);
  box-shadow: 0 12px 30px rgba(11, 70, 52, 0.34);
}

.hero-actions #viewMenuBtn {
  background: linear-gradient(95deg, rgba(214, 145, 53, 0.18), rgba(227, 167, 91, 0.24));
  color: #fff4df;
  border: 1px solid rgba(241, 186, 116, 0.56);
  box-shadow: 0 10px 22px rgba(110, 73, 27, 0.24);
}

.hero-actions .btn:nth-child(2) {
  animation-delay: 0.28s;
}

.menu-zone {
  position: relative;
  margin-top: -42px;
  padding: 0 14px 132px;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  background: linear-gradient(180deg, rgba(247, 241, 231, 0.95), rgba(243, 236, 224, 0.98));
  box-shadow: 0 -10px 28px rgba(22, 37, 31, 0.12);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.section-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c775c;
}

.section-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 0.98;
  color: var(--text);
}

.section-copy {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.section-cta {
  padding: 11px 16px;
  white-space: nowrap;
}

.menu-header {
  padding: 22px 8px 8px;
}

.menu-overline {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7a6650;
  text-transform: uppercase;
}

.menu-header h2 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 9vw, 3.2rem);
  line-height: 0.95;
}

.menu-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.reviews-zone,
.review-form-zone,
.client-footer {
  margin-top: 18px;
  padding: 18px 14px;
  border: 1px solid rgba(24, 42, 35, 0.12);
  border-radius: 24px;
  background: rgba(255, 251, 244, 0.92);
  box-shadow: 0 12px 26px rgba(24, 42, 35, 0.08);
}

.reviews-head {
  gap: 12px;
}

.reviews-zone .section-head > div {
  display: grid;
  gap: 4px;
}

.reviews-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reviews-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 14px;
  border: 1px solid rgba(23, 111, 82, 0.16);
  background: rgba(23, 111, 82, 0.08);
  color: #255646;
  font-size: 0.78rem;
  font-weight: 700;
}

.reviews-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.review-card {
  border: 1px solid rgba(24, 42, 35, 0.08);
  border-radius: 18px;
  background: #ffffff;
  padding: 12px 12px 10px;
}

.review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.review-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.review-card-date {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: #8a8d87;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(212, 155, 69, 0.12);
  color: #a0651a;
  font-size: 0.72rem;
  font-weight: 700;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.review-star {
  color: #d2d0c8;
  font-size: 0.8rem;
}

.review-star.is-filled {
  color: #d49b45;
}

.review-card-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.reviews-zone.is-preview .review-card-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.review-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23, 111, 82, 0.09);
  color: #255646;
  font-size: 0.75rem;
  font-weight: 700;
}

.review-empty {
  margin: 0;
  border: 1px dashed rgba(24, 42, 35, 0.14);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: center;
}

.review-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.review-form label {
  display: grid;
  gap: 6px;
}

.review-form label span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 42, 35, 0.12);
  border-radius: 18px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
}

.review-form textarea {
  min-height: 110px;
  resize: vertical;
}

.review-form-note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.review-form-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.review-form-message.is-success {
  background: rgba(23, 111, 82, 0.09);
  color: #255646;
  border: 1px solid rgba(23, 111, 82, 0.18);
}

.review-form-message.is-error {
  background: rgba(178, 72, 63, 0.1);
  color: #8c352d;
  border: 1px solid rgba(178, 72, 63, 0.18);
}

.review-submit-btn {
  width: 100%;
  padding: 14px 18px;
}

.client-footer {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
}

.client-footer-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.client-footer-text {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.client-footer-actions {
  display: grid;
  gap: 10px;
}

.client-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(23, 111, 82, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.client-footer-link-muted {
  color: var(--muted);
}

.tabs {
  position: sticky;
  top: calc(env(safe-area-inset-top) + 4px);
  z-index: 14;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 2px 10px;
  margin-bottom: 8px;
  scrollbar-width: none;
  background: rgba(247, 241, 231, 0);
  backdrop-filter: blur(0);
  border-bottom: 0;
  transition: box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, backdrop-filter 0.18s ease;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.tabs.is-stuck {
  background: rgba(247, 241, 231, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23, 111, 82, 0.14);
  box-shadow: 0 8px 16px rgba(24, 42, 35, 0.08);
}

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

.tab {
  flex: 0 0 auto;
  border: 1px solid rgba(23, 111, 82, 0.22);
  background: rgba(255, 250, 240, 0.78);
  color: #2a3a33;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.87rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  scroll-snap-align: center;
}

.tab-label {
  line-height: 1;
  white-space: nowrap;
}

.tab.active {
  border-color: rgba(201, 154, 79, 0.85);
  background: linear-gradient(110deg, rgba(23, 111, 82, 0.92), rgba(201, 154, 79, 0.88));
  color: #fff9ee;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(20, 56, 44, 0.2);
}

.menu-toolbar {
  position: sticky;
  top: 56px;
  z-index: 13;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 8px;
}

.menu-search {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(23, 111, 82, 0.2);
  background: rgba(255, 251, 244, 0.88);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.menu-search-icon {
  font-size: 0.96rem;
  color: #587468;
}

.menu-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #253a33;
  font-family: inherit;
  font-size: 0.9rem;
}

.menu-search input:focus {
  outline: none;
}

.menu-search input::placeholder {
  color: #73857c;
}

.menu-sort {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(23, 111, 82, 0.2);
  background: rgba(255, 251, 244, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #3f5b50;
  font-size: 0.77rem;
  font-weight: 700;
}

.menu-sort select {
  border: 0;
  background: transparent;
  color: #2b443a;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 120px;
}

.menu-sort select:focus {
  outline: none;
}

.menu-meta {
  margin: 0 2px 8px;
  font-size: 0.76rem;
  color: #5f7068;
  font-weight: 600;
}

.menu-list {
  padding: 2px 2px 10px;
  display: grid;
  gap: 12px;
  transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
  will-change: opacity, transform, filter;
}

.menu-list.is-loading {
  pointer-events: none;
}

.menu-list.is-switching-out {
  opacity: 0;
  transform: translateX(14px) scale(0.995);
  filter: blur(1px);
}

.menu-list.is-switching-in {
  animation: menuListIn 0.18s ease;
}

@keyframes menuListIn {
  from {
    opacity: 0;
    transform: translateX(-10px) scale(0.995);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.menu-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(20, 43, 35, 0.12);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(28, 43, 36, 0.2);
}

.menu-card:active {
  transform: scale(0.98);
}

.product-media {
  margin: 0;
  overflow: hidden;
  min-height: 148px;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.18s ease;
}

.product-media:active img {
  transform: scale(1.05);
}

.menu-card-body {
  padding: 12px 12px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.menu-card-head h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
  color: #1f3029;
}

.price {
  font-size: 1.02rem;
  font-weight: 800;
  color: #1a7a5a;
  white-space: nowrap;
}

.menu-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-size-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-size-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(23, 111, 82, 0.16);
  background: rgba(23, 111, 82, 0.06);
  padding: 4px 8px;
  color: #315146;
  font-size: 0.71rem;
  font-weight: 700;
}

.product-size-pill strong {
  color: #176f52;
}

.menu-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  min-height: 34px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #2f4d40;
  background: rgba(23, 111, 82, 0.1);
  border: 1px solid rgba(23, 111, 82, 0.22);
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-badge.badge-hot {
  color: #8a4b0b;
  border-color: rgba(207, 143, 45, 0.35);
  background: rgba(224, 173, 96, 0.2);
}

.quick-add-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f835f, #2c9773);
  color: #f6f4ec;
  padding: 7px 11px;
  min-width: 102px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  animation: quickAddIn 0.18s ease;
}

.quick-add-plus {
  font-size: 0.95rem;
  line-height: 1;
}

.quick-add-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(21, 88, 66, 0.25);
}

.quick-add-button:disabled {
  background: rgba(90, 108, 101, 0.72);
  color: rgba(246, 244, 236, 0.88);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.quick-add-controls {
  border-radius: 999px;
  border: 1px solid rgba(23, 111, 82, 0.28);
  background: rgba(255, 251, 244, 0.9);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 2px;
  gap: 4px;
  animation: quickAddExpand 0.18s ease;
}

.quick-control-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(23, 111, 82, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: #1f6d50;
  font-weight: 800;
  cursor: pointer;
}

.quick-control-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.quick-count {
  min-width: 20px;
  text-align: center;
  color: #234137;
  font-size: 0.82rem;
}

@keyframes quickAddIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes quickAddExpand {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.skeleton-card {
  border-color: rgba(23, 111, 82, 0.1);
  background: rgba(255, 250, 240, 0.74);
  box-shadow: none;
}

.skeleton-media {
  min-height: 148px;
  background: rgba(214, 204, 189, 0.45);
}

.skeleton-line {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(214, 204, 189, 0.45);
}

.skeleton-line + .skeleton-line {
  margin-top: 6px;
}

.skeleton-pill {
  width: 42%;
}

.skeleton-btn {
  width: 34%;
  margin-left: auto;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  animation: shimmerMove 1.15s ease-in-out infinite;
}

@keyframes shimmerMove {
  to {
    transform: translateX(100%);
  }
}

.add-item-btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f835f, #2c9773);
  color: #f6f4ec;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.add-item-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(21, 88, 66, 0.28);
}

.add-item-btn:disabled {
  background: rgba(90, 108, 101, 0.72);
  color: rgba(246, 244, 236, 0.88);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.cart-fab {
  position: fixed;
  left: 0;
  right: 0;
  width: min(100vw, 430px);
  margin: 0 auto;
  bottom: 0;
  z-index: 30;
  border: 0;
  border-top: 1px solid rgba(23, 111, 82, 0.24);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(246, 238, 225, 0.99));
  color: #243a31;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) 12px;
  box-shadow: 0 -10px 22px rgba(24, 43, 35, 0.16);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.cart-fab:hover {
  box-shadow: 0 -12px 26px rgba(24, 43, 35, 0.2);
}

.cart-fab.has-items {
  border-top-color: rgba(23, 111, 82, 0.52);
}

.cart-fab:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.cart-fab:disabled .cart-cta {
  box-shadow: none;
  filter: saturate(0.5);
}

.cart-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  line-height: 1.1;
  padding-left: 4px;
  min-width: 0;
  white-space: nowrap;
}

.cart-text strong {
  color: #1f382f;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cart-text small {
  color: #60746a;
  font-size: 0.77rem;
  font-weight: 600;
}

.cart-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 13px;
  background: linear-gradient(95deg, #176f52, #2a8b69);
  color: #fef9ef;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 16px rgba(21, 88, 66, 0.26);
  white-space: nowrap;
}

.cart-fab.is-closed .cart-cta {
  background: linear-gradient(95deg, #6a7b73, #7f8f86);
}

.cart-cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(-1px);
}

.value-updated {
  animation: valuePulse 0.18s ease;
}

@keyframes valuePulse {
  0% {
    opacity: 0.58;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(11, 18, 15, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: min(100vw, 430px);
  z-index: 40;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border: 1px solid rgba(255, 245, 228, 0.2);
  background: linear-gradient(165deg, #1c2b26, #243730);
  color: #f6efe2;
  transition: transform 0.24s ease;
  max-height: min(78dvh, 640px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-strong);
}

.cart-drawer.open {
  transform: translate(-50%, 0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(245, 228, 199, 0.15);
}

.cart-head h3 {
  margin: 0;
  font-size: 1.18rem;
}

.drawer-close {
  border: 1px solid rgba(246, 225, 194, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6efe2;
  padding: 7px 12px;
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  padding: 10px 12px;
  display: grid;
  gap: 10px;
}

.cart-item {
  border-radius: 14px;
  border: 1px solid rgba(246, 224, 191, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
}

.cart-item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-item-head strong {
  font-size: 0.95rem;
}

.cart-item-meta {
  display: block;
  margin-top: 3px;
  color: #e3d4bc;
  font-size: 0.78rem;
}

.cart-item-head span {
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 235, 206, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f1e3;
  cursor: pointer;
}

.remove-btn {
  border: 0;
  border-radius: 999px;
  background: rgba(178, 72, 63, 0.2);
  color: #ffd9d3;
  padding: 6px 10px;
  cursor: pointer;
}

.cart-empty {
  margin: 10px 0;
  padding: 26px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(23, 111, 82, 0.3);
  color: var(--muted);
  text-align: center;
  background: rgba(255, 250, 240, 0.68);
}

.cart-foot {
  border-top: 1px solid rgba(245, 228, 199, 0.15);
  padding: 12px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-total-row strong {
  font-size: 1.18rem;
}

.checkout-btn {
  width: 100%;
  padding: 12px 16px;
}

.checkout-btn:hover {
  filter: brightness(1.06);
}

.hidden {
  display: none !important;
}

.order-type-overlay {
  position: fixed;
  inset: 0;
  z-index: 47;
  background: rgba(10, 15, 13, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.order-type-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.order-type-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.98);
  width: min(92vw, 410px);
  z-index: 48;
  border-radius: 20px;
  border: 1px solid rgba(23, 111, 82, 0.2);
  background: linear-gradient(180deg, #fffaf2, #f7f0e4);
  color: #1f312a;
  padding: 18px 14px;
  box-shadow: 0 26px 48px rgba(17, 30, 25, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.order-type-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.order-type-modal h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.order-type-subtitle {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.order-type-section-title {
  margin: 6px 0 8px;
  font-size: 0.84rem;
  color: #2d4b3f;
  font-weight: 700;
}

.order-type-options {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.order-type-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(23, 111, 82, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.order-type-option input {
  accent-color: var(--accent);
}

.order-type-option.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.order-type-option.disabled input,
.order-type-option.disabled span {
  cursor: not-allowed;
}

.order-type-coming {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: #6a7f75;
}

.order-type-fields {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.order-type-fields label {
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  color: #365245;
}

.order-type-fields input {
  border: 1px solid rgba(23, 111, 82, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 12px;
  font: inherit;
  color: #1f312a;
}

.order-type-fields input:focus {
  outline: 2px solid rgba(23, 111, 82, 0.24);
  outline-offset: 1px;
}

.order-type-error {
  margin: 0;
  min-height: 18px;
  font-size: 0.82rem;
  color: #b2483f;
}

.order-type-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.order-type-cancel {
  border: 1px solid rgba(23, 111, 82, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #274238;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.order-type-confirm {
  padding: 10px 15px;
}

.sauce-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(10, 15, 13, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.sauce-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sauce-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.98);
  width: min(92vw, 390px);
  z-index: 46;
  border-radius: 18px;
  border: 1px solid rgba(23, 111, 82, 0.2);
  background: linear-gradient(180deg, #fffaf2, #f7f0e4);
  color: #1f312a;
  padding: 16px 14px;
  box-shadow: 0 24px 44px rgba(17, 30, 25, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.sauce-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.sauce-modal h3 {
  margin: 0 0 6px;
  font-size: 1.14rem;
}

.sauce-subtitle {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sauce-group + .sauce-group {
  margin-top: 14px;
}

.sauce-group-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d4b3f;
}

.sauce-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.sauce-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(23, 111, 82, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.sauce-option input {
  accent-color: var(--accent);
}

.sauce-option span {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sauce-option-price {
  color: #176f52;
  font-size: 0.82rem;
  font-weight: 800;
}

.sauce-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.sauce-cancel {
  border: 1px solid rgba(23, 111, 82, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #274238;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.sauce-confirm {
  padding: 10px 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  animation: riseSoft 0.75s ease forwards;
}

.status-row.reveal {
  animation-delay: 0.06s;
}

.hero-content.reveal {
  animation-delay: 0.2s;
}

.menu-header.reveal {
  animation-delay: 0.34s;
}

.tabs.reveal {
  animation-delay: 0.46s;
}

.menu-toolbar.reveal {
  animation-delay: 0.52s;
}

.menu-meta.reveal {
  animation-delay: 0.58s;
}

.menu-list.reveal {
  animation-delay: 0.64s;
}

.cart-fab.reveal {
  animation-delay: 0.72s;
}

@keyframes riseSoft {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glowDrift {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.72;
  }
  50% {
    transform: translateX(12px);
    opacity: 0.92;
  }
}

@keyframes heroCtaFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 370px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .menu-sort {
    justify-content: space-between;
  }

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

  .product-media img {
    min-height: 164px;
    max-height: 164px;
  }

  .menu-card-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-add-button,
  .quick-add-controls {
    width: 100%;
    justify-content: center;
  }

  .sauce-actions {
    flex-direction: column-reverse;
  }

  .order-type-actions {
    flex-direction: column-reverse;
  }

  .sauce-cancel,
  .sauce-confirm {
    width: 100%;
  }

  .order-type-cancel,
  .order-type-confirm {
    width: 100%;
  }
}

@media (min-width: 720px) {
  body {
    padding: 18px;
  }

  .screen {
    min-height: 860px;
    max-height: 92vh;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 48px 92px rgba(25, 39, 33, 0.25);
    overflow: auto;
  }

  .cart-fab {
    width: min(100vw, 430px);
  }
}

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