/* =========================================================
   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;
}

/* ==================== FLAT COLOR THEMES ==================== */
body.theme-forest, .theme-forest {
  --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;
}

body.theme-midnight, .theme-midnight {
  --bg-primary: #0e1117;
  --bg-header: #161b22;
  --bg-surface: #1c2128;
  --bg-surface-hover: #272e38;
  --bg-darker: #090c10;
  --border-subtle: #30363d;
  --accent-gold: #e5a951;
  --accent-gold-hover: #f3be6f;
  --text-white: #FFFFFF;
  --text-muted: #8b949e;
  --text-gold: #e5a951;
}

body.theme-espresso, .theme-espresso {
  --bg-primary: #1c1512;
  --bg-header: #261e1a;
  --bg-surface: #302621;
  --bg-surface-hover: #3d312b;
  --bg-darker: #140e0c;
  --border-subtle: #453730;
  --accent-gold: #dfa760;
  --accent-gold-hover: #eebb7a;
  --text-white: #FFFFFF;
  --text-muted: #a6958a;
  --text-gold: #dfa760;
}

body.theme-navy, .theme-navy {
  --bg-primary: #0c1829;
  --bg-header: #132238;
  --bg-surface: #1b2e4b;
  --bg-surface-hover: #243c61;
  --bg-darker: #08101c;
  --border-subtle: #294266;
  --accent-gold: #d8a75a;
  --accent-gold-hover: #eab96e;
  --text-white: #FFFFFF;
  --text-muted: #8ca3c7;
  --text-gold: #d8a75a;
}

body.theme-burgundy, .theme-burgundy {
  --bg-primary: #220e15;
  --bg-header: #2f141d;
  --bg-surface: #3b1b26;
  --bg-surface-hover: #4d2332;
  --bg-darker: #17080d;
  --border-subtle: #572939;
  --accent-gold: #e2b26b;
  --accent-gold-hover: #f0c585;
  --text-white: #FFFFFF;
  --text-muted: #b5929e;
  --text-gold: #e2b26b;
}

body.theme-emerald, .theme-emerald {
  --bg-primary: #0c2619;
  --bg-header: #123624;
  --bg-surface: #18452e;
  --bg-surface-hover: #20573b;
  --bg-darker: #071a10;
  --border-subtle: #256645;
  --accent-gold: #e8bd63;
  --accent-gold-hover: #f5cf7d;
  --text-white: #FFFFFF;
  --text-muted: #88baa0;
  --text-gold: #e8bd63;
}

body.theme-clay, .theme-clay {
  --bg-primary: #291812;
  --bg-header: #38221a;
  --bg-surface: #472b22;
  --bg-surface-hover: #59372c;
  --bg-darker: #1c100b;
  --border-subtle: #633e31;
  --accent-gold: #e5af66;
  --accent-gold-hover: #f2c27f;
  --text-white: #FFFFFF;
  --text-muted: #b89c92;
  --text-gold: #e5af66;
}

body.theme-charcoal, .theme-charcoal {
  --bg-primary: #151515;
  --bg-header: #1e1e1e;
  --bg-surface: #262626;
  --bg-surface-hover: #333333;
  --bg-darker: #0d0d0d;
  --border-subtle: #3a3a3a;
  --accent-gold: #d49c54;
  --accent-gold-hover: #e2ab63;
  --text-white: #FFFFFF;
  --text-muted: #999999;
  --text-gold: #d49c54;
}

body.theme-sand, .theme-sand {
  --bg-primary: #f4f0e6;
  --bg-header: #eae4d5;
  --bg-surface: #ded7c4;
  --bg-surface-hover: #d2c9b3;
  --bg-darker: #ffffff;
  --border-subtle: #c7bc9f;
  --accent-gold: #8c5a1a;
  --accent-gold-hover: #a66d24;
  --text-white: #1f1b13;
  --text-muted: #5c5344;
  --text-gold: #8c5a1a;
  --card-text: #1f1b13;
  --pill-text: #1f1b13;
  --card-price: #8c5a1a;
}

body.theme-parchment, .theme-parchment {
  --bg-primary: #ece5d8;
  --bg-header: #dfd6c5;
  --bg-surface: #d3c8b4;
  --bg-surface-hover: #c7bba5;
  --bg-darker: #f9f6f0;
  --border-subtle: #b8ac95;
  --accent-gold: #83531b;
  --accent-gold-hover: #9c6422;
  --text-white: #1f1b13;
  --text-muted: #554d3f;
  --text-gold: #83531b;
  --card-text: #1f1b13;
  --pill-text: #1f1b13;
  --card-price: #83531b;
}

body.theme-moss, .theme-moss {
  --bg-primary: #1b2416;
  --bg-header: #232f1d;
  --bg-surface: #2b3924;
  --bg-surface-hover: #36482e;
  --bg-darker: #131b0f;
  --border-subtle: #384a30;
  --accent-gold: #d4a354;
  --accent-gold-hover: #e5b467;
  --text-white: #FFFFFF;
  --text-muted: #98a88a;
  --text-gold: #d4a354;
}

body.theme-teal, .theme-teal {
  --bg-primary: #102424;
  --bg-header: #162e2e;
  --bg-surface: #1c3939;
  --bg-surface-hover: #244949;
  --bg-darker: #0b1a1a;
  --border-subtle: #294e4e;
  --accent-gold: #5ed8c7;
  --accent-gold-hover: #7eedde;
  --text-white: #FFFFFF;
  --text-muted: #8da6a6;
  --text-gold: #5ed8c7;
}

body.theme-peacock, .theme-peacock {
  --bg-primary: #0d252a;
  --bg-header: #123037;
  --bg-surface: #183c44;
  --bg-surface-hover: #1e4b55;
  --bg-darker: #08181c;
  --border-subtle: #24525d;
  --accent-gold: #62c7db;
  --accent-gold-hover: #82d7e8;
  --text-white: #FFFFFF;
  --text-muted: #8ca4ab;
  --text-gold: #62c7db;
}

body.theme-cobalt, .theme-cobalt {
  --bg-primary: #12182b;
  --bg-header: #19213c;
  --bg-surface: #212b4e;
  --bg-surface-hover: #2b3864;
  --bg-darker: #0c101d;
  --border-subtle: #2f3d6c;
  --accent-gold: #7ba9f7;
  --accent-gold-hover: #98beff;
  --text-white: #FFFFFF;
  --text-muted: #94a1c7;
  --text-gold: #7ba9f7;
}

body.theme-slate, .theme-slate {
  --bg-primary: #1b2029;
  --bg-header: #242b36;
  --bg-surface: #2c3544;
  --bg-surface-hover: #374254;
  --bg-darker: #13171e;
  --border-subtle: #3a4659;
  --accent-gold: #e5a951;
  --accent-gold-hover: #f3bd6f;
  --text-white: #FFFFFF;
  --text-muted: #9aa4b5;
  --text-gold: #e5a951;
}

body.theme-steel, .theme-steel {
  --bg-primary: #18232c;
  --bg-header: #202f3a;
  --bg-surface: #283a48;
  --bg-surface-hover: #334a5c;
  --bg-darker: #10181f;
  --border-subtle: #395164;
  --accent-gold: #85c3e0;
  --accent-gold-hover: #a3d4eb;
  --text-white: #FFFFFF;
  --text-muted: #9eb1c0;
  --text-gold: #85c3e0;
}

body.theme-chocolate, .theme-chocolate {
  --bg-primary: #1c130e;
  --bg-header: #281b14;
  --bg-surface: #34241b;
  --bg-surface-hover: #432e23;
  --bg-darker: #130d09;
  --border-subtle: #4b3427;
  --accent-gold: #e5a855;
  --accent-gold-hover: #f1bd75;
  --text-white: #FFFFFF;
  --text-muted: #ad978b;
  --text-gold: #e5a855;
}

body.theme-walnut, .theme-walnut {
  --bg-primary: #201a18;
  --bg-header: #2b2321;
  --bg-surface: #372d2a;
  --bg-surface-hover: #473a36;
  --bg-darker: #161210;
  --border-subtle: #4c3e3a;
  --accent-gold: #d5a86a;
  --accent-gold-hover: #e3bc83;
  --text-white: #FFFFFF;
  --text-muted: #a89f9d;
  --text-gold: #d5a86a;
}

body.theme-plum, .theme-plum {
  --bg-primary: #211428;
  --bg-header: #2d1b37;
  --bg-surface: #392345;
  --bg-surface-hover: #492d59;
  --bg-darker: #170d1c;
  --border-subtle: #513262;
  --accent-gold: #deb46a;
  --accent-gold-hover: #ecc581;
  --text-white: #FFFFFF;
  --text-muted: #b79ebf;
  --text-gold: #deb46a;
}

body.theme-amethyst, .theme-amethyst {
  --bg-primary: #1c1224;
  --bg-header: #271933;
  --bg-surface: #332142;
  --bg-surface-hover: #432b57;
  --bg-darker: #130c19;
  --border-subtle: #4a3060;
  --accent-gold: #cca5f0;
  --accent-gold-hover: #debeff;
  --text-white: #FFFFFF;
  --text-muted: #a898b8;
  --text-gold: #cca5f0;
}

body.theme-berry, .theme-berry {
  --bg-primary: #2a1220;
  --bg-header: #39192c;
  --bg-surface: #471f37;
  --bg-surface-hover: #5a2746;
  --bg-darker: #1d0c16;
  --border-subtle: #622a4c;
  --accent-gold: #f0a8c8;
  --accent-gold-hover: #ffbfd8;
  --text-white: #FFFFFF;
  --text-muted: #b991a7;
  --text-gold: #f0a8c8;
}

body.theme-onyx, .theme-onyx {
  --bg-primary: #0d0d0e;
  --bg-header: #171719;
  --bg-surface: #202024;
  --bg-surface-hover: #2b2b30;
  --bg-darker: #060607;
  --border-subtle: #303036;
  --accent-gold: #d49c54;
  --accent-gold-hover: #e2ab63;
  --text-white: #FFFFFF;
  --text-muted: #909095;
  --text-gold: #d49c54;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
}

body.theme-bakery, .theme-bakery {
  --bg-primary: #F7EFE4;
  --bg-header: #EFE4D3;
  --bg-surface: #5C3422;
  --bg-surface-hover: #6E3F2A;
  --bg-darker: #452415;
  --border-subtle: #DECEB9;
  --accent-gold: #5C3422;
  --accent-gold-hover: #75432D;
  --text-white: #3D2012;
  --text-muted: #7A5844;
  --text-gold: #5C3422;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #FFFFFF;
}

body.theme-matcha, .theme-matcha {
  --bg-primary: #EEF3EB;
  --bg-header: #DFE8DC;
  --bg-surface: #27402F;
  --bg-surface-hover: #32523C;
  --bg-darker: #1C3023;
  --border-subtle: #C8D6C3;
  --accent-gold: #27402F;
  --accent-gold-hover: #3B5F47;
  --text-white: #1A2E21;
  --text-muted: #4F6B56;
  --text-gold: #27402F;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #FFFFFF;
}

body.theme-sakura, .theme-sakura {
  --bg-primary: #FAF0F2;
  --bg-header: #F2DEE3;
  --bg-surface: #4A1A28;
  --bg-surface-hover: #5C2233;
  --bg-darker: #36111C;
  --border-subtle: #E2C7CF;
  --accent-gold: #4A1A28;
  --accent-gold-hover: #632537;
  --text-white: #36111C;
  --text-muted: #7E4F5D;
  --text-gold: #4A1A28;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #FFFFFF;
}

body.theme-valencia, .theme-valencia {
  --bg-primary: #1E120B;
  --bg-header: #2B1910;
  --bg-surface: #382115;
  --bg-surface-hover: #482B1C;
  --bg-darker: #140B07;
  --border-subtle: #4D2D1E;
  --accent-gold: #E86F30;
  --accent-gold-hover: #F78245;
  --text-white: #FFFFFF;
  --text-muted: #BFA193;
  --text-gold: #E86F30;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #E86F30;
}

body.theme-tuscan, .theme-tuscan {
  --bg-primary: #F0F0E4;
  --bg-header: #E2E2D0;
  --bg-surface: #333B26;
  --bg-surface-hover: #414B31;
  --bg-darker: #252B1B;
  --border-subtle: #C9C9B4;
  --accent-gold: #333B26;
  --accent-gold-hover: #495437;
  --text-white: #222819;
  --text-muted: #5F6652;
  --text-gold: #333B26;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #FFFFFF;
}

body.theme-santorini, .theme-santorini {
  --bg-primary: #F2F7FA;
  --bg-header: #E1EDF5;
  --bg-surface: #123762;
  --bg-surface-hover: #1A4982;
  --bg-darker: #0B2544;
  --border-subtle: #C7DBEB;
  --accent-gold: #123762;
  --accent-gold-hover: #1D5494;
  --text-white: #0B2544;
  --text-muted: #4B6B8A;
  --text-gold: #123762;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #FFFFFF;
}

body.theme-cappuccino, .theme-cappuccino {
  --bg-primary: #F3ECE2;
  --bg-header: #E5DACB;
  --bg-surface: #3B2A1E;
  --bg-surface-hover: #4D3728;
  --bg-darker: #281C14;
  --border-subtle: #D2C1AC;
  --accent-gold: #3B2A1E;
  --accent-gold-hover: #543C2C;
  --text-white: #281C14;
  --text-muted: #6E5A4B;
  --text-gold: #3B2A1E;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #FFFFFF;
}

body.theme-bordeaux, .theme-bordeaux {
  --bg-primary: #190D14;
  --bg-header: #26141F;
  --bg-surface: #331A29;
  --bg-surface-hover: #452438;
  --bg-darker: #10080D;
  --border-subtle: #4D263D;
  --accent-gold: #E89BB5;
  --accent-gold-hover: #F5B5CA;
  --text-white: #FFFFFF;
  --text-muted: #BA97A9;
  --text-gold: #E89BB5;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #E89BB5;
}

body.theme-sage, .theme-sage {
  --bg-primary: #14201D;
  --bg-header: #1C2D29;
  --bg-surface: #253A35;
  --bg-surface-hover: #304C45;
  --bg-darker: #0E1614;
  --border-subtle: #314C45;
  --accent-gold: #E5B869;
  --accent-gold-hover: #F2C980;
  --text-white: #FFFFFF;
  --text-muted: #95ADA5;
  --text-gold: #E5B869;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #E5B869;
}

body.theme-cedar, .theme-cedar {
  --bg-primary: #1B1512;
  --bg-header: #271F1B;
  --bg-surface: #342924;
  --bg-surface-hover: #433630;
  --bg-darker: #120D0A;
  --border-subtle: #4A3A33;
  --accent-gold: #DDA260;
  --accent-gold-hover: #ECB476;
  --text-white: #FFFFFF;
  --text-muted: #A89B93;
  --text-gold: #DDA260;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #DDA260;
}

body.theme-cyberjade, .theme-cyberjade {
  --bg-primary: #090B0D;
  --bg-header: #11151A;
  --bg-surface: #181E24;
  --bg-surface-hover: #212932;
  --bg-darker: #050607;
  --border-subtle: #25303B;
  --accent-gold: #2DE8A5;
  --accent-gold-hover: #54F0B7;
  --text-white: #FFFFFF;
  --text-muted: #8397A8;
  --text-gold: #2DE8A5;
  --card-text: #FFFFFF;
  --pill-text: #FFFFFF;
  --card-price: #2DE8A5;
}

* {
  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: var(--text-white);
  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: var(--bg-surface);
  color: var(--text-white);
  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;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100dvh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.video-background-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  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: 440px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 14px max(10px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  overflow: hidden;
}

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

.landing-top-pill {
  background: linear-gradient(180deg, #2a4c40 0%, #1a332a 100%);
  border: 1.5px solid rgba(212, 156, 84, 0.4);
  border-radius: 12px;
  color: var(--text-white);
  padding: 6px 12px;
  font-weight: 700;
  font-size: clamp(0.76rem, 1.8vh, 0.84rem);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 3px 0 #0d1a15, 0 6px 14px 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;
  flex-shrink: 0;
}

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

.landing-top-pill:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0d1a15, 0 2px 4px 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: 5px;
  flex-shrink: 0;
}

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

.landing-top-pill.phone-action-btn {
  padding: 5px 10px;
  font-family: var(--font-numbers);
  font-size: clamp(0.72rem, 1.6vh, 0.78rem);
  font-weight: 700;
  gap: 6px;
  border-radius: 10px;
}

.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 3px 0 #081710, 0 6px 14px 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 5px 0 #081710, 0 10px 18px 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(2px);
  box-shadow: 0 1px 0 #081710, 0 2px 4px 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;
  padding: 4px 0;
  flex-shrink: 1;
}

.brand-logo-frame {
  width: clamp(65px, 13vh, 92px);
  height: clamp(65px, 13vh, 92px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #254439 0%, #152922 100%);
  margin-bottom: clamp(6px, 1.2vh, 10px);
  border: 2px solid rgba(212, 156, 84, 0.5);
  box-shadow: 0 6px 0 #0d1a15, 0 12px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  flex-shrink: 0;
}

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

.landing-rest-title {
  font-size: clamp(1.3rem, 3.2vh, 1.65rem);
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

/* Landing Bottom Controls */
.landing-bottom-controls {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.4vh, 10px);
  width: 100%;
  flex-shrink: 0;
}

.landing-lang-btn {
  background: linear-gradient(180deg, #2c4e41 0%, #1a3229 100%);
  border: 1.5px solid rgba(212, 156, 84, 0.45);
  border-radius: 12px;
  color: var(--text-white);
  font-weight: 800;
  font-size: clamp(0.95rem, 2.2vh, 1.1rem);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(9px, 1.8vh, 13px) 14px;
  box-shadow: 0 4px 0 #0e1c17, 0 8px 18px 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 6px 0 #0e1c17, 0 12px 22px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.landing-lang-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #0e1c17, 0 3px 6px 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: clamp(6px, 1.4vh, 10px);
  width: 100%;
}

.duo-btn {
  flex: 1;
}

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

.social-sq-btn {
  flex: 1;
  height: clamp(38px, 5.2vh, 44px);
  background: linear-gradient(180deg, #28473c 0%, #192f26 100%);
  border: 1.5px solid rgba(212, 156, 84, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 3px 0 #0d1a15, 0 6px 14px 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 svg {
  width: clamp(17px, 2.3vh, 20px);
  height: clamp(17px, 2.3vh, 20px);
}

.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 5px 0 #0d1a15, 0 10px 18px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.social-sq-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0d1a15, 0 2px 4px 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: var(--text-white);
  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(--text-white);
  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: var(--pill-text, #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(--text-white);
  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: var(--card-text, #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: var(--card-price, var(--text-gold));
  letter-spacing: 0.3px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 6px;
  display: flex;
  justify-content: flex-end;
}

/* 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: var(--text-white);
  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: var(--text-white);
  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(--text-white);
  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: var(--text-white);
  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: var(--card-text, #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: var(--card-text, #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: var(--card-text, #ffffff);
  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: var(--card-text, #ffffff);
}

.gold-price-badge {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-gold);
  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: var(--text-white);
  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: var(--text-white);
  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: var(--text-white);
  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: var(--accent-gold);
  stroke: var(--accent-gold);
  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: var(--card-text, #ffffff);
  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: var(--card-text, #ffffff);
  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; }

/* Interactive Target Element Glow Highlight */
.target-glow-highlight {
  outline: 2.5px solid var(--accent-gold, #D49C54) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 16px var(--accent-gold, #D49C54) !important;
  border-radius: var(--radius-sm, 6px) !important;
  transition: outline 0.15s ease, box-shadow 0.15s ease !important;
  animation: pulseTargetGlow 1.2s infinite alternate ease-in-out !important;
}

@keyframes pulseTargetGlow {
  0% {
    box-shadow: 0 0 6px var(--accent-gold, #D49C54);
    outline-color: var(--accent-gold, #D49C54);
  }
  100% {
    box-shadow: 0 0 18px #FFAE42;
    outline-color: #FFAE42;
  }
}
