/* ==========================================
   rtl.css — Urdu / RTL overrides for ST-POS
   Loaded only when lang=ur (body.lang-ur)
   ==========================================*/

/* ---- Global RTL typography ---- */
body.lang-ur,
body.lang-ur p,
body.lang-ur h1,
body.lang-ur h2,
body.lang-ur h3,
body.lang-ur h4,
body.lang-ur h5,
body.lang-ur h6,
body.lang-ur span,
body.lang-ur li,
body.lang-ur label,
body.lang-ur .form-label,
body.lang-ur .btn,
body.lang-ur .nav-link,
body.lang-ur .dropdown-item,
body.lang-ur .badge,
body.lang-ur small,
body.lang-ur .small,
body.lang-ur .text-muted,
body.lang-ur td,
body.lang-ur th,
body.lang-ur .alert {
    font-family: 'Noto Nastaliq Urdu', 'Segoe UI', sans-serif;
    line-height: 2;
}

/* Keep code/numbers in LTR */
body.lang-ur .price,
body.lang-ur .hero-stat-num,
body.lang-ur code,
body.lang-ur .badge.bg-success,
body.lang-ur input[type="tel"],
body.lang-ur input[type="number"],
body.lang-ur input[type="email"] {
    font-family: 'Segoe UI', sans-serif;
    direction: ltr;
    unicode-bidi: embed;
}

/* ---- Navbar RTL ---- */
body.lang-ur .st-navbar .navbar-nav {
    margin-right: auto;
    margin-left: 0 !important;
}
body.lang-ur .navbar-collapse {
    text-align: right;
}

/* ---- Page header breadcrumb ---- */
body.lang-ur .breadcrumb {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
body.lang-ur .breadcrumb-item + .breadcrumb-item::before {
    content: "\\";
    float: right;
    padding-left: .5rem;
    padding-right: 0;
}

/* ---- Section titles ---- */
body.lang-ur .st-section-title,
body.lang-ur .hero-title,
body.lang-ur h1,
body.lang-ur h2,
body.lang-ur h3 {
    text-align: right;
}

/* ---- Hero ---- */
body.lang-ur .hero-content {
    flex-direction: row-reverse;
}
body.lang-ur .hero-text {
    text-align: right;
}
body.lang-ur .hero-badges,
body.lang-ur .hero-features,
body.lang-ur .d-flex.flex-wrap.gap-3 {
    justify-content: flex-end;
}
body.lang-ur .hero-stats {
    justify-content: flex-end;
}

/* ---- Cards and feature lists ---- */
body.lang-ur .feature-card,
body.lang-ur .pricing-card,
body.lang-ur .st-card {
    text-align: right;
}
body.lang-ur .list-unstyled li,
body.lang-ur .pricing-features li {
    text-align: right;
    flex-direction: row-reverse;
}
body.lang-ur .list-unstyled li i,
body.lang-ur .pricing-features li i {
    margin-right: 0 !important;
    margin-left: .5rem;
}

/* ---- Forms ---- */
body.lang-ur .form-control,
body.lang-ur .form-select,
body.lang-ur textarea {
    text-align: right;
    direction: rtl;
}
body.lang-ur .form-check {
    padding-right: 1.5em;
    padding-left: 0;
}
body.lang-ur .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

/* ---- Buttons with icons ---- */
body.lang-ur .btn i.bi {
    margin-right: 0 !important;
    margin-left: .4rem;
}

/* ---- Footer ---- */
body.lang-ur .st-footer {
    text-align: right;
}
body.lang-ur .footer-links,
body.lang-ur .footer-contact {
    text-align: right;
    padding-right: 0;
}
body.lang-ur .footer-contact li i {
    margin-right: 0 !important;
    margin-left: .5rem;
}
body.lang-ur .st-footer-bottom .d-flex {
    flex-direction: row-reverse;
}

/* ---- Trust bar ---- */
body.lang-ur .st-trust-bar .d-flex {
    flex-direction: row-reverse;
}

/* ---- Accordion ---- */
body.lang-ur .accordion-button {
    text-align: right;
    flex-direction: row-reverse;
}
body.lang-ur .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

/* ---- Contact page ---- */
body.lang-ur .contact-info-card {
    text-align: right;
}

/* ---- Dropdown RTL ---- */
body.lang-ur .dropdown-menu {
    text-align: right;
}

/* ---- Alerts ---- */
body.lang-ur .alert {
    text-align: right;
    direction: rtl;
}

/* ---- Map section ---- */
body.lang-ur .map-directions-btn {
    left: 16px;
    right: auto;
}

/* ---- Pricing hardware note ---- */
body.lang-ur .alert.alert-warning {
    direction: rtl;
}
