/* ==========================================================================
   BlueWave Global — language switcher
   A small control that sits in the top bar and in the mobile menu. It uses the
   same navy / aqua palette as the rest of the header; nothing else on the page
   is restyled.
   ========================================================================== */

.bw-lang {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.bw-lang__form {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
}

.bw-lang__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.bw-lang__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	opacity: 0.8;
}

.bw-lang__icon svg {
	width: 14px;
	height: 14px;
	display: block;
}

/* The native select keeps its behaviour (keyboard, mobile pickers) and only
   loses the platform chrome. */
.bw-lang__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 0;
	border-radius: 6px;
	background-color: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.79rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
	padding: 3px 20px 3px 2px;
	margin: 0;
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	background-size: 9px 6px;
	max-width: 132px;
	text-overflow: ellipsis;
}

.bw-lang__select:focus-visible {
	outline: 2px solid var(--bw-aqua, #16c8b8);
	outline-offset: 3px;
}

.bw-lang__select option {
	color: var(--bw-ink, #0d1b2a);
	background: #fff;
}

/* Dark tone — navy top bar and the booking page's bar. */
.bw-lang--dark .bw-lang__select { color: rgba(255, 255, 255, 0.82); }
.bw-lang--dark:hover .bw-lang__select,
.bw-lang--dark .bw-lang__select:hover,
.bw-lang--dark .bw-lang__select:focus { color: #fff; }
.bw-lang--dark .bw-lang__icon { color: var(--bw-aqua, #16c8b8); opacity: 1; }

/* Light tone — the white mobile drawer. */
.bw-lang--light .bw-lang__select { color: var(--bw-navy, #06223d); }
.bw-lang--light .bw-lang__icon { color: var(--bw-blue, #0b63e5); opacity: 1; }
.bw-lang--light .bw-lang__select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230b63e5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
	background-color: var(--bw-sky, #f4f8fc);
	border: 1px solid var(--bw-line, #e3eaf2);
	padding: 9px 28px 9px 10px;
	background-position: right 10px center;
	max-width: none;
	font-size: 0.88rem;
}

.bw-lang__go {
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.75rem;
	padding: 3px 8px;
	cursor: pointer;
}

/* Only ever shown if the translator cannot load. */
.bw-lang__status {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 30;
	width: 260px;
	margin: 0;
	padding: 9px 11px;
	border-radius: 8px;
	background: #fff7f5;
	border: 1px solid #f2c7c2;
	color: #8f1d12;
	font-size: 0.74rem;
	line-height: 1.45;
	box-shadow: 0 12px 28px -18px rgba(6, 34, 61, 0.55);
}

.bw-mobile-nav .bw-lang { width: 100%; margin-bottom: 14px; }
.bw-mobile-nav .bw-lang__form { width: 100%; }
.bw-mobile-nav .bw-lang__select { flex: 1; }

/* The booking page's bar is a plain flex row: keep the control tidy there. */
.bwg-bk__bar .bw-lang { margin-left: 4px; }

/* Google's own chrome never shows; its dropdown lives off-screen. */
.bw-gt {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	opacity: 0;
	pointer-events: none;
	z-index: -1;
}
/* Google injects its own toolbar at the top of the page. The site's own
   switcher already shows the language, so every piece of Google chrome is
   hidden — including the current banner class names. */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
iframe[id$=".container"],
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
div.VIpgJd-ZVi9od-ORHb,
.VIpgJd-yAWNEb-L7lbkb,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; visibility: hidden !important; height: 0 !important; }
body { top: 0 !important; position: static !important; }
html { margin-top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ==========================================================================
   Longer words
   Translated menus are wider than the English originals. When a translation is
   active the header tightens a little so the approved desktop layout still
   fits at 1280px, and the drawer takes over one step earlier. English pages are
   unaffected.
   ========================================================================== */
body.bw-lang-alt .bw-header__contact-label { display: none; }
body.bw-lang-alt .bw-nav a { padding-left: 8px; padding-right: 8px; font-size: 0.84rem; }
body.bw-lang-alt .bw-header__cta { padding-left: 16px; padding-right: 16px; }
body.bw-lang-alt .bw-header__inner { gap: 10px; }
body.bw-lang-alt .bw-topbar__meta { gap: 16px; }

@media (max-width: 1279px) {
	body.bw-lang-alt .bw-nav { display: none; }
	body.bw-lang-alt .bw-nav-toggle { display: block; }
}

/* ==========================================================================
   Right-to-left languages (Arabic, Hebrew, Persian, Urdu)
   Mirrors the structural rows only; English pages are untouched.
   ========================================================================== */
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .bw-topbar__inner,
[dir="rtl"] .bw-header__inner,
[dir="rtl"] .bw-footer__top,
[dir="rtl"] .bw-footer__bottom,
[dir="rtl"] .bw-section-head__row { flex-direction: row-reverse; }
[dir="rtl"] .bw-topbar__meta { flex-direction: row-reverse; }
[dir="rtl"] .bw-menu { flex-direction: row-reverse; }
[dir="rtl"] .bw-hero__copy,
[dir="rtl"] .bw-card,
[dir="rtl"] .bw-prose { text-align: right; }
[dir="rtl"] .bw-lang--dark .bw-lang__select,
[dir="rtl"] .bw-lang--light .bw-lang__select {
	background-position: left 2px center;
	padding-right: 2px;
	padding-left: 20px;
}
[dir="rtl"] .bw-lang--light .bw-lang__select {
	padding-right: 10px;
	padding-left: 28px;
	background-position: left 10px center;
}
[dir="rtl"] .bw-lang__status { right: auto; left: 0; }
[dir="rtl"] .bw-timeline li,
[dir="rtl"] .bw-list { padding-left: 0; padding-right: 1.1em; }
[dir="rtl"] .bw-arrow-link svg { transform: scaleX(-1); }
