:root {
	--mv-text: #171717;
	--mv-muted: #666f75;
	--mv-border: #e7e2dc;
	--mv-soft: #f7f4ef;
	--mv-accent: #df4f45;
	--mv-accent-dark: #b83a32;
	--mv-tropical: #008f8a;
	--mv-sun: #f7b84b;
	--mv-shadow: 0 18px 45px rgba(23, 23, 23, 0.12);
	--mv-radius: 20px;
	--mv-max: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--mv-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(231, 226, 220, 0.85);
	backdrop-filter: blur(16px);
}

.header-inner {
	width: min(100% - 32px, var(--mv-max));
	min-height: 78px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto minmax(260px, 460px) auto;
	align-items: center;
	gap: 22px;
}

.brand,
.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: 0;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: var(--mv-tropical);
	color: #fff;
}

.brand-text {
	white-space: nowrap;
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.nav-menu,
.primary-nav .menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu a,
.primary-nav a {
	color: #222;
	font-size: 14px;
	font-weight: 650;
}

.primary-nav .nav-menu > li:last-child > a,
.primary-nav .nav-menu > a:last-child {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--mv-text);
	color: #fff;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--mv-border);
	border-radius: 999px;
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
}

.menu-toggle span:not(.screen-reader-text) {
	width: 18px;
	height: 2px;
	background: var(--mv-text);
}

.mobile-menu {
	display: none;
	width: min(100% - 32px, var(--mv-max));
	margin: 0 auto 16px;
	padding: 10px;
	border: 1px solid var(--mv-border);
	border-radius: var(--mv-radius);
	background: #fff;
	box-shadow: var(--mv-shadow);
}

.mobile-menu a {
	display: block;
	padding: 15px 12px;
	border-radius: 14px;
	font-weight: 750;
}

.mobile-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu a:hover {
	background: var(--mv-soft);
}

.section-wrap {
	width: min(100% - 32px, var(--mv-max));
	margin: 0 auto;
}

.hero {
	position: relative;
	min-height: 680px;
	display: grid;
	align-items: end;
	padding: 90px 16px 48px;
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
}

.hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.05));
}

.hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	position: relative;
	z-index: 1;
	width: min(100%, var(--mv-max));
	margin: 0 auto;
	color: #fff;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--mv-tropical);
	font-size: 13px;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hero .eyebrow {
	color: #9ef5ef;
}

h1,
h2,
h3,
p {
	overflow-wrap: anywhere;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.08;
	letter-spacing: 0;
}

h1 {
	max-width: 760px;
	font-size: clamp(44px, 7vw, 82px);
}

h2 {
	font-size: clamp(30px, 4vw, 48px);
}

h3 {
	font-size: 21px;
}

.hero-content > p:not(.eyebrow) {
	max-width: 610px;
	margin: 18px 0 28px;
	font-size: 20px;
}

.stay-search {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
	gap: 8px;
	align-items: end;
	max-width: 1040px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--mv-shadow);
	color: var(--mv-text);
}

.stay-search label {
	display: grid;
	gap: 4px;
	padding: 8px 14px;
	border-right: 1px solid var(--mv-border);
}

.stay-search label span:first-child {
	font-size: 12px;
	font-weight: 800;
}

.stay-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	color: var(--mv-text);
}

.stay-search.is-compact {
	grid-template-columns: 1fr 1fr 1fr auto;
	max-width: 100%;
	padding: 6px;
	border-color: var(--mv-border);
	box-shadow: 0 8px 28px rgba(23, 23, 23, 0.08);
}

.stay-search.is-compact .guest-control {
	display: none;
}

.search-submit,
.primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--mv-accent);
	color: #fff;
	font-weight: 850;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease;
}

.search-submit:hover,
.primary-button:hover {
	background: var(--mv-accent-dark);
	transform: translateY(-1px);
}

.guest-stepper {
	display: grid;
	grid-template-columns: 30px minmax(34px, 1fr) 30px;
	align-items: center;
	gap: 4px;
}

.guest-stepper button {
	width: 30px;
	height: 30px;
	border: 1px solid var(--mv-border);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin: 76px 0 28px;
}

.text-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mv-accent-dark);
	font-weight: 850;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.listing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.listing-card {
	overflow: hidden;
	border: 1px solid var(--mv-border);
	border-radius: var(--mv-radius);
	background: #fff;
	box-shadow: 0 12px 30px rgba(23, 23, 23, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.listing-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mv-shadow);
}

.listing-card-media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--mv-soft);
}

.listing-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.listing-card:hover img {
	transform: scale(1.04);
}

.listing-card-body {
	padding: 18px;
}

.listing-location {
	margin: 0 0 8px;
	color: var(--mv-muted);
	font-size: 14px;
	font-weight: 750;
}

.listing-card-body p {
	color: var(--mv-muted);
}

.listing-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 14px 0;
	padding: 0;
	color: var(--mv-muted);
	font-size: 14px;
	list-style: none;
}

.listing-specs.large {
	font-size: 16px;
}

.listing-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--mv-border);
}

.chip-row {
	display: flex;
	gap: 10px;
	padding: 26px 0 4px;
	overflow-x: auto;
}

.filter-chip {
	flex: 0 0 auto;
	padding: 12px 18px;
	border: 1px solid var(--mv-border);
	border-radius: 999px;
	background: #fff;
	color: var(--mv-text);
	font-weight: 750;
	cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
	border-color: var(--mv-text);
	background: var(--mv-text);
	color: #fff;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.feature-item,
.highlight-card,
.sleep-card,
.post-card {
	padding: 22px;
	border: 1px solid var(--mv-border);
	border-radius: var(--mv-radius);
	background: #fff;
}

.feature-item span,
.highlight-card span {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(0, 143, 138, 0.1);
	color: var(--mv-tropical);
	font-weight: 900;
}

.image-story {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 38px;
	align-items: center;
	padding: 90px 0;
}

.story-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	grid-template-rows: 210px 210px;
	gap: 12px;
}

.story-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--mv-radius);
}

.story-grid img:first-child {
	grid-row: span 2;
}

.story-copy p:not(.eyebrow) {
	color: var(--mv-muted);
	font-size: 18px;
}

.cta-band {
	width: min(100% - 32px, var(--mv-max));
	margin: 0 auto 86px;
	padding: 44px;
	border-radius: 28px;
	background: #132f2d;
	color: #fff;
	text-align: center;
}

.cta-band h2 {
	margin-bottom: 22px;
}

.motopress-shortcode {
	margin-top: 26px;
	color: var(--mv-text);
}

.site-footer {
	background: #111;
	color: #fff;
}

.footer-inner {
	width: min(100% - 32px, var(--mv-max));
	margin: 0 auto;
	padding: 46px 0;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 32px;
}

.footer-inner p {
	max-width: 430px;
	color: rgba(255, 255, 255, 0.68);
}

.footer-nav,
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 16px;
}

.footer-bottom {
	width: min(100% - 32px, var(--mv-max));
	margin: 0 auto;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

.floating-search {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 40;
	display: none;
	transform: translateX(-50%);
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--mv-text);
	color: #fff;
	font-weight: 850;
	box-shadow: var(--mv-shadow);
}

.page-hero,
.archive-hero {
	padding: 80px 0 26px;
}

.archive-hero .stay-search {
	margin-top: 24px;
}

.standard-content,
.post-list {
	max-width: 860px;
	padding: 34px 0 86px;
}

.entry-content a {
	color: var(--mv-accent-dark);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.listing-hero {
	padding-top: 36px;
}

.listing-title-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}

.listing-actions {
	display: flex;
	gap: 10px;
}

.listing-actions button {
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--mv-border);
	border-radius: 999px;
	background: #fff;
	font-weight: 750;
	cursor: pointer;
}

.photo-grid {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 210px 210px;
	gap: 8px;
	overflow: hidden;
	border-radius: 24px;
}

.photo-tile {
	position: relative;
	padding: 0;
	border: 0;
	background: var(--mv-soft);
	cursor: pointer;
	overflow: hidden;
}

.photo-tile.is-featured {
	grid-row: span 2;
}

.photo-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.photo-tile:hover img {
	transform: scale(1.03);
}

.show-photos {
	position: absolute;
	right: 16px;
	bottom: 16px;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--mv-text);
	border-radius: 999px;
	background: #fff;
	font-weight: 850;
	cursor: pointer;
}

.listing-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 52px;
	padding: 44px 0 90px;
}

.host-summary,
.content-section {
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--mv-border);
}

.hosted-by {
	color: var(--mv-muted);
	font-weight: 750;
}

.highlight-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 34px;
}

.amenities-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	list-style: none;
}

.amenities-grid li,
.rules-list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--mv-border);
}

.map-placeholder {
	display: grid;
	place-items: center;
	min-height: 260px;
	border-radius: var(--mv-radius);
	background: linear-gradient(135deg, #e8f6f4, #fff4dc);
	color: var(--mv-text);
	font-weight: 850;
}

.listing-map {
	width: 100%;
	min-height: 320px;
	border: 0;
	border-radius: var(--mv-radius);
	background: var(--mv-soft);
}

.faq details {
	padding: 18px 0;
	border-bottom: 1px solid var(--mv-border);
}

.faq summary {
	cursor: pointer;
	font-weight: 850;
}

.booking-card {
	position: sticky;
	top: 104px;
	align-self: start;
	padding: 22px;
	border: 1px solid var(--mv-border);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--mv-shadow);
}

.booking-price {
	margin-bottom: 16px;
	font-size: 22px;
}

.booking-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 14px;
}

.booking-fields label:last-child {
	grid-column: 1 / -1;
}

.booking-fields label {
	display: grid;
	gap: 6px;
	color: var(--mv-muted);
	font-size: 13px;
	font-weight: 800;
}

.booking-fields input {
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--mv-border);
	border-radius: 12px;
}

.booking-shortcode {
	margin: 16px 0;
}

.full {
	width: 100%;
	margin-top: 10px;
}

.gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	padding: 28px;
	background: rgba(0, 0, 0, 0.88);
}

.gallery-modal.is-open {
	display: grid;
	place-items: center;
}

.gallery-modal img {
	max-height: 84vh;
	border-radius: 18px;
}

.gallery-modal button {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	font-size: 26px;
	cursor: pointer;
}

@media (max-width: 1060px) {
	.header-inner {
		grid-template-columns: auto 1fr auto;
	}

	.desktop-search {
		display: none;
	}

	.primary-nav {
		display: none;
	}

	.menu-toggle {
		display: flex;
		justify-self: end;
	}

	.mobile-menu.is-open {
		display: block;
	}
}

@media (max-width: 900px) {
	.hero {
		min-height: 640px;
	}

	.stay-search,
	.stay-search.is-compact {
		grid-template-columns: 1fr 1fr;
		border-radius: 24px;
	}

	.stay-search label {
		border-right: 0;
		border-bottom: 1px solid var(--mv-border);
	}

	.search-submit {
		grid-column: 1 / -1;
		width: 100%;
	}

	.listing-grid,
	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.image-story,
	.footer-inner,
	.listing-layout {
		grid-template-columns: 1fr;
	}

	.booking-card {
		position: static;
	}

	.highlight-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-nav,
	.footer-menu {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.header-inner {
		width: min(100% - 22px, var(--mv-max));
		min-height: 66px;
	}

	.brand-text {
		max-width: 160px;
		white-space: normal;
		line-height: 1.1;
	}

	.hero {
		min-height: 640px;
		padding: 76px 12px 28px;
	}

	h1 {
		font-size: 43px;
	}

	.hero-content > p:not(.eyebrow) {
		font-size: 17px;
	}

	.stay-search,
	.stay-search.is-compact {
		grid-template-columns: 1fr;
	}

	.listing-grid,
	.feature-grid,
	.highlight-grid,
	.amenities-grid {
		grid-template-columns: 1fr;
	}

	.section-heading,
	.listing-title-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.story-grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(3, 180px);
	}

	.story-grid img:first-child {
		grid-row: auto;
	}

	.cta-band {
		padding: 30px 18px;
	}

	.photo-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 250px 130px 130px;
	}

	.photo-tile.is-featured {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.booking-fields {
		grid-template-columns: 1fr;
	}

	.floating-search {
		display: inline-flex;
	}
}

/* ── Admin: amenity toggle grid ───────────────────────────────────────── */
.mv-amenity-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 8px;
	margin-bottom: 16px;
}

.mv-amenity-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	user-select: none;
	background: #fff;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
}

.mv-amenity-item:hover {
	border-color: #aaa;
	background: #fafafa;
}

.mv-amenity-item.is-checked {
	border-color: #2271b1;
	background: #f0f6fc;
}

.mv-amenity-tick {
	margin-left: auto;
	color: #2271b1;
	font-weight: 700;
	font-size: 14px;
	opacity: 0;
	transition: opacity 0.15s;
}

.mv-amenity-item.is-checked .mv-amenity-tick {
	opacity: 1;
}

.mv-amenity-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #555;
	flex-shrink: 0;
}

.mv-amenity-item.is-checked .dashicons {
	color: #2271b1;
}
