@font-face {
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url('fonts/reem-kufi-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url('fonts/reem-kufi-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Cairo-400-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Cairo-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Cairo-700-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Cairo-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Cairo-900-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Cairo-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b0e0c;
  --ink-soft: #0f1310;
  --surface: #141915;
  --surface-raised: #1a211c;
  --surface-hover: #202a23;
  --forest: #234034;
  --forest-light: #6f947f;
  --brass: #d5b566;
  --brass-light: #f0d999;
  --brass-dark: #9d7f3b;
  --cream: #f4edde;
  --muted: #aaa99d;
  --muted-strong: #c8c5b9;
  --danger: #f08a82;
  --line: rgba(213, 181, 102, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-body: 'Cairo', system-ui, sans-serif;
  --font-display: 'Reem Kufi', 'Cairo', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--brass-dark) var(--ink);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 85% 18%, rgba(35, 64, 52, 0.25), transparent 25rem),
    var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

img {
  max-width: 100%;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  color: var(--ink);
  background: var(--brass-light);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--brass-dark);
}

:focus-visible {
  outline: 3px solid var(--brass-light);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 3000;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--brass-light);
  border-radius: var(--radius-sm);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Brand hero */
.hero-header {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 50px 22px 40px;
  isolation: isolate;
  background: url('pic/698190562_1592467109550480_3892840579311366404_n.jpg') center 48% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 14, 12, 0.7), rgba(11, 14, 12, 0.32) 48%, rgba(11, 14, 12, 0.64)),
    linear-gradient(180deg, rgba(11, 14, 12, 0.24), rgba(11, 14, 12, 0.92));
}

.hero-shade::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(213, 181, 102, 0.28);
  border-radius: 20px;
  pointer-events: none;
}

.brand-container {
  width: min(780px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-eyebrow,
.section-kicker,
.category-meta {
  margin: 0;
  color: var(--brass-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(213, 181, 102, 0.32);
  border-radius: 999px;
  background: rgba(11, 14, 12, 0.62);
  backdrop-filter: blur(10px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 18px 0 22px;
  text-align: right;
}

.brand-logo-seal {
  position: relative;
  width: 106px;
  height: 106px;
  flex: 0 0 106px;
  display: grid;
  place-items: center;
  padding: 14px 22px;
  overflow: hidden;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: rgba(11, 14, 12, 0.9);
  box-shadow: 0 0 0 7px rgba(11, 14, 12, 0.38), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.brand-logo-seal::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(213, 181, 102, 0.28);
  border-radius: inherit;
}

.brand-logo-img {
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 7px rgba(255, 255, 255, 0.16));
}

.brand-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.3rem);
  font-weight: 700;
  line-height: 1.06;
  text-shadow: 0 7px 24px rgba(0, 0, 0, 0.65);
}

.brand-tagline {
  margin: 5px 0 0;
  color: var(--brass-light);
  font-size: 1rem;
  font-weight: 600;
}

.brand-info-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 14px;
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(11, 14, 12, 0.76);
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
}

.info-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--brass);
}

/* Search and category controls */
.sticky-controls {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 12, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.controls-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.search-box-container {
  position: relative;
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 19px;
  height: 19px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 45px 0 66px;
  color: var(--cream);
  caret-color: var(--brass-light);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  outline: none;
  background: var(--surface);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.search-input::placeholder {
  color: #85877f;
}

.search-input:focus {
  border-color: var(--brass-dark);
  background: var(--surface-raised);
  box-shadow: 0 0 0 4px rgba(213, 181, 102, 0.1);
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.clear-search {
  position: absolute;
  top: 50%;
  left: 10px;
  display: none;
  padding: 5px 9px;
  color: var(--brass-light);
  border: 0;
  border-radius: 8px;
  background: rgba(213, 181, 102, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
}

.clear-search.visible {
  display: block;
}

.categories-nav {
  position: relative;
  display: flex;
  gap: 7px;
  min-width: 0;
  padding: 2px 2px 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}

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

.category-tab {
  min-height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: var(--muted-strong);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.category-tab small {
  min-width: 22px;
  padding: 2px 6px;
  color: var(--muted);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.67rem;
  text-align: center;
}

.category-tab.active {
  color: var(--ink);
  border-color: var(--brass-light);
  background: var(--brass);
}

.category-tab.active small {
  color: var(--ink);
  background: rgba(11, 14, 12, 0.13);
}

/* Menu */
.main-container {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 38px 18px 130px;
  scroll-margin-top: 122px;
}

.menu-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 0 5px;
}

.menu-intro h2 {
  margin: 1px 0 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.2;
}

.results-count {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.sections-wrapper {
  display: grid;
  gap: 24px;
}

.category-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  animation: section-in 420ms both ease-out;
}

.category-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 3px;
  background: linear-gradient(var(--brass-light), var(--brass-dark));
}

.category-header-box {
  min-height: 148px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(100deg, rgba(35, 64, 52, 0.34), transparent 48%),
    var(--surface-raised);
}

.category-arch {
  position: relative;
  width: 138px;
  height: 116px;
  flex: 0 0 138px;
  overflow: hidden;
  border: 1px solid var(--brass-dark);
  border-radius: 70px 70px 14px 14px;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(213, 181, 102, 0.06), 0 12px 26px rgba(0, 0, 0, 0.28);
}

.category-arch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 14, 12, 0.38));
}

.category-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.category-header-info {
  min-width: 0;
}

.category-meta {
  margin-bottom: 3px;
  font-size: 0.7rem;
}

.category-header-title {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.25;
}

.category-header-desc {
  max-width: 600px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.category-items-list {
  display: grid;
  padding: 8px 20px 16px;
}

.menu-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.menu-item-row:last-child {
  border-bottom: 0;
}

.item-info-col {
  min-width: 0;
}

.item-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.row-item-title {
  margin: 0;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.badge-tag-inline {
  display: inline-flex;
  padding: 2px 8px;
  color: var(--brass-light);
  border: 1px solid rgba(213, 181, 102, 0.26);
  border-radius: 999px;
  background: rgba(213, 181, 102, 0.08);
  font-size: 0.63rem;
  font-weight: 800;
  white-space: nowrap;
}

.row-item-desc {
  max-width: 650px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-pricing-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.size-price-pill {
  min-width: 88px;
  display: grid;
  gap: 1px;
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--ink-soft);
  text-align: center;
}

.pill-size {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.3;
}

.pill-price {
  color: var(--brass-light);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.pill-price small,
.size-option small {
  font-size: 0.65em;
  font-weight: 600;
}

.row-add-btn {
  min-width: 68px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--ink);
  border: 1px solid var(--brass-light);
  border-radius: 12px;
  background: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.row-add-btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.3;
}

/* Floating calculator */
.floating-calc-btn {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 24px;
  z-index: 120;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 8px 7px 13px;
  color: var(--ink);
  border: 1px solid var(--brass-light);
  border-radius: 17px;
  background: var(--brass);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(213, 181, 102, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.calc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(11, 14, 12, 0.12);
}

.calc-icon svg {
  width: 23px;
  height: 23px;
}

.calc-label {
  display: grid;
  text-align: right;
  line-height: 1.25;
}

.calc-label small {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.66;
}

.calc-label strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.badge-count {
  min-width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  color: var(--brass-light);
  border-radius: 10px;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.floating-calc-btn.has-items .badge-count {
  color: var(--ink);
  background: var(--cream);
}

/* Dialogs */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  background: rgba(3, 5, 4, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, 90dvh);
  overflow-y: auto;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

.bill-header {
  padding: 26px 66px 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(110deg, rgba(35, 64, 52, 0.35), transparent 60%);
}

.bill-header h2,
.size-modal-card h2 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.35;
}

.bill-header > p:last-child {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.bill-body {
  display: grid;
  gap: 9px;
  min-height: 150px;
  padding: 16px 18px;
}

.order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--ink-soft);
}

.order-item-info {
  min-width: 0;
}

.order-item-info h3 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.order-item-info p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.order-qty-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.order-qty-controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--brass-light);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(213, 181, 102, 0.08);
  cursor: pointer;
}

.order-qty-controls button span {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.order-qty-controls strong {
  min-width: 20px;
  color: var(--cream);
  text-align: center;
}

.bill-footer {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 9px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: rgba(20, 25, 21, 0.97);
  backdrop-filter: blur(12px);
}

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

.total-price {
  color: var(--brass-light);
  font-size: 1.35rem;
}

.tax-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  text-align: center;
}

.clear-cart-btn {
  min-height: 44px;
  color: var(--danger);
  border: 1px solid rgba(240, 138, 130, 0.28);
  border-radius: 11px;
  background: rgba(240, 138, 130, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.clear-cart-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.cart-empty-state,
.empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
}

.cart-empty-state {
  align-content: center;
  min-height: 150px;
  color: var(--muted);
}

.cart-empty-state > span,
.empty-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--brass);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(213, 181, 102, 0.06);
}

.cart-empty-state svg,
.empty-icon svg {
  width: 22px;
  height: 22px;
}

.cart-empty-state h3,
.empty-state h3 {
  margin: 0;
  color: var(--cream);
  font-size: 1rem;
}

.cart-empty-state p,
.empty-state p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.size-modal-card {
  width: min(420px, 100%);
  padding: 26px 22px 22px;
}

.size-modal-card > .section-kicker,
.size-modal-card > h2 {
  padding-left: 54px;
}

.size-options {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.size-option {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--ink-soft);
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.size-option bdi {
  color: var(--brass-light);
}

.empty-state {
  min-height: 360px;
  align-content: center;
  padding: 32px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.empty-state p {
  max-width: 420px;
  font-size: 0.82rem;
}

.empty-state button {
  margin-top: 16px;
  padding: 9px 15px;
  color: var(--ink);
  border: 1px solid var(--brass-light);
  border-radius: 10px;
  background: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.toast-region {
  position: fixed;
  right: 50%;
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 72px);
  z-index: 2100;
  max-width: calc(100vw - 32px);
  padding: 10px 15px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--forest);
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast-region.visible {
  opacity: 1;
  transform: translate(50%, 0);
}

/* Footer */
.app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 38px 20px 120px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
  font-size: 0.78rem;
}

.app-footer img {
  width: auto;
  height: 68px;
  opacity: 0.72;
}

.app-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--brass-light);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-note {
  margin-top: 4px !important;
  color: #777c74;
  font-size: 0.68rem;
}

.developer-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 10px !important;
  font-size: 0.68rem;
}

.developer-credit span {
  color: #777c74;
}

.developer-credit a {
  color: var(--brass-light);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 3px;
}

.developer-credit a:hover {
  text-decoration: underline;
}

.developer-credit a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

@keyframes section-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) {
  .category-tab:hover {
    color: var(--brass-light);
    border-color: var(--line);
    background: rgba(213, 181, 102, 0.06);
  }

  .category-tab.active:hover {
    color: var(--ink);
    background: var(--brass-light);
  }

  .menu-item-row {
    transition: background 160ms ease;
  }

  .menu-item-row:hover {
    background: rgba(255, 255, 255, 0.018);
  }

  .row-add-btn:hover {
    background: var(--brass-light);
    transform: translateY(-1px);
  }

  .floating-calc-btn:hover {
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.58), 0 0 0 5px rgba(213, 181, 102, 0.11);
    transform: translateY(-2px);
  }

  .size-option:hover {
    border-color: var(--brass-dark);
    background: var(--surface-hover);
  }
}

@media (max-width: 800px) {
  .controls-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .main-container {
    scroll-margin-top: 116px;
  }

  .menu-item-row {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .item-actions {
    justify-content: space-between;
  }

  .item-pricing-col {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-header {
    min-height: 338px;
    padding: 30px 16px 26px;
    background-position: 52% 48%;
  }

  .hero-shade::after {
    inset: 9px;
    border-radius: 17px;
  }

  .hero-eyebrow {
    padding: 5px 10px;
    font-size: 0.66rem;
  }

  .brand-lockup {
    gap: 14px;
    margin: 13px 0 17px;
  }

  .brand-logo-seal {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
    padding: 11px 18px;
    box-shadow: 0 0 0 5px rgba(11, 14, 12, 0.36), 0 10px 24px rgba(0, 0, 0, 0.3);
  }

  .brand-title {
    font-size: clamp(2.15rem, 12vw, 2.8rem);
  }

  .brand-tagline {
    margin-top: 3px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .brand-info-bar {
    width: 100%;
    gap: 7px;
  }

  .info-item {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .location-item {
    width: 100%;
    justify-content: center;
  }

  .tax-item {
    margin-inline: auto;
  }

  .sticky-controls {
    padding: 9px 11px 7px;
  }

  .search-input {
    height: 44px;
    border-radius: 12px;
    /* iOS Safari zooms focused form controls below 16px. */
    font-size: 16px;
  }

  .categories-nav {
    margin-inline: -2px;
  }

  .category-tab {
    min-height: 40px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 0.75rem;
  }

  .category-tab small {
    min-width: 19px;
    padding: 1px 5px;
    font-size: 0.6rem;
  }

  .main-container {
    padding: 27px 11px 120px;
    scroll-margin-top: 105px;
  }

  .menu-intro {
    margin-bottom: 13px;
    padding: 0 4px;
  }

  .menu-intro h2 {
    font-size: 1.72rem;
  }

  .section-kicker {
    font-size: 0.65rem;
  }

  .results-count {
    font-size: 0.7rem;
  }

  .sections-wrapper {
    gap: 18px;
  }

  .category-section {
    border-radius: 19px;
  }

  .category-header-box {
    min-height: 112px;
    gap: 15px;
    padding: 13px 14px 13px 17px;
  }

  .category-arch {
    width: 92px;
    height: 86px;
    flex-basis: 92px;
    border-radius: 48px 48px 11px 11px;
  }

  .category-meta {
    font-size: 0.59rem;
  }

  .category-header-title {
    font-size: 1.43rem;
  }

  .category-header-desc {
    display: -webkit-box;
    margin-top: 2px;
    overflow: hidden;
    font-size: 0.69rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .category-items-list {
    padding: 5px 12px 10px;
  }

  .menu-item-row {
    gap: 9px;
    padding: 13px 1px;
  }

  .row-item-title {
    font-size: 0.9rem;
  }

  .badge-tag-inline {
    padding: 1px 6px;
    font-size: 0.56rem;
  }

  .row-item-desc {
    display: -webkit-box;
    margin-top: 2px;
    overflow: hidden;
    font-size: 0.7rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .item-actions {
    align-items: stretch;
    gap: 8px;
  }

  .item-pricing-col {
    flex: 1;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .size-price-pill {
    min-width: 0;
    flex: 1;
    padding: 5px 8px;
  }

  .pill-size {
    font-size: 0.59rem;
  }

  .pill-price {
    font-size: 0.82rem;
  }

  .row-add-btn {
    min-width: 62px;
    min-height: 45px;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 0.71rem;
  }

  .floating-calc-btn {
    right: 50%;
    bottom: max(11px, env(safe-area-inset-bottom));
    left: auto;
    width: min(292px, calc(100vw - 24px));
    min-height: 56px;
    justify-content: flex-start;
    padding: 6px 7px 6px 12px;
    border-radius: 16px;
    transform: translateX(50%);
  }

  .calc-icon {
    width: 40px;
    height: 40px;
  }

  .calc-label {
    flex: 1;
  }

  .toast-region {
    bottom: calc(max(11px, env(safe-area-inset-bottom)) + 67px);
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 88dvh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(30px);
  }

  .bill-header {
    padding: 23px 62px 17px 18px;
  }

  .bill-header h2,
  .size-modal-card h2 {
    font-size: 1.52rem;
  }

  .bill-body {
    padding: 13px 12px;
  }

  .order-item-row {
    padding: 10px;
  }

  .order-qty-controls button {
    width: 36px;
    height: 36px;
  }

  .bill-footer {
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
  }

  .size-modal-card {
    padding: 24px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .app-footer {
    gap: 14px;
    justify-content: flex-start;
    padding: 30px 20px 112px;
    font-size: 0.68rem;
  }

  .app-footer img {
    height: 55px;
  }

  .footer-brand {
    font-size: 1rem;
  }
}

@media (max-width: 350px) {
  .brand-logo-seal {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }

  .brand-title {
    font-size: 2.05rem;
  }

  .brand-tagline {
    font-size: 0.69rem;
  }

  .category-arch {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .row-add-btn span {
    display: none;
  }

  .row-add-btn {
    min-width: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
