/* Villa list (noa/villa-list). Root: .noa-vl */

.noa-vl {
	color: var(--ink, #25140f);
}

/* Anything the Interactivity API hides stays hidden, whatever its display. */
.noa-vl [hidden] {
	display: none !important;
}

/* Intro */
.noa-vl__intro {
	padding: 32px 0 32px;
}

/* Mobile: tighten the heading spacing so the villa list is reachable without a
   long scroll. (The oversized top gap itself is handled by removing the page
   template's <main> top padding.) */
@media (max-width: 767px) {
	.noa-vl__intro {
		padding: 14px 0 10px;
	}
}

.noa-vl .noa-vl__title {
	font-size: clamp(40px, 4.5vw, 60px);
	line-height: 1.08;
}

.noa-vl__lead {
	margin: 12px 0 0;
	font-size: 17px;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

/* Toolbar: filters, sort, view */
.noa-vl__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid var(--line, rgba(37, 20, 15, 0.16));
}

.noa-vl__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.noa-vl .noa-vl__chip {
	min-height: 44px;
	padding: 0 18px;
}

.noa-vl .noa-vl__chip:hover {
	border-color: var(--ink, #25140f);
}

.noa-vl__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.noa-vl__sort {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--ink, #25140f);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.noa-vl__sort strong {
	font-weight: 600;
}

.noa-vl__views {
	display: inline-flex;
	padding: 4px;
	border-radius: var(--radius-md, 10px);
	border: 1px solid rgba(37, 20, 15, 0.22);
	background: var(--paper, #f3efe6);
}

.noa-vl__view {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--radius-sm, 8px);
	background: transparent;
	color: var(--ink, #25140f);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.noa-vl__view[aria-pressed="true"] {
	background: var(--ink, #25140f);
	color: var(--bg, #e8e3d7);
}

/* Empty state */
.noa-vl__empty {
	margin-top: 24px;
	padding: 48px;
	background: var(--paper, #f3efe6);
	border: 1px solid var(--line, rgba(37, 20, 15, 0.16));
	border-radius: var(--radius-lg, 14px);
}

.noa-vl__empty-title {
	margin: 0;
	font-family: "Early Sans", "Aileron", sans-serif;
	font-weight: 300;
	font-size: 30px;
	line-height: 1.2;
}

.noa-vl__empty-text {
	margin: 8px 0 20px;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__clear {
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--radius-md, 10px);
	border: 1px solid var(--ink, #25140f);
	background: transparent;
	color: var(--ink, #25140f);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.noa-vl__clear:hover {
	background: var(--card, #fff);
}

/* ---------------- List view ---------------- */
.noa-vl__list {
	display: grid;
	gap: 24px;
	margin-top: 8px;
}

.noa-vl__card {
	display: flex;
	flex-wrap: wrap;
	padding: 12px;
	background: var(--paper, #f3efe6);
	border: 1px solid var(--line, rgba(37, 20, 15, 0.16));
	border-radius: var(--radius-lg, 14px);
}

.noa-vl__media {
	position: relative;
	flex: 1 1 380px;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	align-content: start;
}

.noa-vl__img {
	width: 100%;
	object-fit: cover;
}

.noa-vl__img--main {
	grid-column: span 2;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius-md, 10px);
}

.noa-vl__img--side {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-sm, 8px);
}

.noa-vl__body {
	flex: 1 1 360px;
	min-width: 0;
	padding: 20px 28px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.noa-vl .noa-vl__name {
	font-size: 36px;
	line-height: 1.1;
}

.noa-vl__rating-row {
	margin-top: 10px;
}

.noa-vl__rating strong {
	font-weight: 600;
}

.noa-vl__text {
	margin: 10px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__features {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	align-self: stretch;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
	font-size: 14px;
}

.noa-vl__features li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.noa-vl__features svg {
	flex: none;
	margin-top: 2px;
}

.noa-vl__setup {
	align-self: stretch;
	margin: 24px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.noa-vl__legend {
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__options {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

.noa-vl__option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 8px 14px;
	border-radius: var(--radius-md, 10px);
	border: 1px solid var(--line-control, rgba(37, 20, 15, 0.3));
	background: var(--card, #fff);
	color: var(--ink, #25140f);
	font: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
}

.noa-vl__option:hover:not(:disabled):not(.is-on) {
	border-color: var(--ink, #25140f);
}

.noa-vl__option.is-on {
	background: var(--selected-fill, #eaf3ec);
	border-color: var(--success, #16704a);
	box-shadow: inset 0 0 0 1px var(--success, #16704a);
}

.noa-vl__option:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.noa-vl__selected {
	position: absolute;
	top: -11px;
	left: 12px;
	padding: 2px 8px;
	border-radius: var(--radius-pill, 999px);
	background: var(--success, #16704a);
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	font-weight: 600;
}

.noa-vl__dot {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid var(--line-control-strong, rgba(37, 20, 15, 0.5));
	background: var(--card, #fff);
}

.noa-vl__option.is-on .noa-vl__dot {
	border: 5px solid var(--success, #16704a);
}

.noa-vl__option-text {
	flex: 1;
	text-align: left;
}

.noa-vl__option-label {
	display: block;
	font-weight: 600;
}

.noa-vl__option-sub {
	display: block;
	font-size: 13px;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__details {
	margin-top: 20px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink, #25140f);
}

.noa-vl__details:hover {
	color: var(--ink, #25140f);
	text-decoration: underline;
	text-underline-offset: 8px;
}

/* Price panel */
.noa-vl__price {
	flex: 1 1 260px;
	min-width: 0;
	margin: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: var(--card, #fff);
	border: 1px solid var(--line, rgba(37, 20, 15, 0.16));
	border-radius: var(--radius-md, 10px);
	box-shadow: var(--shadow-card, 0 10px 28px rgba(37, 20, 15, 0.06));
}

.noa-vl__per,
.noa-vl__note {
	margin: 0;
	font-size: 14px;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__total {
	margin: 0;
	font-family: "Early Sans", "Aileron", sans-serif;
	font-weight: 300;
	font-size: 40px;
	line-height: 1.1;
}

.noa-vl__promo {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: var(--radius-sm, 8px);
	border: 1px dashed rgba(37, 20, 15, 0.45);
	font-size: 14px;
	line-height: 1.45;
}

.noa-vl__promo strong {
	font-weight: 600;
	letter-spacing: 0.08em;
}

.noa-vl__perks {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: 14px;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__cta {
	margin-top: auto;
	padding-top: 20px;
}

.noa-vl .noa-vl__reserve {
	min-height: 52px;
	border-radius: var(--radius-md, 10px);
}

.noa-vl__fit-note {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 600;
	color: var(--ink, #25140f);
}

/* ---------------- Grid view ---------------- */
.noa-vl__grid {
	margin-top: 8px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
	gap: 24px;
}

.noa-vl__tile {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 12px;
	background: var(--paper, #f3efe6);
	border: 1px solid var(--line, rgba(37, 20, 15, 0.16));
	border-radius: var(--radius-lg, 14px);
}

.noa-vl__tile--premium {
	background: var(--card, #fff);
	border-color: var(--ink, #25140f);
	box-shadow: var(--shadow-pop, 0 26px 60px rgba(37, 20, 15, 0.16));
}

.noa-vl__zoom {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-md, 10px);
	aspect-ratio: 4 / 3;
}

.noa-vl__zoom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms ease;
}

.noa-vl__tile:hover .noa-vl__zoom img {
	transform: scale(1.04);
}

.noa-vl__tile-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px 12px 8px;
}

.noa-vl__tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.noa-vl__tag {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: var(--radius-pill, 999px);
	background: var(--bg, #e8e3d7);
	color: var(--ink, #25140f);
	font-size: 13px;
	line-height: 1.3;
}

.noa-vl__tag--hero {
	background: var(--ink, #25140f);
	color: var(--paper, #f3efe6);
}

.noa-vl__tile-head {
	margin-top: 14px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.noa-vl .noa-vl__tile-name {
	font-size: 32px;
	line-height: 1.1;
}

.noa-vl__size {
	font-size: 14px;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
	white-space: nowrap;
}

.noa-vl__tile-text {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__rating-row--tile {
	margin-top: 14px;
}

.noa-vl__tile-price {
	margin-top: auto;
	padding-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
}

.noa-vl__tile-total {
	margin: 0;
	font-family: "Early Sans", "Aileron", sans-serif;
	font-weight: 300;
	font-size: 34px;
	line-height: 1.1;
}

.noa-vl__tile-note {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

.noa-vl__badge {
	padding: 6px 10px;
	border-radius: var(--radius-sm, 8px);
	background: var(--muted, #d8d4c8);
	font-size: 13px;
	line-height: 1.4;
}

.noa-vl__fit-note--tile {
	margin-top: 14px;
}

.noa-vl__tile-ctas {
	margin-top: 16px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.noa-vl__tile-details,
.noa-vl__not-for {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md, 10px);
	font-size: 15px;
	text-align: center;
}

.noa-vl__tile-details {
	border: 1px solid var(--line-control, rgba(37, 20, 15, 0.3));
	color: var(--ink, #25140f);
	text-decoration: none;
}

.noa-vl__tile-details:hover {
	border-color: var(--ink, #25140f);
	color: var(--ink, #25140f);
}

.noa-vl__not-for {
	padding: 0 8px;
	background: var(--muted, #d8d4c8);
	color: var(--ink-soft, rgba(37, 20, 15, 0.72));
}

/* Contact panel */
.noa-vl__contact {
	margin-top: 48px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	padding: 32px;
	border-radius: 20px;
	background: var(--card, #fff);
	border: 1px solid var(--line, rgba(37, 20, 15, 0.16));
	box-shadow: var(--shadow-raised, 0 20px 48px rgba(37, 20, 15, 0.1));
}

.noa-vl__contact-intro {
	display: flex;
	gap: 18px;
	align-items: center;
}

.noa-vl__contact-icon {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: var(--radius-lg, 14px);
	background: var(--bg, #e8e3d7);
	color: var(--ink, #25140f);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.noa-vl__contact-title {
	margin: 0;
	font-family: "Early Sans", "Aileron", sans-serif;
	font-weight: 300;
	font-size: 30px;
	line-height: 1.2;
}

.noa-vl__contact-text {
	margin: 6px 0 0;
	font-size: 16px;
	color: var(--ink-strong, rgba(37, 20, 15, 0.85));
}

.noa-vl__contact-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.noa-vl__contact-link {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	border-radius: var(--radius-md, 10px);
	background: var(--bg, #e8e3d7);
	border: 1px solid var(--line-control-strong, rgba(37, 20, 15, 0.5));
	color: var(--ink, #25140f);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}

.noa-vl__contact-link:hover {
	border-color: var(--ink, #25140f);
	color: var(--ink, #25140f);
}

/* Reviews */
.noa-vl__reviews {
	margin-top: 96px;
	padding-top: 56px;
	border-top: 1px solid var(--line, rgba(37, 20, 15, 0.16));
}

/* ---------------- Tablet ---------------- */
@media (max-width: 1024px) {
	.noa-vl__body {
		padding: 20px 20px 12px;
	}

	.noa-vl__price {
		flex-basis: 100%;
	}

	.noa-vl__reviews {
		margin-top: 72px;
		padding-top: 48px;
	}
}

/* ---------------- Mobile ---------------- */
@media (max-width: 680px) {
	.noa-vl__intro {
		padding: 24px 0;
	}

	.noa-vl__toolbar {
		align-items: flex-start;
	}

	/* Filters scroll sideways instead of wrapping into many rows. */
	.noa-vl__filters {
		flex-wrap: nowrap;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 2px;
	}

	.noa-vl__filters::-webkit-scrollbar {
		display: none;
	}

	.noa-vl .noa-vl__chip {
		flex: none;
		white-space: nowrap;
	}

	.noa-vl__tools {
		width: 100%;
		justify-content: space-between;
	}

	.noa-vl__empty {
		padding: 28px 20px;
	}

	.noa-vl__card {
		padding: 8px;
	}

	/* Photos become one swipeable row. */
	.noa-vl__media {
		flex-basis: 100%;
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		border-radius: var(--radius-md, 10px);
	}

	.noa-vl__media::-webkit-scrollbar {
		display: none;
	}

	.noa-vl__img--main,
	.noa-vl__img--side {
		flex: 0 0 88%;
		aspect-ratio: 4 / 3;
		border-radius: var(--radius-md, 10px);
		scroll-snap-align: start;
	}

	.noa-vl__body {
		flex-basis: 100%;
		padding: 18px 8px 8px;
	}

	.noa-vl .noa-vl__name {
		font-size: 30px;
	}

	.noa-vl__features {
		grid-template-columns: minmax(0, 1fr);
	}

	.noa-vl__price {
		margin: 8px 0 0;
		padding: 20px;
	}

	.noa-vl__total {
		font-size: 34px;
	}

	.noa-vl__tile-body {
		padding: 16px 6px 6px;
	}

	.noa-vl .noa-vl__tile-name {
		font-size: 28px;
	}

	.noa-vl__tile-head {
		flex-wrap: wrap;
	}

	.noa-vl__contact {
		padding: 24px 20px;
	}

	.noa-vl__contact-title {
		font-size: 24px;
	}

	.noa-vl__contact-links,
	.noa-vl__contact-link {
		width: 100%;
	}

	.noa-vl__contact-link {
		justify-content: center;
	}

	.noa-vl__reviews {
		margin-top: 56px;
		padding-top: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.noa-vl__zoom img {
		transition: none;
	}

	.noa-vl__tile:hover .noa-vl__zoom img {
		transform: none;
	}
}

/* ------------------------------------------------------------------------
 * Filter, sort and view animations (view.js). View Transitions: cards glide
 * to their new place, leaving cards fade and scale out, new cards fade and
 * scale in. The FLIP fallback uses the same timing.
 * ---------------------------------------------------------------------- */
.noa-vl {
	position: relative;
}

html.noa-vl-vt::view-transition-group(*) {
	animation-duration: 320ms;
	animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The rest of the page switches at once; only the cards move. */
html.noa-vl-vt::view-transition-old(root),
html.noa-vl-vt::view-transition-new(root) {
	animation: none;
	mix-blend-mode: normal;
}

html.noa-vl-vt::view-transition-new(.noa-vl-card):only-child {
	animation: noa-vl-in 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

html.noa-vl-vt::view-transition-old(.noa-vl-card):only-child {
	animation: noa-vl-out 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes noa-vl-in {
	from {
		opacity: 0;
		transform: scale(0.94);
	}
}

@keyframes noa-vl-out {
	to {
		opacity: 0;
		transform: scale(0.94);
	}
}

.noa-vl__ghost {
	box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
	html.noa-vl-vt::view-transition-group(*),
	html.noa-vl-vt::view-transition-old(*),
	html.noa-vl-vt::view-transition-new(*) {
		animation: none !important;
	}
}

/* Search from the booking bar: dim the cards, shimmer, and a status pill. */
.noa-vl {
	position: relative;
}
.noa-vl__searching {
	position: sticky;
	z-index: 5;
	top: 24px;
	width: fit-content;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: var(--radius-pill, 999px);
	background: var(--ink, #25140f);
	color: var(--bg, #e8e3d7);
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--shadow-raised, 0 20px 48px rgba(37, 20, 15, 0.1));
	animation: noa-vl-pill-in 260ms cubic-bezier(.2, .8, .2, 1);
}
.noa-vl__searching[hidden] {
	display: none;
}
.noa-vl__spinner {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(232, 227, 215, 0.35);
	border-top-color: var(--bg, #e8e3d7);
	animation: noa-vl-spin 700ms linear infinite;
}
.noa-vl.is-searching .noa-vl__card,
.noa-vl.is-searching .noa-vl__tile {
	opacity: 0.45;
	transform: scale(0.985);
	transition: opacity 240ms ease, transform 240ms cubic-bezier(.2, .8, .2, 1);
	pointer-events: none;
}
.noa-vl.is-searching .noa-vl__card::after,
.noa-vl.is-searching .noa-vl__tile::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
	background-size: 200% 100%;
	animation: noa-vl-shimmer 1.1s linear infinite;
}
.noa-vl.is-fresh .noa-vl__card,
.noa-vl.is-fresh .noa-vl__tile {
	animation: noa-vl-card-in 420ms cubic-bezier(.2, .8, .2, 1) both;
}
.noa-vl.is-fresh .noa-vl__card:nth-child(2),
.noa-vl.is-fresh .noa-vl__tile:nth-child(2) { animation-delay: 70ms; }
.noa-vl.is-fresh .noa-vl__card:nth-child(3),
.noa-vl.is-fresh .noa-vl__tile:nth-child(3) { animation-delay: 140ms; }
.noa-vl.is-fresh .noa-vl__card:nth-child(n+4),
.noa-vl.is-fresh .noa-vl__tile:nth-child(n+4) { animation-delay: 210ms; }
@keyframes noa-vl-spin { to { transform: rotate(360deg); } }
@keyframes noa-vl-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes noa-vl-pill-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes noa-vl-card-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
	.noa-vl__searching,
	.noa-vl.is-fresh .noa-vl__card,
	.noa-vl.is-fresh .noa-vl__tile,
	.noa-vl.is-searching .noa-vl__card::after,
	.noa-vl.is-searching .noa-vl__tile::after {
		animation: none;
	}
}
.noa-vl__card,
.noa-vl__tile {
	position: relative;
}

/* ---------------- Unavailable villas ---------------- */
/* "Unavailable" overlay over the photo, plus a dimmed card. */
.noa-vl__unavail {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 6px 12px;
	border-radius: var(--radius-sm, 999px);
	background: rgba(23, 23, 23, 0.82);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	pointer-events: none;
}
.noa-vl__card.is-unavailable .noa-vl__media,
.noa-vl__tile.is-unavailable .noa-vl__zoom {
	filter: grayscale(0.4);
	opacity: 0.72;
}
