/* ==========================================================================
   MESAQR / Stitch Design System - Theme Stylesheet
   Haute Hospitality Matrix & Digital Dining Architecture
   ========================================================================== */

:root {
  --stitch-obsidian: #0f172a;
  --stitch-obsidian-soft: #1e293b;
  --stitch-canvas: #f8fafc;
  --stitch-surface: #ffffff;
  --stitch-surface-subtle: #f1f5f9;
  --stitch-border: #e2e8f0;
  --stitch-border-strong: #cbd5e1;
  --stitch-emerald: #f97316;
  --stitch-emerald-dark: #c2410c;
  --stitch-emerald-soft: rgba(249, 115, 22, 0.08);
  --stitch-amber: #f59e0b;
  --stitch-amber-soft: rgba(245, 158, 11, 0.08);
  --stitch-text-primary: #0f172a;
  --stitch-text-secondary: #475569;
  --stitch-text-muted: #64748b;
  --stitch-radius-sm: 4px;
  --stitch-radius-md: 8px;
  --stitch-radius-lg: 16px;
  --stitch-radius-xl: 24px;
  --stitch-radius-full: 9999px;
  --stitch-shadow-subtle: 0 1px 2px rgba(15, 23, 42, 0.04);
  --stitch-shadow-elevated: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --stitch-shadow-hover: 0 20px 32px -8px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.05);
  --stitch-font-sans: 'IBM Plex Sans', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --stitch-font-ar: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base resets & typography */
body.stitch-theme {
  font-family: var(--stitch-font-sans);
  background-color: var(--stitch-canvas);
  color: var(--stitch-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[dir="rtl"] body.stitch-theme,
[dir="rtl"] .stitch-theme {
  font-family: var(--stitch-font-ar) !important;
  line-height: 1.75;
}

/* Top Navigation Bar */
.stitch-navbar {
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stitch-border);
  min-height: 70px;
  height: 70px;
  padding: 0;
  display: flex;
  align-items: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1040;
}

.stitch-navbar.scrolled,
.stitch-navbar.top-nav-collapse {
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.98);
  box-shadow: 0 4px 20px rgba(10, 13, 18, 0.06);
  min-height: 66px;
  height: 66px;
}

/* Navbar Container */
.stitch-navbar .container,
.stitch-navbar-container {
  max-width: 1400px;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Mobile Navbar Toggler */
.stitch-navbar-toggler {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  padding: 0.45rem 0.75rem;
  border-radius: var(--stitch-radius-md);
  color: var(--mq-text, var(--stitch-obsidian));
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.stitch-navbar-toggler:hover,
.stitch-navbar-toggler:focus {
  background: var(--stitch-surface-subtle);
  border-color: var(--stitch-border-strong);
  color: var(--mq-text, var(--stitch-obsidian));
}

.stitch-navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-bars {
  display: none !important;
}

.stitch-navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-times {
  display: inline-block !important;
}

/* Brand */
.stitch-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.stitch-brand svg,
.stitch-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.stitch-brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  letter-spacing: -0.03em;
}

.stitch-brand-text span {
  color: var(--stitch-emerald);
}

/* Desktop Collapse Alignment */
@media (min-width: 992px) {
  .stitch-navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-grow: 1;
    margin-left: 1.25rem;
    margin-right: 0;
  }
  [dir="rtl"] .stitch-navbar .navbar-collapse {
    margin-left: 0;
    margin-right: 1.25rem;
  }
}

/* Nav Links List */
.stitch-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto !important;
  padding: 0;
  gap: clamp(0.45rem, 1.1vw, 1.2rem);
  flex-wrap: nowrap;
}

.stitch-nav-links .nav-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

/* Nav Link */
.stitch-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stitch-text-secondary);
  text-decoration: none !important;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.5rem 0.25rem;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

[dir="rtl"] .stitch-nav-link {
  font-family: 'Cairo', var(--stitch-font-sans);
  letter-spacing: 0;
}

.stitch-nav-link:hover,
.stitch-nav-link.active {
  color: var(--mq-text, var(--stitch-obsidian));
}

.stitch-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--stitch-emerald);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.stitch-nav-link:hover::after,
.stitch-nav-link.active::after {
  width: 80%;
}

/* Nav Actions Container */
.stitch-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Language Dropdown Container & Trigger */
.stitch-lang-dropdown {
  position: relative;
}

.stitch-lang-btn {
  background-color: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-md);
  height: 38px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--stitch-text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(10, 13, 18, 0.04);
}

.stitch-lang-btn i {
  color: var(--stitch-text-muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.stitch-lang-btn:hover,
.stitch-lang-btn[aria-expanded="true"] {
  color: var(--mq-text, var(--stitch-obsidian));
  border-color: var(--stitch-border-strong);
  background-color: var(--stitch-surface-subtle);
}

.stitch-lang-btn:hover i,
.stitch-lang-btn[aria-expanded="true"] i {
  color: var(--stitch-emerald);
}

.stitch-lang-btn.dropdown-toggle::after {
  margin-left: 0.4em;
  vertical-align: 0.15em;
  transition: transform 0.2s ease;
}

[dir="rtl"] .stitch-lang-btn.dropdown-toggle::after {
  margin-left: 0;
  margin-right: 0.45em;
}

.stitch-lang-dropdown.show .stitch-lang-btn.dropdown-toggle::after,
.stitch-lang-btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Dropdown Menu Popup - Stitch Haute Design */
.stitch-navbar .stitch-lang-menu {
  min-width: 150px;
  padding: 0.35rem !important;
  background-color: var(--mq-surface, #ffffff) !important;
  border: 1px solid var(--stitch-border) !important;
  border-radius: var(--stitch-radius-lg) !important;
  box-shadow: 0 12px 28px -6px rgba(10, 13, 18, 0.12), 0 4px 10px -2px rgba(10, 13, 18, 0.04) !important;
  margin-top: 0.45rem;
  z-index: 1050;
  overflow: hidden;
}

.stitch-navbar .stitch-lang-menu.dropdown-menu-right {
  right: 0 !important;
  left: auto !important;
}

[dir="rtl"] .stitch-navbar .stitch-lang-menu.dropdown-menu-right {
  right: 0 !important;
  left: auto !important;
  text-align: right;
}

/* Individual Dropdown Item */
.stitch-lang-item,
.stitch-navbar .stitch-lang-menu .dropdown-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: var(--mq-text, var(--stitch-obsidian)) !important;
  background-color: transparent !important;
  border-radius: var(--stitch-radius-md) !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  cursor: pointer;
  outline: none !important;
  border: none !important;
  margin-bottom: 2px;
}

.stitch-lang-item:last-child,
.stitch-navbar .stitch-lang-menu .dropdown-item:last-child {
  margin-bottom: 0;
}

[dir="rtl"] .stitch-lang-item,
[dir="rtl"] .stitch-navbar .stitch-lang-menu .dropdown-item {
  font-family: 'Cairo', var(--stitch-font-sans);
  text-align: right;
}

/* Hover State - Soft Stone Tint without underline */
.stitch-lang-item:hover,
.stitch-lang-item:focus,
.stitch-navbar .stitch-lang-menu .dropdown-item:hover,
.stitch-navbar .stitch-lang-menu .dropdown-item:focus {
  background-color: var(--stitch-surface-subtle) !important;
  color: var(--mq-text, var(--stitch-obsidian)) !important;
  text-decoration: none !important;
}

.stitch-lang-item .stitch-lang-name {
  color: inherit !important;
}

/* Active State (Currently Selected Language) */
.stitch-lang-item.active,
.stitch-lang-item.is-active,
.stitch-navbar .stitch-lang-menu .dropdown-item.active,
.stitch-navbar .stitch-lang-menu .dropdown-item:active {
  background-color: rgb(var(--mq-rgb-primary, 16 185 129) / 0.1) !important;
  color: var(--stitch-emerald-dark) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.stitch-lang-item.active .stitch-lang-name,
.stitch-lang-item.is-active .stitch-lang-name,
.stitch-navbar .stitch-lang-menu .dropdown-item.active .stitch-lang-name {
  color: var(--stitch-emerald-dark) !important;
  font-weight: 700 !important;
}

.stitch-lang-item.active:hover,
.stitch-lang-item.is-active:hover,
.stitch-navbar .stitch-lang-menu .dropdown-item.active:hover {
  background-color: rgb(var(--mq-rgb-primary, 16 185 129) / 0.16) !important;
  color: var(--stitch-emerald-dark) !important;
}

/* Active Checkmark Indicator */
.stitch-lang-check {
  font-size: 0.78rem;
  color: var(--stitch-emerald);
  margin-left: 0.5rem;
  flex-shrink: 0;
}

[dir="rtl"] .stitch-lang-check {
  margin-left: 0;
  margin-right: 0.5rem;
}


/* Action Buttons */
.stitch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--stitch-radius-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}

.stitch-btn-nav,
.stitch-nav-actions .stitch-btn {
  height: 38px;
  padding: 0 0.95rem;
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--stitch-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stitch-btn-primary {
  background-color: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(10, 13, 18, 0.12);
}

.stitch-btn-primary:hover {
  background-color: #1f2937;
  color: var(--mq-on-dark, #ffffff) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 13, 18, 0.18);
}

.stitch-btn-secondary {
  background-color: var(--mq-surface, #ffffff);
  color: var(--mq-text, var(--stitch-obsidian)) !important;
  border: 1px solid var(--stitch-border);
}

.stitch-btn-secondary:hover {
  background-color: var(--stitch-surface-subtle);
  border-color: var(--stitch-border-strong);
  color: var(--mq-text, var(--stitch-obsidian)) !important;
}

.stitch-btn-emerald {
  background-color: var(--stitch-emerald);
  color: var(--mq-on-primary, #ffffff) !important;
  border: 1px solid var(--stitch-emerald-dark);
  box-shadow: 0 4px 14px rgb(var(--mq-rgb-primary, 16 185 129) / 0.25);
}

.stitch-btn-emerald:hover {
  background-color: var(--stitch-emerald-dark);
  color: var(--mq-on-primary, #ffffff) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgb(var(--mq-rgb-primary, 16 185 129) / 0.35);
}

.stitch-btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
}

.stitch-btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

/* Intermediate Laptops & Tablets (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .stitch-navbar .navbar-collapse {
    margin-left: 0.5rem;
  }
  [dir="rtl"] .stitch-navbar .navbar-collapse {
    margin-left: 0;
    margin-right: 0.5rem;
  }
  .stitch-nav-links {
    gap: 0.45rem;
  }
  .stitch-nav-link {
    font-size: 0.81rem;
    padding: 0.4rem 0.2rem;
  }
  .stitch-nav-actions {
    gap: 0.35rem;
  }
  .stitch-lang-btn {
    height: 34px;
    padding: 0 0.55rem;
    font-size: 0.76rem;
  }
  .stitch-btn-nav,
  .stitch-nav-actions .stitch-btn {
    height: 34px;
    padding: 0 0.7rem;
    font-size: 0.78rem;
  }
}


/* Badges & Kickers */
.stitch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stitch-emerald-dark);
  background-color: var(--stitch-emerald-soft);
  border: 1px solid rgb(var(--mq-rgb-primary, 16 185 129) / 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--stitch-radius-full);
  margin-bottom: 1.25rem;
}

.stitch-kicker-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--stitch-emerald);
  box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary, 16 185 129) / 0.7);
  animation: stitchPulse 2s infinite;
}

@keyframes stitchPulse {
  0% { box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary, 16 185 129) / 0.7); }
  70% { box-shadow: 0 0 0 8px rgb(var(--mq-rgb-primary, 16 185 129) / 0); }
  100% { box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary, 16 185 129) / 0); }
}

/* Hero Section */
.stitch-hero {
  padding: 7.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 15% 25%, rgb(var(--mq-rgb-primary, 16 185 129) / 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgb(var(--mq-rgb-accent, 245 158 11) / 0.03) 0%, transparent 45%),
    var(--stitch-canvas);
}

.stitch-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 1.25rem;
}

[dir="rtl"] .stitch-hero-title {
  letter-spacing: 0;
  line-height: 1.25;
  font-size: 3.25rem;
}

.stitch-hero-subtitle {
  font-size: 1.15rem;
  color: var(--stitch-text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 580px;
}

.stitch-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stitch-trust-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--stitch-text-muted);
  flex-wrap: wrap;
}

.stitch-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stitch-trust-item i {
  color: var(--stitch-emerald);
  font-size: 0.95rem;
}

/* Interactive Dining Sandbox (Hero Mockup) */
.stitch-sandbox-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stitch-phone-mockup {
  width: 320px;
  background: var(--mq-surface, #ffffff);
  border-radius: 40px;
  border: 10px solid #1f242e;
  box-shadow: 0 25px 60px -15px rgba(10, 13, 18, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: rotate(0deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stitch-phone-mockup:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 75px -18px rgba(10, 13, 18, 0.32);
}

.stitch-phone-notch {
  width: 120px;
  height: 20px;
  background: #1f242e;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto;
  position: relative;
}

.stitch-phone-screen {
  padding: 12px 14px 20px;
  background-color: #fafafa;
  min-height: 480px;
}

.stitch-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stitch-border);
  margin-bottom: 12px;
}

.stitch-phone-resto-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
}

.stitch-phone-table-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--mq-success-soft, #ecfdf5);
  color: var(--stitch-emerald-dark);
  padding: 2px 8px;
  border-radius: var(--stitch-radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stitch-phone-cat-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.stitch-cat-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--stitch-radius-full);
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  color: var(--stitch-text-secondary);
  white-space: nowrap;
}

.stitch-cat-pill.active {
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  border-color: var(--stitch-obsidian);
}

.stitch-phone-dish-card {
  background: var(--mq-surface, #ffffff);
  border-radius: 16px;
  border: 1px solid var(--stitch-border);
  overflow: hidden;
  box-shadow: var(--stitch-shadow-subtle);
  margin-bottom: 12px;
}

.stitch-phone-dish-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.stitch-phone-dish-body {
  padding: 10px 12px;
}

.stitch-phone-dish-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 4px;
}

.stitch-phone-dish-desc {
  font-size: 0.72rem;
  color: var(--stitch-text-secondary);
  line-height: 1.35;
  margin-bottom: 8px;
}

.stitch-phone-dish-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stitch-phone-dish-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
}

.stitch-phone-add-btn {
  background: var(--stitch-emerald);
  color: var(--mq-on-primary, #ffffff);
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stitch-phone-cart-bar {
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

/* Floating Hardware QR Card */
.stitch-qr-floating-card {
  position: absolute;
  top: 15%;
  right: -25px;
  background: var(--mq-surface, #ffffff);
  border-radius: 20px;
  border: 1px solid var(--stitch-border);
  box-shadow: var(--stitch-shadow-hover);
  padding: 16px;
  width: 210px;
  z-index: 3;
  backdrop-filter: blur(8px);
  animation: floatCard 6s ease-in-out infinite;
}

[dir="rtl"] .stitch-qr-floating-card {
  right: auto;
  left: -25px;
}

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

.stitch-qr-target {
  background: var(--mq-canvas, #f8fafc);
  border: 1px dashed var(--stitch-emerald);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  position: relative;
  margin-bottom: 10px;
}

.stitch-qr-target img,
.stitch-qr-target svg {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  display: block;
}

.stitch-qr-reticle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--stitch-emerald);
  border-style: solid;
}
.stitch-qr-reticle-tl { top: 4px; left: 4px; border-width: 2px 0 0 2px; }
.stitch-qr-reticle-tr { top: 4px; right: 4px; border-width: 2px 2px 0 0; }
.stitch-qr-reticle-bl { bottom: 4px; left: 4px; border-width: 0 0 2px 2px; }
.stitch-qr-reticle-br { bottom: 4px; right: 4px; border-width: 0 2px 2px 0; }

.stitch-qr-stats {
  font-size: 0.72rem;
  color: var(--stitch-text-secondary);
}

.stitch-qr-stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.stitch-qr-stat-val {
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
}

/* Telemetry & Metrics Strip */
.stitch-metrics-strip {
  background: var(--mq-surface, #ffffff);
  border-top: 1px solid var(--stitch-border);
  border-bottom: 1px solid var(--stitch-border);
  padding: 2.25rem 0;
}

.stitch-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stitch-metric-card {
  padding: 0 1.5rem;
  border-right: 1px solid var(--stitch-border);
}

[dir="rtl"] .stitch-metric-card {
  border-right: none;
  border-left: 1px solid var(--stitch-border);
}

.stitch-metric-card:last-child {
  border: none;
}

.stitch-metric-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--mq-text, var(--stitch-obsidian));
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.stitch-metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--stitch-text-secondary);
}

/* Sections Common Header */
.stitch-section {
  padding: 6rem 0;
  position: relative;
}

.stitch-section-alt {
  background-color: var(--mq-surface, #ffffff);
  border-top: 1px solid var(--stitch-border);
  border-bottom: 1px solid var(--stitch-border);
}

.stitch-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.stitch-section-title {
  font-size: 2.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--mq-text, var(--stitch-obsidian));
  line-height: 1.2;
  margin-bottom: 1rem;
}

[dir="rtl"] .stitch-section-title {
  letter-spacing: 0;
  line-height: 1.35;
  font-size: 2.35rem;
}

.stitch-section-desc {
  font-size: 1.05rem;
  color: var(--stitch-text-secondary);
  line-height: 1.7;
}

/* 3-Step Workflow */
.stitch-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stitch-step-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--stitch-shadow-subtle);
}

.stitch-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--stitch-obsidian);
  box-shadow: var(--stitch-shadow-elevated);
}

.stitch-step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--stitch-radius-md);
  background-color: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.stitch-step-card:nth-child(2) .stitch-step-num-badge {
  background-color: var(--stitch-emerald);
}

.stitch-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.75rem;
}

.stitch-step-desc {
  font-size: 0.92rem;
  color: var(--stitch-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Haute Bento Grid Features */
.stitch-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stitch-bento-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--stitch-shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stitch-bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--stitch-border-strong);
  box-shadow: var(--stitch-shadow-elevated);
}

.stitch-bento-span-2 {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--mq-surface, #ffffff) 0%, #f9fafb 100%);
}

.stitch-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--stitch-radius-md);
  background-color: var(--stitch-surface-subtle);
  color: var(--mq-text, var(--stitch-obsidian));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.stitch-bento-card.highlight .stitch-bento-icon {
  background-color: var(--stitch-emerald-soft);
  color: var(--stitch-emerald-dark);
}

.stitch-bento-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.65rem;
}

.stitch-bento-desc {
  font-size: 0.92rem;
  color: var(--stitch-text-secondary);
  line-height: 1.6;
}

.stitch-bento-mockup {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--mq-surface, #ffffff);
  border-radius: var(--stitch-radius-md);
  border: 1px solid var(--stitch-border);
}

/* Sensorial Culinary Showcase */
.stitch-culinary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stitch-dish-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-xl);
  overflow: hidden;
  box-shadow: var(--stitch-shadow-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stitch-dish-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--stitch-shadow-hover);
  border-color: var(--stitch-border-strong);
}

.stitch-dish-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: #000000;
}

.stitch-dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.stitch-dish-card:hover .stitch-dish-img {
  transform: scale(1.04);
}

.stitch-dish-badge-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--stitch-radius-full);
}

[dir="rtl"] .stitch-dish-badge-overlay {
  right: auto;
  left: 16px;
}

.stitch-dish-body {
  padding: 1.75rem;
}

.stitch-dish-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.5rem;
}

.stitch-dish-desc {
  font-size: 0.92rem;
  color: var(--stitch-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.stitch-dish-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stitch-dish-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--stitch-radius-full);
  background: var(--stitch-surface-subtle);
  color: var(--stitch-text-secondary);
  border: 1px solid var(--stitch-border);
}

.stitch-dish-tag.emerald {
  background: var(--mq-success-soft, #ecfdf5);
  color: var(--stitch-emerald-dark);
  border-color: rgb(var(--mq-rgb-primary, 16 185 129) / 0.25);
}

/* Pricing Section */
.stitch-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stitch-plan-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--stitch-shadow-subtle);
  display: flex;
  flex-direction: column;
}

.stitch-plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--stitch-obsidian);
  box-shadow: var(--stitch-shadow-elevated);
}

.stitch-plan-card.featured {
  border: 2px solid var(--stitch-obsidian);
  box-shadow: 0 12px 36px -8px rgba(10, 13, 18, 0.16);
}

.stitch-popular-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--stitch-radius-full);
}

[dir="rtl"] .stitch-popular-ribbon {
  right: auto;
  left: 24px;
}

.stitch-plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.5rem;
}

.stitch-plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--stitch-border);
}

.stitch-plan-price {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--mq-text, var(--stitch-obsidian));
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stitch-plan-freq {
  font-size: 0.9rem;
  color: var(--stitch-text-secondary);
}

.stitch-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex-grow: 1;
}

.stitch-plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--stitch-text-secondary);
  margin-bottom: 0.85rem;
}

.stitch-plan-feature-item i.fa-check-circle {
  color: var(--stitch-emerald);
  font-size: 1.05rem;
}

.stitch-plan-feature-item i.fa-times-circle {
  color: #e5e7eb;
  font-size: 1.05rem;
}

.stitch-plan-feature-item strong {
  color: var(--mq-text, var(--stitch-obsidian));
}

/* Callout Banners for POS & Multi-Branch */
.stitch-addon-banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stitch-addon-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stitch-addon-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--stitch-radius-md);
  background: var(--stitch-emerald-soft);
  color: var(--stitch-emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stitch-addon-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.25rem;
}

.stitch-addon-content p {
  font-size: 0.86rem;
  color: var(--stitch-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* FAQ Accordion */
.stitch-faq-grid {
  max-width: 820px;
  margin: 0 auto;
}

.stitch-faq-item {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.stitch-faq-item.active {
  border-color: var(--stitch-obsidian);
}

.stitch-faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  user-select: none;
}

.stitch-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--stitch-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.stitch-faq-item.active .stitch-faq-icon {
  transform: rotate(45deg);
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
}

.stitch-faq-answer {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.95rem;
  color: var(--stitch-text-secondary);
  line-height: 1.7;
  display: none;
}

.stitch-faq-item.active .stitch-faq-answer {
  display: block;
}

/* Happy Clients & Testimonials Section */
.stitch-clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.stitch-client-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--stitch-shadow-subtle);
  position: relative;
}

.stitch-client-card:hover {
  transform: translateY(-4px);
  border-color: var(--stitch-border-strong);
  box-shadow: var(--stitch-shadow-elevated);
}

.stitch-client-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.stitch-client-stars {
  color: var(--stitch-amber);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.stitch-client-stat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--stitch-radius-full);
  background: var(--mq-success-soft, #ecfdf5);
  color: var(--stitch-emerald-dark);
  border: 1px solid rgb(var(--mq-rgb-primary, 16 185 129) / 0.2);
}

.stitch-client-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--stitch-text-secondary);
  margin-bottom: 1.75rem;
  flex-grow: 1;
  font-style: normal;
}

.stitch-client-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stitch-border);
}

.stitch-client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.stitch-client-avatar.emerald {
  background: var(--stitch-emerald);
}

.stitch-client-avatar.amber {
  background: var(--stitch-amber);
}

.stitch-client-meta h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  margin: 0 0 2px;
}

.stitch-client-meta p {
  font-size: 0.8rem;
  color: var(--stitch-text-muted);
  margin: 0;
}

/* Feature Case Study Card */
.stitch-case-study {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-xl);
  padding: 2.75rem;
  margin-bottom: 3rem;
  box-shadow: var(--stitch-shadow-subtle);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--stitch-emerald);
}

[dir="rtl"] .stitch-case-study {
  border-left: 1px solid var(--stitch-border);
  border-right: 5px solid var(--stitch-emerald);
}

.stitch-case-study-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stitch-emerald-dark);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.stitch-case-study-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 1rem;
  line-height: 1.35;
}

.stitch-case-study-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--stitch-text-secondary);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   08. STITCH EDITORIAL BLOG & STORIES SECTION
   ========================================================================== */
.stitch-blog-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 3px 0 rgba(10, 13, 18, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.stitch-blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--stitch-border-strong);
  box-shadow: 0 16px 36px -8px rgba(10, 13, 18, 0.12);
}

.stitch-blog-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--stitch-surface-subtle);
}

.stitch-blog-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.stitch-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stitch-blog-card:hover .stitch-blog-img {
  transform: scale(1.06);
}

.stitch-blog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 13, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--stitch-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.02em;
}

[dir="rtl"] .stitch-blog-badge {
  left: auto;
  right: 14px;
  direction: rtl;
}

.stitch-blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stitch-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--stitch-text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.stitch-blog-meta-dot {
  color: var(--stitch-border-strong);
  font-size: 0.85rem;
}

.stitch-blog-category {
  color: var(--stitch-emerald-dark);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stitch-blog-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: var(--mq-text, var(--stitch-obsidian));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.45rem;
}

.stitch-blog-title a {
  color: var(--mq-text, var(--stitch-obsidian));
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.stitch-blog-title a:hover {
  color: var(--stitch-emerald-dark);
}

.stitch-blog-excerpt {
  font-size: 0.88rem;
  color: var(--stitch-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-blog-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--stitch-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stitch-blog-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.stitch-blog-link:hover {
  color: var(--stitch-emerald-dark);
}

.stitch-blog-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.82rem;
}

.stitch-blog-card:hover .stitch-blog-arrow {
  transform: translateX(4px);
  color: var(--stitch-emerald);
}

/* RTL Blog Enhancements */
[dir="rtl"] .stitch-blog-title {
  font-family: 'Cairo', var(--stitch-font-sans);
  line-height: 1.55;
}

[dir="rtl"] .stitch-blog-excerpt {
  font-family: 'Cairo', var(--stitch-font-sans);
  line-height: 1.7;
}

[dir="rtl"] .stitch-blog-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .stitch-blog-card:hover .stitch-blog-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* Bottom CTA Banner */
.stitch-cta-banner-sec {
  padding: 5rem 0;
  background-color: var(--stitch-canvas);
}

.stitch-cta-banner {
  background-color: var(--stitch-obsidian);
  border-radius: 28px;
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(10, 13, 18, 0.4);
}

.stitch-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgb(var(--mq-rgb-primary, 16 185 129) / 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.stitch-cta-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--mq-on-dark, #ffffff);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

[dir="rtl"] .stitch-cta-title {
  letter-spacing: 0;
  font-size: 2.5rem;
}

.stitch-cta-desc {
  font-size: 1.15rem;
  color: var(--mq-text-3, #9ca3af);
  max-width: 620px;
  margin: 0 auto 2.25rem;
  position: relative;
  z-index: 1;
}

.stitch-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Footer */
.stitch-footer {
  background-color: var(--mq-surface, #ffffff);
  border-top: 1px solid var(--stitch-border);
  padding: 4.5rem 0 2rem;
}

.stitch-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.stitch-footer-brand p {
  font-size: 0.9rem;
  color: var(--stitch-text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 320px;
}

.stitch-footer-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 1.25rem;
}

.stitch-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stitch-footer-links li {
  margin-bottom: 0.65rem;
}

.stitch-footer-links a {
  font-size: 0.9rem;
  color: var(--stitch-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.stitch-footer-links a:hover {
  color: var(--mq-text, var(--stitch-obsidian));
}

.stitch-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--stitch-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--stitch-text-muted);
}

.stitch-social-links {
  display: flex;
  gap: 12px;
}

.stitch-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--stitch-radius-md);
  background: var(--stitch-surface-subtle);
  color: var(--stitch-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.stitch-social-link:hover {
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
}

/* ==========================================================================
   Responsive Adaptations & Collapsed Header/Navigation
   ========================================================================== */

@media (max-width: 1024px) {
  .stitch-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stitch-metric-card {
    border-right: none;
    border-bottom: 1px solid var(--stitch-border);
    padding: 1rem 0;
  }
  .stitch-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stitch-bento-span-2 {
    grid-column: span 2;
  }
  .stitch-clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stitch-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  /* Collapsed Header / Hero Layout */
  .stitch-hero {
    padding: 6.5rem 0 3.5rem;
    text-align: center;
  }
  .stitch-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .stitch-hero-actions {
    justify-content: center;
  }
  .stitch-trust-strip {
    justify-content: center;
  }
  .stitch-hero-image-col {
    margin-top: 2.75rem;
  }

  /* Collapsed Navbar & Dropdown Menu */
  .stitch-navbar {
    padding: 0.75rem 0;
    background: var(--mq-surface, #ffffff);
  }
  .stitch-navbar .container {
    position: relative;
  }
  .stitch-navbar .navbar-collapse {
    background: var(--mq-surface, #ffffff);
    border: 1px solid var(--stitch-border);
    border-radius: var(--stitch-radius-lg);
    box-shadow: 0 16px 40px -8px rgba(10, 13, 18, 0.15);
    padding: 1.25rem 1.5rem;
    margin-top: 0.75rem;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Collapsed Links */
  .stitch-nav-links {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .stitch-nav-links .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--stitch-border);
  }
  .stitch-nav-links .nav-item:last-child {
    border-bottom: none;
  }
  .stitch-nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--stitch-text-primary) !important;
    border-radius: var(--stitch-radius-sm);
    transition: all 0.15s ease;
  }
  .stitch-nav-link:hover,
  .stitch-nav-link.active {
    color: var(--stitch-emerald-dark) !important;
    background-color: var(--stitch-surface-subtle);
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .stitch-nav-link::after {
    display: none !important;
  }

  /* Collapsed Action Buttons & Language Switcher */
  .stitch-nav-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid var(--stitch-border) !important;
  }
  .stitch-nav-actions .dropdown {
    width: 100%;
  }
  .stitch-nav-actions .stitch-lang-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }
  .stitch-nav-actions .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    border: 1px solid var(--stitch-border);
    background: var(--stitch-surface-subtle);
  }
  .stitch-nav-actions .stitch-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  /* RTL Collapsed Adjustments */
  [dir="rtl"] .stitch-nav-link {
    text-align: right !important;
    justify-content: flex-start !important;
  }
  [dir="rtl"] .stitch-nav-actions {
    text-align: right;
  }
}

@media (max-width: 768px) {
  .stitch-hero-title {
    font-size: 2.35rem;
  }
  [dir="rtl"] .stitch-hero-title {
    font-size: 2.25rem;
  }
  .stitch-hero-subtitle {
    font-size: 1rem;
  }
  .stitch-steps-grid {
    grid-template-columns: 1fr;
  }
  .stitch-bento-grid {
    grid-template-columns: 1fr;
  }
  .stitch-bento-span-2 {
    grid-column: span 1;
  }
  .stitch-culinary-grid {
    grid-template-columns: 1fr;
  }
  .stitch-clients-grid {
    grid-template-columns: 1fr;
  }
  .stitch-case-study {
    padding: 1.75rem 1.25rem;
  }
  .stitch-addon-banners {
    grid-template-columns: 1fr;
  }
  .stitch-cta-banner {
    padding: 3rem 1.5rem;
  }
  .stitch-cta-title {
    font-size: 1.95rem;
  }
  .stitch-blog-media {
    height: 190px;
  }
  .stitch-blog-title {
    font-size: 1.1rem;
    min-height: auto;
  }
  .stitch-footer-grid {
    grid-template-columns: 1fr;
  }
  .stitch-qr-floating-card {
    display: none; /* Hide floating card on mobile to keep smartphone clean */
  }
  .stitch-phone-mockup {
    width: 290px;
  }
}

@media (max-width: 575.98px) {
  .stitch-hero {
    padding: 5.75rem 0 2.5rem;
  }
  .stitch-hero-title {
    font-size: 2.1rem;
    line-height: 1.22;
  }
  [dir="rtl"] .stitch-hero-title {
    font-size: 1.95rem;
    line-height: 1.35;
  }
  .stitch-hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .stitch-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .stitch-hero-actions .stitch-btn {
    width: 100%;
  }
  .stitch-trust-strip {
    flex-direction: column;
    gap: 0.5rem;
  }
  .stitch-phone-mockup {
    width: 280px;
  }
}


/* ==========================================================================
   STITCH MULTI-RESTAURANT DIRECTORY & RESERVATION SYSTEM (HOSPITALITY MODERNITY)
   ========================================================================== */

.stitch-multi-page {
  background-color: var(--mq-canvas, #f7f9fb);
  color: var(--mq-text, var(--stitch-obsidian));
  min-height: 100vh;
  padding-top: 80px; /* clear fixed navbar */
}

/* Ambient Hero */
.stitch-multi-hero {
  position: relative;
  background-color: var(--mq-surface, #ffffff);
  overflow: hidden;
  border-bottom: 1px solid var(--stitch-border-subtle);
  padding: 2.75rem 0 3.5rem;
}

.stitch-multi-hero-glow-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--mq-rgb-primary, 16 185 129) / 0.12) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

.stitch-multi-hero-glow-2 {
  position: absolute;
  top: 40%;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--mq-rgb-accent, 245 158 11) / 0.10) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

[dir="rtl"] .stitch-multi-hero-glow-1 {
  left: auto;
  right: -80px;
}
[dir="rtl"] .stitch-multi-hero-glow-2 {
  right: auto;
  left: -80px;
}

.stitch-multi-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.stitch-multi-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f4f8;
  color: var(--mq-text-2, #334155);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--mq-border, #e2e8f0);
}

.stitch-multi-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--stitch-emerald-dark);
  box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0.7);
  animation: stitchMultiPulse 2s infinite;
}

@keyframes stitchMultiPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0); }
}

.stitch-multi-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.12);
  color: var(--mq-link, #065f46);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgb(var(--mq-rgb-primary, 16 185 129) / 0.25);
}

.stitch-multi-hero-title {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.85rem;
  max-width: 850px;
}

[dir="rtl"] .stitch-multi-hero-title {
  font-size: 2.5rem;
  line-height: 1.3;
  letter-spacing: normal;
}

.stitch-multi-hero-desc {
  font-size: 1.1rem;
  color: var(--mq-text-2, #475569);
  line-height: 1.65;
  max-width: 800px;
  margin-bottom: 2rem;
}

/* Omni Filter Box */
.stitch-multi-omni-box {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(11, 15, 23, 0.08), 0 8px 10px -6px rgba(11, 15, 23, 0.04);
  position: relative;
  z-index: 10;
}

.stitch-multi-quick-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--mq-divider, #f1f5f9);
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.stitch-multi-pills-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mq-text-3, #64748b);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-right: 4px;
}
[dir="rtl"] .stitch-multi-pills-label {
  padding-right: 0;
  padding-left: 4px;
}

.stitch-multi-pill-btn {
  background: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  color: var(--mq-text-2, #334155);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.stitch-multi-pill-btn:hover,
.stitch-multi-pill-btn.active {
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  border-color: var(--stitch-obsidian);
}

.stitch-multi-form-grid {
  display: grid;
  grid-template-columns: 3.5fr 2fr 2fr 2fr 2.5fr;
  gap: 12px;
  align-items: flex-end;
}

.stitch-multi-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stitch-multi-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.stitch-multi-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.stitch-multi-input {
  width: 100%;
  height: 48px;
  background: var(--mq-canvas, #f8fafc);
  border: 1px solid var(--mq-border-strong, #cbd5e1);
  border-radius: 8px;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: var(--mq-text, var(--stitch-obsidian));
  transition: all 0.2s ease;
}

.stitch-multi-input:focus {
  background: var(--mq-surface, #ffffff);
  border-color: var(--stitch-emerald-dark);
  box-shadow: 0 0 0 3px rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0.15);
  outline: none;
}

.stitch-multi-select {
  width: 100%;
  height: 48px;
  background-color: var(--mq-canvas, #f8fafc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.15em 1.15em;
  border: 1px solid var(--mq-border-strong, #cbd5e1);
  border-radius: 8px;
  padding: 0 2.25rem 0 1rem;
  font-size: 0.9rem;
  color: var(--mq-text, var(--stitch-obsidian));
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s ease;
}

[dir="rtl"] .stitch-multi-select {
  background-position: left 0.85rem center;
  padding: 0 1rem 0 2.25rem;
}

.stitch-multi-select:focus {
  background-color: var(--mq-surface, #ffffff);
  border-color: var(--stitch-emerald-dark);
  box-shadow: 0 0 0 3px rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0.15);
  outline: none;
}

.stitch-multi-search-submit {
  height: 48px;
  background: var(--stitch-emerald-dark);
  color: var(--mq-on-primary, #ffffff);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0.35);
  transition: all 0.2s ease;
  width: 100%;
}

.stitch-multi-search-submit:hover {
  background: var(--mq-brand-dark, #047857);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0.45);
  color: var(--mq-on-brand, #ffffff);
}

/* Cuisine Categories */
.stitch-multi-section {
  padding: 3.5rem 0;
}

.stitch-multi-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.stitch-multi-section-subtitle {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stitch-emerald-dark);
  display: block;
  margin-bottom: 0.35rem;
}

.stitch-multi-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  line-height: 1.3;
  margin: 0;
}

[dir="rtl"] .stitch-multi-section-title {
  font-size: 1.75rem;
}

.stitch-multi-view-all-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--stitch-emerald-dark);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.stitch-multi-view-all-link:hover {
  color: var(--mq-link, #047857);
}

.stitch-multi-cuisines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 991.98px) {
  .stitch-multi-cuisines-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .stitch-multi-cuisines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stitch-multi-cat-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  color: var(--mq-text, var(--stitch-obsidian));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.04);
}

.stitch-multi-cat-card:hover {
  border-color: var(--mq-border-strong, #cbd5e1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(11, 15, 23, 0.08);
  color: var(--stitch-emerald-dark);
}

.stitch-multi-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--mq-surface-subtle, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.stitch-multi-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-multi-cat-card:hover .stitch-multi-cat-icon {
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.15);
  color: var(--mq-link, #065f46);
}

.stitch-multi-cat-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.stitch-multi-cat-count {
  font-size: 0.78rem;
  color: var(--mq-text-3, #64748b);
  font-weight: 500;
}

/* Featured 3-Column Luxury Restaurant Cards */
.stitch-multi-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.stitch-multi-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stitch-multi-card:hover {
  border-color: var(--mq-border-strong, #cbd5e1);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(11, 15, 23, 0.10);
}

.stitch-multi-card-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: var(--mq-border, #e2e8f0);
}

.stitch-multi-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stitch-multi-card:hover .stitch-multi-card-img {
  transform: scale(1.06);
}

.stitch-multi-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.2) 0%, rgba(11, 15, 23, 0.75) 100%);
}

.stitch-multi-card-top-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

[dir="rtl"] .stitch-multi-card-top-badges {
  right: auto;
  left: 12px;
}

.stitch-multi-badge-price {
  background: rgba(24, 28, 36, 0.88);
  backdrop-filter: blur(8px);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.stitch-multi-badge-qr {
  background: var(--stitch-emerald-dark);
  color: var(--mq-on-primary, #ffffff);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stitch-multi-fav-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.85);
  backdrop-filter: blur(8px);
  color: var(--mq-text-2, #475569);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  font-size: 0.85rem;
}

[dir="rtl"] .stitch-multi-fav-btn {
  left: auto;
  right: 12px;
}

.stitch-multi-fav-btn:hover {
  background: var(--mq-surface, #ffffff);
  color: var(--mq-danger, #ef4444);
  transform: scale(1.1);
}

.stitch-multi-card-bottom-bar {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mq-on-dark, #ffffff);
  z-index: 2;
}

.stitch-multi-rating {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.stitch-multi-rating i {
  color: #fbbf24;
}

.stitch-multi-avail-pill {
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.25);
  backdrop-filter: blur(6px);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(110, 231, 183, 0.3);
}

.stitch-multi-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
}

.stitch-multi-rest-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  line-height: 1.35;
  margin-bottom: 0.45rem;
  transition: color 0.2s ease;
}

.stitch-multi-card:hover .stitch-multi-rest-title {
  color: var(--stitch-emerald-dark);
}

.stitch-multi-rest-desc {
  font-size: 0.85rem;
  color: var(--mq-text-2, #475569);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-multi-meta-strip {
  background: var(--mq-canvas, #f8fafc);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--mq-text-3, #64748b);
  margin-bottom: 0.85rem;
  border: 1px solid var(--mq-divider, #f1f5f9);
}

.stitch-multi-slots-block {
  margin-bottom: 0.5rem;
}

.stitch-multi-slots-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mq-text, var(--stitch-obsidian));
  display: block;
  margin-bottom: 0.45rem;
}

.stitch-multi-slots-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.stitch-multi-slot-btn {
  background: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  color: var(--mq-text-2, #334155);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.stitch-multi-slot-btn:hover,
.stitch-multi-slot-btn.highlight {
  background: var(--stitch-emerald-dark);
  color: var(--mq-on-primary, #ffffff);
  border-color: var(--stitch-emerald-dark);
}

.stitch-multi-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 0.85rem;
  border-top: 1px solid var(--mq-divider, #f1f5f9);
}

.stitch-multi-btn-book {
  flex: 1;
  height: 42px;
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.stitch-multi-btn-book:hover {
  background: var(--mq-dark-panel-soft, #1e293b);
  color: var(--mq-on-dark, #ffffff);
  transform: translateY(-1px);
}

.stitch-multi-btn-menu {
  height: 42px;
  padding: 0 1.1rem;
  background: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  color: var(--mq-text, var(--stitch-obsidian));
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.stitch-multi-btn-menu:hover {
  background: var(--mq-border, #e2e8f0);
  color: var(--mq-text, var(--stitch-obsidian));
}

/* Promotional Member Banner */
.stitch-multi-promo-banner {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  box-shadow: 0 16px 36px -10px rgba(11, 15, 23, 0.25);
  margin: 3.5rem 0;
  background-color: var(--mq-dark-panel, #0b0f17);
}

.stitch-multi-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.stitch-multi-promo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 23, 0.96) 0%, rgba(11, 15, 23, 0.82) 55%, rgba(11, 15, 23, 0.45) 100%);
}

[dir="rtl"] .stitch-multi-promo-gradient {
  background: linear-gradient(270deg, rgba(11, 15, 23, 0.96) 0%, rgba(11, 15, 23, 0.82) 55%, rgba(11, 15, 23, 0.45) 100%);
}

.stitch-multi-promo-content {
  position: relative;
  z-index: 2;
  padding: 3rem 3.5rem;
  max-width: 720px;
  color: var(--mq-on-dark, #ffffff);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stitch-multi-promo-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stitch-multi-promo-badge-gold {
  background: var(--stitch-emerald-dark);
  color: var(--mq-on-primary, #ffffff);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stitch-multi-promo-badge-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stitch-multi-promo-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--mq-on-dark, #ffffff);
  margin: 0;
}

[dir="rtl"] .stitch-multi-promo-title {
  font-size: 2rem;
  line-height: 1.35;
}

.stitch-multi-promo-desc {
  font-size: 1rem;
  color: var(--mq-text-3, #cbd5e1);
  line-height: 1.65;
  margin: 0;
}

.stitch-multi-promo-action-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.stitch-multi-code-chip {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.stitch-multi-code-label {
  font-size: 0.72rem;
  color: var(--mq-text-3, #94a3b8);
  display: block;
}

.stitch-multi-code-val {
  font-family: monospace;
  font-weight: 800;
  color: #6ee7b7;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.stitch-multi-code-copy-btn {
  background: transparent;
  border: none;
  color: var(--mq-on-dark, #ffffff);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.stitch-multi-code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.stitch-multi-promo-cta-btn {
  height: 48px;
  padding: 0 1.75rem;
  background: var(--stitch-emerald-dark);
  color: var(--mq-on-primary, #ffffff);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgb(var(--mq-rgb-primary-dark, 5 150 105) / 0.45);
  transition: all 0.2s ease;
}

.stitch-multi-promo-cta-btn:hover {
  background: var(--mq-brand-dark, #047857);
  color: var(--mq-on-brand, #ffffff);
  transform: translateY(-2px);
}

/* Newly Added 4-Column Compact Grid */
.stitch-multi-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.stitch-multi-new-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.04);
  transition: all 0.3s ease;
}

.stitch-multi-new-card:hover {
  border-color: var(--mq-border-strong, #cbd5e1);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(11, 15, 23, 0.08);
}

.stitch-multi-new-media {
  position: relative;
  height: 165px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.stitch-multi-new-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stitch-multi-new-card:hover .stitch-multi-new-img {
  transform: scale(1.06);
}

.stitch-multi-new-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

[dir="rtl"] .stitch-multi-new-tag {
  right: auto;
  left: 8px;
}

.stitch-multi-new-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.stitch-multi-new-cuisine {
  color: var(--stitch-emerald-dark);
  font-weight: 700;
}

.stitch-multi-new-city {
  color: var(--mq-text-3, #64748b);
}

.stitch-multi-new-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.stitch-multi-new-desc {
  font-size: 0.8rem;
  color: var(--mq-text-3, #64748b);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-multi-new-footer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--mq-divider, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.stitch-multi-new-promo-text {
  color: var(--mq-link, #065f46);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
}

.stitch-multi-new-link {
  color: var(--mq-text, var(--stitch-obsidian));
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.stitch-multi-new-link:hover {
  color: var(--stitch-emerald-dark);
}

/* 3-Step Journey */
.stitch-multi-journey-section {
  background: var(--mq-surface-subtle, #f1f5f9);
  padding: 4.5rem 0;
  border-top: 1px solid var(--mq-border, #e2e8f0);
  border-bottom: 1px solid var(--mq-border, #e2e8f0);
}

.stitch-multi-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stitch-multi-step-card {
  background: var(--mq-surface, #ffffff);
  border-radius: 1rem;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--mq-border, #e2e8f0);
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stitch-multi-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.15);
  color: var(--mq-link, #065f46);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgb(var(--mq-rgb-primary, 16 185 129) / 0.25);
}

.stitch-multi-step-card.active .stitch-multi-step-num {
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  border-color: var(--stitch-obsidian);
}

.stitch-multi-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.stitch-multi-step-desc {
  font-size: 0.88rem;
  color: var(--mq-text-2, #475569);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.stitch-multi-step-tag {
  color: var(--stitch-emerald-dark);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Dining Neighborhoods Bento Tiles */
.stitch-multi-districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.stitch-multi-district-tile {
  position: relative;
  height: 270px;
  border-radius: 14px;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none !important;
  color: var(--mq-on-dark, #ffffff);
  box-shadow: 0 4px 12px rgba(11, 15, 23, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stitch-multi-district-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(11, 15, 23, 0.20);
  color: var(--mq-on-dark, #ffffff);
}

.stitch-multi-district-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stitch-multi-district-tile:hover .stitch-multi-district-bg {
  transform: scale(1.08);
}

.stitch-multi-district-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.1) 0%, rgba(11, 15, 23, 0.85) 100%);
}

.stitch-multi-district-content {
  position: relative;
  z-index: 2;
}

.stitch-multi-district-badge {
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.3);
  backdrop-filter: blur(8px);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(110, 231, 183, 0.3);
}

.stitch-multi-district-name {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  color: var(--mq-on-dark, #ffffff);
}

.stitch-multi-district-count {
  font-size: 0.8rem;
  color: var(--mq-text-3, #cbd5e1);
  font-weight: 500;
  margin: 0;
}

/* Partner Onboarding Strip */
.stitch-multi-partner-box {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 4px 12px rgba(11, 15, 23, 0.04);
  margin-top: 3.5rem;
}

.stitch-multi-partner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stitch-multi-partner-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.15);
  color: var(--stitch-emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stitch-multi-partner-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mq-text, var(--stitch-obsidian));
  margin-bottom: 0.35rem;
}

.stitch-multi-partner-desc {
  font-size: 0.88rem;
  color: var(--mq-text-2, #475569);
  line-height: 1.55;
  margin: 0;
}

.stitch-multi-partner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.stitch-multi-partner-btn-main {
  height: 46px;
  padding: 0 1.5rem;
  background: var(--stitch-obsidian);
  color: var(--mq-on-dark, #ffffff);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.stitch-multi-partner-btn-main:hover {
  background: var(--mq-dark-panel-soft, #1e293b);
  color: var(--mq-on-dark, #ffffff);
}

.stitch-multi-partner-btn-sec {
  height: 46px;
  padding: 0 1.25rem;
  background: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  color: var(--mq-text, var(--stitch-obsidian));
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.stitch-multi-partner-btn-sec:hover {
  background: var(--mq-border, #e2e8f0);
  color: var(--mq-text, var(--stitch-obsidian));
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .stitch-multi-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stitch-multi-search-submit {
    grid-column: span 2;
  }
  .stitch-multi-journey-grid {
    grid-template-columns: 1fr;
  }
  .stitch-multi-promo-content {
    padding: 2.25rem;
  }
  .stitch-multi-partner-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .stitch-multi-partner-actions {
    width: 100%;
  }
  .stitch-multi-partner-btn-main,
  .stitch-multi-partner-btn-sec {
    flex: 1;
  }
}

@media (max-width: 767.98px) {
  .stitch-multi-form-grid {
    grid-template-columns: 1fr;
  }
  .stitch-multi-search-submit {
    grid-column: span 1;
  }
  .stitch-multi-hero-title {
    font-size: 2rem;
  }
  [dir="rtl"] .stitch-multi-hero-title {
    font-size: 1.95rem;
  }
  .stitch-multi-promo-banner {
    min-height: auto;
  }
  .stitch-multi-promo-title {
    font-size: 1.6rem;
  }
  .stitch-multi-promo-content {
    padding: 1.75rem 1.25rem;
  }
  .stitch-multi-partner-left {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   CATEGORY & RESTAURANT DISCOVERY MATRIX (Hospitality Modernity)
   ========================================================================== */

.stitch-cat-page {
  background-color: var(--stitch-canvas, var(--mq-canvas, #f8f9fa));
  min-height: calc(100vh - 70px);
  padding-bottom: 4rem;
}

/* Top Ambient Stage */
.stitch-cat-stage {
  background: var(--mq-surface, #ffffff);
  border-bottom: 1px solid var(--stitch-border, var(--mq-border, #e2e8f0));
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.03);
  padding: 2rem 0 2.25rem;
  margin-bottom: 2.5rem;
}

.stitch-cat-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--mq-text-3, #64748b);
  margin-bottom: 1.25rem;
}

.stitch-cat-breadcrumbs a {
  color: var(--mq-text-3, #64748b);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.stitch-cat-breadcrumbs a:hover {
  color: var(--mq-text, #0b0f17);
  text-decoration: none;
}

.stitch-cat-breadcrumbs .current {
  color: var(--mq-text, #0b0f17);
  font-weight: 700;
}

.stitch-cat-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .stitch-cat-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.stitch-cat-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background-color: #d1fae5;
  color: var(--mq-link, #065f46);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stitch-cat-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--mq-brand, #10b981);
  position: relative;
}

.stitch-cat-ping::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--mq-brand, #10b981);
  opacity: 0.5;
  animation: stitchPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.stitch-cat-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.35rem;
  line-height: 1.25;
}

[dir="rtl"] .stitch-cat-title {
  font-family: var(--stitch-font-ar, 'Cairo', sans-serif);
  font-size: 2.1rem;
  letter-spacing: normal;
}

.stitch-cat-subtitle {
  font-size: 0.95rem;
  color: var(--mq-text-2, #475569);
  margin: 0;
  line-height: 1.6;
  max-width: 760px;
}

.stitch-cat-results-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  padding: 0.75rem 1.25rem;
  border-radius: 0.85rem;
  flex-shrink: 0;
}

.stitch-cat-results-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: var(--mq-surface, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  color: var(--mq-link, #065f46);
  font-size: 1.25rem;
}

.stitch-cat-results-info {
  display: flex;
  flex-direction: column;
}

.stitch-cat-results-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mq-text-3, #94a3b8);
}

.stitch-cat-results-count {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
}

/* Quickbar Omnibox */
.stitch-cat-quickbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mq-divider, #f1f5f9);
}

@media (min-width: 768px) {
  .stitch-cat-quickbar {
    grid-template-columns: 5fr 3fr 2fr 2fr;
    align-items: center;
  }
}

.stitch-cat-input-box {
  position: relative;
  width: 100%;
}

.stitch-cat-input-box i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mq-text-3, #94a3b8);
  font-size: 1rem;
  pointer-events: none;
}

[dir="rtl"] .stitch-cat-input-box i {
  right: 1.15rem;
}

[dir="ltr"] .stitch-cat-input-box i {
  left: 1.15rem;
}

.stitch-cat-input {
  width: 100%;
  background-color: var(--mq-canvas, #f8f9fa);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 0.65rem;
  font-size: 0.9rem;
  color: var(--mq-text, #0b0f17);
  padding: 0.85rem 1rem;
  transition: all 0.2s ease;
  outline: none;
}

[dir="rtl"] .stitch-cat-input {
  padding-right: 2.85rem;
  padding-left: 1rem;
}

[dir="ltr"] .stitch-cat-input {
  padding-left: 2.85rem;
  padding-right: 1rem;
}

.stitch-cat-input:focus {
  background-color: var(--mq-surface, #ffffff);
  border-color: var(--mq-dark-panel, #0b0f17);
  box-shadow: 0 0 0 3px rgba(11, 15, 23, 0.08);
}

.stitch-cat-select-box {
  position: relative;
  background-color: var(--mq-canvas, #f8f9fa);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 0.65rem;
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}

.stitch-cat-select-box:focus-within {
  background-color: var(--mq-surface, #ffffff);
  border-color: var(--mq-dark-panel, #0b0f17);
}

.stitch-cat-select-box i {
  color: var(--mq-text-3, #64748b);
  font-size: 1rem;
  flex-shrink: 0;
}

.stitch-cat-select-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.stitch-cat-select-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--mq-text-3, #94a3b8);
  text-transform: uppercase;
  margin-bottom: 1px;
}

.stitch-cat-select {
  background-color: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
  outline: none;
  cursor: pointer;
  width: 100%;
  padding-right: 1.25rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1rem;
}

[dir="rtl"] .stitch-cat-select {
  background-position: left center;
  padding-left: 1.25rem;
  padding-right: 0;
}

[dir="ltr"] .stitch-cat-select {
  background-position: right center;
  padding-right: 1.25rem;
  padding-left: 0;
}

.stitch-cat-submit-btn {
  width: 100%;
  height: 100%;
  min-height: 50px;
  background-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  border: 1px solid var(--mq-dark-panel, #0b0f17);
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stitch-cat-submit-btn:hover {
  background-color: var(--mq-dark-panel-soft, #1e293b);
  border-color: var(--mq-dark-panel-soft, #1e293b);
  color: var(--mq-on-dark, #ffffff);
  transform: translateY(-1px);
}

/* Sidebar Filters */
.stitch-cat-sidebar-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border, var(--mq-border, #e2e8f0));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.03);
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stitch-cat-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--mq-divider, #f1f5f9);
}

.stitch-cat-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stitch-cat-reset-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mq-text-3, #64748b);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.stitch-cat-reset-btn:hover {
  color: var(--mq-text, #0b0f17);
}

.stitch-cat-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stitch-cat-filter-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
}

.stitch-cat-time-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stitch-cat-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 0.45rem;
  background-color: var(--mq-surface-subtle, #f1f5f9);
  color: var(--mq-text, #0b0f17);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.stitch-cat-chip:hover {
  background-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  text-decoration: none;
}

.stitch-cat-chip.active {
  background-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  border-color: var(--mq-dark-panel, #0b0f17);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stitch-cat-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.stitch-cat-btn-tile {
  padding: 0.55rem 0.25rem;
  border-radius: 0.5rem;
  background-color: var(--mq-canvas, #f8f9fa);
  border: 1px solid var(--mq-border, #e2e8f0);
  color: var(--mq-text, #0b0f17);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.stitch-cat-btn-tile:hover {
  background-color: var(--mq-surface-subtle, #f1f5f9);
  border-color: var(--mq-border-strong, #cbd5e1);
  text-decoration: none;
  color: var(--mq-text, #0b0f17);
}

.stitch-cat-btn-tile.active {
  background-color: var(--mq-dark-panel, #0b0f17);
  border-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stitch-cat-btn-tile.active span {
  color: #e2e8f0 !important;
}

.stitch-cat-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.stitch-cat-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.stitch-cat-check-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.stitch-cat-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.25rem;
  accent-color: #059669;
  cursor: pointer;
}

.stitch-cat-check-text {
  font-size: 0.85rem;
  color: var(--mq-text, #1e293b);
  transition: color 0.2s ease;
}

.stitch-cat-check-item:hover .stitch-cat-check-text {
  color: var(--mq-text, #0b0f17);
  font-weight: 600;
}

.stitch-cat-badge-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mq-text-3, #64748b);
  background-color: var(--mq-surface-subtle, #f1f5f9);
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
}

/* Sidebar QR Micro-Widget */
.stitch-cat-qr-widget {
  background-color: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 0.85rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stitch-cat-qr-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 0.65rem;
  background: var(--mq-surface, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  color: var(--mq-text, #0b0f17);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stitch-cat-qr-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  margin: 0 0 2px;
}

.stitch-cat-qr-desc {
  font-size: 0.75rem;
  color: var(--mq-text-2, #475569);
  margin: 0;
  line-height: 1.4;
}

/* Main Content Area */
.stitch-cat-toolbar {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border, var(--mq-border, #e2e8f0));
  border-radius: 0.85rem;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.03);
  margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
  .stitch-cat-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.stitch-cat-sort-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.stitch-cat-sort-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mq-text-3, #94a3b8);
  white-space: nowrap;
}

[dir="rtl"] .stitch-cat-sort-label {
  margin-left: 0.4rem;
}

[dir="ltr"] .stitch-cat-sort-label {
  margin-right: 0.4rem;
}

.stitch-cat-sort-btn {
  padding: 0.45rem 0.95rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  background-color: var(--mq-surface-subtle, #f1f5f9);
  color: var(--mq-text-2, #475569);
}

.stitch-cat-sort-btn:hover {
  background-color: var(--mq-border, #e2e8f0);
  color: var(--mq-text, #0b0f17);
  text-decoration: none;
}

.stitch-cat-sort-btn.active {
  background-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stitch-cat-view-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.stitch-cat-view-btn {
  width: 34px;
  height: 34px;
  border-radius: 0.45rem;
  background-color: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid transparent;
  color: var(--mq-text-3, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.stitch-cat-view-btn:hover {
  color: var(--mq-text, #0b0f17);
  text-decoration: none;
}

.stitch-cat-view-btn.active {
  background-color: var(--mq-surface, #ffffff);
  border-color: var(--mq-border-strong, #cbd5e1);
  color: var(--mq-text, #0b0f17);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Venue Cards */
.stitch-cat-venue-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border, var(--mq-border, #e2e8f0));
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.03);
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.stitch-cat-venue-card:hover {
  transform: translateY(-3px);
  border-color: var(--mq-border-strong, #cbd5e1);
  box-shadow: 0 12px 28px -6px rgba(11, 15, 23, 0.08), 0 4px 10px -2px rgba(11, 15, 23, 0.03);
}

@media (min-width: 768px) {
  .stitch-cat-venue-card.layout-list {
    flex-direction: row;
  }
}

.stitch-cat-card-media {
  position: relative;
  overflow: hidden;
  background-color: var(--mq-border, #e2e8f0);
}

@media (min-width: 768px) {
  .stitch-cat-venue-card.layout-list .stitch-cat-card-media {
    width: 42%;
    min-height: 270px;
  }
}

@media (max-width: 767.98px) {
  .stitch-cat-card-media {
    width: 100%;
    height: 220px;
  }
}

.stitch-cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.stitch-cat-venue-card:hover .stitch-cat-card-img {
  transform: scale(1.05);
}

.stitch-cat-rating-pill {
  position: absolute;
  top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[dir="rtl"] .stitch-cat-rating-pill {
  right: 0.85rem;
}

[dir="ltr"] .stitch-cat-rating-pill {
  left: 0.85rem;
}

.stitch-cat-rating-pill i {
  color: var(--mq-accent, #f59e0b);
}

.stitch-cat-price-pill {
  position: absolute;
  bottom: 0.85rem;
  background: rgba(11, 15, 23, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--mq-on-dark, #ffffff);
  padding: 0.3rem 0.75rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

[dir="rtl"] .stitch-cat-price-pill {
  left: 0.85rem;
}

[dir="ltr"] .stitch-cat-price-pill {
  right: 0.85rem;
}

.stitch-cat-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1rem;
}

@media (min-width: 768px) {
  .stitch-cat-venue-card.layout-list .stitch-cat-card-body {
    width: 58%;
  }
}

.stitch-cat-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.stitch-cat-cuisine-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mq-link, #065f46);
  text-transform: capitalize;
  margin-bottom: 0.25rem;
}

.stitch-cat-venue-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  margin: 0;
  line-height: 1.35;
}

.stitch-cat-venue-name a {
  color: var(--mq-text, #0b0f17);
  text-decoration: none;
  transition: color 0.2s ease;
}

.stitch-cat-venue-name a:hover {
  color: var(--mq-link, #059669);
  text-decoration: none;
}

.stitch-cat-fav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid transparent;
  color: var(--mq-text-3, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.stitch-cat-fav-btn:hover {
  background-color: var(--mq-danger-soft, #ffe4e6);
  color: var(--mq-danger, #e11d48);
}

.stitch-cat-fav-btn.active {
  background-color: var(--mq-danger-soft, #ffe4e6);
  color: var(--mq-danger, #e11d48);
}

.stitch-cat-venue-desc {
  font-size: 0.875rem;
  color: var(--mq-text-2, #475569);
  line-height: 1.6;
  margin: 0.45rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stitch-cat-venue-loc {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--mq-text-3, #64748b);
  margin-top: 0.65rem;
}

.stitch-cat-venue-loc i {
  color: var(--mq-link, #059669);
}

.stitch-cat-badges-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.stitch-cat-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.stitch-cat-pill-badge.green {
  background-color: #d1fae5;
  color: var(--mq-link, #065f46);
}

.stitch-cat-pill-badge.amber {
  background-color: var(--mq-warning-soft, #fef3c7);
  color: var(--mq-warning, #92400e);
}

.stitch-cat-pill-badge.gray {
  background-color: var(--mq-surface-subtle, #f1f5f9);
  color: var(--mq-text-2, #475569);
}

/* Card Action Footer */
.stitch-cat-card-footer {
  background-color: var(--mq-canvas, #f8f9fa);
  border: 1px solid var(--mq-divider, #f1f5f9);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

@media (min-width: 576px) {
  .stitch-cat-card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.stitch-cat-slots-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stitch-cat-slots-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mq-text-3, #94a3b8);
}

.stitch-cat-slot-pill {
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  color: var(--mq-link, #065f46);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.stitch-cat-actions-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.stitch-cat-btn-menu {
  padding: 0.5rem 0.95rem;
  border-radius: 0.5rem;
  background-color: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border-strong, #d1d5db);
  color: var(--mq-text, #0b0f17);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.stitch-cat-btn-menu:hover {
  background-color: var(--mq-surface-subtle, #f1f5f9);
  color: var(--mq-text, #0b0f17);
  text-decoration: none;
}

.stitch-cat-btn-book {
  padding: 0.5rem 1.15rem;
  border-radius: 0.5rem;
  background-color: var(--mq-dark-panel, #0b0f17);
  border: 1px solid var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.stitch-cat-btn-book:hover {
  background-color: var(--mq-dark-panel-soft, #1e293b);
  border-color: var(--mq-dark-panel-soft, #1e293b);
  color: var(--mq-on-dark, #ffffff);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Pagination Bar */
.stitch-cat-pagination {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border, var(--mq-border, #e2e8f0));
  border-radius: 0.85rem;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.03);
  margin-top: 1.5rem;
}

.stitch-cat-pagination .pagination {
  margin: 0;
  gap: 0.35rem;
}

.stitch-cat-pagination .page-item .page-link {
  border-radius: 0.5rem !important;
  border: 1px solid var(--mq-border, #e2e8f0);
  background-color: var(--mq-canvas, #f8f9fa);
  color: var(--mq-text, #0b0f17);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  min-width: 38px;
  text-align: center;
}

.stitch-cat-pagination .page-item.active .page-link {
  background-color: var(--mq-dark-panel, #0b0f17);
  border-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
}

/* Empty State */
.stitch-cat-empty-state {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--stitch-border, var(--mq-border, #e2e8f0));
  border-radius: 1rem;
  padding: 3.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.03);
}

.stitch-cat-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--mq-surface-subtle, #f1f5f9);
  color: var(--mq-text-3, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.stitch-cat-empty-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  margin-bottom: 0.5rem;
}

.stitch-cat-empty-desc {
  font-size: 0.9rem;
  color: var(--mq-text-3, #64748b);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* Partner Trust Banner */
.stitch-cat-partner-banner {
  background: linear-gradient(135deg, var(--mq-surface, #ffffff) 0%, var(--mq-canvas, #f8f9fa) 100%);
  border: 1px solid var(--stitch-border, var(--mq-border, #e2e8f0));
  border-radius: 1.15rem;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 1px 3px rgba(11, 15, 23, 0.03);
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .stitch-cat-partner-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.stitch-cat-partner-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stitch-cat-partner-icon {
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  background-color: #d1fae5;
  color: var(--mq-link, #065f46);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stitch-cat-partner-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  margin: 0 0 0.25rem;
}

.stitch-cat-partner-desc {
  font-size: 0.85rem;
  color: var(--mq-text-2, #475569);
  margin: 0;
  line-height: 1.5;
}

.stitch-cat-partner-cta {
  padding: 0.65rem 1.45rem;
  border-radius: 0.55rem;
  background-color: var(--mq-dark-panel, #0b0f17);
  border: 1px solid var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.stitch-cat-partner-cta:hover {
  background-color: var(--mq-dark-panel-soft, #1e293b);
  border-color: var(--mq-dark-panel-soft, #1e293b);
  color: var(--mq-on-dark, #ffffff);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ==========================================================================
   HOSPITALITY MODERNITY (STITCH SINGLE RESTAURANT) ARCHITECTURAL STYLES
   ========================================================================== */

.stitch-rest-page {
  background-color: var(--mq-canvas, #f7f9fb);
  min-height: 100vh;
  padding-bottom: 5rem;
}

/* Breadcrumbs Bar */
.stitch-rest-breadcrumbs-bar {
  background: var(--mq-surface, #ffffff);
  border-bottom: 1px solid var(--mq-border, #e2e8f0);
  padding: 0.85rem 0;
  font-size: 0.82rem;
  color: var(--mq-text-3, #64748b);
}

.stitch-rest-breadcrumbs-bar .breadcrumb-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stitch-rest-breadcrumbs-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.stitch-rest-breadcrumbs-nav a {
  color: var(--mq-text-3, #64748b);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.stitch-rest-breadcrumbs-nav a:hover {
  color: var(--mq-text, #0b0f17);
}

.stitch-rest-breadcrumbs-nav .current {
  color: var(--mq-text, #0b0f17);
  font-weight: 700;
}

.stitch-rest-prime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.1);
  color: var(--mq-link, #065f46);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Hero Banner */
.stitch-rest-hero {
  position: relative;
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .stitch-rest-hero {
    height: 290px;
  }
}

.stitch-rest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.95) 0%, rgba(11, 15, 23, 0.45) 60%, rgba(11, 15, 23, 0.25) 100%);
}

.stitch-rest-hero-top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.stitch-rest-hero-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.stitch-rest-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.92);
  backdrop-filter: blur(8px);
  color: var(--mq-text, #0b0f17);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stitch-rest-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mq-brand, #10b981);
  display: inline-block;
  box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary, 16 185 129) / 0.7);
  animation: stitchPulse 1.8s infinite;
}

@keyframes stitchPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary, 16 185 129) / 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgb(var(--mq-rgb-primary, 16 185 129) / 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgb(var(--mq-rgb-primary, 16 185 129) / 0); }
}

.stitch-rest-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stitch-rest-action-round-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--mq-text, #0b0f17);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stitch-rest-action-round-btn:hover {
  background: var(--mq-surface, #ffffff);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Floating Card */
.stitch-rest-floating-card-wrap {
  position: relative;
  z-index: 10;
  margin-top: -95px;
  margin-bottom: 2rem;
}

.stitch-rest-floating-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  box-shadow: 0 16px 36px -8px rgba(11, 15, 23, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stitch-rest-card-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stitch-rest-identity-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 280px;
}

.stitch-rest-crest-logo {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 1.2rem;
  background: var(--mq-dark-panel, #0b0f17);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  border: 3px solid var(--mq-surface, #ffffff);
}

.stitch-rest-crest-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-rest-crest-badge-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mq-brand, #10b981);
  color: var(--mq-on-brand, #ffffff);
  border: 2px solid var(--mq-surface, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.stitch-rest-title-area {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stitch-rest-name-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.stitch-rest-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  letter-spacing: -0.02em;
  margin: 0;
}

.stitch-rest-vip-tag {
  background: #82f5c1;
  color: #00714e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.stitch-rest-cuisine-bullets {
  font-size: 0.85rem;
  color: var(--mq-text-2, #475569);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}

.stitch-rest-metrics-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--mq-text-2, #475569);
}

.stitch-rest-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--mq-warning-soft, #fef3c7);
  color: var(--mq-warning, #92400e);
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  font-weight: 700;
}

.stitch-rest-rating-pill i {
  color: var(--mq-accent, #f59e0b);
}

.stitch-rest-metric-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.stitch-rest-metric-item i {
  color: var(--mq-text-3, #94a3b8);
}

.stitch-rest-ctas-col {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .stitch-rest-ctas-col {
    width: 100%;
    justify-content: stretch;
  }
  .stitch-rest-ctas-col a {
    flex: 1;
  }
}

.stitch-rest-btn-qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 0.75rem;
  background: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(11, 15, 23, 0.15);
}

.stitch-rest-btn-qr:hover {
  background: var(--mq-dark-panel-soft, #1e293b);
  color: var(--mq-on-dark, #ffffff);
  text-decoration: none;
  transform: translateY(-2px);
}

.stitch-rest-btn-qr i {
  color: var(--mq-brand, #10b981);
}

.stitch-rest-btn-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 0.75rem;
  background: var(--mq-brand-dark, #006c4a);
  color: var(--mq-on-brand, #ffffff);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 108, 74, 0.22);
}

.stitch-rest-btn-reserve:hover {
  background: var(--mq-brand-dark, #065f46);
  color: var(--mq-on-brand, #ffffff);
  text-decoration: none;
  transform: translateY(-2px);
}

/* In-Page Sticky Nav */
.stitch-rest-inpage-nav {
  position: sticky;
  top: 80px;
  z-index: 30;
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mq-border, #e2e8f0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
}

.stitch-rest-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.stitch-rest-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.65rem 0;
  scrollbar-width: none;
}

.stitch-rest-nav-links::-webkit-scrollbar {
  display: none;
}

.stitch-rest-nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.55rem;
  color: var(--mq-text-2, #475569);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.stitch-rest-nav-link:hover,
.stitch-rest-nav-link.active {
  color: var(--mq-text, #0b0f17);
  background: var(--mq-surface-subtle, #f1f5f9);
  text-decoration: none;
}

.stitch-rest-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mq-link, #006c4a);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  background: var(--mq-success-soft, #ecfdf5);
  transition: all 0.2s;
  white-space: nowrap;
}

.stitch-rest-call-btn:hover {
  background: #d1fae5;
  color: var(--mq-link, #065f46);
  text-decoration: none;
}

/* Section Card Standard */
.stitch-rest-section-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  margin-bottom: 2rem;
}

.stitch-rest-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stitch-rest-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  letter-spacing: -0.01em;
}

.stitch-rest-title-accent {
  width: 4px;
  height: 22px;
  background: var(--mq-brand, #10b981);
  border-radius: 9999px;
  display: inline-block;
}

/* 1. Overview Section */
.stitch-rest-overview-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--mq-text-2, #475569);
  margin-bottom: 1.5rem;
}

.stitch-rest-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .stitch-rest-feature-grid {
    grid-template-columns: 1fr;
  }
}

.stitch-rest-feature-box {
  background: var(--mq-canvas, #f8fafc);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 0.85rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stitch-rest-feature-icon {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.stitch-rest-feature-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
  margin: 0;
}

.stitch-rest-feature-text {
  font-size: 0.78rem;
  color: var(--mq-text-3, #64748b);
  margin: 0;
  line-height: 1.5;
}

.stitch-rest-guarantee-banner {
  margin-top: 1.25rem;
  padding: 1.15rem 1.35rem;
  border-radius: 0.85rem;
  background: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.stitch-rest-guarantee-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.65rem;
  background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.12);
  color: var(--mq-link, #065f46);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* 2. Gallery Section (Bento Grid) */
.stitch-rest-gallery-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 180px;
  gap: 1rem;
}

@media (max-width: 768px) {
  .stitch-rest-gallery-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.stitch-bento-hero {
  grid-column: span 2;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  height: 240px;
}

.stitch-bento-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  min-height: 180px;
}

.stitch-bento-card img,
.stitch-bento-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stitch-bento-card:hover img,
.stitch-bento-hero:hover img {
  transform: scale(1.05);
}

.stitch-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.85) 0%, rgba(11, 15, 23, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: var(--mq-on-dark, #ffffff);
}

.stitch-bento-pill {
  font-size: 0.7rem;
  background: rgba(11, 15, 23, 0.65);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  width: fit-content;
  margin-bottom: 0.35rem;
}

.stitch-bento-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

/* 3. Smart Menu Section */
.stitch-rest-cat-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  scrollbar-width: none;
}

.stitch-rest-cat-pills::-webkit-scrollbar {
  display: none;
}

.stitch-cat-pill-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  background: var(--mq-surface-subtle, #f1f5f9);
  border: 1px solid var(--mq-border, #e2e8f0);
  color: var(--mq-text-2, #475569);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.stitch-cat-pill-btn:hover {
  background: var(--mq-border, #e2e8f0);
  color: var(--mq-text, #0b0f17);
}

.stitch-cat-pill-btn.active {
  background: var(--mq-dark-panel, #0b0f17);
  border-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  box-shadow: 0 4px 12px rgba(11, 15, 23, 0.12);
}

.stitch-rest-allergen-bar {
  background: var(--mq-canvas, #f8fafc);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 0.85rem;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stitch-rest-allergen-list {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.stitch-allergen-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border-strong, #cbd5e1);
  padding: 0.25rem 0.65rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  color: var(--mq-text-2, #475569);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}

.stitch-allergen-checkbox:hover {
  border-color: var(--mq-brand-dark, #006c4a);
  color: var(--mq-link, #006c4a);
}

.stitch-allergen-checkbox input[type="checkbox"] {
  accent-color: #006c4a;
  cursor: pointer;
}

.stitch-rest-dishes-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stitch-dish-card {
  background: var(--mq-surface, #ffffff);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all 0.25s ease;
  position: relative;
}

.stitch-dish-card:hover {
  border-color: var(--mq-border-strong, #cbd5e1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .stitch-dish-card {
    flex-direction: column;
    align-items: stretch;
  }
}

.stitch-dish-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

@media (max-width: 576px) {
  .stitch-dish-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

.stitch-dish-thumb {
  width: 130px;
  height: 110px;
  border-radius: 0.85rem;
  background: var(--mq-surface-subtle, #f1f5f9);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .stitch-dish-thumb {
    width: 100%;
    height: 180px;
  }
}

.stitch-dish-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.stitch-dish-card:hover .stitch-dish-thumb img {
  transform: scale(1.06);
}

.stitch-dish-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  background: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 0.35rem;
}

.stitch-dish-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stitch-dish-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
  margin: 0;
}

.stitch-dish-desc {
  font-size: 0.82rem;
  color: var(--mq-text-3, #64748b);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stitch-dish-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--mq-text-3, #94a3b8);
  flex-wrap: wrap;
}

.stitch-dish-price-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stitch-dish-price-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--mq-divider, #f1f5f9);
    padding-top: 0.85rem;
  }
}

.stitch-dish-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mq-link, #006c4a);
  letter-spacing: -0.01em;
}

/* 4. Operating Hours Grid */
.stitch-rest-hours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 991px) {
  .stitch-rest-hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stitch-rest-hours-grid {
    grid-template-columns: 1fr;
  }
}

.stitch-hour-card {
  background: var(--mq-canvas, #f8fafc);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 0.85rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stitch-hour-card.is-today {
  background: var(--mq-success-soft, #ecfdf5);
  border-color: #a7f3d0;
  box-shadow: 0 4px 12px rgb(var(--mq-rgb-primary, 16 185 129) / 0.08);
}

.stitch-hour-day {
  font-size: 0.78rem;
  color: var(--mq-text-3, #64748b);
  font-weight: 700;
}

.stitch-hour-time {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
}

.stitch-hour-note {
  font-size: 0.72rem;
  color: var(--mq-link, #059669);
  font-weight: 600;
}

/* 5. Review Form */
.stitch-star-picker {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.5rem;
  color: var(--mq-text-3, #cbd5e1);
  cursor: pointer;
}

.stitch-star-picker i {
  transition: transform 0.15s, color 0.15s;
}

.stitch-star-picker i.active,
.stitch-star-picker i.hover {
  color: var(--mq-accent, #f59e0b);
}

.stitch-star-picker i:hover {
  transform: scale(1.2);
}

/* 6. Customer Reviews Breakdown */
.stitch-reviews-summary-box {
  background: var(--mq-canvas, #f8fafc);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .stitch-reviews-summary-box {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.stitch-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stitch-big-score {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--mq-text, #0b0f17);
  line-height: 1;
}

.stitch-bars-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.stitch-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.stitch-bar-label {
  width: 90px;
  color: var(--mq-text-3, #64748b);
  font-weight: 600;
  flex-shrink: 0;
}

.stitch-bar-track {
  flex: 1;
  height: 8px;
  border-radius: 9999px;
  background: var(--mq-border, #e2e8f0);
  overflow: hidden;
}

.stitch-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--mq-brand, #10b981);
}

.stitch-bar-percent {
  width: 35px;
  text-align: right;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
}

.stitch-review-card {
  background: var(--mq-canvas, #f8fafc);
  border: 1px solid var(--mq-border, #e2e8f0);
  border-radius: 0.85rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stitch-reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Sidebar Widgets */
.stitch-rest-sticky-sidebar {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stitch-reservation-card {
  background: var(--mq-surface, #ffffff);
  border: 2px solid rgb(var(--mq-rgb-primary, 16 185 129) / 0.3);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.stitch-reservation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--mq-brand, #10b981), var(--mq-brand-dark, #006c4a), var(--mq-dark-panel, #0b0f17));
}

.stitch-res-day-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.stitch-res-day-btn {
  padding: 0.55rem 0.35rem;
  border-radius: 0.55rem;
  border: 1px solid var(--mq-border, #e2e8f0);
  background: var(--mq-canvas, #f8fafc);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.stitch-res-day-btn.active {
  background: var(--mq-dark-panel, #0b0f17);
  border-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
}

.stitch-res-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.stitch-res-slot-btn {
  padding: 0.45rem 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--mq-border, #e2e8f0);
  background: var(--mq-canvas, #f8fafc);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mq-text-2, #475569);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.stitch-res-slot-btn.active {
  background: var(--mq-success-soft, #ecfdf5);
  border-color: var(--mq-brand, #10b981);
  color: var(--mq-link, #065f46);
  font-weight: 800;
}

.stitch-res-guests-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

.stitch-res-guest-btn {
  padding: 0.45rem 0.15rem;
  border-radius: 0.5rem;
  border: 1px solid var(--mq-border, #e2e8f0);
  background: var(--mq-canvas, #f8fafc);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.stitch-res-guest-btn.active {
  background: var(--mq-dark-panel, #0b0f17);
  border-color: var(--mq-dark-panel, #0b0f17);
  color: var(--mq-on-dark, #ffffff);
}

.stitch-res-submit-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: var(--mq-brand-dark, #006c4a);
  border: 1px solid var(--mq-brand-dark, #006c4a);
  color: var(--mq-on-brand, #ffffff);
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0, 108, 74, 0.25);
}

.stitch-res-submit-btn:hover {
  background: var(--mq-brand-dark, #065f46);
  border-color: var(--mq-brand-dark, #065f46);
  transform: translateY(-2px);
}

/* Amenities Card */
.stitch-amenities-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stitch-amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.stitch-amenity-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background: var(--mq-surface-subtle, #f1f5f9);
  color: var(--mq-link, #006c4a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.stitch-amenity-content {
  display: flex;
  flex-direction: column;
}

.stitch-amenity-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mq-text, #0b0f17);
}

.stitch-amenity-sub {
  font-size: 0.72rem;
  color: var(--mq-text-3, #64748b);
}

/* Mobile Sticky Floating Bar */
.stitch-rest-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgb(var(--mq-rgb-surface, 255 255 255) / 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--mq-border, #e2e8f0);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .stitch-rest-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
}

/* Text on a brand/accent fill follows the "text on brand colour" token (white by default). */
.stitch-client-avatar.emerald,
.stitch-client-avatar.amber,
.stitch-step-card:nth-child(2) .stitch-step-num-badge {
  color: var(--mq-on-primary, #ffffff);
}

/* Order notices on the page (order placed, ordering paused, closed now, order errors). The cart itself lives in css/storefront-commerce.css. */
.stitch-flash[hidden] { display: none !important; }
.stitch-flash { margin: 0 0 1rem; padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.88rem; border: 1px solid var(--mq-border, #e2e8f0); }
.stitch-flash ul { margin: 0.35rem 0 0; padding-inline-start: 1.1rem; }
.stitch-flash-ok { background: rgb(var(--mq-rgb-primary, 16 185 129) / 0.1); border-color: rgb(var(--mq-rgb-primary, 16 185 129) / 0.35); color: var(--mq-text, #0b0f17); }
.stitch-flash-err { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.stitch-flash-note { background: var(--mq-surface-subtle, #f1f5f9); color: var(--mq-text-2, #475569); }

/* Theme bindings for the shared commerce module (public/css/storefront-commerce.css): it reads --mq-* and falls back to the stitch tokens. */
body.stitch-theme {
  --mq-primary: var(--stitch-emerald-dark);
  --mq-radius: var(--stitch-radius-lg);
  --mq-font: var(--stitch-font-sans);
}
[dir="rtl"] body.stitch-theme { --mq-font: var(--stitch-font-ar); }
.stitch-theme .mq-headcart { margin-inline-end: 0.5rem; }

/* Storefront contrast (>= 4.5:1, scoped to the stitch storefront only; dashboard colours are untouched) */
.stitch-rest-page .text-success,
.stitch-rest-mobile-bar .text-success { color: #166534 !important; }
.stitch-rest-page .btn-success,
.stitch-rest-mobile-bar .btn-success,
.stitch-rest-page .badge-success { background-color: #166534; border-color: #166534; color: #ffffff; }
.stitch-rest-rating-pill > .text-muted { color: inherit !important; }
.stitch-rest-page .stitch-dish-tags,
.stitch-rest-page .stitch-dish-tags > span { color: #475569; }
.stitch-rest-guarantee-banner .text-muted,
.stitch-rest-guarantee-banner div > div { color: #334155; }
.stitch-rest-page .text-muted,
.stitch-rest-page .stitch-hour-note,
.stitch-rest-guarantee-banner div { color: #4b5563 !important; }
.stitch-rest-rating-pill > .text-muted { color: inherit !important; }
