/* === RTL overrides for Arabic, Farsi, etc. === */

body.rtl { direction: rtl; text-align: right; }

/* Navbar */
body.rtl .navbar-inner { flex-direction: row-reverse; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .logo { flex-direction: row-reverse; }

/* Search bar */
body.rtl .search-bar { flex-direction: row-reverse; }
body.rtl .search-bar input { text-align: right; }
body.rtl .search-bar .btn { border-radius: 50px 0 0 50px; }

/* Menu items */
body.rtl .menu-item { flex-direction: row-reverse; }
body.rtl .menu-item-price { margin-left: 0; margin-right: 1rem; }
body.rtl .menu-item-info { text-align: right; }

/* Footer */
body.rtl .footer-grid { direction: rtl; }
body.rtl .footer-col ul { padding-right: 0; }

/* Content */
body.rtl .content-section ul { margin-left: 0; margin-right: 1.5rem; }

/* Forms */
body.rtl .form-group input,
body.rtl .form-group textarea,
body.rtl .form-group select { text-align: right; }
body.rtl .form-group label { text-align: right; }

/* Restaurant info */
body.rtl .contact-list li { flex-direction: row-reverse; }
body.rtl .order-tag { flex-direction: row-reverse; }

/* Language switcher */
body.rtl .lang-switcher { margin-left: 0; margin-right: 0.5rem; }
body.rtl .lang-dropdown { right: auto; left: 0; }

/* Index layout */
body.rtl .sort-label { margin-right: 0; margin-left: 0.25rem; }

/* Map layout */
body.rtl .map-sidebar { border-right: none; border-left: 1px solid var(--border); }

/* Mobile */
@media (max-width: 768px) {
    body.rtl .nav-links { flex-direction: column; text-align: right; }
    body.rtl .navbar-inner { flex-direction: row-reverse; }
}
