:root {
	--vlp-ink: #1a1a1a;
	--vlp-muted: #666;
	--vlp-accent: #e08e45;
	--vlp-accent-dark: #b56b2a;
	--vlp-cream: #faf7f2;
	--vlp-radius: 16px;
	--vlp-max-width: 1140px;
}

html, body {
	overflow-x: hidden;
	max-width: 100%;
}
/* Reset native <button> elements so the active theme's global styles (e.g. block
   theme theme.json colors) can never bleed through — <a> elements styled as buttons
   elsewhere on this page are naturally immune to this, but a real <button> is a
   native form control and inherits site-wide theme button styling unless reset.
   Deliberately a bare tag selector (lowest specificity) so it acts as a baseline
   that every class rule below (.vlp-btn-primary etc.) cleanly overrides. Safe to
   scope this broadly since this stylesheet only loads on vacation pages. */
button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
}
.vacation-landing-page, .vacation-archive-page {
	margin: 0;
	font-family: 'Helvetica Neue', Arial, sans-serif !important;
	color: var(--vlp-ink) !important;
	line-height: 1.65;
	background: #fff;
	overflow-x: hidden;
	max-width: 100vw;
}
.vacation-landing-page *, .vacation-archive-page * { box-sizing: border-box; }
.vacation-landing-page h1, .vacation-landing-page h2, .vacation-landing-page h3,
.vacation-archive-page h1, .vacation-archive-page h3 {
	font-family: Georgia, 'Times New Roman', serif !important;
	font-weight: 400 !important;
	color: var(--vlp-ink) !important;
	margin: 0 0 12px;
}
.vacation-landing-page p, .vacation-archive-page p {
	font-family: 'Helvetica Neue', Arial, sans-serif !important;
	color: inherit;
}
.vacation-landing-page a, .vacation-archive-page a { text-decoration: none; color: inherit; }

.vlp-container { max-width: var(--vlp-max-width) !important; margin: 0 auto !important; padding: 0 24px; width: 100%; }

/* ---------- Hero ---------- */
.vlp-hero {
	background-size: cover;
	background-position: center;
	background-color: var(--vlp-ink);
	min-height: 70vh;
	display: flex;
	align-items: flex-end;
}
.vlp-hero-overlay {
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.05) 100%);
	padding: 100px 0 48px;
	color: #fff !important;
}
.vlp-back-link { display: inline-block; margin-bottom: 20px; font-size: 14px; opacity: .85; color: #fff !important; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vlp-location { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 8px; opacity: .9; color: #fff !important; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vlp-hero h1 { font-size: 48px; color: #fff !important; margin-bottom: 18px; max-width: 720px; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.vlp-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; margin-bottom: 26px; color: #fff !important; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vlp-hero-price { font-weight: 700; font-size: 18px; }
.vlp-hero-price small { font-weight: 400; opacity: .8; font-size: 13px; }

/* ---------- Buttons ---------- */
.vlp-btn-primary {
	display: inline-block;
	background: var(--vlp-accent);
	color: #fff;
	padding: 14px 32px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	transition: background .15s ease;
}
.vlp-btn-primary:hover { background: var(--vlp-accent-dark); color: #fff; }
.vlp-btn-block { display: block; text-align: center; width: 100%; }

/* ---------- Main content ---------- */
.vlp-main { padding: 56px 0 100px; }
.vlp-content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.vlp-section { margin-bottom: 48px; }
.vlp-section h2 { font-size: 26px; border-bottom: 1px solid #eee; padding-bottom: 14px; margin-bottom: 20px; }
.vlp-description p { color: #333; }

.vlp-highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.vlp-highlights li { padding-left: 26px; position: relative; }
.vlp-highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--vlp-accent); font-weight: 700; }

.vlp-itinerary { display: flex; flex-direction: column; gap: 24px; }
.vlp-itinerary-day { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding-bottom: 24px; border-bottom: 1px dashed #e5e5e5; }
.vlp-itinerary-day:last-child { border-bottom: none; }
.vlp-itinerary-day-number { font-weight: 700; color: var(--vlp-accent-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.vlp-itinerary-day-body h3 { font-size: 18px; margin-bottom: 6px; }
.vlp-itinerary-day-body p { margin: 0; color: #444; }

.vlp-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vlp-gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

/* ---------- Sidebar booking card ---------- */
.vlp-sidebar { position: sticky; top: 24px; }
.vlp-booking-card {
	background: var(--vlp-cream);
	border-radius: var(--vlp-radius);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.vlp-booking-price { font-size: 26px; font-weight: 700; color: var(--vlp-accent-dark); }
.vlp-booking-price span { font-size: 13px; font-weight: 400; color: var(--vlp-muted); }
.vlp-booking-row { font-size: 14px; color: #444; }
.vlp-booking-card .vlp-btn-primary { margin-top: 10px; }

.vlp-gallery-grid img.vlp-gallery-img { cursor: zoom-in; transition: opacity .15s ease; }
.vlp-gallery-grid img.vlp-gallery-img:hover { opacity: .85; }

/* ---------- Lightbox (pure vanilla JS, no external library) ---------- */
.vlp-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 40px;
}
.vlp-lightbox:not([hidden]) {
	display: flex;
}
.vlp-lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 6px; }
.vlp-lightbox-close, .vlp-lightbox-prev, .vlp-lightbox-next {
	position: absolute;
	width: 44px !important;
	height: 44px !important;
	background: rgba(255,255,255,.12);
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease;
}
.vlp-lightbox-close:hover, .vlp-lightbox-prev:hover, .vlp-lightbox-next:hover { background: rgba(255,255,255,.25); }
.vlp-lightbox-close { top: 20px; right: 20px; }
.vlp-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.vlp-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Sticky mobile CTA ---------- */
.vlp-sticky-cta {
	display: none;
	position: fixed;
	bottom: 0; left: 0; right: 0;
	background: #fff;
	box-shadow: 0 -4px 20px rgba(0,0,0,.1);
	padding: 14px 20px;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	z-index: 999;
	font-size: 14px;
	font-weight: 600;
}
.vlp-sticky-cta span {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vlp-sticky-cta .vlp-btn-primary {
	flex: 0 0 auto;
	padding: 10px 18px;
	font-size: 13px;
	white-space: nowrap;
}

/* ---------- Archive controls: search, filter tabs, sort ---------- */
.vlp-archive-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 32px;
	padding: 20px 24px;
	border-radius: 999px;
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
	border: 1px solid #f0f0f0;
}
.vlp-filter-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}
.vlp-search-input {
	flex: 1 1 200px;
	min-width: 0;
	width: auto !important;
	padding: 12px 18px;
	border-radius: 999px !important;
	border: 1px solid #ddd !important;
	font-size: 14px;
	font-family: inherit;
}
.vlp-search-input:focus { outline: none; border-color: var(--vlp-accent) !important; }
.vlp-month-select {
	flex: 0 1 auto;
	min-width: 0;
	width: auto !important;
	padding: 12px 40px 12px 16px;
	border-radius: 999px !important;
	border: 1px solid #ddd !important;
	font-size: 13px;
	font-family: inherit;
	background-color: #fff;
	cursor: pointer;
	/* Native OS select arrows ignore padding — remove it and draw our own,
	   so spacing is guaranteed consistent across every browser. */
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 11px 7px;
}
.vlp-month-select:focus { outline: none; border-color: var(--vlp-accent) !important; }
.vlp-search-btn {
	flex: 0 0 auto;
	width: auto !important;
	padding: 12px 28px !important;
	font-size: 14px !important;
	white-space: nowrap;
	border: none;
	cursor: pointer;
	border-radius: 999px !important;
	background: var(--vlp-accent-dark) !important;
	color: #fff !important;
}
.vlp-search-btn:hover { background: #96591f !important; color: #fff !important; }
.vlp-archive-grid[data-loading="1"] { opacity: .5; pointer-events: none; transition: opacity .15s ease; }
.vlp-no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--vlp-muted); }

.vlp-card-image { position: relative; }
.vlp-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(0,0,0,.7);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 5px 12px;
	border-radius: 999px;
}
.vlp-card-past { opacity: .65; }

/* ---------- Archive page ---------- */
.vlp-archive-hero { background: var(--vlp-cream); padding: 72px 0; text-align: center; }
.vlp-archive-hero h1 { font-size: 40px; }
.vlp-archive-hero p { color: var(--vlp-muted); }
.vlp-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; padding-top: 48px; }
.vlp-card { display: block; border-radius: var(--vlp-radius); overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); transition: transform .15s ease, box-shadow .15s ease; }
.vlp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.vlp-card-image { aspect-ratio: 4/3; overflow: hidden; background: var(--vlp-cream); }
.vlp-card-image img { width: 100%; height: 100%; object-fit: cover; }
.vlp-card-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #f0e6d8, #e8dcc8); }
.vlp-card-body { padding: 20px; }
.vlp-card-location { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--vlp-muted); }
.vlp-card-body h3 { font-size: 19px; margin: 6px 0 12px; }
.vlp-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--vlp-muted); }
.vlp-card-price { font-weight: 700; color: var(--vlp-accent-dark); font-size: 15px; }

@media (max-width: 900px) {
	.vlp-container { padding: 0 20px !important; }
	.vlp-content-grid { grid-template-columns: 1fr; gap: 40px; }
	.vlp-sidebar { position: static; }
	.vlp-hero-overlay { padding: 60px 0 36px; }
	.vlp-hero h1 { font-size: 26px !important; }
	.vlp-archive-hero h1 { font-size: 32px !important; }
	.vlp-hero-overlay { background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.1) 100%) !important; }
	.vlp-back-link { font-size: 17px !important; font-weight: 600; }
	.vlp-content-main .vlp-section:first-child { padding-top: 50px; }

	/* Hide the scrollbar visually while keeping the page fully scrollable. */
	html, body { scrollbar-width: none !important; -ms-overflow-style: none !important; }
	html::-webkit-scrollbar, body::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
	.vlp-hero-meta { gap: 14px; font-size: 14px; }
	.vlp-highlights { grid-template-columns: 1fr; }
	.vlp-section { margin-bottom: 36px; }
	.vlp-section h2 { font-size: 22px; }
	.vlp-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.vlp-itinerary-day { grid-template-columns: 70px 1fr; gap: 14px; }
	.vlp-sticky-cta { display: flex; }
	.vlp-main { padding: 40px 0 90px; }
	.vlp-lightbox { padding: 20px 56px; }
	.vlp-lightbox-close { top: 12px; right: 12px; width: 38px !important; height: 38px !important; }
	.vlp-lightbox-prev { left: 8px; }
	.vlp-lightbox-next { right: 8px; }

	/* Archive controls: the desktop-only width:auto!important (needed to defeat
	   Astra/Hello's own width:100% rule) is wrong for mobile, which wants full-width
	   stacked fields instead — override back to 100% here, still with !important
	   so it wins the same fight in the opposite direction. */
	.vlp-archive-controls { flex-direction: column; align-items: stretch; padding-top: 40px; border-radius: 24px; }
	.vlp-search-input { width: 100% !important; flex: 1 1 auto; }
	.vlp-filter-row { display: flex; flex-direction: row; gap: 10px; width: 100%; }
	.vlp-month-select { width: auto !important; flex: 1 1 auto; }
	.vlp-search-btn { width: auto !important; flex: 0 0 auto; }

	/* Archive grid: minmax(300px,1fr) doesn't shrink below 300px, which overflows
	   any phone narrower than ~340px of content width — single column on mobile. */
	.vlp-archive-grid { grid-template-columns: 1fr !important; gap: 20px; }
}

@media (max-width: 420px) {
	.vlp-hero h1 { font-size: 22px !important; }
	.vlp-archive-hero h1 { font-size: 28px !important; }
}
