/* =========================================================
   MYNU DIGITAL MENU & LANDING - EXACT SPECIFICATION STYLES
   Exact Colors: 
   1. App / Page Background: #182c25
   2. Header / Top Navigation Bar: #1f3830
   3. Content Cards / Container Elements: #234037
   4. Subtle Borders / Dividers: #2d4e43
   Accent: #D49C54 (Ochre Gold)
   ========================================================= */

:root {
  --bg-primary: #182c25;
  --bg-header: #1f3830;
  --bg-surface: #234037;
  --bg-surface-hover: #2c4d43;
  --bg-darker: #13241e;
  --border-subtle: #2d4e43;

  --accent-gold: #D49C54;
  --accent-gold-hover: #E2AB63;

  --text-white: #FFFFFF;
  --text-muted: #8EA6A0;
  --text-gold: #D49C54;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --font-family: 'Noto Kufi Arabic', 'Cairo', 'Titillium Web', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-numbers: 'Titillium Web', 'Plus Jakarta Sans', 'Noto Kufi Arabic', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 156, 84, 0.45) transparent;
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 156, 84, 0.4);
  border-radius: 999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

select {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--bg-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D49C54' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 13px;
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

[dir="rtl"] select {
  background-position: left 14px center;
  padding: 10px 14px 10px 36px;
}

select option {
  background-color: #182c25;
  color: #ffffff;
  padding: 8px 12px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-white);
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* ==================== 1. LANDING PAGE (VIDEO BACKGROUND) ==================== */
body.landing-body {
  background-color: #000000;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
}

.video-background-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.video-background-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-dark-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.landing-content-frame {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px 20px;
}

/* Landing Top Bar */
.landing-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.landing-top-pill {
  background: linear-gradient(180deg, #2a4c40 0%, #1a332a 100%);
  border: 1.5px solid rgba(212, 156, 84, 0.4);
  border-radius: var(--radius-md);
  color: var(--text-white);
  padding: 8px 15px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 0 #0d1a15, 0 8px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.landing-top-pill:hover {
  background: linear-gradient(180deg, #32584a 0%, #1e3b30 100%);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #0d1a15, 0 12px 22px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.landing-top-pill:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #0d1a15, 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.landing-phones-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

[dir="rtl"] .landing-phones-group {
  align-items: flex-start;
}

.landing-top-pill.phone-action-btn {
  padding: 8px 14px;
  font-family: var(--font-numbers);
  font-size: 0.82rem;
  font-weight: 700;
  gap: 8px;
}

.landing-top-pill.phone-action-btn.whatsapp-action {
  background: linear-gradient(180deg, #1d4631 0%, #10291d 100%);
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 4px 0 #081710, 0 8px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(37, 211, 102, 0.35);
}

.landing-top-pill.phone-action-btn.whatsapp-action:hover {
  border-color: #25D366;
  background: linear-gradient(180deg, #24583d 0%, #153727 100%);
  box-shadow: 0 6px 0 #081710, 0 12px 22px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.landing-top-pill.phone-action-btn.whatsapp-action:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #081710, 0 3px 6px rgba(0, 0, 0, 0.4);
}

.landing-top-pill.phone-action-btn.call-action {
  border-color: rgba(212, 156, 84, 0.5);
}

.phone-btn-num {
  direction: ltr;
  unicode-bidi: embed;
}

/* Landing Center Brand */
.landing-center-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto 0;
}

.brand-logo-frame {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #254439 0%, #152922 100%);
  margin-bottom: 12px;
  border: 2px solid rgba(212, 156, 84, 0.5);
  box-shadow: 0 8px 0 #0d1a15, 0 16px 32px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-rest-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Landing Bottom Controls */
.landing-bottom-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.landing-lang-btn {
  background: linear-gradient(180deg, #2c4e41 0%, #1a3229 100%);
  border: 1.5px solid rgba(212, 156, 84, 0.45);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  box-shadow: 0 5px 0 #0e1c17, 0 10px 22px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.landing-lang-btn:hover {
  background: linear-gradient(180deg, #345c4e 0%, #1f3c31 100%);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #0e1c17, 0 14px 26px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.landing-lang-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #0e1c17, 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.landing-lang-btn.english-btn {
  width: 100%;
  background: linear-gradient(180deg, #305548 0%, #1c362d 100%);
  border: 1.5px solid rgba(212, 156, 84, 0.6);
}

.landing-lang-duo-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.duo-btn {
  flex: 1;
}

/* Landing Social Bar */
.landing-social-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.social-sq-btn {
  flex: 1;
  height: 48px;
  background: linear-gradient(180deg, #28473c 0%, #192f26 100%);
  border: 1.5px solid rgba(212, 156, 84, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 0 #0d1a15, 0 8px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.social-sq-btn:hover {
  background: linear-gradient(180deg, #32584a 0%, #1e382e 100%);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #0d1a15, 0 12px 22px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.social-sq-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #0d1a15, 0 3px 6px rgba(0, 0, 0, 0.35), inset 0 1px 3px rgba(0, 0, 0, 0.3);
  color: var(--accent-gold);
}

/* Landing Footer */
.landing-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}

.powered-by-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mynu-official-logo svg {
  display: block;
}

/* ==================== 2. FOOD MENU PAGE (EXACT MYNU) ==================== */
body.flat-dark-teal {
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
}

.mynu-app-container {
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Top Header Bar */
.mynu-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px;
  background-color: var(--bg-primary);
  border: none;
  position: sticky;
  top: 0;
  z-index: 100;
  direction: ltr !important;
}

#openSearchBtn { order: 1; }
.header-center-title { order: 2; }
#openCategoryDrawerBtn { order: 3; }

.flat-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.flat-icon-btn:active {
  color: var(--accent-gold);
}

.header-center-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-height: 40px;
  overflow: hidden;
}

.header-brand-logo {
  max-width: 220px;
  height: 42px;
  object-fit: contain;
  display: block;
  transition: height 0.2s ease;
}

.header-brand-logo.hidden {
  display: none !important;
}

.header-center-title h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 0;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Symmetrical 2-Button Grid Row (Perfect Alignment) */
.mynu-sub-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 4px 16px 14px;
  width: 100%;
  box-sizing: border-box;
  direction: ltr !important;
}

.flat-pill-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.flat-pill-btn:active {
  background-color: var(--bg-surface-hover);
  transform: scale(0.98);
}

.table-badge {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin: 0 auto 10px;
  text-align: center;
  display: inline-block;
}

/* Category Slider (Above Banners) - Seamless */
.flat-category-bar {
  position: sticky;
  top: 56px;
  z-index: 95;
  background-color: var(--bg-primary);
  padding: 6px 12px 14px;
  border: none;
}

/* Banners (Below Categories) */
.banner-section {
  padding: 0 16px 14px;
}

.bannerSwiper {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.flat-banner-slide {
  position: relative;
  width: 100%;
  max-height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flat-banner-slide img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--accent-gold);
  width: 16px;
  border-radius: var(--radius-full);
}

.category-swiper-track {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 6px;
  -webkit-overflow-scrolling: touch;
}

.category-swiper-track::-webkit-scrollbar {
  display: none;
}

.flat-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  flex-shrink: 0;
  padding-bottom: 6px;
  position: relative;
}

.cat-icon-wrap {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.cat-icon-wrap svg {
  width: 42px;
  height: 42px;
  stroke: var(--accent-gold);
  display: block;
}

.cat-name-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.flat-category-item.active .cat-name-label {
  color: var(--accent-gold);
  font-weight: 800;
}

.flat-category-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 26px;
  height: 3.5px;
  border-radius: var(--radius-full);
  background-color: var(--accent-gold);
}

/* 2-Column Dish Grid */
.dish-grid-container {
  padding: 12px 16px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
}

.category-section-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 6px;
  padding: 0 4px;
}

.category-section-divider::before,
.category-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  opacity: 0.8;
}

.category-section-divider span {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.3px;
  text-align: center;
}

.flat-dish-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease;
}

.flat-dish-card:active {
  transform: scale(0.97);
}

.flat-card-img-wrap {
  width: 100%;
  height: 185px;
  background-color: var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.flat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.flat-card-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: var(--accent-gold);
  color: var(--bg-darker);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}

[dir="ltr"] .flat-card-badge {
  right: auto;
  left: 6px;
}

.flat-card-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.flat-card-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flat-card-price {
  font-family: var(--font-numbers);
  font-size: 0.96rem;
  font-weight: 700;
  color: #E2BC7E;
  letter-spacing: 0.3px;
  margin-top: auto;
}

/* Sold Out State */
.flat-dish-card.sold-out {
  opacity: 0.6;
}

.flat-dish-card.sold-out .flat-card-img-wrap::after {
  content: 'نەماوە';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #ff4d4f;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="ar"] .flat-dish-card.sold-out .flat-card-img-wrap::after { content: 'غير متوفر'; }
[dir="ltr"] .flat-dish-card.sold-out .flat-card-img-wrap::after { content: 'SOLD OUT'; }

/* Footer */
.mynu-flat-footer {
  padding: 20px 16px 32px;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  margin-top: auto;
}

.footer-contacts-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 360px;
  margin: 0 auto 18px;
  gap: 10px;
}

.footer-action-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.footer-action-circle:active {
  transform: scale(0.92);
  background-color: var(--accent-gold);
  color: var(--bg-darker);
}

.footer-action-circle.whatsapp { color: #22c55e; }
.footer-action-circle.tiktok { color: #ff0050; }
.footer-action-circle.snapchat { color: #FFFC00; }
.footer-action-circle.facebook { color: #1877F2; }

/* Phone Picker List in Bottom Sheet */
.phone-flat-list {
  padding: 8px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: calc(90vh - 65px);
  -webkit-overflow-scrolling: touch;
}

.phone-flat-row {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.phone-flat-row:active {
  background-color: var(--accent-gold);
  color: var(--bg-darker);
}

.phone-flat-row .phone-icon-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-flat-row .phone-dial-badge {
  background-color: rgba(212, 156, 84, 0.2);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.phone-flat-row:active .phone-dial-badge {
  background-color: var(--bg-darker);
  color: var(--accent-gold);
}

.mynu-branding-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

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

.floating-scroll-btn {
  position: fixed;
  bottom: 24px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

[dir="ltr"] .floating-scroll-btn {
  left: auto;
  right: 20px;
}

/* ==================== 3. MODALS & DRAWERS (ANIMATED BOTTOM SHEETS) ==================== */

/* Search Overlay Top Drawer */
.search-overlay-drawer {
  position: fixed;
  inset: 0;
  z-index: 700;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.28s;
}

.search-overlay-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}

.search-input-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 44px;
}

.search-input-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}

.clear-btn, .close-drawer-btn {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.search-results-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Universal Smooth Animated Bottom Sheet Drawer */
.bottom-sheet-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.28s;
}

.bottom-sheet-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.sheet-scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-sheet-drawer.open .sheet-scrim {
  opacity: 1;
}

.sheet-paper {
  position: relative;
  z-index: 10;
  background-color: var(--bg-header);
  border-top: 1px solid var(--border-subtle);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  max-height: 90vh;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.bottom-sheet-drawer.open .sheet-paper {
  transform: translateY(0);
}

.sheet-top-header {
  padding: 8px 16px 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.sheet-top-header:active {
  cursor: grabbing;
}

.sheet-drag-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.22);
  margin: 2px auto 8px;
  transition: background-color 0.15s ease;
}

.sheet-top-header:hover .sheet-drag-handle {
  background-color: var(--accent-gold);
}

.cat-drawer-title-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 4px;
}

.cat-drawer-title-row .sheet-header-title {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.cat-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cat-close-btn:hover, .cat-close-btn:active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-darker);
  transform: scale(1.05);
}

.sheet-header-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 8px;
  text-align: center;
}

.sheet-header-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sheet-header-close-btn:hover, .sheet-header-close-btn:active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-darker);
}

[dir="rtl"] .sheet-header-close-btn {
  right: auto;
  left: 14px;
}

/* 3-Column Category Grid Inside Drawer */
.category-grid-3col {
  padding: 8px 14px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  overflow-y: auto;
  max-height: calc(82vh - 40px);
  background-color: var(--bg-header);
}

.cat-tile-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  color: #ffffff;
  font-family: inherit;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.cat-tile-btn:active, .cat-tile-btn.active {
  background-color: var(--accent-gold);
  color: var(--bg-darker);
  border-color: var(--accent-gold);
  transform: scale(0.96);
}

.cat-tile-btn:active .cat-icon-svg svg, .cat-tile-btn.active .cat-icon-svg svg {
  stroke: var(--bg-darker);
}

.cat-tile-btn .cat-icon-svg {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-tile-btn .cat-icon-svg svg {
  width: 46px;
  height: 46px;
  stroke: var(--accent-gold);
  display: block;
}

.cat-tile-btn .cat-label {
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  color: #ffffff;
}

/* Language List */
.lang-flat-list {
  padding: 8px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: calc(90vh - 65px);
  -webkit-overflow-scrolling: touch;
}

.lang-flat-row {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.15s ease;
}

.lang-flat-row:active {
  background-color: var(--bg-surface-hover);
  color: var(--accent-gold);
}

/* Dish Detail Bottom Sheet Paper */
.dish-detail-paper {
  background-color: var(--bg-surface);
}

.sheet-img-wrap {
  position: relative;
  height: 220px;
  background-color: var(--bg-darker);
}

.sheet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-close-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="rtl"] .sheet-close-icon {
  right: auto;
  left: 14px;
}

.sheet-body-content {
  padding: 18px 20px 28px;
}

.sheet-title-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.sheet-title-price-row h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.gold-price-badge {
  font-size: 1.25rem;
  font-weight: 800;
  color: #E2BC7E;
  font-family: var(--font-numbers);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.sheet-description-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.sheet-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sheet-pill-tag {
  background-color: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Feedback Modal Styles */
.feedback-flat-body {
  padding: 8px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: calc(90vh - 65px);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.feedback-rate-card {
  background-color: var(--bg-surface);
  padding: 16px 14px 14px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.feedback-card-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-subtle);
  margin: 2px 0 4px;
}

.feedback-emojis-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 4px 0 2px;
}

.emoji-rate-btn {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 50%;
  padding: 4px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.emoji-rate-btn .emoji-char {
  font-size: 2.15rem;
  line-height: 1;
  display: inline-block;
  opacity: 0.4;
  filter: grayscale(50%);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.emoji-rate-btn:hover .emoji-char {
  opacity: 0.85;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.emoji-rate-btn.active {
  background-color: rgba(212, 156, 84, 0.12);
  border-color: var(--accent-gold);
  transform: scale(1.15);
}

.emoji-rate-btn.active .emoji-char {
  opacity: 1;
  filter: grayscale(0%) drop-shadow(0 0 10px rgba(212, 156, 84, 0.5));
  transform: scale(1.12);
}

/* Feedback Phone Input */
.feedback-phone-input {
  width: 100%;
  background-color: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease;
}

.feedback-phone-input:focus {
  border-color: var(--accent-gold);
}

.feedback-phone-input::placeholder {
  color: var(--text-muted);
}

.rate-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.stars-gold-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.star-btn:active {
  transform: scale(1.25);
}

.star-btn .star-icon {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.star-btn.active .star-icon {
  fill: #D49C54;
  stroke: #D49C54;
  transform: scale(1.06);
}

.flat-textarea {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  resize: none;
  flex-shrink: 0;
}

.flat-textarea::placeholder {
  color: var(--text-muted);
}

.flat-gold-btn {
  background-color: var(--accent-gold);
  color: var(--bg-darker);
  border: none;
  padding: 15px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 8px;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.flat-gold-btn:active {
  background-color: var(--accent-gold-hover);
  transform: scale(0.98);
}

/* Wi-Fi Modal Body */
.wifi-flat-body {
  padding: 8px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wifi-flat-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.wifi-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.wifi-flat-box h4 {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 800;
}

.flat-success-msg {
  background-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.flat-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-gold);
  color: var(--bg-darker);
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  z-index: 999;
}

.empty-state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}

.hidden { display: none !important; }
