/* BMS Arabic: RTL fixes for the home page sections (theme home.css), on the Arabic home only. */
.bms-ar .bmh-head--left{margin-left:auto;margin-right:0;text-align:right}

/* Hero: photo and headlight rings mirrored, so the car sits on the left and the text on the right */
.bms-ar .bmh-hero__photo,.bms-ar .bmh-lamps{scale:-1 1}
.bms-ar .bmh-hero__bg{background:linear-gradient(270deg,rgba(7,16,31,.96) 0%,rgba(7,16,31,.86) 34%,rgba(7,16,31,.25) 62%,rgba(7,16,31,.35) 100%),linear-gradient(0deg,rgba(7,16,31,.85),transparent 28%)}
.bms-ar .bmh-hero__glow{right:auto;left:-160px}
.bms-ar .bmh-hero h1{line-height:1.35}
.bms-ar .bmh-chips li{padding:7px 28px 7px 12px}
.bms-ar .bmh-chips li::before{left:auto;right:11px}
.bms-ar .bmh-scan{transform:perspective(1200px) rotateY(8deg) rotateX(4deg)}
.bms-ar .bmh-scan:hover{transform:perspective(1200px) rotateY(0) rotateX(0)}
@media (max-width:1080px){.bms-ar .bmh-scan{transform:none}}
.bms-ar .bmh-scan__head small{margin-left:0;margin-right:auto}
/* The X-ray drawing keeps its own left to right layout, only the labels are Arabic */
.bms-ar .bmh-xr__stage{direction:ltr}
.bms-ar .xr-tag{direction:rtl;text-align:right}
.bms-ar .bmh-xr__num{padding-right:0;border-right:0;padding-left:14px;border-left:1px solid rgba(255,255,255,.1)}

/* Estimator */
.bms-ar .bmh-est__form select{padding:13px 14px 13px 32px;background-position:left 12px center}
.bms-ar .bmh-est__out b{direction:rtl;unicode-bidi:plaintext}

/* Why / dealer */
.bms-ar .bmh-why blockquote{border-left:0;border-right:4px solid var(--bms-blue);border-radius:14px 0 0 14px;font-style:normal}
.bms-ar .bmh-bar i{transform-origin:right;background:linear-gradient(270deg,#8A97AB,#5A6678)}
.bms-ar .bmh-rate__row.is-us .bmh-bar i{background:linear-gradient(270deg,#81C4FF,#1C69D4)}
.bms-ar .bmh-rate__row{grid-template-columns:130px 1fr auto}
.bms-ar .bmh-same li{border-left:0;border-right:3px solid var(--bms-sky)}

/* Tables */
.bms-ar .bmh-table th,.bms-ar .bmh-vs__table th,.bms-ar .bmh-vs__table td{text-align:right}
.bms-ar .bmh-vs__table .is-us{box-shadow:-16px 0 40px -20px rgba(7,16,31,.35)}

/* Heat */
.bms-ar .bmh-heat__card{border-right:0;border-left:1px solid #F1DFC9}
.bms-ar .bmh-heat__card:last-child{border-left:none}
@media (max-width:720px){.bms-ar .bmh-heat__card{border-left:none}}

/* Prices */
.bms-ar .bmh-price__promise li{padding-left:0;padding-right:26px}
.bms-ar .bmh-price__promise li::before{left:auto;right:2px}
.bms-ar .bmh-menu__row em{direction:rtl;unicode-bidi:plaintext}

/* Workshop kit */
.bms-ar .bmh-kit__item::before{right:auto;left:14px}

/* Process line */
.bms-ar .bmh-track::after{transform-origin:right;background:linear-gradient(270deg,#81C4FF,#1C69D4,#E22718)}

/* FAQ */
.bms-ar .bmh-acc summary{padding:18px 20px 18px 56px}
.bms-ar .bmh-acc summary::after{right:auto;left:20px}

/* CTA */
.bms-ar .bmh-cta__lines{right:auto;left:-60px;transform:skewX(18deg)}
.bms-ar .bmh-cta__info{margin-right:0;margin-left:90px}
@media (max-width:1080px){.bms-ar .bmh-cta__info{margin-left:0}}

/* Body shop */
.bms-ar .bmh-body__img{transform:perspective(1200px) rotateY(-6deg)}
.bms-ar .bmh-body__img:hover{transform:none}
@media (max-width:1080px){.bms-ar .bmh-body__img{transform:none}}
.bms-ar .bmh-body__img figcaption{left:auto;right:16px}
.bms-ar .bmh-body__list div{padding:16px 0 16px 16px}
.bms-ar .bmh-body__list div:nth-child(odd){border-right:0;border-left:1px solid rgba(255,255,255,.1)}
.bms-ar .bmh-body__list div:nth-child(even){padding-left:0;padding-right:18px}
@media (max-width:720px){.bms-ar .bmh-body__list div{border-left:none!important;padding-right:0!important}}

/* Parts tiers */
.bms-ar .bmh-tier:first-child{border-radius:0 20px 20px 0;border-right:1px solid var(--bms-line);border-left:none}
.bms-ar .bmh-tier:last-child{border-radius:20px 0 0 20px;border-left:1px solid var(--bms-line);border-right:none}

/* Service schedule */
.bms-ar .bmh-sched__line li::before{left:auto;right:16px}
.bms-ar .bmh-sched__line li::after{left:16px;right:54px;background:linear-gradient(270deg,#81C4FF,transparent)}

/* Areas */
.bms-ar .bmh-areas__zones div::before{right:auto;left:-20px}

/* Carousels: the track keeps scrolling left to right so the theme script works, the cards read right to left */
.bms-ar .bmh-car__track{direction:ltr}
.bms-ar .bmh-car__track>*{direction:rtl;text-align:right}
.bms-ar .bmh-car__nav{direction:ltr}
.bms-ar .bmh-sc figure span{left:auto;right:16px}
.bms-ar .bmh-sc__body li{padding-left:0;padding-right:14px}
.bms-ar .bmh-sc__body li::before{left:auto;right:0}
.bms-ar .bmh-mc__codes{direction:ltr}

/* Popular repairs and fault table keep engine codes readable */
.bms-ar .bmh-table td:first-child{white-space:normal}
.bms-ar .bmh-table{min-width:760px}
