/* RTL Styles for Arabic */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* Navigation Menu RTL */
[dir="rtl"] .main-nav ul {
    float: right;
}

[dir="rtl"] .main-nav ul li {
    float: right;
}

[dir="rtl"] .menu-item {
    margin-left: 0;
    margin-right: 30px;
}

[dir="rtl"] .menu-item:first-child {
    margin-right: 0;
}

/* Header RTL */
[dir="rtl"] #site-logo {
    float: none;
    order: 1;
}

[dir="rtl"] .mobile-button {
    order: 2;
}

[dir="rtl"] #main-nav {
    order: 3;
}

[dir="rtl"] .flat-wallet {
    float: none;
    order: 4;
}

[dir="rtl"] .wrap-box.flex {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}
[dir="rtl"] #site-logo{
    margin-left: 22rem;
}

/* Increase Logo Size for Arabic */
[dir="rtl"] #site-logo img,
[dir="rtl"] #logo_header {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
}

[dir="rtl"] #site-logo-inner {
    display: block;
}

[dir="rtl"] .main-logo {
    display: inline-block;
}

/* Sub Menu RTL */
[dir="rtl"] .sub-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .menu-item-has-children .sub-menu li {
    text-align: right;
}

/* Button Icons RTL */
[dir="rtl"] .tf-button i {
    margin-left: 0;
    margin-right: 10px;
}

/* Dropdown Arrow RTL */
[dir="rtl"] .icon-keyboard_arrow_down {
    transform: rotate(0deg);
}

/* Flex Containers RTL */
/*[dir="rtl"] .flex {*/
/*    flex-direction: row-reverse;*/
/*}*/

/* Don't reverse the main header wrapper */
[dir="rtl"] #site-header-inner .wrap-box {
    flex-direction: row-reverse;
}

[dir="rtl"] #site-header-inner #site-logo {
    display: block;
}

[dir="rtl"] #site-header-inner #site-logo img {
    display: block;
}

/* Padding and Margin Adjustments */
[dir="rtl"] .ml-10 { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .mr-10 { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .ml-15 { margin-left: 0; margin-right: 15px; }
[dir="rtl"] .mr-15 { margin-right: 0; margin-left: 15px; }
[dir="rtl"] .ml-20 { margin-left: 0; margin-right: 20px; }
[dir="rtl"] .mr-20 { margin-right: 0; margin-left: 20px; }
[dir="rtl"] .ml-30 { margin-left: 0; margin-right: 30px; }
[dir="rtl"] .mr-30 { margin-right: 0; margin-left: 30px; }

[dir="rtl"] .pl-10 { padding-left: 0; padding-right: 10px; }
[dir="rtl"] .pr-10 { padding-right: 0; padding-left: 10px; }
[dir="rtl"] .pl-15 { padding-left: 0; padding-right: 15px; }
[dir="rtl"] .pr-15 { padding-right: 0; padding-left: 15px; }
[dir="rtl"] .pl-20 { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .pr-20 { padding-right: 0; padding-left: 20px; }
[dir="rtl"] .pl-30 { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .pr-30 { padding-right: 0; padding-left: 30px; }

/* Text Alignment */
[dir="rtl"] .text-left {
    text-align: right !important;
}

[dir="rtl"] .text-right {
    text-align: left !important;
}

/* Float Adjustments */
[dir="rtl"] .float-left {
    float: right !important;
}

[dir="rtl"] .float-right {
    float: left !important;
}

/* Border Radius RTL */
[dir="rtl"] .border-radius-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
}

[dir="rtl"] .border-radius-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

/* Mobile Nav RTL */
[dir="rtl"] .mobile-nav-wrap {
    left: auto;
    right: 0;
}

[dir="rtl"] .mobile-button {
    float: left;
}

[dir="rtl"] .inner-mobile-nav {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .inner-mobile-nav .main-logo {
    display: block;
    margin-bottom: 20px;
}

[dir="rtl"] .inner-mobile-nav .main-logo img {
    display: block;
    max-width: 150px;
}

[dir="rtl"] .mobile-nav-close {
    left: 20px;
    right: auto;
}

[dir="rtl"] #mobile-main-nav {
    direction: rtl;
    text-align: right;
}

/* Form Elements RTL */
[dir="rtl"] input[type="text"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="password"],
[dir="rtl"] input[type="search"],
[dir="rtl"] select,
[dir="rtl"] textarea {
    text-align: right;
}

/* Footer RTL */
[dir="rtl"] .footer {
    direction: rtl;
}

[dir="rtl"] .footer .widget {
    text-align: right;
}

/* Grid and Column Adjustments */
[dir="rtl"] .row {
    direction: rtl;
}

/* Language Switcher Margin Fix */
[dir="rtl"] .language-switcher {
    margin-right: 0;
    margin-left: 15px;
}

/* Avatar Popup RTL */
[dir="rtl"] .avatar_popup2 {
    left: auto;
    right: 0;
}

[dir="rtl"] .popup-user .avatar_popup2 .links a {
    text-align: right;
}

/* Steps Section RTL */
[dir="rtl"] .step-item {
    text-align: right;
}

/* Cards and Boxes RTL */
[dir="rtl"] .card,
[dir="rtl"] .box {
    text-align: right;
}

/* License Plates - Keep LTR Format */
[dir="rtl"] .tf-card-box,
[dir="rtl"] .featured-item,
[dir="rtl"] .plate-container,
[dir="rtl"] .Boxx,
[dir="rtl"] .box figure,
[dir="rtl"] .rox_box,
[dir="rtl"] #license-plate-svg,
[dir="rtl"] #license-plate-svg * {
    direction: ltr !important;
    text-align: center !important;
}

[dir="rtl"] .tf-card-box .box,
[dir="rtl"] .featured-item .box,
[dir="rtl"] .Boxx .box {
    direction: ltr !important;
}

/* Plate Numbers and Codes - Keep LTR */
[dir="rtl"] .tf-card-box h1,
[dir="rtl"] .tf-card-box h2,
[dir="rtl"] .tf-card-box h3,
[dir="rtl"] .tf-card-box .plate-number,
[dir="rtl"] .tf-card-box .plate-code,
[dir="rtl"] .Boxx h1,
[dir="rtl"] .Boxx h2,
[dir="rtl"] .Boxx h3 {
    direction: ltr !important;
    text-align: center !important;
}

/* Plate Images - Keep LTR */
[dir="rtl"] .tf-card-box img,
[dir="rtl"] .Boxx img,
[dir="rtl"] .box figure img {
    transform: none !important;
}

/* Featured and Recently Sold Plates */
[dir="rtl"] .featured-item.style-bottom .tf-card-box,
[dir="rtl"] .recentlySold .tf-card-box {
    direction: ltr !important;
}

/* Plate Card Content */
[dir="rtl"] .tf-card-box .card-media,
[dir="rtl"] .tf-card-box .card-title,
[dir="rtl"] .tf-card-box .meta-info {
    direction: ltr !important;
}

/* License Plate SVG - Force LTR */
[dir="rtl"] #license-plate-svg {
    direction: ltr !important;
    text-align: center !important;
    unicode-bidi: normal !important;
}

[dir="rtl"] #license-plate-svg svg {
    direction: ltr !important;
}

[dir="rtl"] #license-plate-svg text,
[dir="rtl"] #license-plate-svg tspan {
    direction: ltr !important;
    unicode-bidi: normal !important;
    /* text-anchor: middle !important; */
}

/* Card Media Keep LTR */
[dir="rtl"] .card-media {
    direction: ltr !important;
    text-align: center !important;
}

/* Icons in Buttons RTL */
[dir="rtl"] button i,
[dir="rtl"] a i {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] button i:last-child,
[dir="rtl"] a i:last-child {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .action__body h2{
    max-width: 400px;
    word-spacing:5px;
}
[dir="rtl"] .action__body > .flex{
    gap:10px;
}
[dir="rtl"] .action__body, [dir="rtl"] .ron, [dir="rtl"] .conatcPhone{
    direction:ltr!important;
}
[dir="rtl"] p , [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 , [dir="rtl"] h4 , [dir="rtl"] h5 , [dir="rtl"] h6 , [dir="rtl"] span , [dir="rtl"] a {
       font-family: 'Cairo', sans-serif!important;
}
[dir="rtl"] h1 span, [dir="rtl"] p span, [dir="rtl"] p span b{
    color:#FFF!important;
}
[dir="rtl"] h1 span{font-size:24px!important}
[dir="rtl"] p span{font-size:20px!important}

