/* Jiash menu presentation, scoped separately from the Sahwat animated header. */
@font-face {
  font-family: "Cairo Menu";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/jiash-menu/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Cairo Menu";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/jiash-menu/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

:root {
  --menu-bg: #f9f9f9;
  --menu-surface: #f9f9f9;
  --menu-accent: #aa6528;
  --menu-border: #aa6528;
  --menu-heading: #aa6528;
  --menu-muted: #6a6f60;
}
html[data-theme="dark"] {
  --menu-bg: #1a1411;
  --menu-surface: #2a2019;
  --menu-accent: #aa6528;
  --menu-border: #d18446;
  --menu-heading: #ecdfc9;
  --menu-muted: #b3a08a;
}
body { background: var(--menu-bg); }
#catNav, #menuMain, #productDialog { font-family: "Cairo Menu", "Tajawal", sans-serif; }

.menu-nav-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--menu-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--menu-border) 18%, transparent);
}
#catNav {
  position: relative;
  z-index: auto;
  margin-inline: 64px 76px;
  justify-content: safe center;
  gap: 10px;
  padding: 14px 8px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  scroll-padding-inline: 8px;
}
.cat-pill {
  min-height: 44px;
  padding: 5px 22px;
  border: 1.5px solid var(--menu-border);
  background: transparent;
  color: var(--menu-heading);
  font-size: 14.72px;
  font-weight: 600;
}
.cat-pill.active, html[data-theme="dark"] .cat-pill.active {
  background: var(--menu-accent);
  border-color: var(--menu-accent);
  color: #fff;
}
.cat-pill:focus-visible { outline: 2px solid var(--menu-heading); outline-offset: 3px; }
#menuMain { max-width: 1200px; padding: 4px 20px 10px; }
.menu-section { padding: 32px 0 12px; scroll-margin-top: 90px; }
.menu-section[hidden] { display: none; }
.section-title, html[lang="en"] .section-title {
  justify-content: center;
  gap: 16px;
  margin: 0 0 26px;
  color: var(--menu-heading);
  font-family: "Cairo Menu", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 25.6px;
  line-height: 1.6;
  text-align: center;
}
.section-title::before, .section-title::after {
  content: "";
  flex: 1 1 0;
  max-width: 130px;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, var(--menu-border), transparent);
}
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* Half-width tracks center any lone final product without changing card size. */

.product-grid > .product-card { grid-column: span 2; }
.product-grid > .product-card:last-child:nth-child(odd) { grid-column: 2 / span 2; }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 3px solid var(--menu-border);
  border-radius: 14px;
  background: var(--menu-surface);
  box-shadow: 0 4px 12px #4124110d;
  opacity: 1;
  transform: none;
  transition: box-shadow .2s ease;
}
.product-card:active { transform: none; }
.product-card:focus-within { outline: 3px solid var(--menu-heading); outline-offset: 4px; }
.product-img {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0e8e5;
}
.product-img img, .product-card:hover .product-img img {
  position: absolute;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  transition: none;
}
.new-badge {
  top: 8px;
  inset-inline-start: 8px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 999px;
  background: #aa6528;
  color: #fff;
  font-size: 11.52px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 2px 8px #0000002e;
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.product-name {
  margin: 0 0 12px;
  color: var(--menu-heading);
  font-size: 17.6px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.product-desc {
  display: block;
  margin: 0 0 14px;
  color: var(--menu-muted);
  font-size: 14.4px;
  line-height: 1.65;
  white-space: pre-line;
  overflow: visible;
}
.product-footer { margin-top: auto; gap: 8px; flex-wrap: wrap; }
.product-footer:empty { display: none; }
.product-card .product-footer { flex-direction: row-reverse; }
.product-price, html[data-theme="dark"] .product-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--menu-heading);
  font-family: "Cairo Menu", sans-serif;
  font-size: 16.8px;
  font-weight: 800;
  line-height: 1.6;
}
.riyal-symbol {
  display: inline-block;
  width: 17px;
  height: 19px;
  background: currentColor;
  -webkit-mask: url("assets/jiash-menu/riyal.png") center / contain no-repeat;
  mask: url("assets/jiash-menu/riyal.png") center / contain no-repeat;
}
.product-calories {
  padding: 2px 8px;
  border-radius: 7px;
  color: #a82c20;
  background: #fdf0ed;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
html[data-theme="dark"] .product-calories { background: #482b25; color: #f4b8a9; }
.product-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.product-open:focus { outline: none; }
.menu-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (min-width: 601px) {
  html { scrollbar-gutter: stable; }
}
body.menu-dialog-open { overflow: hidden; }
.product-dialog {
  --product-enter-offset: 24px;
  --product-enter-scale: .96;
  width: min(860px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--menu-border) 35%, var(--menu-surface));
  border-radius: 26px;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--menu-surface);
  color: var(--menu-heading);
  box-shadow: 0 32px 100px #160d0866, 0 4px 18px #160d0826;
}
.product-dialog::backdrop { background: #130e0a99; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.product-dialog[open] { animation: product-enter 360ms cubic-bezier(.22, 1, .36, 1) both; }
.product-dialog[open]::backdrop { animation: product-backdrop-enter 300ms ease-out both; }
.product-dialog[open] .product-dialog-body > * { animation: product-detail-enter 300ms cubic-bezier(.22, 1, .36, 1) both; }
.product-dialog[open] .product-dialog-heading { animation-delay: 45ms; }
.product-dialog[open] #productDialogPrice { animation-delay: 75ms; }
.product-dialog[open] .product-dialog-description { animation-delay: 100ms; }
.product-dialog[open] .product-dialog-back { animation-delay: 120ms; }
.product-dialog.is-closing { animation: product-exit 180ms ease-in both; }
.product-dialog.is-closing::backdrop { animation: product-backdrop-exit 180ms ease-in both; }
@keyframes product-enter {
  from { opacity: 0; transform: translateY(var(--product-enter-offset)) scale(var(--product-enter-scale)); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes product-exit {
  from { opacity: var(--product-exit-opacity, 1); transform: var(--product-exit-transform, none); }
  to { opacity: 0; transform: translateY(var(--product-enter-offset)) scale(var(--product-enter-scale)); }
}
@keyframes product-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes product-backdrop-exit {
  from { opacity: var(--product-backdrop-opacity, 1); }
  to { opacity: 0; }
}
@keyframes product-detail-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-dialog-layout { display: grid; grid-template-columns: 1fr 1fr; }
.product-dialog-media { display: grid; align-items: center; min-width: 0; background: #f0e8e5; }
.product-dialog-media .product-img { width: 100%; }
.product-dialog-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--menu-border) 24%, transparent);
  border-radius: 50%;
  background: var(--menu-surface);
  color: var(--menu-heading);
  transition: background .18s ease, transform .18s ease;
  cursor: pointer;
}
.product-dialog-close:focus-visible, .product-dialog-back:focus-visible { outline: 2px solid var(--menu-heading); outline-offset: 4px; }
.product-dialog-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 68px 36px 36px; }
.product-dialog-brand { display: block; color: var(--menu-muted); font: 600 10px/1.5 "Cairo Menu", sans-serif; letter-spacing: .16em; margin-bottom: 30px; }
.product-dialog-brand > span { font-weight: 400; letter-spacing: .09em; }
.product-dialog-category { margin: 0 0 7px; color: var(--menu-muted); font-size: 12px; }
#productDialogName { margin: 0; font-size: 28px; line-height: 1.5; font-weight: 800; overflow-wrap: anywhere; }
#productDialogPrice { margin-top: 18px; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid color-mix(in srgb, var(--menu-border) 18%, transparent); }
#productDialogPrice .product-price { font-size: 25px; gap: 8px; }
.product-dialog-description { margin: 20px 0 0; color: var(--menu-muted); font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.product-dialog-back { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; margin-top: 28px; padding: 12px 18px; border: 1px solid transparent; border-radius: 12px; background: #4b3022; color: #fff6e8; font: 600 14px/1.5 "Cairo Menu", sans-serif; cursor: pointer; transition: background .18s ease; }
html[data-theme="dark"] .product-dialog-back { background: #d8b58a; color: #25190f; }
html[dir="ltr"] .product-dialog-back svg { transform: rotate(180deg); }
@media (hover: hover) {
  .product-card:hover { border-color: var(--menu-border); box-shadow: 0 8px 24px #4124111a; }
  .cat-pill:not(.active):hover { background: color-mix(in srgb, var(--menu-accent) 8%, var(--menu-bg)); }
  .product-dialog-close:hover { background: color-mix(in srgb, var(--menu-accent) 12%, var(--menu-surface)); transform: rotate(90deg); }
  .product-dialog-back:hover { background: #68432e; }
  html[data-theme="dark"] .product-dialog-back:hover { background: #edcc9f; }
}
@media (max-width: 768px) {
  .product-grid { gap: 16px; }
}
@media (max-width: 600px) {
  #catNav { padding: 10px 0; gap: 8px; }
  .cat-pill { padding-inline: 17px; font-size: 13px; }
  #menuMain { padding-inline: 12px; }
  .menu-section { padding-top: 24px; scroll-margin-top: 78px; }
  .section-title, html[lang="en"] .section-title { font-size: 20px; gap: 10px; margin-bottom: 20px; }
  .section-title::before, .section-title::after { max-width: 60px; }
  .product-grid { gap: 12px; }
  .product-card { border-radius: 12px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 15.2px; line-height: 1.65; margin-bottom: 8px; }
  .product-desc { font-size: 12.8px; }
  .product-price { font-size: 14.4px; }
  html[data-theme="dark"] .product-price { font-size: 14.4px; }
  .riyal-symbol { width: 15px; height: 17px; }
  .product-calories { padding: 2px 5px; font-size: 10px; }
  .new-badge { padding: 2px 8px; font-size: 10px; }
  .product-dialog { --product-enter-offset: 44px; --product-enter-scale: 1; width: calc(100% - 16px); max-height: calc(100dvh - 24px - env(safe-area-inset-bottom)); max-width: 100%; margin: auto auto max(8px, env(safe-area-inset-bottom)); border-radius: 24px; }
  .product-dialog-layout { grid-template-columns: 1fr; }
  .product-dialog-close { top: 12px; inset-inline-end: 12px; }
  .product-dialog-body { padding: 24px; }
  .product-dialog-brand { margin-bottom: 16px; font-size: 9px; }
  #productDialogName { font-size: 24px; }
  #productDialogPrice { margin-top: 12px; padding-bottom: 16px; }
  #productDialogPrice .product-price { font-size: 23px; }
  .product-dialog-description { margin-top: 16px; }
  .product-dialog-back { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .cat-pill, .product-dialog-close, .product-dialog-back { transition: none; }
  .product-dialog-close:hover { transform: none; }
  .product-dialog[open], .product-dialog[open]::backdrop, .product-dialog[open] .product-dialog-body > * { animation: none; }
}

/* Comfortable category navigation */
#catNav { gap: 8px; padding-block: 12px; }
#catNav .cat-pill { min-height: 46px; padding: 9px 20px; border: 1px solid #ded2c5; border-radius: 12px; background: #f5f0e9; color: #654a36; font-size: 14px; font-weight: 600; line-height: 1.7; box-shadow: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
#catNav .cat-pill.active { background: #795132; border-color: #795132; color: #fff; font-weight: 700; }
#catNav .cat-pill:active { transform: none; }
#catNav .cat-pill:focus-visible { outline: 3px solid #976944; outline-offset: 3px; }
html[data-theme="dark"] #catNav .cat-pill { background: #2c231c; border-color: #594635; color: #eadbca; }
html[data-theme="dark"] #catNav .cat-pill.active { background: #d7b48b; border-color: #d7b48b; color: #271b13; }
@media (hover: hover) { #catNav .cat-pill:not(.active):hover { background: #eae0d4; border-color: #ba9c7e; } html[data-theme="dark"] #catNav .cat-pill:not(.active):hover { background: #3d3025; border-color: #967655; } }
@media (max-width: 600px) { #catNav { padding-block: 10px; } #catNav .cat-pill { padding-inline: 16px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { #catNav .cat-pill { transition: none; } }

/* Product detail: calm, image-led presentation */
.product-dialog { width: min(880px, calc(100% - 32px)); border: 1px solid #ded2c5; border-radius: 22px; background: #fcf9f4; color: #463022; box-shadow: 0 24px 80px #21160e40; --product-enter-offset: 16px; --product-enter-scale: .985; }
.product-dialog::backdrop { background: #21180f80; backdrop-filter: blur(4px); }
.product-dialog-layout { grid-template-columns: 1.15fr 1fr; }
.product-dialog-media { background: #f3ebe4; overflow: hidden; }
.product-dialog-body { padding: 64px 32px 32px; }
.product-dialog-brand { margin-bottom: 22px; letter-spacing: .12em; color: #796b5e; }
.product-dialog-category { color: #856343; font-size: 13px; margin-bottom: 8px; }
#productDialogName { font-size: clamp(23px, 3vw, 30px); font-weight: 700; line-height: 1.6; color: inherit; }
#productDialogPrice { margin-top: 16px; padding-bottom: 16px; border-color: #e6dbce; }
#productDialogPrice:empty, .product-dialog-description:empty { display: none; }
#productDialogPrice .product-price { color: #795132; font-size: 24px; }
.product-dialog-description { color: #716357; margin-top: 16px; line-height: 1.9; }
.product-dialog-close { top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 12px; background: #fcf9f4; color: #463022; border-color: #ded2c5; box-shadow: 0 2px 8px #21160e0d; }
.product-dialog-close:hover { transform: none; }
.product-dialog-back { background: #795132; border-radius: 12px; min-height: 48px; margin-top: 26px; }
html[data-theme="dark"] .product-dialog { background: #261e18; color: #f2e7db; border-color: #594635; }
html[data-theme="dark"] .product-dialog-close { background: #30251d; color: #f2e7db; border-color: #594635; }
html[data-theme="dark"] .product-dialog-category, html[data-theme="dark"] #productDialogPrice .product-price { color: #dfbc94; }
html[data-theme="dark"] .product-dialog-description, html[data-theme="dark"] .product-dialog-brand { color: #c7b6a5; }
html[data-theme="dark"] #productDialogPrice { border-color: #594635; }
@media(max-width: 600px) {
  .product-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); margin: auto; border-radius: 20px; }
  .product-dialog-layout { grid-template-columns: 1fr; }
  .product-dialog-media .product-img { aspect-ratio: 4 / 3; }
  .product-dialog-body { padding: 22px 22px 24px; }
  .product-dialog-brand { margin-bottom: 14px; font-size: 9px; }
  #productDialogName { font-size: 24px; }
  .product-dialog-back { margin-top: 22px; }
}

/* Section headings follow the Sahwat display typography. */
#menuMain .section-title {
  font-family: var(--font-ar-display);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  margin-bottom: 24px;
}
#menuMain .section-title::before,
#menuMain .section-title::after { content: none; }
html[lang="en"] #menuMain .section-title {
  font-family: var(--font-en-display);
  font-size: clamp(23px, 4vw, 28px);
}

.category-coming-soon { text-align: center; padding: 42px 16px 56px; margin: 0; color: var(--menu-muted); font-size: 22px; font-weight: 500; }

/* Follow Sahwat from the upcoming origins section. */
#cat-origins .category-coming-soon { padding-bottom: 14px; }
.origins-follow { text-align: center; max-width: 440px; margin: 0 auto; padding: 0 20px 48px; }
.origins-follow > p:first-child { font-size: 21px; font-weight: 700; margin: 0 0 8px; }
.origins-follow-hint { color: var(--menu-muted); font-size: 14px; line-height: 1.9; margin: 0 0 22px; }
.origins-tiktok-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 28px; border: 1px solid #9c7950; border-radius: 10px; background: #2c221b; color: #f2dfc4; font-size: 14px; font-weight: 500; line-height: 1.6; text-decoration: none; box-shadow: 0 3px 10px rgba(0,0,0,.08); transition: background .2s ease, border-color .2s ease; }
.origins-tiktok-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.origins-tiktok-link:hover { background: #3a2c20; border-color: #c49a66; }
.origins-tiktok-link:focus-visible { outline: 3px solid #dba86f; outline-offset: 4px; }
.origins-tiktok-handle { display: block; margin-top: 12px; color: var(--menu-muted); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .origins-tiktok-link { transition: none; } .origins-tiktok-link:hover { transform: none; } }

.origins-rider-scene { overflow: hidden; text-align: center; padding: 12px 16px 24px; }
.origins-rider-scene .origins-truck-art { display: block; width: min(100%, 420px); height: auto; margin: 0 auto; opacity: 0; transform: translateX(-110%); transition: transform 2.4s cubic-bezier(.16,1,.3,1), opacity 1.2s ease; }
.origins-rider-scene.is-arrived .origins-truck-art { opacity: 1; transform: translateX(0); }
#cat-origins .origins-rider-scene .category-coming-soon { padding: 18px 0 0; font-family: var(--font-ar-display); font-size: 32px; color: var(--menu-muted); }
@media(prefers-reduced-motion: reduce) { .origins-rider-scene .origins-truck-art { opacity: 1; transform: none; transition: none; } }

.origins-rider-scene .origins-truck-art { width: min(100%, 600px); aspect-ratio: 16 / 9; transform: none; opacity: 0; transition: opacity .4s ease; }
.origins-rider-scene.is-arrived .origins-truck-art { opacity: 1; }
.origins-rider-scene .category-coming-soon { opacity: 0; transform: translateY(8px); transition: opacity 1s ease 2.8s, transform 1s ease 2.8s; }
.origins-rider-scene.is-arrived .category-coming-soon { opacity: 1; transform: none; }
@media(prefers-reduced-motion:reduce) { .origins-rider-scene .origins-truck-art, .origins-rider-scene .category-coming-soon { opacity: 1; transform: none; transition: none; } }

.origins-rider-scene .origins-truck-art { aspect-ratio: 22 / 13; width: min(100%, 540px); }

.origins-truck-art svg { display:block; width:100%; height:auto; overflow:visible; }
#cat-origins .origins-rider-scene .category-coming-soon { font-size:clamp(34px,7vw,44px); padding-top:8px; transition-delay:3.3s; }

/* Warm harvest announcement. */
#cat-origins .origins-rider-scene { position:relative; border-radius:24px; margin:0 auto 20px; max-width:580px; background:radial-gradient(ellipse at 50% 66%,rgba(184,134,68,.12),transparent 67%); }
#cat-origins .origins-rider-scene .category-coming-soon { display:inline-block; border-top:1px solid rgba(184,134,68,.3); padding:12px 26px 0; margin-top:4px; }
#cat-origins .origins-follow > p:first-child { font-family:var(--font-ar-display); font-size:30px; font-weight:400; line-height:1.7; }
#cat-origins .origins-follow-hint { max-width:320px; margin:6px auto 22px; }

/* Consistent Arabic type for harvest announcement. */
.origins-truck-art svg text { letter-spacing: normal; }
.origins-truck-art svg text[lang="ar"] { font-synthesis: none; }
#cat-origins .origins-follow-hint, #cat-origins .origins-tiktok-link { font-family: var(--font-ar-body); }
#cat-origins .origins-follow > p:first-child { font-size:clamp(25px,5vw,30px); line-height:1.8; }
html[lang="en"] #cat-origins .origins-follow > p:first-child, html[lang="en"] #cat-origins .category-coming-soon { font-family:var(--font-en-display); }
html[lang="en"] #cat-origins .origins-follow-hint, html[lang="en"] #cat-origins .origins-tiktok-link { font-family:var(--font-en-body); }

/* Final typography: consistent reading text, Sahwat display headings. */
html[lang="ar"] #catNav, html[lang="ar"] #menuMain, html[lang="ar"] #productDialog { font-family: "Cairo Menu", "Tajawal", sans-serif; }
#menuMain .product-name { font-size:clamp(15px,2.1vw,17px); font-weight:600; line-height:1.8; letter-spacing:normal; }
#productDialogName { font-size:clamp(23px,3vw,28px); font-weight:600; line-height:1.7; letter-spacing:normal; }
#catNav .cat-pill { font-weight:500; }
#catNav .cat-pill.active { font-weight:700; }
html[lang="ar"] #cat-origins .origins-follow > p:first-child { font-family:"Cairo Menu", "Tajawal", sans-serif; font-size:20px; font-weight:600; line-height:1.8; }
html[lang="ar"] #cat-origins .origins-follow-hint, html[lang="ar"] #cat-origins .origins-tiktok-link { font-family:"Cairo Menu", "Tajawal", sans-serif; font-size:14px; line-height:1.9; }
html[lang="ar"] #cat-origins .category-coming-soon { font-family:var(--font-ar-display); font-size:36px; font-weight:400; line-height:1.7; }

/* Use Sahwat's Arabic display family across menu typography. */
html[lang="ar"] #catNav, html[lang="ar"] #menuMain, html[lang="ar"] #productDialog,
html[lang="ar"] #catNav .cat-pill,
html[lang="ar"] #menuMain .product-name,
html[lang="ar"] #menuMain .product-desc,
html[lang="ar"] #productDialogName,
html[lang="ar"] .product-dialog-category,
html[lang="ar"] .product-dialog-description,
html[lang="ar"] .product-dialog-back,
html[lang="ar"] #cat-origins .origins-follow > p:first-child,
html[lang="ar"] #cat-origins .origins-follow-hint,
html[lang="ar"] #cat-origins .origins-tiktok-link,
html[lang="ar"] #footerText { font-family:var(--font-ar-display); font-weight:400; }
html[lang="ar"] #catNav .cat-pill { font-size:18px; line-height:1.7; }
html[lang="ar"] #menuMain .product-name { font-size:clamp(19px,2.4vw,22px); line-height:1.8; }
html[lang="ar"] #productDialogName { font-size:30px; line-height:1.7; }
html[lang="ar"] .product-dialog-description,
html[lang="ar"] #cat-origins .origins-follow-hint,
html[lang="ar"] #cat-origins .origins-tiktok-link { font-size:18px; }
html[lang="ar"] #cat-origins .origins-follow > p:first-child { font-size:27px; }

.calorie-estimate-note { color:var(--menu-muted); font-family:"Cairo Menu",sans-serif; font-size:12px; line-height:1.9; text-align:center; max-width:620px; margin:0 auto 22px; }

/* Clearer product titles while retaining Sahwat's Arabic character. */
html[lang="ar"] #menuMain .product-name {
  font-family: var(--font-ar-display);
  font-size: clamp(21px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: normal;
  word-spacing: .04em;
  font-synthesis: none;
  overflow-wrap: break-word;
}
html[lang="ar"] #productDialogName {
  font-family: var(--font-ar-display);
  font-size: clamp(28px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: normal;
  font-synthesis: none;
}

/* Arabic product names inspired by the printed cafe menu. */
html[lang="ar"] #menuMain .product-name {
  font-family: "Aref Ruqaa", serif;
  font-size: clamp(21px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: normal;
  word-spacing: normal;
  text-wrap: balance;
}
html[lang="ar"] #productDialogName {
  font-family: "Aref Ruqaa", serif;
  font-size: clamp(28px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: normal;
  word-spacing: normal;
  text-wrap: balance;
}
