/**
 * Al-Tawba Travel — RTL Overrides (Arabic Mode)
 * Powered by Techero Consulting (https://techero.tn)
 *
 * @package Al_Tawba_Travel
 * @version 1.2.0
 */

/* ---------------------------------------------------------------
 * 1. Base Direction & Typography
 * --------------------------------------------------------------- */
body {
	direction: rtl;
	text-align: right;
}

/* ---------------------------------------------------------------
 * 2. Header & Topbar Alignment (RTL)
 * --------------------------------------------------------------- */
.at-topbar .at-container,
.at-topbar .at-container-fluid {
	flex-direction: row;
}

.at-topbar__left {
	flex-direction: row;
}

.at-topbar__right {
	flex-direction: row;
}

.at-header__inner {
	flex-direction: row;
}

.at-header__logo {
	order: 1; /* Appears on the RIGHT in RTL */
}

.at-nav {
	order: 2; /* Appears in the MIDDLE in RTL */
}

.at-header__actions,
.at-topbar__actions {
	flex-direction: row;
}

.at-nav__list {
	flex-direction: row;
}

.at-nav__list > li + li {
	margin-left: 0;
	margin-right: 20px;
}

.at-nav__list a::after {
	left: auto;
	right: 0;
}

.at-topbar__item i {
	margin-right: 0;
	margin-left: 8px;
}

.at-topbar__item a[href^="tel:"],
.at-topbar__phone a,
.at-footer-contact-list a[href^="tel:"],
a[href^="tel:"]:not(.at-btn) {
	direction: ltr !important;
	unicode-bidi: isolate !important;
	display: inline-block;
	text-align: left;
}

.at-topbar__hours i {
	margin-right: 0;
	margin-left: 8px;
}

/* ---------------------------------------------------------------
 * 3. Hero & Booking Bar (RTL)
 * --------------------------------------------------------------- */
.at-booking-field {
	border-right: none;
	border-left: 1px solid var(--at-border);
	text-align: right;
}

.at-booking-field:last-child {
	border-left: none;
}

.at-field-content label {
	text-align: right;
}

select,
.at-select,
select.at-form-control {
	padding: 12px 18px 12px 42px !important;
	background-position: left 16px center !important;
	text-align: right;
}

.at-booking-field .at-select {
	padding: 0 0 0 24px !important;
	background-position: left 4px center !important;
	text-align: right;
}

.at-newsletter-capsule {
	padding: 6px 22px 6px 6px;
}

.at-search-field {
	padding-right: 18px !important;
	padding-left: 60px !important;
	text-align: right;
}

.at-search-submit {
	right: auto;
	left: 4px;
}

/* ---------------------------------------------------------------
 * 4. Stats & Trust Counters (RTL)
 * --------------------------------------------------------------- */
.at-stat-item {
	border-right: none;
	border-left: 1px solid var(--at-border);
	text-align: right;
}

.at-stat-item:last-child {
	border-left: none;
}

.at-stat-info {
	text-align: right;
}

.at-stat-number {
	text-align: right;
	direction: rtl;
	display: block;
}

.at-stat-number bdi {
	direction: ltr !important;
	unicode-bidi: isolate !important;
	display: inline-block;
}

/* ---------------------------------------------------------------
 * 5. Tour Packages & Cards (RTL)
 * --------------------------------------------------------------- */
.at-tour-badge {
	left: auto;
	right: 16px;
}

.at-tour-wishlist {
	right: auto;
	left: 16px;
}

.at-tour-duration {
	left: auto;
	right: 16px;
}

.at-tour-duration i {
	margin-right: 0;
	margin-left: 6px;
}

.at-tour-location i {
	margin-right: 0;
	margin-left: 6px;
}

.at-tour-inclusions li {
	text-align: right;
}

.at-tour-inclusions li i {
	margin-right: 0;
	margin-left: 8px;
}

.at-tour-price-box {
	text-align: right;
}

.at-price-amount {
	display: inline-flex;
	flex-direction: row;
	align-items: baseline;
	gap: 6px;
	text-align: right;
}

.at-price-val {
	display: inline-block;
}

.at-price-val bdi {
	direction: ltr !important;
	unicode-bidi: isolate !important;
	display: inline-block;
}

.at-price-currency {
	margin-left: 0;
	margin-right: 0;
	display: inline-block;
}

.at-btn-book i {
	margin-left: 0;
	margin-right: 8px;
	transform: scaleX(-1);
}

/* ---------------------------------------------------------------
 * 6. Showcase / Why Choose Us (RTL)
 * --------------------------------------------------------------- */
.at-showcase-floating-badge {
	left: auto;
	right: -15px;
}

.at-showcase-img-secondary {
	right: auto;
	left: -15px;
}

.at-feature-item {
	text-align: right;
}

.at-showcase-features {
	text-align: right;
}

.at-showcase-actions {
	display: flex;
	flex-direction: row;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.at-showcase-actions .at-btn {
	direction: rtl !important;
	text-align: right;
	text-align: center;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.at-showcase-actions .at-btn i {
	order: 0;
	margin-left: 8px;
	margin-right: 0;
}

/* ---------------------------------------------------------------
 * 7. FAQ Accordion (RTL)
 * --------------------------------------------------------------- */
.at-faq-question {
	text-align: right;
}

.at-faq-answer {
	text-align: right;
}

/* ---------------------------------------------------------------
 * 8. Footer & Trust Strip (RTL)
 * --------------------------------------------------------------- */
.at-trust-item {
	text-align: right;
}

.at-footer .widget-title::after {
	left: auto;
	right: 0;
}

.at-footer-contact-list li {
	text-align: right;
}

.at-footer-contact-list i {
	margin-right: 0;
	margin-left: 10px;
}

.at-footer__bottom-inner {
	flex-direction: row;
}

/* ---------------------------------------------------------------
 * 9. Floating Buttons & Modals (RTL)
 * --------------------------------------------------------------- */
.at-back-to-top {
	right: auto;
	left: 30px;
}

.at-floating-whatsapp {
	left: auto;
	right: 30px;
}

.at-whatsapp-tooltip {
	left: auto;
	right: 68px;
}

.at-modal-close {
	right: auto;
	left: 18px;
}

.at-modal-form label {
	text-align: right;
}

.at-form-control {
	text-align: right;
}

.at-verified-badge {
	margin-left: 0;
	margin-right: auto;
}


/* ---------------------------------------------------------------
 * 10. Mobile Menu Drawer (RTL - opens from right)
 * --------------------------------------------------------------- */
@media (max-width: 991px) {
	.at-mobile-menu {
		right: -100%;
		left: auto;
		box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3);
		transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	}

	.at-mobile-menu.open {
		right: 0;
		left: auto;
	}

	.at-mobile-menu__header {
		flex-direction: row-reverse;
	}

	.at-mobile-menu a {
		text-align: right;
	}

	.at-booking-field {
		border-left: none;
		border-bottom: 1px solid var(--at-border);
	}

	.at-stat-item {
		border-left: none;
		border-bottom: 1px solid var(--at-border);
	}
}

@media (max-width: 768px) {
	.at-package-tabs {
		justify-content: flex-start;
	}
}

@media (max-width: 576px) {
	.at-modal-close {
		right: auto;
		left: 14px;
	}
}

/* Universal RTL Button Centering */
.at-btn,
button.at-btn,
a.at-btn,
input[type="submit"].at-btn {
	justify-content: center !important;
	text-align: center !important;
	align-items: center !important;
}

.at-sidebar-phone-row {
	justify-content: center !important;
	align-items: center !important;
}

.at-sidebar-phone-row .at-btn {
	justify-content: center !important;
	text-align: center !important;
	align-items: center !important;
}

