.language-switch{font:600 13px Arial,sans-serif;border:1px solid #b9d7dd;border-radius:8px;background:#fff;color:#283b48;padding:9px 12px;min-width:105px;cursor:pointer;flex-shrink:0}html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] .hero,html[dir=rtl] .grid,html[dir=rtl] .terms{text-align:right}html[dir=rtl] .assessment{border-left:0;border-right:4px solid var(--cyan,#1186a0)}html[dir=rtl] .assessment-price,html[dir=rtl] .minimum{text-align:left}html[dir=rtl] th,html[dir=rtl] td{text-align:right}html[dir=rtl] th:last-child,html[dir=rtl] td:last-child{text-align:left}html[dir=rtl] .whatsapp-float{right:auto;left:24px}html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel]{direction:ltr;text-align:right}@media(max-width:760px){.language-switch{min-width:90px;padding:7px 8px}}

/* Arabic layout fixes; preserve Latin numerals and currency order */
html[dir="rtl"] body{font-family:Tahoma,"Segoe UI",Arial,sans-serif;text-align:right}
html[dir="rtl"] .assessment{border-left:0;border-right:4px solid var(--cyan)}
html[dir="rtl"] .assessment-price{direction:ltr;text-align:left;unicode-bidi:isolate}
html[dir="rtl"] .price,html[dir="rtl"] .currency,html[dir="rtl"] .serial,html[dir="rtl"] input[type="number"]{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .tab .tabnum{margin-right:0;margin-left:7px}
html[dir="rtl"] .price-row,html[dir="rtl"] .add-row{direction:rtl}
html[dir="rtl"] .card,html[dir="rtl"] .description,html[dir="rtl"] .notes,html[dir="rtl"] .sectionhead{text-align:right}
html[dir="rtl"] .language-switch{direction:ltr}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"]{direction:ltr;text-align:left}

html[dir=rtl] .booking-wrap,html[dir=rtl] .admin-wrap,html[dir=rtl] .form-card,html[dir=rtl] .review-section,html[dir=rtl] .booking-heading{text-align:right}
html[dir=rtl] .review-line,html[dir=rtl] .grand-total{direction:rtl}
html[dir=rtl] .review-line strong,html[dir=rtl] .grand-total strong,html[dir=rtl] .cart-calculation{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] input[type=url],html[dir=rtl] input[type=number],html[dir=rtl] input[type=date],html[dir=rtl] input[type=time]{direction:ltr;text-align:left}
html[dir=rtl] .orders-table{direction:rtl}
html[dir=rtl] .order-actions,html[dir=rtl] .form-actions{direction:rtl}
@media print{.language-switch{display:none!important}}


/* Production bilingual fixes: isolate currency and numeric values from RTL text runs. */
.money-isolate,
html[dir="rtl"] .price,
html[dir="rtl"] .assessment-price,
html[dir="rtl"] .grand-total strong,
html[dir="rtl"] .line-total strong,
html[dir="rtl"] .review-line strong,
html[dir="rtl"] .cart-calculation,
html[dir="rtl"] .orders-table td:nth-child(4) {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: left;
  white-space: nowrap;
}
html[dir="rtl"] .currency { direction:ltr !important; unicode-bidi:isolate !important; }
html[dir="rtl"] .price .unit { direction:rtl; unicode-bidi:plaintext; white-space:normal; text-align:inherit; }
html[dir="rtl"] .card h3,
html[dir="rtl"] .card .description,
html[dir="rtl"] .card .notes,
html[dir="rtl"] .sectionhead,
html[dir="rtl"] .terms { direction:rtl; text-align:right; }
html[dir="rtl"] .assessment-price button { direction:rtl; }
html[dir="rtl"] .language-switch { direction:ltr; unicode-bidi:isolate; }
