.motel-ew-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 48px 24px;
	min-height: 520px;
	color: #fff;
}

.motel-ew-overlay {
	position: absolute;
	inset: 0;
	background: rgba(5, 10, 30, 0.55);
}

.motel-ew-inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.motel-ew-title {
	font-size: 44px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 20px;
	padding: 0 30px;
}

.motel-ew-slider {
	position: relative;
	overflow: hidden;
}

.motel-ew-track {
	display: flex;
	gap: 18px;
	will-change: transform;
}

.motel-ew-slide {
	position: relative;
	flex: 0 0 calc((100% - 36px) / 3);
	max-width: calc((100% - 36px) / 3);
	min-width: 0;
}

.motel-ew-slide-media {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	border-radius: inherit;
	overflow: hidden;
}

.motel-ew-slide img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
}

.motel-ew-reserve-btn {
	position: absolute;
	left: 14px;
	bottom: 14px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	padding: 10px 16px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
}

.motel-ew-hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: rgba(10, 15, 30, .45);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 3;
	padding: 0 !important;
	backdrop-filter: blur(4px);
	transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.motel-ew-hero-nav.is-hidden {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.motel-ew-hero-nav:hover {
	background: rgba(10, 15, 30, .82);
	transform: translateY(-50%) scale(1.04);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.motel-ew-hero-nav svg {
	width: 24px;
	height: 24px;
	display: block;
	fill: currentColor;
}

.motel-ew-hero-nav.prev { left: 12px; }
.motel-ew-hero-nav.next { right: 12px; }

.motel-ew-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 100000;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.motel-ew-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.motel-ew-lightbox img {
	max-width: min(1280px, 96vw);
	max-height: 92vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.motel-ew-lightbox-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.motel-ew-grid {
	display: grid;
	gap: 16px;
}

.motel-ew-grid.columns-1 { grid-template-columns: 1fr; }
.motel-ew-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.motel-ew-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.motel-ew-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.motel-ew-card-reserve {
	display: inline-block;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 10px 16px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
}

.motel-ew-booking-form {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 1080px;
	padding: 14px;
	background: rgba(9, 13, 24, .42);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 12px;
}

.motel-ew-field label,
.motel-ew-suite-select span {
	display: block;
	color: #fff;
	margin-bottom: 8px;
	font-weight: 700;
}

.motel-ew-field {
	flex: 1 1 260px;
	min-width: 220px;
}

.motel-ew-field input,
.motel-ew-suite-select select {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 8px;
	background: rgba(255, 255, 255, .96);
	color: #0f1220;
	font-size: 18px;
}

.motel-ew-btn {
	background: #000;
	color: #fff;
	border: 0;
	padding: 14px 24px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	min-height: 52px;
	letter-spacing: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

.motel-ew-btn:hover {
	transform: translateY(-1px);
	opacity: .92;
}

.motel-ew-booking-form .motel-ew-btn {
	flex: 0 0 auto;
}

.motel-ew-availability {
	display: grid;
	grid-template-columns: 1.3fr .7fr;
	gap: 24px;
	align-items: start;
}

.motel-ew-availability-main h2 {
	margin-top: 0;
	font-size: 46px;
	text-transform: uppercase;
}

.motel-ew-availability-meta {
	margin: 0 0 14px;
	color: #fff;
	font-weight: 700;
}

.motel-ew-periods {
	display: grid;
	gap: 10px;
	margin-bottom: 14px;
}

.motel-ew-period {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255,255,255,.85);
	padding: 12px;
	font-weight: 700;
}

.motel-ew-description {
	margin-top: 22px;
	background: rgba(255,255,255,.9);
	color: #111;
	padding: 14px;
}

.motel-ew-availability-side img {
	width: 100%;
	height: auto;
	display: block;
}

.motel-ew-availability-v2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, .44fr);
	gap: 26px;
	align-items: start;
}


.motel-ew-av-main {
	display: grid;
	gap: 18px;
}

.motel-ew-av-title {
	margin: 0;
	font-size: 56px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.motel-ew-av-periods {
	display: grid;
	gap: 10px;
}

.motel-ew-av-period {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: rgba(255, 255, 255, .9);
	padding: 14px 16px;
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
}

.motel-ew-av-period span {
	opacity: .95;
}

.motel-ew-av-period strong {
	color: inherit;
	font-weight: 800;
}

.motel-ew-period-options {
	display: grid;
	gap: 10px;
	margin-bottom: 10px;
}

.motel-ew-period-radio {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.motel-ew-period-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	background: rgba(255, 255, 255, .9);
	color: #111;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, .24);
	transition: all .2s ease;
}

.motel-ew-period-choice-label {
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.motel-ew-period-choice-price {
	font-size: 20px;
	font-weight: 800;
}

.motel-ew-period-radio:checked + .motel-ew-period-choice {
	background: #0c0f15;
	color: #fff;
	border-color: #0c0f15;
}

.motel-ew-suite-options {
	display: grid;
	gap: 10px;
	margin-bottom: 14px;
}

.motel-ew-suite-radio {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.motel-ew-suite-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	background: rgba(255, 255, 255, .85);
	color: #111;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, .22);
	transition: all .2s ease;
}

.motel-ew-suite-card:hover {
	transform: translateY(-1px);
	border-color: rgba(0, 0, 0, .38);
}

.motel-ew-suite-name {
	font-size: 22px;
	font-weight: 700;
}

.motel-ew-suite-price {
	font-size: 20px;
	font-weight: 800;
}

.motel-ew-suite-radio:checked + .motel-ew-suite-card {
	background: #0c0f15;
	color: #fff;
	border-color: #0c0f15;
}

.motel-ew-suite-empty {
	background: rgba(0, 0, 0, .08);
	padding: 14px;
	font-weight: 700;
}

.motel-ew-av-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
}

.motel-ew-av-description {
	background: rgba(255, 255, 255, .9);
	padding: 18px;
	color: #111;
}

.motel-ew-period-choice.is-disabled {
	opacity: .45;
	cursor: not-allowed;
	pointer-events: none;
}

.motel-ew-booking-step[hidden] {
	display: none !important;
}

.motel-ew-exp-header h3 {
	margin: 14px 0 4px;
	font-size: 30px;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .8px;
}

.motel-ew-exp-list {
	display: grid;
	gap: 16px;
	margin: 10px 0 16px;
}

.motel-ew-exp-card {
	display: grid;
	grid-template-columns: 28px minmax(140px, 220px) minmax(0, 1fr) 96px;
	gap: 14px;
	align-items: center;
	background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,252,.96));
	padding: 12px;
	border: 1px solid rgba(10, 20, 40, .16);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(4, 12, 28, .08);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.motel-ew-exp-card:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 22px rgba(4, 12, 28, .12);
	border-color: rgba(10, 20, 40, .28);
}

.motel-ew-exp-card.is-selected {
	border-color: rgba(12, 15, 21, .75);
	box-shadow: 0 14px 26px rgba(3, 9, 21, .18);
	transform: translateY(-1px);
}

.motel-ew-exp-card > input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: #121827;
}

.motel-ew-exp-thumb {
	position: relative;
	display: block;
	width: 100%;
	height: 180px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(225, 232, 244, .65);
}

.motel-ew-exp-thumb-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .45s ease;
}

.motel-ew-exp-thumb-image.is-active {
	opacity: 1;
}

.motel-ew-exp-body {
	display: grid;
	gap: 6px;
}

.motel-ew-exp-title {
	font-size: 29px;
	line-height: 1.05;
	text-transform: uppercase;
}

.motel-ew-exp-desc {
	font-size: 17px;
	line-height: 1.32;
	color: #2b3342;
}

.motel-ew-exp-price {
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.motel-ew-exp-qty {
	width: 92px;
	min-height: 46px;
	padding: 8px 10px;
	border: 1px solid rgba(6, 14, 30, .28);
	border-radius: 10px;
	background: #fff;
	font-size: 18px;
	font-weight: 700;
}

.motel-ew-exp-qty:disabled {
	opacity: .5;
	cursor: not-allowed;
	background: rgba(240, 243, 248, .95);
}

.motel-ew-exp-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}

@media (max-width: 1024px) {
	.motel-ew-slide {
		flex-basis: calc((100% - 18px) / 2);
		max-width: calc((100% - 18px) / 2);
	}

	.motel-ew-exp-card {
		grid-template-columns: 24px 120px minmax(0, 1fr) 88px;
	}
	.motel-ew-exp-title {
		font-size: 24px;
	}
	.motel-ew-exp-price {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	.motel-ew-exp-card {
		grid-template-columns: 24px 1fr;
		grid-template-areas:
			"check body"
			"thumb thumb"
			"qty qty";
	}
	.motel-ew-exp-card > input[type="checkbox"] {
		grid-area: check;
		align-self: start;
		margin-top: 4px;
	}
	.motel-ew-exp-thumb {
		grid-area: thumb;
	}
	.motel-ew-exp-body {
		grid-area: body;
	}
	.motel-ew-exp-qty {
		grid-area: qty;
		width: 100%;
	}
}

.motel-ew-av-description p {
	margin-top: 0;
}

.motel-ew-av-side {
	position: relative;
}

.motel-ew-av-media {
	background: rgba(255, 255, 255, .9);
	overflow: hidden;
	min-height: 360px;
}

.motel-ew-av-media img,
.motel-ew-av-video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.motel-ew-av-video-wrap,
.motel-ew-av-video-wrap iframe {
	width: 100%;
	height: 100%;
	min-height: 360px;
	display: block;
}

.motel-ew-home-slider {
	position: relative;
	height: 430px;
	overflow: hidden;
	--motel-cols-desktop: 3;
	--motel-cols-mobile: 1;
	--motel-cols: var(--motel-cols-desktop);
}

.motel-ew-room-grid {
	display: grid;
	grid-template-columns: repeat(var(--motel-room-cols-desktop, 2), minmax(0, 1fr));
	gap: 16px;
}

.motel-ew-room-card {
	position: relative;
	display: block;
	height: 170px;
	overflow: hidden;
	text-decoration: none;
}

.motel-ew-room-bg,
.motel-ew-room-overlay {
	position: absolute;
	inset: 0;
}

.motel-ew-room-bg {
	background-size: cover;
	background-position: center;
	transform: scale(1);
	transition: transform .35s ease;
}

.motel-ew-room-overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, .2));
}

.motel-ew-room-title {
	position: absolute;
	left: 14px;
	top: 10px;
	z-index: 2;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.05;
}

.motel-ew-room-card:hover .motel-ew-room-bg {
	transform: scale(1.05);
}

.motel-ew-home-track {
	position: relative;
	display: flex;
	height: 100%;
	gap: 16px;
	--motel-gap: 16px;
	transition: transform .45s ease;
	will-change: transform;
}

.motel-ew-home-slide {
	position: relative;
	height: 100%;
	flex: 0 0 calc((100% - (var(--motel-gap) * (var(--motel-cols) - 1))) / var(--motel-cols));
	overflow: hidden;
}

.motel-ew-home-image-link,
.motel-ew-home-bg,
.motel-ew-home-overlay {
	position: absolute;
	inset: 0;
}

.motel-ew-home-bg {
	background-size: cover;
	background-position: center;
}

.motel-ew-home-overlay {
	background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,.15));
}

.motel-ew-home-title {
	position: absolute;
	top: 18px;
	left: 22px;
	z-index: 2;
	margin: 0;
	padding: 8px 14px;
	background: rgba(0,0,0,.45);
	color: #fff;
	font-size: 42px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 4px;
}

.motel-ew-home-reserve {
	position: absolute;
	left: 22px;
	bottom: 20px;
	z-index: 2;
}

.motel-ew-home-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: rgba(10, 15, 30, .45);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 3;
	backdrop-filter: blur(4px);
	transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
	text-decoration: none;
	user-select: none;
}

.motel-ew-home-nav.is-hidden {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.motel-ew-home-nav:hover {
	background: rgba(10, 15, 30, .82);
	transform: translateY(-50%) scale(1.04);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.motel-ew-home-nav svg {
	width: 24px;
	height: 24px;
	display: block;
	fill: currentColor;
}

.motel-ew-home-nav.prev { left: 12px; }
.motel-ew-home-nav.next { right: 12px; }

@media (max-width: 767px) {
	.motel-ew-slide {
		flex-basis: 100%;
		max-width: 100%;
	}

	.motel-ew-availability {
		grid-template-columns: 1fr;
	}

	.motel-ew-availability-v2 {
		grid-template-columns: 1fr;
	}

	.motel-ew-title,
	.motel-ew-availability-main h2 {
		font-size: 30px;
	}

	.motel-ew-av-title {
		font-size: 34px;
	}

	.motel-ew-av-period,
	.motel-ew-suite-name,
	.motel-ew-suite-price {
		font-size: 18px;
	}

	.motel-ew-period-choice-label,
	.motel-ew-period-choice-price {
		font-size: 18px;
	}

	.motel-ew-grid.columns-2,
	.motel-ew-grid.columns-3,
	.motel-ew-grid.columns-4 {
		grid-template-columns: 1fr;
	}

	.motel-ew-booking-form {
		align-items: stretch;
	}

	.motel-ew-booking-form .motel-ew-btn,
	.motel-ew-field {
		flex: 1 1 100%;
		min-width: 0;
	}

	.motel-ew-home-slider {
		--motel-cols: var(--motel-cols-mobile);
	}

	.motel-ew-room-grid {
		grid-template-columns: repeat(var(--motel-room-cols-mobile, 1), minmax(0, 1fr));
	}

	.motel-ew-home-title {
		font-size: 24px;
		letter-spacing: 2px;
	}
}
