/* Electra plugin — minimal front-end styles. Built to sit on top of the
   Bootstrap 5 grid/utilities the Electra theme already loads; keep this
   file to spacing/detail tweaks rather than layout, so the theme's own
   ELECTRA BRAND styles in main.css stay the single source of colour. */

.electra-carousel .carousel-item img {
	max-height: 70vh;
	object-fit: cover;
}

/* ==========================================================================
   PAGE-HEADER-STYLE BANNER (accommodation + room headers)
   electra_render_header_banner() (includes/template-functions.php) reuses
   the Electra theme's own Page Header classes (page-header-section/-wrap/
   -banner/-overlay/-inner/-title/-subtitle) so these headers look
   consistent with a regular theme page that has one — no layout CSS is
   duplicated here, only what the theme doesn't already cover: giving an
   accommodation's multi-image slideshow carousel the same fixed height/crop
   as a single header image, and overlaying the title/subtitle on top of it.
   Scoped to .electra-header-banner--carousel (added only by our own
   carousel markup) so none of this leaks onto a theme page that uses the
   Page Header's plain Slider Shortcode field with some other, unrelated
   slider markup. */

.electra-header-banner--carousel {
	height: 320px;
}

.electra-header-banner--carousel .electra-carousel,
.electra-header-banner--carousel .electra-carousel .carousel-inner,
.electra-header-banner--carousel .electra-carousel .carousel-item,
.electra-header-banner--carousel .electra-carousel .carousel-item img {
	height: 100%;
}

.electra-header-banner--carousel .electra-carousel .carousel-item img {
	max-height: none;
	object-fit: cover;
}

.electra-header-banner--carousel .page-header-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

@media (max-width: 768px) {
	.electra-header-banner--carousel {
		height: 220px;
	}
}

.electra-service__icon {
	font-size: 28px;
	width: 28px;
	height: 28px;
	display: block;
	margin-bottom: 8px;
}

.electra-room-card .card-img-top {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.electra-menu-item__image img {
	width: 80px;
	height: 80px;
	object-fit: cover;
}

.electra-room-sidebar {
	position: sticky;
	top: 24px;
}

.electra-map {
	min-height: 320px;
	background: #eee;
}

.electra-accommodation-card__type {
	letter-spacing: 0.08em;
}

/* Optional per-accommodation logo (usually an SVG): fades in over the
   photo on hover, centred in a white badge so any logo colour reads
   against any photo. On touch devices (no hover) it is always shown, at
   the bottom of the image. */
.electra-accommodation-card__logo {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba( 0, 0, 0, 0.28 );
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.electra-accommodation-card:hover .electra-accommodation-card__logo,
.electra-accommodation-card:focus-visible .electra-accommodation-card__logo {
	opacity: 1;
}

.electra-accommodation-card__logo-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72%;
	height: 84px;
	padding: 0.75rem 1rem;
	border-radius: 0.9rem;
	background: rgba( 255, 255, 255, 0.92 );
	box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.2 );
	transform: translateY( 8px );
	transition: transform 0.3s ease;
}

.electra-accommodation-card:hover .electra-accommodation-card__logo-badge,
.electra-accommodation-card:focus-visible .electra-accommodation-card__logo-badge {
	transform: translateY( 0 );
}

.electra-accommodation-card__logo-badge img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto !important;
	object-fit: contain;
	transform: none !important;
}

@media (hover: none) {
	.electra-accommodation-card__logo {
		opacity: 1;
		background: none;
		align-items: flex-end;
		padding-bottom: 0.75rem;
	}

	.electra-accommodation-card__logo-badge {
		height: 56px;
		transform: none;
	}
}

/* Fixed-aspect image box, plain CSS rather than Bootstrap's .ratio utility
   — that utility's position:absolute image depends on .ratio's own CSS
   being loaded unmodified, which broke silently if the theme's own
   stylesheet touches .ratio/.ratio > * for anything else. This version
   doesn't depend on any Bootstrap class at all, so it can't conflict. */
.electra-accommodation-card__image {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 1rem; /* baked in here rather than a Bootstrap "rounded-*"
		utility class, which is Bootstrap 5.1+ only and so a version
		mismatch with the theme's own bundle could silently drop it. */
	background: #eee; /* shows while the image loads, and if one is missing */
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.1 );
	transition: box-shadow 0.25s ease;
}

.electra-accommodation-card__image > img,
.electra-accommodation-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100% !important; /* something upstream (theme/WPBakery's own
		responsive-image reset, most likely) was overriding plain
		height: 100% here, so forcing it. */
	object-fit: cover; /* every image fills the same box, cropped not squashed */
	transition: transform 0.35s ease;
}

.electra-accommodation-card:hover .electra-accommodation-card__image {
	box-shadow: 0 10px 28px rgba( 0, 0, 0, 0.22 );
}

.electra-accommodation-card:hover .electra-accommodation-card__image > img {
	transform: scale( 1.06 );
}

.electra-accommodation-card__title {
	transition: color 0.2s ease;
}

/* ==========================================================================
   FAQ full-bleed band (single-electra_accom.php). Rendered as a sibling of
   the page's normal ".container" div, not nested inside it, specifically
   so this background can stretch edge-to-edge across the browser window
   while ".electra-faq-bleed > [class*=container]" keeps the actual content
   lined up with the rest of the page. */

.electra-faq-bleed {
	background: #f7f6f2;
	padding: 3.5rem 0;
}

/* ==========================================================================
   FAQ sections + accordion (templates/shortcode-faqs.php). Each section is
   itself collapsible (only the first open by default) with its own
   clickable header; a light flat-list look with hairline dividers between
   question rows, not individual bordered cards — deliberately not
   Bootstrap's own .accordion-item/.accordion-button look, to match the
   reference screenshot Pierre sent. Functionality is still plain Bootstrap
   collapse (data-bs-toggle/data-bs-target), just restyled. */

.electra-faq-section + .electra-faq-section {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e3e1db;
}

.electra-faq-section__heading {
	margin: 0;
}

.electra-faq-section__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 0.85rem 1rem;
	margin: 0 -1rem;
	background: none;
	border: 0;
	border-radius: 0.5rem;
	text-align: left;
	color: inherit;
	transition: background-color 0.15s ease;
}

.electra-faq-section__toggle:hover {
	background-color: rgba( 0, 0, 0, 0.035 );
}

.electra-faq-section__title {
	font-size: 1.15rem;
	font-weight: 600;
}

.electra-faq-section__icon {
	position: relative;
	flex: none;
	width: 0.65rem;
	height: 0.65rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate( 45deg );
	transition: transform 0.2s ease;
	margin-right: 0.2rem;
}

.electra-faq-section__toggle[aria-expanded='true'] .electra-faq-section__icon {
	transform: rotate( -135deg );
}

.electra-faq-section__body {
	margin-top: 1rem;
}

.electra-faqs {
	background: #f2f1ee;
	border-radius: 0.5rem;
	overflow: hidden;
}

.electra-faq-item {
	border-bottom: 1px solid #fff;
}

.electra-faq-item:last-child {
	border-bottom: none;
}

.electra-faq-item__heading {
	margin: 0;
}

.electra-faq-item__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.1rem 1.5rem;
	background: none;
	border: 0;
	text-align: left;
	color: inherit;
	transition: background-color 0.15s ease;
}

.electra-faq-item__toggle:hover {
	background-color: rgba( 0, 0, 0, 0.035 );
}

.electra-faq-item__icon {
	position: relative;
	flex: none;
	width: 1rem;
	height: 1rem;
}

.electra-faq-item__icon::before,
.electra-faq-item__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: currentColor;
	transform: translate( -50%, -50% );
}

.electra-faq-item__icon::before {
	width: 100%;
	height: 2px;
}

.electra-faq-item__icon::after {
	width: 2px;
	height: 100%;
	transition: transform 0.2s ease;
}

.electra-faq-item__toggle[aria-expanded='true'] .electra-faq-item__icon::after {
	transform: translate( -50%, -50% ) scaleY( 0 ); /* "+" collapses to "−" when open */
}

.electra-faq-item__body .electra-faq-item__answer {
	padding: 0 1.5rem 1.1rem;
	color: #666;
}

.electra-faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   MENU (Electra > Menus) — the Food/Drinks/Breakfast switch, section
   highlight boxes, and item tags. Same brand teal used throughout the
   plugin's own admin screens (electra-admin.css); defined again here as a
   plain color rather than a shared variable since this file is loaded on
   the front end only. */

.electra-menu-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 2px;
}

.electra-menu-switch__tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 8px 4px;
	margin-bottom: -2px;
	font-weight: 600;
	color: #6c757d;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.electra-menu-switch__tab:hover {
	color: #343a40;
}

.electra-menu-switch__tab.is-active {
	color: #7db0b1;
	border-bottom-color: #7db0b1;
}

.electra-menu-panel__subtitle {
	color: #7db0b1;
}

.electra-menu-section--highlight {
	background: #f7fafa;
	border: 1px solid #e3edee;
	border-radius: 10px;
	padding: 24px 24px 18px;
}

.electra-menu-item__title {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.electra-menu-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
	padding: 1px 8px;
	border-radius: 10px;
	background: #f1f1f1;
	color: #555;
	vertical-align: middle;
}

.electra-menu-tag--signature {
	background: #7db0b1;
	color: #fff;
}

.electra-menu-tag--featured {
	background: #eaf3f3;
	color: #4f8485;
}

.electra-menu-tag--badge {
	background: #343a40;
	color: #fff;
}

.electra-menu-tag--diet {
	background: #eef6ee;
	color: #2a7a2a;
}

.electra-menu-item__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 4px;
}

.electra-menu-item__addons {
	font-style: italic;
}

/* ==========================================================================
   ROOMS (templates/shortcode-rooms.php) — list/grid toggle + per-room image
   slideshow. List (one room per row, image left) is the default; the grid
   is a 1/2/3-column card layout. Same hover feel as the
   [electra_accommodations] cards: lifted shadow + slow image zoom. */

.electra-rooms {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 576px) {
	.electra-rooms--grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (min-width: 992px) {
	.electra-rooms--grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

.electra-rooms-toggle {
	gap: 0.25rem;
}

.electra-rooms-toggle__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid #d5d5d5;
	background: #fff;
	color: #6c757d;
	font-size: 0.875rem;
	font-weight: 400;
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.electra-rooms-toggle__btn:hover {
	color: #343a40;
	border-color: #b9b9b9;
}

.electra-rooms-toggle__btn.is-active {
	color: #fff;
	background: #7db0b1;
	border-color: #7db0b1;
}

.electra-room-card {
	overflow: hidden;
	padding: 15px;
	border-radius: 1rem !important;
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.1 );
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.electra-room-card:hover {
	box-shadow: 0 10px 28px rgba( 0, 0, 0, 0.22 );
	transform: translateY( -2px );
}

.electra-room-card__media {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	background: #eee;
	aspect-ratio: 4 / 3;
}

.electra-room-card__slides {
	position: absolute;
	inset: 0;
}

.electra-room-card__slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.electra-room-card__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.electra-room-card__slide img {
	display: block;
	width: 100%;
	height: 100% !important; /* see .electra-accommodation-card__image img */
	object-fit: cover;
	transition: transform 0.35s ease;
}

.electra-room-card:hover .electra-room-card__slide img {
	transform: scale( 1.06 );
}

/* Round prev/next buttons shared by the room-card slideshow, the room
   gallery and the lightbox. Flex-centred SVG chevron, so the arrow sits
   exactly in the middle of the circle (a text glyph never did). */
.electra-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: -1.375rem 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.92 );
	color: #1c3b6c;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.25 );
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.electra-nav svg {
	display: block;
	flex: none;
}

.electra-nav:hover {
	background: #7db0b1;
	color: #fff;
	transform: scale( 1.08 );
}

.electra-nav--prev {
	left: 0.9rem;
}

.electra-nav--next {
	right: 0.9rem;
}

.electra-room-card:hover .electra-nav,
.electra-gallery__stage:hover .electra-nav,
.electra-nav:focus-visible {
	opacity: 1;
}

/* Touch devices have no hover: keep the arrows visible there. */
@media (hover: none) {
	.electra-nav {
		opacity: 1;
	}
}

.electra-room-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.6rem;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	pointer-events: none;
}

.electra-room-slider__dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.55 );
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.electra-room-slider__dot.is-active {
	background: #fff;
	transform: scale( 1.25 );
}

.electra-room-card__body .card-title a {
	transition: color 0.2s ease;
}

/* List layout: image on the left, text on the right (stacked on phones). */
@media (min-width: 768px) {
	.electra-rooms--list .electra-room-card {
		flex-direction: row;
	}

	.electra-rooms--list .electra-room-card__media {
		flex: 0 0 48%;
		max-width: 48%;
		aspect-ratio: auto;
		min-height: 380px;
	}

	.electra-rooms--list .electra-room-card__body {
		padding: 1.5rem 1.75rem;
		justify-content: center;
	}

	.electra-rooms--list .electra-room-card__actions {
		justify-content: flex-end;
	}
}

.electra-room-card__sleeps {
	color: #555;
}

/* Fact blocks (area / sleeps / beds) on the room cards: a larger icon with the text beneath. */
.electra-room-card__body,
.electra-room-col {
	min-width: 0; /* lets the facts row scroll instead of widening the card */
}

.electra-room-card__facts::-webkit-scrollbar {
	display: none;
}

.electra-facts-wrap {
	position: relative;
	display: flow-root; /* keeps the facts row's top margin inside the wrap so the arrows line up */
}

.electra-facts-arrow {
	position: absolute;
	top: 1rem;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1c3b6c;
	box-shadow: 0 1px 6px rgba( 0, 0, 0, 0.3 );
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.electra-facts-arrow svg {
	width: 14px;
	height: 14px;
}

.electra-facts-arrow:hover {
	background: #7db0b1;
	color: #fff;
}

.electra-facts-arrow--prev {
	left: -6px;
}

.electra-facts-arrow--next {
	right: -6px;
}

.electra-facts-wrap.is-scrollable .electra-facts-arrow {
	display: flex;
}

.electra-facts-wrap .electra-facts-arrow[disabled] {
	display: none;
}

.electra-room-card__facts.is-draggable {
	cursor: grab;
}

.electra-room-card__facts.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.electra-room-card__facts {
	display: flex;
	max-width: 100%;
	flex-wrap: nowrap;
	gap: 0.75rem 1.5rem;
	margin-top: 1rem;
	padding: 0 0 0.35rem;
	overflow-x: auto;
	scrollbar-width: none; /* arrows instead of a scrollbar */
	scroll-behavior: smooth;
}

.electra-room-card__facts li {
	flex: 0 0 85px;
	width: 85px;
	max-width: 85px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.35rem;
	color: #555;
	font-size: 0.875rem;
	line-height: 1.3;
}

.electra-room-card__facts .electra-icon {
	width: 34px;
	height: 34px;
	color: #7db0b1;
}

.electra-room-card__facts .dashicons.electra-feature-icon {
	font-size: 34px;
	width: 34px;
	height: 34px;
}

.electra-room-card__facts img.electra-feature-icon {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

/* Fact lines on the single room page (icon beside text). */
.electra-fact {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: #555;
}

.electra-fact .electra-icon,
.electra-room-sleeps .electra-icon {
	flex: 0 0 auto;
	color: #7db0b1;
	margin-top: 0.1em;
}

.electra-room-sleeps p .electra-icon {
	vertical-align: -0.15em;
	margin-right: 0.25rem;
}

/* Card buttons: centred (grid / carousel / phones), right aligned in list view. */
.electra-room-card__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

/* Heavily qualified + !important so theme / Bootstrap button rules can't win. */
.electra-room-card .electra-room-card__actions a.btn.electra-btn-book,
.electra-room-card .electra-room-card__actions a.btn.electra-btn-book:visited {
	background: #1b3a6d !important;
	background-color: #1b3a6d !important;
	border: 1px solid #1b3a6d !important;
	color: #ffffff !important;
	text-decoration: none;
	box-shadow: none;
}

.electra-room-card .electra-room-card__actions a.btn.electra-btn-book:hover,
.electra-room-card .electra-room-card__actions a.btn.electra-btn-book:focus,
.electra-room-card .electra-room-card__actions a.btn.electra-btn-book:active {
	background: #142c53 !important;
	background-color: #142c53 !important;
	border-color: #142c53 !important;
	color: #ffffff !important;
}

/* Room page amenities / services: icon tiles first, then a check-mark list in 3 columns. */
.electra-feature-tiles {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0;
	margin: 0 0 1.25rem;
}

.electra-feature-tile {
	flex: 1 1 130px;
	max-width: 190px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.4rem;
	padding: 1.1rem 0.75rem;
	border-radius: 1rem;
	background: #fbfaf8;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.electra-feature-tile:hover {
	transform: translateY( -3px );
	background: #fff;
	box-shadow: 0 8px 20px rgba( 0, 0, 0, 0.09 );
}

.electra-feature-tile__icon {
	color: #7db0b1;
}

.dashicons.electra-feature-tile__icon {
	font-size: 34px;
	width: 34px;
	height: 34px;
}

img.electra-feature-tile__icon {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.electra-feature-tile__title {
	font-weight: 500;
	line-height: 1.25;
}

.electra-feature-tile__desc {
	font-size: 0.8rem;
	color: #6c757d;
	line-height: 1.3;
}

.electra-check-list {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 0.6rem 1.5rem;
	padding: 0;
	margin: 0;
}

.electra-check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.electra-check {
	flex: 0 0 auto;
	margin-top: 0.15em;
	color: #7db0b1;
}

@media (max-width: 991px) {
	.electra-check-list {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (max-width: 575px) {
	.electra-check-list {
		grid-template-columns: 1fr;
	}
}

/* Icons / uploaded images / SVGs of amenities and services. */
.electra-feature-icon {
	flex: 0 0 auto;
	color: #7db0b1;
}

.dashicons.electra-feature-icon {
	font-size: 22px;
	width: 22px;
	height: 22px;
}

img.electra-feature-icon {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.electra-service-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* "Other rooms" row at the bottom of the single room page: runs the full
   width of the browser window (it sits outside the page container), a
   single row of cards that scrolls/slides when they don't all fit. */
.electra-other-rooms {
	margin-top: 4rem;
	padding: 4rem clamp( 1rem, 3vw, 3rem ) 6rem;
	background: #f7f6f2;
}

.electra-other-rooms__title {
	margin: 0;
	padding-bottom: 3rem;
	text-align: center;
}

.electra-rooms-wrap[data-electra-rooms-carousel] {
	position: relative;
}

.electra-rooms--carousel {
	--electra-slides: 1;
	--electra-gap: 1.75rem;
	display: flex;
	gap: var( --electra-gap );
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	/* Vertical padding so the cards' lift/shadow isn't clipped by the
	   overflow, cancelled again with a negative margin. */
	padding: 1.25rem 0.25rem 2rem;
	margin: -1.25rem -0.25rem -2rem;
}

.electra-rooms--carousel::-webkit-scrollbar {
	display: none;
}

.electra-rooms--carousel .electra-room-col:first-child {
	margin-left: auto; /* with the last-child rule: centres the cards when they don't fill the row, without breaking scrolling when they overflow */
}

.electra-rooms--carousel .electra-room-col:last-child {
	margin-right: auto;
}

.electra-rooms--carousel .electra-room-col {
	flex: 0 0 calc( ( 100% - ( var( --electra-slides ) - 1 ) * var( --electra-gap ) ) / var( --electra-slides ) );
	scroll-snap-align: start;
	min-width: 0;
}

@media (min-width: 576px) {
	.electra-rooms--carousel {
		--electra-slides: 2;
	}
}

@media (min-width: 992px) {
	.electra-rooms--carousel {
		--electra-slides: 3;
	}
}

@media (min-width: 1400px) {
	.electra-rooms--carousel {
		--electra-slides: 4;
	}
}

.electra-rooms-wrap[data-electra-rooms-carousel] > .electra-nav {
	opacity: 1;
	top: 40%;
}

.electra-rooms-wrap[data-electra-rooms-carousel] > .electra-nav--prev {
	left: 0.75rem;
}

.electra-rooms-wrap[data-electra-rooms-carousel] > .electra-nav--next {
	right: 0.75rem;
}

.electra-rooms-wrap.is-static > .electra-nav,
.electra-rooms-wrap > .electra-nav[disabled] {
	display: none;
}

/* ==========================================================================
   ROOM GALLERY (single room page): autoplay slideshow, thumbnail strip,
   click-to-enlarge lightbox (assets/js/electra-gallery.js). */

.electra-gallery__stage {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee;
	border-radius: 1.5rem;
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.1 );
	transition: box-shadow 0.25s ease;
}

.electra-gallery__stage:hover {
	box-shadow: 0 10px 28px rgba( 0, 0, 0, 0.22 );
}

.electra-gallery__slide {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	opacity: 0;
	cursor: zoom-in;
	transition: opacity 0.7s ease;
}

.electra-gallery__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.electra-gallery__slide img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.electra-gallery__stage:hover .electra-gallery__slide.is-active img {
	transform: scale( 1.04 );
}

.electra-gallery__thumbs-wrap {
	position: relative;
	margin-top: 0.8rem;
	padding: 0 34px;
}

.electra-gallery__thumbs {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	overflow-x: auto;
	padding: 4px 2px;
	scrollbar-width: none;
}

.electra-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.electra-gallery__thumbs.is-scrollable {
	justify-content: flex-start;
}

.electra-thumbs-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1c3b6c;
	box-shadow: 0 1px 6px rgba( 0, 0, 0, 0.3 );
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.electra-thumbs-arrow svg {
	width: 14px;
	height: 14px;
}

.electra-thumbs-arrow:hover {
	background: #7db0b1;
	color: #fff;
}

.electra-thumbs-arrow--prev {
	left: 0;
}

.electra-thumbs-arrow--next {
	right: 0;
}

.electra-gallery__thumbs-wrap.is-scrollable .electra-thumbs-arrow {
	display: flex;
}

.electra-gallery__thumbs-wrap .electra-thumbs-arrow[disabled] {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.electra-gallery__thumb {
	flex: 0 0 auto;
	width: 84px;
	height: 60px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.6rem;
	overflow: hidden;
	background: #eee;
	opacity: 0.6;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.electra-gallery__thumb:hover {
	opacity: 1;
	transform: translateY( -2px );
}

.electra-gallery__thumb.is-active {
	opacity: 1;
	border-color: #7db0b1;
}

.electra-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Lightbox */
.electra-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba( 10, 14, 22, 0.92 );
}

.electra-lightbox.is-open {
	display: flex;
}

.electra-lightbox__figure {
	margin: 0;
	max-width: 92vw;
	text-align: center;
}

.electra-lightbox__img {
	display: block;
	max-width: 92vw;
	max-height: 82vh;
	margin: 0 auto;
	border-radius: 0.75rem;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.5 );
	user-select: none;
}

.electra-lightbox__caption {
	margin-top: 0.75rem;
	color: #e6e6e6;
	font-size: 0.9rem;
}

.electra-lightbox__count {
	position: absolute;
	top: 1.1rem;
	left: 1.25rem;
	color: #fff;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
}

.electra-lightbox .electra-nav {
	opacity: 1;
	position: fixed;
}

.electra-lightbox__close {
	position: absolute;
	top: 0.9rem;
	right: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.92 );
	color: #1c3b6c;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.electra-lightbox__close:hover {
	background: #7db0b1;
	color: #fff;
	transform: scale( 1.08 );
}

body.electra-lightbox-open {
	overflow: hidden;
}

/* ==========================================================================
   MENU polish: centred title/switch, dotted price leaders, section dividers,
   styled notes. */

.electra-menu__title {
	letter-spacing: 0.04em;
}

.electra-menu-switch {
	justify-content: center;
	gap: 1.75rem;
}

/* Item name ........ price */
.electra-menu-item__head {
	display: flex;
	align-items: baseline;
}

.electra-menu-item__leader {
	flex: 1 1 auto;
	min-width: 1.25rem;
	margin: 0 0.5rem;
	height: 0;
	border-bottom: 2px dotted #b9c9ca;
	position: relative;
	top: -0.2em;
}

.electra-menu-item__price {
	flex: 0 0 auto;
	white-space: nowrap;
	text-align: right;
	font-weight: 500;
	color: #2e9d9b;
}

/* Divider between sections: a hairline with a small diamond in the middle. */
.electra-menu-section {
	position: relative;
	padding-bottom: 2.75rem;
}

.electra-menu-section:last-of-type {
	padding-bottom: 1rem;
}

.electra-menu-section + .electra-menu-section:not(.electra-menu-section--highlight) {
	border-top: 1px solid #dfe9ea;
	padding-top: 2.75rem;
}

.electra-menu-section + .electra-menu-section:not(.electra-menu-section--highlight)::before {
	content: '';
	position: absolute;
	top: -5px;
	left: 50%;
	width: 9px;
	height: 9px;
	background: #7db0b1;
	transform: translateX( -50% ) rotate( 45deg );
}

.electra-menu-section--highlight {
	margin-bottom: 2.5rem;
	padding-bottom: 1.25rem;
}

.electra-menu-section--highlight + .electra-menu-section {
	margin-top: 0;
}

/* Section / menu notes: a soft callout rather than loose italic text. */
.electra-menu-note {
	display: block;
	margin: 1.5rem 0 0;
	padding: 0.7rem 1rem 0.7rem 1.1rem;
	border-left: 3px solid #7db0b1;
	border-radius: 0 0.5rem 0.5rem 0;
	background: #f2f8f8;
	color: #4a5b5c;
	font-size: 0.875rem;
	line-height: 1.5;
}

.electra-menu-section__addons {
	margin-top: 1rem;
}

/* Room page breadcrumb: a soft pill with chevron separators. */
.electra-room-breadcrumb {
	margin-bottom: 1.75rem;
}

.electra-room-breadcrumb ol {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0.45rem 1rem;
	background: #f3f1ec;
	border-radius: 999px;
	font-size: 0.875rem;
}

.electra-room-breadcrumb li {
	display: inline-flex;
	align-items: center;
	color: #6c757d;
}

.electra-room-breadcrumb li + li::before {
	content: '';
	width: 6px;
	height: 6px;
	margin: 0 0.6rem;
	border-top: 1.5px solid #a8a59c;
	border-right: 1.5px solid #a8a59c;
	transform: rotate( 45deg );
}

.electra-room-breadcrumb a {
	color: #2e6f70;
	text-decoration: none;
}

.electra-room-breadcrumb a:hover {
	text-decoration: underline;
}

.electra-room-breadcrumb li[aria-current] {
	color: #343a40;
	font-weight: 500;
}

/* Room page: more air between sections, each with a title. */
.electra-room-section {
	margin-bottom: 4rem;
}

.electra-room-section__title {
	margin: 0 0 1.25rem;
}

/* Collapsible enquiry form in the room sidebar. */
.electra-enquiry {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e3e1db;
}

.electra-enquiry__summary {
	cursor: pointer;
	font-weight: 500;
	color: #1b3a6d;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.electra-enquiry__summary::-webkit-details-marker {
	display: none;
}

.electra-enquiry__summary::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate( 45deg );
	transition: transform 0.2s ease;
}

.electra-enquiry[open] > .electra-enquiry__summary::after {
	transform: rotate( 225deg );
}

.electra-enquiry__body {
	margin-top: 1rem;
}

.electra-enquiry__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.electra-bed-or {
	color: #7db0b1;
	font-weight: 500;
}

/* Accommodation location: tall OpenStreetMap with an expand option. */
.electra-osm__frame {
	position: relative;
	aspect-ratio: 4 / 3;
	max-height: 300px;
	width: 100%;
	border-radius: 1rem;
	overflow: hidden;
	background: #eee;
}

.electra-osm__map {
	width: 100%;
	height: 100%;
	z-index: 0;
}

/* Animated marker: the pin bobs gently, with a pulsing ring on the ground beneath it. */
.electra-pin {
	background: none;
	border: 0;
}

.electra-pin__shape {
	position: absolute;
	left: 0;
	top: 0;
	filter: drop-shadow( 0 3px 3px rgba( 0, 0, 0, 0.35 ) );
	animation: electra-pin-bob 1.8s ease-in-out infinite;
	transform-origin: 50% 100%;
}

.electra-pin__pulse {
	position: absolute;
	left: 19px;
	top: 47px;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: rgba( 27, 58, 109, 0.45 );
	animation: electra-pin-pulse 1.8s ease-out infinite;
}

@keyframes electra-pin-bob {
	0%, 100% { transform: translateY( 0 ); }
	50% { transform: translateY( -7px ); }
}

@keyframes electra-pin-pulse {
	0% { transform: scale( 0.6 ); opacity: 0.9; }
	100% { transform: scale( 3.2 ); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.electra-pin__shape,
	.electra-pin__pulse {
		animation: none;
	}
}

.electra-osm__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.6rem;
}

.electra-osm__close {
	display: none;
}

.electra-osm.is-expanded .electra-osm__frame {
	position: fixed;
	inset: 4vh 4vw;
	z-index: 100001;
	max-height: none;
	aspect-ratio: auto;
	width: auto;
	box-shadow: 0 0 0 100vmax rgba( 0, 0, 0, 0.7 );
}

.electra-osm.is-expanded .electra-osm__close {
	display: block;
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #222;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.3 );
}

.electra-osm__expand {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 1rem;
	border: 1px solid #7db0b1;
	border-radius: 999px;
	background: #fff;
	color: #2e6f70;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.electra-osm__expand:hover,
.electra-osm__expand:focus {
	background: #7db0b1;
	color: #fff;
}

/* Accommodation: description left, narrower info column right, wider gap between. */
@media (min-width: 992px) {
	.row.electra-accommodation-top {
		--bs-gutter-x: 6rem;
	}
}

.electra-times li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid #e3e1db;
}

.electra-times li:first-child {
	border-top: 1px solid #e3e1db;
}

.electra-accommodation-logo img {
	display: block;
	height: 80px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	margin-left: auto;
	margin-right: auto;
}

/* Spacing between the stacked sections of the accommodation info column. */
.electra-accommodation-logo,
.electra-accommodation-times {
	margin-bottom: 3rem;
}

/* Recoloured (masked) catalogue icons: any single-colour SVG/PNG takes the accent colour. */
.electra-feature-icon--mask {
	display: inline-block;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: var( --electra-icon ) center / contain no-repeat;
	mask: var( --electra-icon ) center / contain no-repeat;
}

.electra-feature-tile__icon--mask {
	width: 60px;
	height: 60px;
}

.electra-room-card__facts .electra-feature-icon--mask {
	width: 34px;
	height: 34px;
}

/* 360° view embed: responsive 16:9 box. */
.electra-360 {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 1rem;
	background: #eee;
}

.electra-360 iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}
