/* =========================================================
   PASHA CAFE - FULL CUSTOM CSS
   Upload this file as: index.css
   Put it in the same folder as index.html
   ========================================================= */
   @font-face {
  font-family: "Rebar";
  src: url("fonts/Rebar.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

body,
button,
input,
textarea,
select {
  font-family: "Rebar", Arial, sans-serif !important;
}

:root {
  --bg: #101827;
  --bg2: #172033;
  --cream: #fff4e5;
  --cream2: #fffaf1;
  --gold: #d38b36;
  --gold2: #f0bd72;
  --brown: #6f3f16;
  --text: #172033;
  --muted: #6b5b49;
  --card: rgba(255, 255, 255, 0.88);
  --line: rgba(111, 63, 22, 0.16);
  --shadow: 0 18px 45px rgba(7, 13, 24, 0.20);
  --radius: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(240, 189, 114, 0.20), transparent 32rem),
    linear-gradient(180deg, #101827 0%, #172033 42%, #101827 100%);
  -webkit-text-size-adjust: 100%;
}

body[data-lang="ku"],
body[data-lang="ar"] {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

img,
svg,
video {
  max-width: 100%;
}

/* =========================
   APP SHELL
   ========================= */

.app-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 244, 229, 0.98), rgba(255, 250, 241, 0.96));
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.25);
}

.welcome-screen {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: 1rem 1rem 1.3rem;
  color: var(--text);
}

/* =========================
   LANGUAGE GATE
   ========================= */

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  padding: 1rem;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.92), rgba(23, 32, 51, 0.92)),
    radial-gradient(circle at top, rgba(240, 189, 114, 0.28), transparent 26rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.language-gate.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.language-gate-card {
  width: min(100%, 390px);
  max-height: calc(100svh - 2rem);
  padding: 1.25rem;
  overflow-y: auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(255, 244, 229, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 1.6rem;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.gate-logo {
  width: 4.8rem;
  height: 4.8rem;
  margin: 0 auto 0.8rem;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  background-image: url("images/main_logo.jpg?v=20260613");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: rgba(255, 248, 238, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.60);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(111, 63, 22, 0.16);
}

.gate-kicker {
  margin: 0 0 0.35rem;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-gate-card h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
  font-weight: 950;
}

.gate-text {
  margin: 0.65rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.gate-options {
  display: grid;
  gap: 0.7rem;
}

.gate-lang {
  width: 100%;
  min-height: 4.2rem;
  padding: 0.8rem 0.95rem;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  box-shadow: 0 10px 22px rgba(40, 24, 10, 0.06);
  cursor: pointer;
}

html[dir="rtl"] .gate-lang {
  text-align: right;
}

.gate-lang strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 950;
}

.gate-lang span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.gate-lang.active,
.gate-lang:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  border-color: rgba(111, 63, 22, 0.35);
}

.gate-lang.active span,
.gate-lang:hover span {
  color: rgba(255, 255, 255, 0.86);
}

/* =========================
   HERO
   ========================= */

.hero-photo {
  width: 100%;
  height: clamp(15rem, 46svh, 22rem);
  border-radius: 1.25rem;
  background-image:
    linear-gradient(180deg, rgba(23, 32, 51, 0.05), rgba(23, 32, 51, 0.35)),
    url("images/main_cover.jpg?v=20260613");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow);
}

.logo-ring {
  width: 5.4rem;
  height: 5.4rem;
  display: grid;
  place-items: center;
  margin: -2.7rem auto 0.75rem;
  position: relative;
  z-index: 2;
  color: transparent;
  font-size: 0;
  background-image: url("images/main_logo.jpg?v=20260613");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: rgba(255, 248, 238, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  box-shadow: 0 16px 30px rgba(40, 24, 10, 0.18);
}

.language-preview {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.6rem auto 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.language-preview::-webkit-scrollbar {
  display: none;
}

.lang-chip {
  flex: 0 0 auto;
  min-height: 2.1rem;
  padding: 0.45rem 0.72rem;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.lang-chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brown), var(--gold));
}

.welcome-screen h1 {
  margin: 0.2rem 0 0;
  text-align: center;
  font-size: clamp(2rem, 10vw, 3.25rem);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.hero-kicker {
  margin: 0.45rem 0 0;
  text-align: center;
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.welcome-text {
  max-width: 22rem;
  margin: 0.8rem auto 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 750;
}

.show-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 18rem);
  min-height: 3.15rem;
  margin: 0 auto 1rem;
  color: #fff;
  font-weight: 1000;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(111, 63, 22, 0.25);
}

/* =========================
   INFO CARDS
   ========================= */

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.75rem;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px rgba(40, 24, 10, 0.07);
}

html[dir="rtl"] .info-card {
  text-align: right;
}

.info-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 950;
}

.info-card span:not(.info-icon) {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.info-icon {
  display: inline-grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, #151f31, #32425e);
  border-radius: 0.9rem;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.18);
}

.info-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.wifi-toggle {
  cursor: pointer;
  border: 1px solid var(--line);
}

.wifi-box {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.wifi-box[hidden] {
  display: none !important;
}

.wifi-box strong {
  color: var(--text);
  font-weight: 1000;
}

.wifi-box span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
}

.wifi-box strong::before {
  content: "📶 ";
}

.wifi-box span[data-i18n="wifiNetwork"]::before {
  content: "🛜 ";
}

.wifi-box span[data-i18n="wifiPassword"]::before {
  content: "🔑 ";
}

/* =========================
   MENU PAGE
   ========================= */

.menu-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--cream), var(--cream2));
  padding-bottom: calc(6rem + env(safe-area-inset-bottom));
}

.menu-header {
  position: relative;
  width: 100%;
  padding-bottom: 1rem;
  text-align: center;
}

.back-home {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 4;
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: #fff;
  background: rgba(16, 24, 39, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.9rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[dir="rtl"] .back-home {
  left: auto;
  right: 0.85rem;
}

.back-home svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

html[dir="rtl"] .back-home svg {
  transform: scaleX(-1);
}

.menu-cover {
  width: 100%;
  height: 13.2rem;
  background-image:
    linear-gradient(180deg, rgba(23, 32, 51, 0.06), rgba(23, 32, 51, 0.36)),
    url("images/main_cover.jpg?v=20260613");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 0 1.25rem 1.25rem;
}

.menu-logo {
  width: 4.8rem;
  height: 4.8rem;
  display: grid;
  place-items: center;
  margin: -2.4rem auto 0.4rem;
  position: relative;
  z-index: 2;
  color: transparent;
  font-size: 0;
  background-image: url("images/main_logo.jpg?v=20260613");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: rgba(255, 248, 238, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(40, 24, 10, 0.18);
}

.menu-header h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 1000;
}

/* =========================
   CATEGORY TABS
   ========================= */

.category-tabs {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-height: none;
  padding: 0.68rem 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background: #fff4e5;
  border-bottom: 1px solid rgba(111, 63, 22, 0.18);
  box-shadow: 0 8px 18px rgba(40, 24, 10, 0.10);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

html[dir="rtl"] .category-tabs {
  direction: rtl;
}

.category-tabs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.55rem 0.78rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(111, 63, 22, 0.18);
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(40, 24, 10, 0.08);
}

.category-tabs a span,
.category-tabs a .tab-label {
  display: inline-block;
  color: inherit;
}

.category-tabs a span:last-child {
  min-width: 1.35rem;
  padding: 0.18rem 0.42rem;
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
  background: var(--cream);
  border-radius: 999px;
}

.category-tabs a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  border-color: rgba(111, 63, 22, 0.38);
  box-shadow: 0 8px 18px rgba(111, 63, 22, 0.22);
}

.category-tabs a.active span,
.category-tabs a.active .tab-label {
  color: #fff;
}

.category-tabs a.active span:last-child {
  color: var(--text);
  background: var(--gold2);
}

/* =========================
   MENU LIST/CARDS
   ========================= */

.menu-list {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0.85rem 0.85rem calc(6.5rem + env(safe-area-inset-bottom));
}

.menu-status {
  padding: 1rem;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 95, 48, 0.13);
  border-radius: 1rem;
}

.category-group {
  width: 100%;
  position: relative;
  z-index: 1;
  scroll-margin-top: 5.8rem;
}

.category-group + .category-group {
  margin-top: 1rem;
}

.category-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.8rem 0 0.65rem;
  padding: 0.72rem 0.82rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid rgba(111, 63, 22, 0.12);
  border-radius: 1rem;
  box-shadow: 0 8px 18px rgba(40, 24, 10, 0.06);
}

html[dir="rtl"] .category-group h3 {
  text-align: right;
}

.category-group h3 span {
  color: var(--text);
  font-weight: 950;
}

.category-group h3 em {
  color: var(--brown);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 950;
  white-space: nowrap;
}

.menu-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.2rem;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 6rem;
  padding: 0.72rem;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,250,241,0.92));
  border: 1px solid rgba(111, 63, 22, 0.14);
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px rgba(40, 24, 10, 0.07);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.menu-card + .menu-card {
  margin-top: 0.75rem;
}

html[dir="rtl"] .menu-card {
  grid-template-columns: 5.2rem minmax(0, 1fr);
}

.item-text {
  min-width: 0;
}

html[dir="rtl"] .item-text {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}

.item-text strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.item-text span {
  display: block;
  margin-top: 0.28rem;
  color: var(--brown);
  font-size: 0.82rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.item-text small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.item-image {
  width: 5.2rem;
  height: 5.2rem;
  flex-shrink: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 29, 43, 0.06), rgba(255, 255, 255, 0.02)),
    var(--img),
    linear-gradient(135deg, #d6c2a9, #fff4e5);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, contain, cover;
  border: 1px solid rgba(111, 63, 22, 0.10);
  border-radius: 0.95rem;
}

html[dir="rtl"] .item-image {
  grid-column: 1;
  grid-row: 1;
}

/* =========================
   CART
   ========================= */

.cart-fab {
  position: fixed;
  right: max(0.85rem, calc((100vw - 430px) / 2 + 0.85rem));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.62rem 0.85rem;
  color: #fff;
  font-family: inherit;
  font-weight: 950;
  background: linear-gradient(135deg, #151f31, #32425e);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(7, 13, 24, 0.28);
  cursor: pointer;
}

html[dir="rtl"] .cart-fab {
  right: auto;
  left: max(0.85rem, calc((100vw - 430px) / 2 + 0.85rem));
}

.cart-fab strong {
  display: grid;
  min-width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  color: var(--text);
  font-size: 0.78rem;
  background: var(--gold2);
  border-radius: 999px;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: none;
  background: rgba(10, 14, 22, 0.48);
}

body.cart-open .cart-backdrop {
  display: block;
}

.cart-panel[hidden],
.cart-backdrop[hidden],
.cart-fab[hidden] {
  display: none !important;
}

.cart-panel {
  position: fixed;
  right: max(0rem, calc((100vw - 430px) / 2));
  bottom: 0;
  z-index: 180;
  width: min(100%, 430px);
  max-height: min(82svh, 42rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,238,0.96));
  border: 1px solid rgba(139, 95, 48, 0.18);
  border-radius: 1.35rem 1.35rem 0 0;
  box-shadow: 0 -24px 55px rgba(0, 0, 0, 0.28);
  padding-bottom: env(safe-area-inset-bottom);
}

.cart-head,
.cart-foot {
  padding: 1rem;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(139, 95, 48, 0.14);
}

.cart-head strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 950;
}

.cart-head span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.cart-close,
.cart-clear,
.add-to-cart-btn,
.qty-btn {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.cart-close {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  background: linear-gradient(135deg, #151f31, #32425e);
  border-radius: 0.85rem;
}

.cart-items {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  overflow-y: auto;
}

.cart-empty {
  padding: 1.25rem 0.5rem;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.cart-row {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 95, 48, 0.13);
  border-radius: 1rem;
}

html[dir="rtl"] .cart-row {
  grid-template-columns: minmax(0, 1fr) 3.6rem;
}

.cart-thumb {
  width: 3.6rem;
  height: 3.6rem;
  background:
    linear-gradient(135deg, rgba(21, 29, 43, 0.1), rgba(255, 255, 255, 0.03)),
    var(--cart-img),
    linear-gradient(135deg, #d6c2a9, #fff4e5);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, contain, cover;
  border-radius: 0.75rem;
}

html[dir="rtl"] .cart-thumb {
  grid-column: 2;
  grid-row: 1;
}

html[dir="rtl"] .cart-row-info {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.cart-row-title {
  display: block;
  margin-bottom: 0.22rem;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 950;
}

.cart-row-price {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.cart-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-btn {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  border-radius: 0.65rem;
}

.qty-number {
  min-width: 1.7rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 950;
}

.cart-line-total {
  font-size: 0.82rem;
  font-weight: 950;
}

.cart-foot {
  border-top: 1px solid rgba(139, 95, 48, 0.14);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 950;
}

.cart-total strong {
  font-size: 1.05rem;
}

.cart-clear {
  width: 100%;
  min-height: 2.75rem;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #151f31, #32425e);
  border-radius: 0.9rem;
}

.add-to-cart-btn {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  margin-top: 0.55rem;
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(135deg, #0aa078, #047a62);
  border-radius: 0.72rem;
  box-shadow: 0 8px 18px rgba(10, 160, 120, 0.22);
}

/* =========================
   FOOTER
   ========================= */

.footer {
  padding: 1.1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.social-links a {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #151f31, #32425e);
  border-radius: 0.85rem;
  box-shadow: 0 10px 20px rgba(23, 32, 51, 0.16);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.footer p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.footer strong {
  color: var(--brown);
}

.app-version {
  position: fixed;
  left: 50%;
  bottom: calc(0.25rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 35;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0 !important;
  padding: 0.18rem 0.58rem;
  color: rgba(23, 32, 51, 0.55);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
  background: transparent;
  border: 0;
  pointer-events: none;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 380px) {
  .welcome-screen {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .menu-list {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .menu-card {
    grid-template-columns: minmax(0, 1fr) 4.5rem;
    gap: 0.55rem;
  }

  html[dir="rtl"] .menu-card {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .item-image {
    width: 4.5rem;
    height: 4.5rem;
  }

  .cart-row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  html[dir="rtl"] .cart-row {
    grid-template-columns: minmax(0, 1fr) 3rem;
  }

  .cart-thumb {
    width: 3rem;
    height: 3rem;
  }

  .welcome-screen h1 {
    font-size: 2.1rem;
  }
}

/* Emergency proof: uncomment this line to test CSS loading */
/* body { outline: 8px solid red !important; } */
