/**
 * David Cruise Sync — ajustements RTL centralises (plugin uniquement).
 */
html[dir="rtl"] .dc-lang-switcher {
	direction: rtl;
	text-align: start;
}

html[dir="rtl"] .dc-lang-switcher__link {
	display: inline-block;
	margin-inline-end: 0;
	margin-inline-start: 0.5em;
}

html[dir="rtl"] .dc-lang-switcher__link.is-active {
	font-weight: 600;
}

html[dir="rtl"] .dc-search-bar,
html[dir="rtl"] .dc-cruise-card,
html[dir="rtl"] #dc-search-modal .dc-sm-panel,
html[dir="rtl"] #st-cabin-quote-popup,
html[dir="rtl"] #dc-cruise-hover-preview,
html[dir="rtl"] .st-cabin-packages,
html[dir="rtl"] .dc-boat-section,
html[dir="rtl"] .dc-itinerary-wrapper {
	direction: rtl;
	text-align: right;
}

/* Search bar + modal */
html[dir="rtl"] .dc-search-bar .dc-sb-field {
	text-align: right;
}

html[dir="rtl"] .dc-search-bar .dc-sb-field+.dc-sb-field::before {
	left: auto;
	right: 0;
}

html[dir="rtl"] .dc-search-bar .dc-sb-cs-value,
html[dir="rtl"] .dc-search-bar .dc-sb-cs-list li {
	text-align: right;
}

html[dir="rtl"] .dc-search-bar .dc-sb-cs-dropdown {
	left: auto;
	right: -42px;
}

html[dir="rtl"] #dc-search-modal .dc-sm-subtitle {
	margin-left: 0;
	margin-right: 10px;
}

/* Cruise cards + tooltip */
html[dir="rtl"] .dc-cc-title-tab {
	margin: 0 25px 0 0 !important;
}

html[dir="rtl"] .dc-cc-title-tab::before {
	margin-left: 14px !important;
	margin-right: 0 !important;
}

body.dc-lang-he .dc-cc-title-tab {
	margin: 0 25px 0 0 !important;
}

body.dc-lang-he .dc-cc-title-tab::before {
	margin-left: 14px !important;
	margin-right: 0 !important;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-slideshow {
	left: auto;
	right: 0;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-overlay {
	background: linear-gradient(to left,
			rgba(255, 255, 255, 0) 10%,
			rgba(255, 255, 255, 1) 45%);
}

html[dir="rtl"] .dc-cruise-card .dc-cc-content {
	padding-left: 0 !important;
	padding-right: 45% !important;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-body {
	flex-direction: row-reverse;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-info {
	padding: 0 40px 26px 18px;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-row {
	text-align: right;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-bottom {
	flex-direction: row-reverse;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-badges {
	left: auto;
	right: 20px;
	align-items: flex-end;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-right {
	padding: 8px 8px 24px 24px;
	align-items: flex-start;
}

/* Fallback Hebrew mode when page stays LTR (no dir=rtl) */
body.dc-lang-he .dc-cruise-card .dc-cc-slideshow {
	left: auto;
	right: 0;
}

body.dc-lang-he .dc-cruise-card .dc-cc-overlay {
	background: linear-gradient(to left,
			rgba(255, 255, 255, 0) 10%,
			rgba(255, 255, 255, 1) 45%);
}

body.dc-lang-he .dc-cruise-card .dc-cc-content {
	padding-left: 0 !important;
	padding-right: 45% !important;
}

body.dc-lang-he .dc-cruise-card .dc-cc-body {
	flex-direction: row-reverse;
}

body.dc-lang-he .dc-cruise-card .dc-cc-info {
	padding: 0 40px 26px 18px;
}

body.dc-lang-he .dc-cruise-card .dc-cc-row {
	text-align: right;
}

body.dc-lang-he .dc-cruise-card .dc-cc-bottom {
	flex-direction: row-reverse;
}

body.dc-lang-he .dc-cruise-card .dc-cc-badges {
	left: auto;
	right: 20px;
	align-items: flex-end;
}

body.dc-lang-he .dc-cruise-card .dc-cc-right {
	padding: 8px 8px 24px 24px;
	align-items: flex-start;
}

html[dir="rtl"] .dc-cruise-card .dc-cc-price-badge span,
html[dir="rtl"] .dc-cruise-card .dc-cc-price-badge strong {
	text-align: right;
}

html[dir="rtl"] #dc-price-tip {
	text-align: right;
}

html[dir="rtl"] #dc-price-tip ul li {
	text-align: right;
}

html[dir="rtl"] #dc-price-tip ul li .tip-price {
	text-align: left;
}

/* Itinerary */
html[dir="rtl"] .dc-itinerary-timeline {
	padding-right: 0;
	padding-left: 14px;
}

html[dir="rtl"] .dc-it-row {
	text-align: right;
}

html[dir="rtl"] .st-program-list .accordion-button,
html[dir="rtl"] .st-program-list .accordion-button.collapsed,
html[dir="rtl"] .st-program-list .accordion-button:not(.collapsed) {
	padding: 6px 6px 6px 18px !important;
}

html[dir="rtl"] .st-program-list .accordion.dc-accordion--open .accordion-body {
	padding: 6px 12px 24px 48px !important;
}

html[dir="rtl"] .dc-open-content {
	text-align: right;
}

html[dir="rtl"] .dc-open-layout {
    /* display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: dcFadeIn 0.35s ease;
    margin-bottom: 20px; */
    padding-right: 0 !important;
	padding-left: 40px;
}

@media screen and (max-width: 767px) {
	html[dir="rtl"] .single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list .st-program .accordion-header button span, .single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-faq-list .st-program .accordion-header button span, .single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-program-list .st-program .accordion-header button span, .single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-faq-list .st-program .accordion-header button span, .single-st_tours #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-program-list .st-program .accordion-header button span, .single-st_tours #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-faq-list .st-program .accordion-header button span, .single-st_tours #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-program-list .st-program .accordion-header button span, .single-st_tours #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-faq-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-faq-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-program-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-faq-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-program-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-faq-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-program-list .st-program .accordion-header button span, .single-st_activity #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-faq-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-faq-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-program-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-faq-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-program-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-faq-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-program-list .st-program .accordion-header button span, .single-st_cars #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-faq-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-faq-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-program-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-tour-9 .st-faq-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-program-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-activity-4 .st-faq-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-program-list .st-program .accordion-header button span, .single-st_rental #st-content-wrapper.st-style-elementor.st-single-activity-5 .st-faq-list .st-program .accordion-header button span {
	  min-width: 80px;
	  text-align: right;
	  padding-right: 0px;
	}
}

/* @media screen and (max-width: 767px) {
	html[dir="rtl"].st-program.style1 .accordion-button::after {
		position: absolute !important;
		right: unset !important;
		left: 20px !important;
		bottom: 7px !important;
		top: 28px !important;
		margin: 0 !important;
	}
  } */

html[dir="rtl"] .st-program-list .accordion-button.dc-btn--open {
	padding: 6px 6px 6px 10px !important;
}

html[dir="rtl"] .dc-chevron-open {
	right: auto;
	left: 18px;
}

html[dir="rtl"] .dc-escale-times {
	right: auto;
	left: 46px;
	text-align: left;
}

/* Boat sidebar + activities */
html[dir="rtl"] .dc-boat-info,
html[dir="rtl"] .dc-boat-specs li,
html[dir="rtl"] .dc-boat-name {
	text-align: right;
}

html[dir="rtl"] .dc-boat-btn-group {
	right: auto;
	left: 12px;
}

html[dir="rtl"] .dc-boat-carousel-btn.prev {
	left: auto;
	right: 10px;
	font-size: 0;
}

html[dir="rtl"] .dc-boat-carousel-btn.prev::before {
	content: "\203a";
	font-size: 18px;
	line-height: 1;
}

html[dir="rtl"] .dc-boat-carousel-btn.next {
	right: auto;
	left: 10px;
	font-size: 0;
}

html[dir="rtl"] .dc-boat-carousel-btn.next::before {
	content: "\2039";
	font-size: 18px;
	line-height: 1;
}

html[dir="rtl"] .dc-act-prev {
	left: auto;
	right: 8px;
	font-size: 0;
}

html[dir="rtl"] .dc-act-prev::before {
	content: "\203a";
	font-size: 22px;
	line-height: 1;
}

html[dir="rtl"] .dc-act-next {
	right: auto;
	left: 8px;
	font-size: 0;
}

html[dir="rtl"] .dc-act-next::before {
	content: "\2039";
	font-size: 22px;
	line-height: 1;
}

/* Cabins + quote popup */
html[dir="rtl"] .st-cabines-section {
	border-left: none;
	border-right: 4px solid #d4af37;
}

html[dir="rtl"] .st-cabin-content,
html[dir="rtl"] .st-cabin-header,
html[dir="rtl"] .st-cabin-description,
html[dir="rtl"] .st-cabin-equipment,
html[dir="rtl"] .quote-popup-content,
html[dir="rtl"] .quote-header,
html[dir="rtl"] .quote-guest-form,
html[dir="rtl"] .quote-item {
	text-align: right;
}

html[dir="rtl"] .st-cabin-equipment ul {
	padding-left: 0;
	padding-right: 20px;
}

html[dir="rtl"] .btn-cabin-devis {
	align-self: flex-end;
}

html[dir="rtl"] .quote-popup-close-btn {
	right: auto;
	left: 16px;
}

html[dir="rtl"] .quote-header {
	padding-right: 0;
	padding-left: 40px;
}

html[dir="rtl"] .quote-item-header,
html[dir="rtl"] .quote-item-price,
html[dir="rtl"] .summary-row,
html[dir="rtl"] .summary-item,
html[dir="rtl"] .summary-total,
html[dir="rtl"] .st-cabin-price-row,
html[dir="rtl"] .quote-actions,
html[dir="rtl"] .quote-guest-form .form-row-half,
html[dir="rtl"] .quote-popup-body,
html[dir="rtl"] .cruise-option,
html[dir="rtl"] .dc-quote-cart-info .service-section,
html[dir="rtl"] .dc-quote-cart-info .info-section li,
html[dir="rtl"] .dc-quote-cart-info .total-section li,
html[dir="rtl"] #dc-cruise-hover-preview .dc-hover-info li,
html[dir="rtl"] .btn-call-me {
	text-align: right;
}

html[dir="rtl"] .dc-quote-cart-info .info-section li {
	flex-direction: row-reverse !important;
	justify-content: flex-start !important;
	gap: 12px !important;
}

/* Fallback: certains templates restent en dir=ltr même en hébreu */
html[lang^="he"] .dc-quote-cart-info .info-section {
	direction: rtl;
}
body.dc-lang-he .dc-quote-cart-info .info-section {
	direction: rtl;
}
body.dc-lang-he .info-section {
	direction: rtl;
}

html[lang^="he"] .dc-quote-cart-info .info-section li {
	display: flex !important;
	flex-direction: row-reverse !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 0 !important;
}
body.dc-lang-he .dc-quote-cart-info .info-section li {
	display: flex !important;
	flex-direction: row-reverse !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 0 !important;
}
body.dc-lang-he .info-section li {
	display: flex !important;
	flex-direction: row-reverse !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 0 !important;
}

html[dir="rtl"] .btn-call-me-sub {
	margin-left: 0;
	margin-right: auto;
}

html[dir="rtl"] .btn-loading::after {
	margin-left: 0;
	margin-right: 8px;
}

html[dir="rtl"] .cruise-option-arrow {
	margin-left: 0;
	margin-right: 12px;
	transform: scaleX(-1);
}

html[dir="rtl"] .dc-quote-cart-info .info-section .value,
html[dir="rtl"] .dc-quote-cart-info .total-section .value,
html[dir="rtl"] #dc-cruise-hover-preview .dc-hover-info .value {
	text-align: left;
}

html[lang^="he"] .dc-quote-cart-info .info-section .value,
html[lang^="he"] .dc-quote-cart-info .total-section .value,
html[lang^="he"] #dc-cruise-hover-preview .dc-hover-info .value {
	text-align: left;
}
body.dc-lang-he .dc-quote-cart-info .info-section .value,
body.dc-lang-he .dc-quote-cart-info .total-section .value,
body.dc-lang-he #dc-cruise-hover-preview .dc-hover-info .value {
	text-align: left;
}
body.dc-lang-he .info-section .value {
	text-align: left;
}

html[lang^="he"] .info-section .value,
body.dc-lang-he .info-section .value {
	order: 1 !important;
}

html[lang^="he"] .info-section .label,
body.dc-lang-he .info-section .label {
	order: 2 !important;
}

/* Service feature icon spacing */
html[dir="rtl"] .st-service-feature .item .icon {
	margin-right: 0;
	margin-left: 12px;
}

/* Tour header actions spacing (RTL only) */
html[dir="rtl"] .st-service-header2 .right .st-video,
body.dc-lang-he .st-service-header2 .right .st-video {
	margin-left: 12px !important;
	margin-right: 0 !important;
}

html[dir="rtl"] .st-service-header2 .right .wistlist-single,
body.dc-lang-he .st-service-header2 .right .wistlist-single {
	margin-right: 12px !important;
	margin-left: 0 !important;
}

@media (max-width: 640px) {
	html[dir="rtl"] .dc-cruise-card .dc-cc-content {
		padding-right: 0 !important;
	}

	html[dir="rtl"] .dc-cruise-card .dc-cc-right {
		padding: 8px 14px 14px;
	}
}
