/**
 * Tampilan depan Listing Villa.
 * Lebar konten 900px. Aksen oranye #FF6210.
 * Plus Jakarta Sans © 2020 The Plus Jakarta Sans Project Authors (OFL).
 */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
}

.lv-page {
	--lv-teal: #ff6210;
	--lv-teal-dark: #e5550c;
	--lv-ink: #1b2421;
	--lv-muted: #5e6a65;
	--lv-soft: #7b8681;
	--lv-line: #e5ebe7;
	--lv-bg: #f3f5f4;
	--lv-card: #ffffff;
	--lv-sand: #f6f1e8;
	--lv-shadow: 0 1px 2px rgba(20, 40, 35, 0.04), 0 10px 28px rgba(20, 40, 35, 0.05);
	background: var(--lv-bg);
	color: var(--lv-ink);
	font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: 28px 20px 72px;
}

body.lv-view {
	overflow-x: clip;
}

.lv-page *,
.lv-page *::before,
.lv-page *::after {
	box-sizing: border-box;
}

.lv-wrap {
	max-width: 900px;
	margin: 0 auto;
}

.lv-page h1,
.lv-page h2,
.lv-page h3,
.lv-page p {
	font-family: inherit;
}

.lv-page a {
	color: inherit;
	text-decoration: none;
}

.lv-page img {
	max-width: 100%;
	height: auto;
	display: block;
}

.lv-page button,
.lv-page input,
.lv-page select {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.lv-page a:focus-visible,
.lv-page button:focus-visible,
.lv-page select:focus-visible {
	outline: 2px solid var(--lv-teal);
	outline-offset: 2px;
}

.lv-title,
.lv-list-head h1 {
	margin: 0;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--lv-ink);
}

/* Tema sering mengosongkan margin h1. Jarak judul–foto ada di galeri,
   dengan !important agar tidak tertimpa reset heading. */
.lv-page .lv-single > h1.lv-title {
	margin-bottom: 0 !important;
}

.lv-page .lv-single > .lv-gallery {
	margin-top: 18px !important;
}

.lv-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	color: var(--lv-soft);
	font-size: 13px;
}

.lv-crumb a:hover {
	color: var(--lv-teal);
}

.lv-crumb-current {
	color: var(--lv-muted);
}

.lv-list-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 4px;
}

.lv-count {
	margin: 0;
	color: var(--lv-muted);
	font-size: 14px;
	white-space: nowrap;
}

.lv-filter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 14px;
	align-items: end;
	background: var(--lv-card);
	border: 1px solid var(--lv-line);
	border-radius: 16px;
	padding: 16px;
	margin: 16px 0 18px;
	box-shadow: var(--lv-shadow);
}

.lv-filter label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--lv-ink);
}

.lv-filter select {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 36px 0 12px;
	border: 1px solid #e1e6e3;
	border-radius: 10px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235e6a65' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	color: var(--lv-ink);
	font-size: 14px;
	appearance: none;
	box-shadow: none;
}

.lv-btn,
.lv-page button.lv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	background: var(--lv-teal);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.lv-btn:hover,
.lv-page button.lv-btn:hover {
	background: var(--lv-teal-dark);
	color: #fff;
}

.lv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.lv-card {
	background: var(--lv-card);
	border: 1px solid var(--lv-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--lv-shadow);
	margin: 0;
	min-width: 0;
}

.lv-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
}

.lv-card-media {
	aspect-ratio: 16 / 10;
	background: #dce7e4;
	overflow: hidden;
}

.lv-card-media,
.lv-page .lv-card .lv-card-media img,
.lv-card-fallback {
	margin: 0 !important;
}

.lv-card-media img,
.lv-card-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lv-card-fallback {
	display: block;
	background: linear-gradient(160deg, #d5e4e1, #eef3f1);
}

.lv-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 12px 14px 14px;
}

.lv-card-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--lv-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lv-card-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	margin: 0;
	color: var(--lv-muted);
	font-size: 13px;
	line-height: 1.35;
}

.lv-card-meta-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-width: 100%;
	min-width: 0;
}

.lv-card-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	max-width: 100%;
	white-space: nowrap;
}

.lv-card-meta-item + .lv-card-meta-item::before {
	content: "·";
	margin: 0 6px;
	color: #9aa39f;
	font-weight: 700;
}

.lv-card-meta-item > span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.lv-card-meta .lv-icon {
	color: var(--lv-teal);
	flex: none;
}

.lv-card-price {
	margin: auto 0 0;
	padding-top: 4px;
	color: var(--lv-muted);
	font-size: 13px;
	line-height: 1.45;
}

.lv-card-price strong {
	color: var(--lv-teal);
	font-weight: 700;
	white-space: nowrap;
}

.lv-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lv-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(20, 40, 35, 0.08);
}

.lv-empty {
	background: var(--lv-card);
	border: 1px dashed #cfd8d4;
	border-radius: 16px;
	padding: 28px 20px;
	text-align: center;
	color: var(--lv-muted);
}

.lv-empty p {
	margin: 0 0 6px;
}

.lv-pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
}

.lv-page-link {
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--lv-line);
	color: var(--lv-ink);
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 20, 0.04);
}

a.lv-page-link:hover {
	border-color: var(--lv-teal);
	color: var(--lv-teal);
}

.lv-page-link.is-current {
	background: var(--lv-teal);
	border-color: var(--lv-teal);
	color: #fff;
}

.lv-pager a[rel="prev"] .lv-icon {
	transform: rotate(180deg);
}

.lv-page-gap {
	color: var(--lv-soft);
	padding: 0 2px;
}

.lv-stage {
	position: relative;
}

.lv-stage-viewport {
	overflow: hidden;
	border-radius: 18px;
	background: #d7e3df;
	aspect-ratio: 16 / 9;
	touch-action: pan-y;
	outline: none;
}

.lv-stage-track {
	display: flex;
	height: 100%;
	transform: translate3d(0, 0, 0);
	transition: transform 0.35s ease;
}

.lv-stage-track.is-dragging {
	transition: none;
}

.lv-slide,
.lv-page button.lv-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #d7e3df;
	box-shadow: none;
	line-height: 0;
	cursor: zoom-in;
}

.lv-slide.is-clone {
	pointer-events: none;
}

.lv-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lv-stage-nav,
.lv-page button.lv-stage-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: #1b2421;
	box-shadow: 0 4px 16px rgba(16, 24, 20, 0.18);
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.lv-page button.lv-stage-nav:hover {
	background: #fff;
	color: #1b2421;
}

.lv-stage-prev {
	left: 12px;
}

.lv-stage-prev .lv-icon {
	transform: rotate(180deg);
}

.lv-stage-next {
	right: 12px;
}

.lv-gallery-empty {
	min-height: 220px;
}

.lv-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	overflow-x: auto;
	padding-bottom: 4px;
	scroll-snap-type: x proximity;
}

.lv-thumb,
.lv-page button.lv-thumb {
	flex: 0 0 96px;
	width: 96px;
	height: 68px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	background: #d7e3df;
	cursor: pointer;
	box-shadow: none;
	line-height: 0;
	scroll-snap-align: start;
}

.lv-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lv-thumb.is-active {
	border-color: var(--lv-teal);
}

.lv-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.lv-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 7px 16px 7px 8px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--lv-line);
}

.lv-badge.is-kapasitas {
	background: var(--lv-sand);
	border-color: #efe6d8;
}

.lv-badge:hover {
	border-color: #ffc2a3;
}

.lv-badge-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 98, 16, 0.12);
	color: var(--lv-teal);
	flex: none;
}

.lv-badge-kicker {
	display: block;
	font-size: 10px;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lv-soft);
	font-weight: 700;
}

.lv-badge-value {
	display: block;
	font-size: 14px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--lv-ink);
}

.lv-section {
	margin-top: 28px;
}

.lv-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--lv-ink);
}

.lv-mark {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--lv-teal);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.lv-mark .lv-icon {
	stroke-width: 2.6;
}

.lv-spec-grid,
.lv-price-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.lv-spec,
.lv-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 68px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--lv-line);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 20, 0.03);
}

.lv-spec-label,
.lv-price-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lv-muted);
	font-size: 14px;
	min-width: 0;
}

.lv-spec-label .lv-icon {
	color: #8b9691;
	flex: none;
}

.lv-spec-value,
.lv-price-value {
	font-weight: 800;
	font-size: 18px;
	line-height: 1.1;
	text-align: right;
	color: var(--lv-ink);
	white-space: nowrap;
}

.lv-spec-value small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--lv-soft);
}

.lv-facilities {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lv-facilities li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid var(--lv-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: #24302c;
}

.lv-check {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #e7f6ee;
	color: #1c9a55;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.lv-check .lv-icon {
	stroke-width: 3;
}

.lv-content {
	font-size: 15px;
	line-height: 1.75;
	color: #3c4743;
}

.lv-content p {
	margin: 0 0 12px;
}

.lv-content > *:last-child {
	margin-bottom: 0;
}

.lv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(10, 16, 14, 0.9);
	align-items: center;
	justify-content: center;
	padding: 56px 64px;
}

.lv-lightbox[hidden] {
	display: none;
}

.lv-lightbox:not([hidden]) {
	display: flex;
}

.lv-lightbox img {
	max-width: 100%;
	max-height: 86vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lv-lightbox-close,
.lv-lightbox-nav,
.lv-page button.lv-lightbox-close,
.lv-page button.lv-lightbox-nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	cursor: pointer;
	box-shadow: none;
	line-height: 1;
}

.lv-lightbox-close {
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 28px;
}

.lv-lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lv-lightbox-prev {
	left: 16px;
}

.lv-lightbox-prev .lv-icon {
	transform: rotate(180deg);
}

.lv-lightbox-next {
	right: 16px;
}

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

.lv-protected {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid var(--lv-line);
}

.lv-shortcode-root {
	display: flex;
	flex-direction: column;
}

.lv-shortcode-root > .lv-embed {
	display: contents;
}

.lv-shortcode-root .lv-list-head {
	order: 1;
}

.lv-shortcode-root .lv-filter {
	order: 2;
}

.lv-shortcode-root .lv-grid,
.lv-shortcode-root .lv-empty {
	order: 3;
}

.lv-shortcode-root .lv-pager {
	order: 4;
}

.lv-shortcode-root > p:empty {
	display: none;
	margin: 0;
}

@media (min-width: 720px) {
	.lv-facilities {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 900px) {
	.lv-facilities {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media (min-width: 980px) {
	.lv-grid {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 18px;
	}
}

@media (max-width: 720px) {
	.lv-page {
		padding: 16px 12px 48px;
	}

	.lv-title,
	.lv-list-head h1 {
		font-size: 26px;
	}

	.lv-list-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.lv-count {
		white-space: normal;
	}

	.lv-filter {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 14px;
	}

	.lv-filter-actions .lv-btn,
	.lv-page .lv-filter-actions button.lv-btn {
		width: 100%;
	}

	.lv-grid {
		gap: 10px;
	}

	.lv-card-body {
		padding: 10px 10px 12px;
	}

	.lv-card-title {
		font-size: 14px;
	}

	.lv-card-meta,
	.lv-card-price {
		font-size: 12px;
	}

	.lv-card-meta-item + .lv-card-meta-item::before {
		margin: 0 4px;
	}

	.lv-spec,
	.lv-price {
		padding: 10px 12px;
		min-height: 58px;
	}

	.lv-spec-label,
	.lv-price-label {
		font-size: 12.5px;
	}

	.lv-spec-value,
	.lv-price-value {
		font-size: 15px;
	}

	.lv-stage-viewport {
		border-radius: 14px;
	}

	.lv-stage-nav,
	.lv-page button.lv-stage-nav {
		display: none;
	}

	.lv-thumb,
	.lv-page button.lv-thumb {
		flex-basis: 78px;
		width: 78px;
		height: 56px;
	}

	.lv-lightbox {
		padding: 64px 12px;
	}
}

@media (max-width: 600px) {
	.lv-page .lv-card h2.lv-card-title,
	.lv-page .lv-card h3.lv-card-title {
		display: block !important;
		margin: 0 0 4px !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		line-height: 1.3 !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		-webkit-line-clamp: unset;
		-webkit-box-orient: unset;
	}

	.lv-page .lv-card .lv-card-body {
		padding-top: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lv-card,
	.lv-stage-track {
		transition: none;
	}

	.lv-card:hover {
		transform: none;
	}
}
