/* Arabic pages only, loaded after rtl-bootstrap.min.css and rtl-style.css, which are mirrored copies of the normal files.
   This file holds what mirroring cannot do by itself, so it is written by hand.
   After editing style.css, regenerate its mirror:  npx rtlcss@4.3.0 assets/css/style.css assets/css/rtl-style.css */

/* Kept left-to-right inside Arabic text: phone numbers, email addresses and the English disclaimer line. */
.footer-disclaimer.en{direction:ltr}
#phone_number,#email,#confirm_email,input[type="email"],input[type="tel"]{direction:ltr;text-align:right}
a[href^="tel:"],a[href^="mailto:"],.phone-link,.email-link{direction:ltr;unicode-bidi:isolate;display:inline-block}
[data-select-type="country-code"] .flag-with-country{direction:ltr}
[data-select-type="country-code"] .custom-select-option{unicode-bidi:plaintext;text-align:right}

/* Text that can be in either language: each paragraph sets its own direction, so English reviews and English tour
   texts keep their punctuation in place, and phone numbers read correctly. It all stays aligned to the right. */
.summary-info-value,.review-text,.content p,.content li,.custom-tab-title{unicode-bidi:plaintext;text-align:right}
.personal-mobile,.personal-email{unicode-bidi:plaintext}

/* Arrows that point the way forward. */
.quad-showcase-cta svg,.link-arrow-div svg,.bi-arrow-right,.bi-arrow-up-right,.booking-calendar__nav-btn[data-nav] svg{transform:scaleX(-1)}
.quad-showcase-cta:hover svg{transform:scaleX(-1) translateX(4px)}

/* Booking calendar: its own stylesheet loads separately and stays left-based. The script places the desktop popup
   from the left, so only the sliding tab marker has to change. */
.booking-calendar__tabs::before{left:auto;right:3px;transform:translateX(calc(-1*(100% * var(--bc-tab-index,0))))}
.booking-calendar__loader,.booking-calendar__error{padding:10px 16px 10px 12px}

/* Price tag beside a struck-out price (special-pricing.css). */
.tour-price+.special-price-label{margin:12px 10px 0 0}
.tour-price del{margin-left:4px;margin-right:0}

/* Icons placed at a fixed spot, which mirroring cannot move. */
.btn-gallery{background-position:right 8px center}
.view-all-btn{background-position:right 12px top 50%;padding-right:36px}

/* Previous and next arrows: the buttons change sides, so their images swap. */
.gallery-arrow.left,.main-slider .slick-prev{background-image:url(../images/icons/chevron-right.svg)}
.gallery-arrow.right,.main-slider .slick-next{background-image:url(../images/icons/chevron-left.svg)}

/* Arabic has no short month names, so the date box shows the full name. */
.calendar-box-item-1{font-size:11px}
