/* ==========================================================================
   BLOOM SPECIALTY COFFEE - MINIMALIST LUXURY MENU DESIGN
   Faithful to the original cafe brand & printed menu aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Cinzel:wght@500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Authentic Bloom Theme */
  --bg-primary: #f6f3eb;
  --bg-secondary: #eee9dc;
  --bg-card: #ffffff;
  --bg-modal: #ffffff;
  --bg-overlay: rgba(19, 43, 58, 0.45);

  --text-main: #132b3a;
  --text-muted: #647b8a;
  --text-dim: #8fa1ad;
  --border-line: rgba(19, 43, 58, 0.15);
  --border-dotted: rgba(19, 43, 58, 0.28);

  --color-gold: #b38b3f;
  --color-gold-hover: #9c7731;
  --color-gold-light: rgba(179, 139, 63, 0.12);

  --font-title: 'Cinzel', serif;
  --font-en: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 18px rgba(19, 43, 58, 0.05);
  --shadow-drawer: 0 10px 40px rgba(19, 43, 58, 0.16);

  --transition-smooth: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #0a1319;
  --bg-secondary: #12202a;
  --bg-card: #142430;
  --bg-modal: #142430;
  --bg-overlay: rgba(0, 0, 0, 0.7);

  --text-main: #ede8df;
  --text-muted: #8fa4b3;
  --text-dim: #5c7280;
  --border-line: rgba(237, 232, 223, 0.12);
  --border-dotted: rgba(237, 232, 223, 0.22);

  --color-gold: #cfa85e;
  --color-gold-hover: #e0bb73;
  --color-gold-light: rgba(207, 168, 94, 0.15);

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-drawer: 0 12px 45px rgba(0, 0, 0, 0.6);
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-en);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

button, 
.nav-tab-item, 
.minimal-btn, 
.icon-toggle-btn, 
.btn-mini-add, 
.minimal-cart-btn, 
.mobile-order-pill, 
.opt-pill {
  touch-action: manipulation;
}

.container {
  width: 100%;
  max-width: 860px; /* Focused, elegant menu width like a physical menu board */
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Top Bar --- */
.top-nav {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-line);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.minimal-btn, .icon-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-line);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.icon-toggle-btn {
  width: 36px;
  height: 36px;
  padding: 0;
}

.minimal-btn:hover, .icon-toggle-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--color-gold);
}

.nav-icon {
  width: 16px;
  height: 16px;
}

/* Sun/Moon Toggle */
.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Minimal Cart Button */
.minimal-cart-btn {
  background: var(--text-main);
  color: var(--bg-primary);
  border: none;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-smooth);
}

.minimal-cart-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--color-gold);
  color: #0a1319;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Brand Header (Faithful to photo) --- */
.brand-header {
  padding: 44px 0 20px;
  text-align: center;
}

.brand-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-logo-container {
  width: 190px;
  max-width: 100%;
  margin-bottom: 8px;
}

.brand-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 14px;
}

body[dir="rtl"] .brand-tagline {
  letter-spacing: 1px;
}

.brand-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-smooth);
}

.brand-location-badge:hover {
  background: var(--bg-card);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-1px);
}

.loc-ico {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.footer-loc-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-smooth);
}

.footer-loc-link:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

/* --- Sticky Controls (Search & Clean Tabs) --- */
.sticky-controls {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--bg-primary);
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--border-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.controls-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-wrap {
  position: relative;
  width: 100%;
}

.search-ico {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.minimal-search-input {
  width: 100%;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  padding-inline-start: 38px;
  padding-inline-end: 34px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-smooth);
}

.minimal-search-input:focus {
  border-color: var(--color-gold);
}

.clear-btn {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: none;
}

.clear-btn.active {
  display: block;
}

/* Category Tabs (Underline / Minimalist pills) */
.category-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 4px;
}

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

.nav-tab-item {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.nav-tab-item:hover {
  color: var(--text-main);
}

.nav-tab-item.active {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-line);
  box-shadow: var(--shadow-subtle);
}

/* --- Authentic Menu Board --- */
.menu-main {
  padding: 30px 0 80px;
}

.menu-category-block {
  margin-bottom: 42px;
  scroll-margin-top: 140px;
}

/* Category Heading with Clean Underline (exactly like printed menu) */
.menu-cat-title-wrap {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
}

.menu-cat-heading {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-main);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--text-main);
}

body[dir="rtl"] .menu-cat-heading {
  font-family: var(--font-ar);
  letter-spacing: 1px;
}

/* Items List */
.menu-items-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Individual Menu Row (Authentic Dotted Leader Line) */
.menu-row {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-smooth);
  cursor: pointer;
}

.menu-row:hover {
  background: var(--bg-secondary);
}

.row-main-line {
  display: flex;
  align-items: baseline;
  width: 100%;
  gap: 8px;
}

/* Name and price live in separate groups so a long, wrapped name
   never fights the dotted leader / price / add-button for vertical space */
.row-name-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.row-price-group {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.item-bullet {
  color: var(--text-muted);
  font-size: 0.95rem;
  user-select: none;
}

.item-name-text {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-main);
  white-space: nowrap;
}

.item-subname {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-inline-start: 6px;
  font-weight: 400;
}

/* Elegant Dotted Leader */
.leader-dots {
  flex: 1;
  border-bottom: 1.5px dotted var(--border-dotted);
  margin: 0 4px 4px;
}

.item-price-text {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  white-space: nowrap;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-mini-add {
  background: var(--bg-primary);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-mini-add:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0a1319;
}

/* Subtle notes line */
.row-desc-line {
  padding-inline-start: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Empty search state */
.empty-menu-box {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Mobile Floating Order Bar --- */
.mobile-order-pill {
  display: none;
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  inset-inline: 16px;
  background: var(--text-main);
  color: var(--bg-primary);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  z-index: 120;
  box-shadow: var(--shadow-drawer);
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

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

.mobile-order-pill.active {
  display: flex;
}

.order-pill-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-pill-count {
  font-weight: 600;
  font-size: 0.88rem;
}

.order-pill-total {
  font-weight: 700;
  color: var(--color-gold);
  font-size: 0.95rem;
}

.order-pill-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
}

.arrow-ico {
  width: 16px;
  height: 16px;
}

body[dir="rtl"] .arrow-ico {
  transform: rotate(180deg);
}

/* --- Minimal Drawer (Cart) --- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.order-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-modal);
  z-index: 210;
  box-shadow: var(--shadow-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  visibility: hidden;
  pointer-events: none;
}

body[dir="rtl"] .order-drawer {
  transform: translateX(-105%);
}

.order-drawer.active,
body[dir="rtl"] .order-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-line);
}

.drawer-head-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.close-drawer-btn {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.drawer-items-list {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

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

.drawer-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.drawer-item-opts {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.drawer-qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.drawer-qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.total-val {
  color: var(--color-gold);
  font-size: 1.18rem;
  font-weight: 800;
}

.complete-order-btn {
  background: #045778;
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--transition-smooth);
}

.complete-order-btn:hover {
  opacity: 0.92;
}

.complete-order-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.check-ico {
  width: 18px;
  height: 18px;
}

.clear-cart-text-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
}

/* --- Minimal Modals --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.minimal-modal {
  background: var(--bg-modal);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-drawer);
  overflow: hidden;
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-line);
}

.modal-heading {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-price {
  font-weight: 700;
  color: var(--color-gold);
}

.close-modal-x {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-content-scroll {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-line);
}

.btn-solid {
  flex: 1;
  background: var(--text-main);
  color: var(--bg-primary);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity var(--transition-smooth);
}

.btn-solid:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-line);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Option Chips */
.opt-group-label {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.opt-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.opt-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.opt-pill.active {
  background: var(--text-main);
  color: var(--bg-primary);
  border-color: var(--text-main);
}

/* Forms */
.form-field {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-line);
  background: var(--bg-secondary);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.field-input:focus {
  border-color: var(--color-gold);
  background: var(--bg-card);
}

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

.order-summary-box {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

/* QR code canvas */
.qr-box {
  display: inline-block;
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-line);
}

.qr-box canvas {
  display: block;
  width: 180px;
  height: 180px;
}

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 300;
  pointer-events: none;
  max-width: 90%;
}

body[dir="rtl"] .toast-wrap {
  transform: translateX(50%);
}

.mini-toast {
  background: var(--text-main);
  color: var(--bg-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-subtle);
  animation: toastFade 0.25s ease;
}

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

/* --- Minimal Footer --- */
.minimal-footer {
  padding: 30px 0 40px;
  text-align: center;
  border-top: 1px solid var(--border-line);
}

.footer-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-info {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- Mobile Responsive & Touch Optimizations --- */
@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }

  .top-nav {
    padding: 10px 0;
  }

  .nav-content {
    gap: 8px;
  }

  .minimal-btn, .icon-toggle-btn {
    min-height: 38px;
  }

  .icon-toggle-btn {
    width: 38px;
    height: 38px;
  }

  .minimal-cart-btn {
    height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .brand-header {
    padding: 28px 0 16px;
  }

  .brand-logo-container {
    width: 140px;
  }

  .brand-tagline {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    margin-top: 10px;
  }

  .brand-location-badge {
    font-size: 0.76rem;
    padding: 4px 12px;
    margin-top: 8px;
  }

  /* Prevent automatic iOS Safari zoom by enforcing 16px */
  .minimal-search-input {
    font-size: 16px !important;
    height: 42px;
  }

  .category-nav {
    gap: 6px;
    padding: 2px 0 6px;
  }

  .nav-tab-item {
    padding: 7px 14px;
    font-size: 0.84rem;
  }

  .menu-main {
    padding: 20px 0 calc(95px + env(safe-area-inset-bottom, 0px));
  }

  .menu-category-block {
    margin-bottom: 34px;
    scroll-margin-top: 130px;
  }

  .menu-cat-heading {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  /* Clean, Luxury Menu Rows with Authentic Dotted Leader */
  .menu-row {
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .menu-row:active {
    background: var(--bg-secondary);
  }

  .row-main-line {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
  }

  .row-name-group {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .item-bullet {
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .item-name-text {
    font-size: 0.96rem;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
  }

  .item-subname {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: none; /* Keep clean on small phones */
  }

  .leader-dots {
    display: block;
    flex: 1 1 16px;
    min-width: 10px;
    border-bottom: 1.5px dotted var(--border-dotted);
    margin-bottom: 3px;
  }

  .row-price-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-inline-start: auto;
  }

  .item-price-text {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
  }

  /* Comfortable Mobile Touch Target (36x36px with 44px hit area feel) */
  .btn-mini-add {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
  }

  .btn-mini-add:active {
    transform: scale(0.88);
    background: var(--color-gold);
    color: #0a1319;
  }

  .row-desc-line {
    font-size: 0.76rem;
    padding-inline-start: 14px;
    color: var(--text-muted);
  }

  .order-drawer {
    max-width: 100%;
    width: 100%;
  }

  .minimal-modal {
    max-width: 100%;
    margin: 10px;
  }
}
