/* ==========================================================================
   Dreams Voyage - Arabic RTL Stylesheet
   Author: Mohamed magdy
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

html[dir="rtl"], body.rtl {
  direction: rtl;
  text-align: right;
  font-family: var(--font-arabic);
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

#error-page, body#error-page {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Header RTL */
body.rtl .lang-menu {
  right: auto;
  left: 0;
}

body.rtl .nav-menu .sub-menu {
  left: auto;
  right: 0;
  text-align: right;
}

body.rtl .nav-link.active::after,
body.rtl .nav-menu .current-menu-item > a::after,
body.rtl .nav-menu .current_page_item > a::after {
  left: auto;
  right: 0;
}

/* Drawer RTL */
body.rtl .dv-mobile-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 10px 0 25px rgba(0, 0, 0, 0.15);
}

body.rtl .dv-mobile-drawer.active {
  transform: translateX(0);
}

body.rtl .dv-lang-check {
  margin-left: 0;
  margin-right: auto;
}

/* Search Box RTL */
body.rtl .search-field {
  text-align: right;
  border-right: none;
  border-left: 1px solid var(--gray-200);
}

body.rtl .search-field:last-of-type {
  border-left: none;
}

/* Trip Card RTL */
body.rtl .trip-card-location-pill {
  left: auto;
  right: 12px;
}

body.rtl .price-old {
  margin-left: 0;
  margin-right: 0.35rem;
}

body.rtl .btn-book-card:hover .btn-arrow {
  transform: translateX(-3px);
}

body.rtl .destination-card:hover .destination-arrow {
  transform: translateX(-4px);
}

/* Single Trip Itinerary Timeline RTL */
body.rtl .timeline {
  padding-left: 0;
  padding-right: 2rem;
}

body.rtl .timeline::before {
  left: auto;
  right: 7px;
}

body.rtl .timeline-dot {
  left: auto;
  right: -2rem;
}

/* Included / Excluded List RTL */
body.rtl .included-list li,
body.rtl .excluded-list li {
  padding-left: 0;
  padding-right: 1.85rem;
}

body.rtl .included-list li::before,
body.rtl .excluded-list li::before {
  left: auto;
  right: 0;
}

/* Gallery Slider RTL */
body.rtl .gallery-counter-badge {
  right: auto;
  left: 1.25rem;
}

body.rtl .gallery-nav-btn.prev {
  left: auto;
  right: 1.25rem;
}

body.rtl .gallery-nav-btn.next {
  right: auto;
  left: 1.25rem;
}

/* Footer RTL */
body.rtl .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

body.rtl .why-card-step {
  right: auto;
  left: 16px;
}

@media (max-width: 768px) {
  body.rtl .search-field {
    border-left: none;
    border-bottom: 1px solid var(--gray-200);
  }
}

/* RTL Pages Prose Styling */
body.rtl .dv-page-prose-content ul, 
body.rtl .dv-page-prose-content ol {
  margin: 0 1.5rem 1.5rem 0;
}


