/* Language layout is independent of the restaurant's selected theme. */
html[lang="ar"] { --font-primary: Tahoma, Arial, sans-serif; --font-display: Tahoma, Arial, sans-serif; }
html[lang="zh"] { --font-primary: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; --font-display: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.lang-modal__name { unicode-bidi: isolate; }
.product-card__variant-price,.pd-price-badge,.pd-variant__price,.info-hours__time,.dbc-hours__time { direction:ltr; unicode-bidi:isolate; }
html[dir="rtl"] .aura-dock,
html[dir="rtl"] .menu-accordion__trigger,
html[dir="rtl"] .sr-card,
html[dir="rtl"] .pd-similar__body,
html[dir="rtl"] .survey-input,
html[dir="rtl"] .survey-textarea,
html[dir="rtl"] .search-modal__input { text-align:start; }
html[dir="rtl"] .menu-panel { left:auto; right:0; transform:translateX(100%); }
html[dir="rtl"] .menu-panel.is-open { transform:translateX(0); }
html[dir="rtl"] .menu-panel { border-radius:18px 0 0 18px; }
html[dir="rtl"] .page-wrap.is-pushed { transform:translateX(-200px) scale(.94); }
html[dir="rtl"] .top-header__back>svg,
html[dir="rtl"] .pd-hero__btn--back>svg { transform:none; }
html[dir="rtl"] .sr-back>svg,
html[dir="rtl"] .info-survey-entry>svg { transform:scaleX(-1); }
html[dir="rtl"] .info-modal__close-btn { right:auto; left:14px; }
html[dir="rtl"] .pd-desc ul,
html[dir="rtl"] .pd-desc ol { padding-left:0; padding-right:1.4em; }
/* Preserve the carousel's physical scroll coordinates and rating scale. */
html[dir="rtl"] .pd-hero__carousel,
html[dir="rtl"] .survey-rating { direction:ltr; }
html[dir="rtl"] .pd-nutrition__cell+.pd-nutrition__cell::before { left:auto; right:0; }
html[dir="rtl"] .pd-nutrition__dot { margin-right:0; margin-left:5px; }
html[dir="rtl"] .cnc-me { margin-left:0; margin-right:auto; }
html[dir="rtl"] .cnc-ai { margin-left:auto; margin-right:0; }
html[dir="rtl"] .sr-askbar { text-align:start; }
html[dir="rtl"] .sr-card__chev { transform:scaleX(-1); }
html[dir="rtl"] .sr-rescount__ctx { padding-left:0; padding-right:8px; border-left:0; border-right:1px solid var(--color-border); }
html[dir="rtl"] .pd-modal__close { right:auto; left:14px; }
html[dir="rtl"] .pd-hero__controls--modal { padding-right:14px; padding-left:65px; }
