/* Local translation UI and readable Arabic-script typography. */
.language-feedback {
  position: fixed; z-index: 1200; top: 92px; left: 50%;
  transform: translateX(-50%); width: min(520px, calc(100% - 32px));
  padding: 14px 18px; border: 1px solid #bdd4f4; border-radius: 14px;
  background: #f6faff; color: #173559; box-shadow: 0 12px 36px #12305b20;
  font: 600 14px/1.6 var(--latin); direction: ltr;
}
.language-feedback[hidden] { display: none; }
.language-feedback p { margin: 0 0 6px; }
.language-feedback button { border: 0; background: transparent; color: #125abd; font: inherit; cursor: pointer; padding: 4px 12px 4px 0; }
.site-language-picker select { max-width: 98px; min-width: 70px; min-height: 30px; font-family: "Noto Naskh Arabic", var(--latin); font-size: 13px; line-height: 1.7; }
html[data-language="ps"], html[data-language="skr"], html[data-language="sd"] {
  --sans: "Noto Naskh Arabic", "Segoe UI", serif;
  --serif: var(--sans);
}
:is(html[data-language="ps"], html[data-language="skr"], html[data-language="sd"]) body { font-family: var(--sans); font-size: 17px; line-height: 1.8; }
:is(html[data-language="ps"], html[data-language="skr"], html[data-language="sd"]) :is(h1,h2,h3,h4) { line-height: 1.5 !important; }
html[dir="rtl"] :where(input[type="tel"],input[type="email"],input[type="number"],input[type="date"],input[name="file_number"],a[href^="tel:"],.footer-phone-list) { direction: ltr; unicode-bidi: isolate; font-family: var(--latin); }
html[dir="rtl"] .site-language-picker { direction: ltr; }
html[dir="rtl"] :where(button,.button,.site-language-picker,select) { height: auto; }
@media (max-width: 640px) {
  html[dir="rtl"] :where(.field input,.field select,.field textarea) { font-size: 16px !important; }
  html[dir="rtl"] h1 { font-size: clamp(30px,8vw,40px) !important; }
  html[dir="rtl"] h2 { font-size: clamp(25px,6.5vw,34px) !important; }
}

html[dir="rtl"] .wedding-visual figcaption strong {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.9;
  padding-bottom: 8px;
}
html[dir="rtl"] .hero-visual-badge :is(strong, small) {
  white-space: normal;
  line-height: 1.8;
}
html[dir="rtl"] .hero-visual-badge { max-width: 260px; }
