/* Gan HaMlachim RTL Fixes (Hebrew he_IL) */

/* ==========================================================================
   1. LTR Isolation for Phone Numbers, Emails, Domains & Dates
   ========================================================================== */
[dir="rtl"] .gan-ltr-num,
body.rtl .gan-ltr-num {
	direction: ltr;
	unicode-bidi: isolate;
	display: inline-block;
}

/* ==========================================================================
   2. Hebrew Typography: Reset wide uppercase letter-spacing
   ========================================================================== */
[dir="rtl"] .gan-nav-list > li > a,
body.rtl .gan-nav-list > li > a,
[dir="rtl"] .gan-mobile-nav-list > li > a,
body.rtl .gan-mobile-nav-list > li > a,
[dir="rtl"] .gan-footer-label,
body.rtl .gan-footer-label,
[dir="rtl"] .gan-footer-menu a,
body.rtl .gan-footer-menu a,
[dir="rtl"] .gan-footer-cookie-btn,
body.rtl .gan-footer-cookie-btn,
[dir="rtl"] .gan-book-now-btn,
body.rtl .gan-book-now-btn {
	letter-spacing: 0;
	text-transform: none;
}

[dir="rtl"] .gan-nav-list > li > a,
body.rtl .gan-nav-list > li > a,
[dir="rtl"] .gan-header-phone,
body.rtl .gan-header-phone,
[dir="rtl"] .gan-book-now-btn,
body.rtl .gan-book-now-btn {
	font-size: 14px;
}

/* ==========================================================================
   3. Header & STAY Dropdown (RTL)
   ========================================================================== */
[dir="rtl"] .gan-nav-chevron,
body.rtl .gan-nav-chevron {
	margin-inline-start: 2px;
	margin-inline-end: 0;
}

[dir="rtl"] .gan-nav-list .sub-menu,
body.rtl .gan-nav-list .sub-menu {
	right: 0;
	left: auto;
	text-align: right;
}

[dir="rtl"] .gan-nav-list .sub-menu a,
body.rtl .gan-nav-list .sub-menu a {
	letter-spacing: 0;
	text-align: right;
}

/* Mobile Drawer slides from right in RTL */
[dir="rtl"] .gan-mobile-drawer,
body.rtl .gan-mobile-drawer {
	right: 0;
	left: auto;
	transform: translateX(100%);
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
}

[dir="rtl"] .gan-mobile-drawer.is-open,
body.rtl .gan-mobile-drawer.is-open {
	transform: translateX(0);
}

[dir="rtl"] .gan-mobile-nav-list > li > a,
body.rtl .gan-mobile-nav-list > li > a {
	text-align: right;
}

[dir="rtl"] .gan-mobile-nav-list .sub-menu,
body.rtl .gan-mobile-nav-list .sub-menu {
	padding: 0 14px 0 0;
	text-align: right;
}

/* ==========================================================================
   4. Footer (RTL 4-column order & dividers)
   ========================================================================== */
[dir="rtl"] .gan-footer-col,
body.rtl .gan-footer-col {
	border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .gan-footer-col:last-child,
body.rtl .gan-footer-col:last-child {
	border-inline-end: none;
}

[dir="rtl"] .gan-footer-bottom-inner,
body.rtl .gan-footer-bottom-inner {
	text-align: right;
}

@media (max-width: 1024px) {
	[dir="rtl"] .gan-footer-col:nth-child(2n),
	body.rtl .gan-footer-col:nth-child(2n) {
		border-inline-end: none;
	}
}

@media (max-width: 576px) {
	[dir="rtl"] .gan-footer-col,
	body.rtl .gan-footer-col {
		border-inline-end: none;
	}

	[dir="rtl"] .gan-footer-bottom-inner,
	body.rtl .gan-footer-bottom-inner {
		text-align: center;
	}
}

/* ==========================================================================
   5. Floating WhatsApp (Bottom-Left in RTL) & .to-top non-overlap
   ========================================================================== */
[dir="rtl"] .gan-whatsapp-float,
body.rtl .gan-whatsapp-float {
	left: 24px;
	right: auto;
	bottom: 24px;
}

[dir="rtl"] .to-top,
body.rtl .to-top {
	left: 28px;
	right: auto;
	bottom: 92px;
}

@media (max-width: 576px) {
	[dir="rtl"] .gan-whatsapp-float,
	body.rtl .gan-whatsapp-float {
		left: 16px;
		right: auto;
		bottom: 16px;
	}

	[dir="rtl"] .to-top,
	body.rtl .to-top {
		left: 17px;
		right: auto;
		bottom: 76px;
	}
}

/* ==========================================================================
   6. CozyStay Sliders, Buttons & Arrows in RTL
   ========================================================================== */
[dir="rtl"] .elementor-swiper-button-prev i,
[dir="rtl"] .elementor-swiper-button-next i,
[dir="rtl"] .swiper-button-prev i,
[dir="rtl"] .swiper-button-next i,
body.rtl .elementor-swiper-button-prev i,
body.rtl .elementor-swiper-button-next i,
body.rtl .swiper-button-prev i,
body.rtl .swiper-button-next i {
	transform: scaleX(-1);
}

[dir="rtl"] .cs-rooms .cs-room-content,
body.rtl .cs-rooms .cs-room-content,
[dir="rtl"] .cs-title-wrap,
body.rtl .cs-title-wrap,
[dir="rtl"] .elementor-widget-text-editor,
body.rtl .elementor-widget-text-editor {
	text-align: right;
}

[dir="rtl"] .elementor-align-center .elementor-widget-text-editor,
[dir="rtl"] .elementor-widget-heading.elementor-align-center,
body.rtl .elementor-align-center .elementor-widget-text-editor,
body.rtl .elementor-widget-heading.elementor-align-center {
	text-align: center;
}

[dir="rtl"] .button.cs-btn-underline,
body.rtl .button.cs-btn-underline {
	padding-right: 0;
	padding-left: 22px;
}

[dir="rtl"] .cs-btn-underline .cs-btn-icon,
body.rtl .cs-btn-underline .cs-btn-icon {
	margin-right: 10px;
	margin-left: 0;
}

[dir="rtl"] .cs-form-field input,
[dir="rtl"] .cs-form-field select,
[dir="rtl"] .cs-form-field textarea,
body.rtl .cs-form-field input,
body.rtl .cs-form-field select,
body.rtl .cs-form-field textarea {
	text-align: right;
}

/* ==========================================================================
   7. Suite Template RTL Fixes (Phase 4.1)
   ========================================================================== */
[dir="rtl"] .gan-suite-title,
[dir="rtl"] .gan-suite-subtitle,
[dir="rtl"] .gan-suite-description,
[dir="rtl"] .gan-section-heading,
[dir="rtl"] .gan-amenity-item,
[dir="rtl"] .gan-included-list li,
[dir="rtl"] .gan-suite-card-body,
body.rtl .gan-suite-title,
body.rtl .gan-suite-subtitle,
body.rtl .gan-suite-description,
body.rtl .gan-section-heading,
body.rtl .gan-amenity-item,
body.rtl .gan-included-list li,
body.rtl .gan-suite-card-body {
	text-align: right;
}

[dir="rtl"] .gan-discover-chevron,
body.rtl .gan-discover-chevron {
	transform: scaleX(-1);
}

[dir="rtl"] .gan-reviews-eyebrow,
[dir="rtl"] .gan-reviews-author,
[dir="rtl"] .gan-reserve-submit,
body.rtl .gan-reviews-eyebrow,
body.rtl .gan-reviews-author,
body.rtl .gan-reserve-submit {
	letter-spacing: 0;
	text-transform: none;
}

[dir="rtl"] .gan-lightbox-close,
body.rtl .gan-lightbox-close {
	right: auto;
	left: 24px;
}

@media (max-width: 1023px) {
	[dir="rtl"] body.gan-single-suite .gan-whatsapp-float,
	body.rtl.gan-single-suite .gan-whatsapp-float {
		left: 16px;
		right: auto;
		bottom: 84px;
	}

	[dir="rtl"] body.gan-single-suite .to-top,
	body.rtl.gan-single-suite .to-top {
		left: 17px;
		right: auto;
		bottom: 148px;
	}
}

/* ==========================================================================
   8. Home Page RTL Fixes (Phase 4.2)
   ========================================================================== */
[dir="rtl"] .gan-hero-subtitle,
[dir="rtl"] .gan-google-badge-label,
[dir="rtl"] .gan-search-submit,
body.rtl .gan-hero-subtitle,
body.rtl .gan-google-badge-label,
body.rtl .gan-search-submit {
	letter-spacing: 0;
}

[dir="rtl"] .gan-welcome-block,
[dir="rtl"] .gan-gallery-title,
body.rtl .gan-welcome-block,
body.rtl .gan-gallery-title {
	text-align: right;
}

[dir="rtl"] .gan-search-cell,
body.rtl .gan-search-cell {
	text-align: right;
}

/* ==========================================================================
   9. Contact Page RTL Fixes (Phase 4.3)
   ========================================================================== */
[dir="rtl"] .gan-contact-hero-eyebrow,
[dir="rtl"] .gan-contact-eyebrow,
body.rtl .gan-contact-hero-eyebrow,
body.rtl .gan-contact-eyebrow {
	letter-spacing: 0;
	text-transform: none;
}

[dir="rtl"] .gan-contact-info-inner,
body.rtl .gan-contact-info-inner {
	text-align: right;
}

/* ==========================================================================
   10. Legal / Privacy Policy RTL Fixes (Phase 4.4)
   ========================================================================== */
[dir="rtl"] .gan-legal-header,
[dir="rtl"] .gan-legal-content,
body.rtl .gan-legal-header,
body.rtl .gan-legal-content {
	text-align: right;
}

[dir="rtl"] .gan-legal-content ul,
body.rtl .gan-legal-content ul {
	padding-inline-start: 22px;
	padding-inline-end: 0;
}
