/* Black Friday promo — classic centered sale card over full-bleed photo. */

html:has(body.zz-meln-home) {
	scroll-behavior: smooth;
}

/* CTA lands at Melna → cream change, just under sticky header (a bit less deep than the form). */
.zz-meln-anchor {
	display: block;
	height: 0;
	width: 0;
	overflow: hidden;
	pointer-events: none;
}

#zz-rezervacija,
#booking_form1,
a[name="bklnk1"] {
	scroll-margin-top: 5.5rem;
}

body.zz-meln-home #header-outer.transparent #top nav > ul > li > a,
body.zz-meln-home #header-outer.transparent #top nav > ul > li > a .menu-title-text {
	color: #fff !important;
	background: none !important;
	background-color: transparent !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

body.zz-meln-home #header-outer.transparent #top nav > ul > li > a:before {
	display: none !important;
}

body.zz-meln-home #header-outer.transparent #top nav > ul > li > a .menu-title-text:after {
	background-color: #fff !important;
	border: 0 !important;
	height: 2px !important;
	top: auto !important;
	bottom: -4px !important;
	padding: 0 !important;
}

body.zz-meln-home #header-outer.transparent #header-secondary-outer,
body.zz-meln-home #header-outer.transparent #header-secondary-outer .nectar-center-text {
	color: #fff !important;
	background: transparent !important;
}

body.zz-meln-home #header-outer.transparent .lines-button .lines,
body.zz-meln-home #header-outer.transparent .lines-button .lines:before,
body.zz-meln-home #header-outer.transparent .lines-button .lines:after {
	background-color: #fff;
}

body.zz-meln-home .zz-meln {
	margin-bottom: 0;
}

body.zz-meln-home .container-wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type {
	padding-top: 0 !important;
}

body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .row-bg-wrap,
body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .row-bg-wrap > .inner-wrap,
body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .row-bg-wrap .row-bg {
	top: 0 !important;
	bottom: 0 !important;
	height: 100% !important;
	min-height: 100% !important;
	transform: none !important;
	-webkit-transform: none !important;
}

body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .row-bg-wrap > .inner-wrap,
body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .row-bg-wrap .row-bg {
	opacity: 1 !important;
}

body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .row-bg-wrap > .row-bg-overlay {
	opacity: 0.3 !important;
}

body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .row-bg-wrap .row-bg {
	background-size: cover !important;
	background-position: center center !important;
}

body.zz-meln-home .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type > .span_12 {
	padding-top: 0 !important;
}

.zz-meln-home .zz-meln {
	--zz-orange: #ff6a1a;
	--zz-sans: "Outfit", "Segoe UI", sans-serif;
	position: relative;
	z-index: 2;
	overflow: hidden;
	min-height: 100svh;
	min-height: 100vh;
	color: #fff;
	font-family: var(--zz-sans);
	background: #121416;
}

.zz-meln *,
.zz-meln *::before,
.zz-meln *::after {
	box-sizing: border-box;
}

/* Kill Salient paragraph padding inside promo (padding only — margins set per element). */
.zz-meln h1,
.zz-meln p,
.zz-meln span {
	padding: 0 !important;
}

.zz-meln__bg {
	position: absolute;
	inset: 0;
	/* Native-res photo — no CSS scale/zoom that softens or grains it. */
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transform: none;
	image-rendering: auto;
}

.zz-meln__veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 48%, rgba(8, 10, 12, 0.15) 0%, rgba(8, 10, 12, 0.55) 70%),
		linear-gradient(180deg, rgba(8, 10, 12, 0.45) 0%, rgba(8, 10, 12, 0.25) 40%, rgba(8, 10, 12, 0.55) 100%);
	pointer-events: none;
}

.zz-meln__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(1100px, calc(100% - 2rem));
	margin: 0 auto;
	min-height: 100svh;
	min-height: 100vh;
	padding: clamp(7rem, 11vh, 9.5rem) 0 clamp(3rem, 7vh, 5rem);
}

/* Wide sale card — not a tall skinny stack. */
.zz-meln__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 40rem);
	padding: clamp(2.75rem, 5vh, 3.5rem) clamp(2.25rem, 4.5vw, 3.75rem);
	text-align: center;
	background: rgba(10, 12, 14, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.zz-meln__kicker {
	margin: 0 0 1rem !important;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.zz-meln h1 {
	margin: 0 0 1rem !important;
	font-family: var(--zz-sans);
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff;
}

.zz-meln__pct {
	margin: 0 0 1.5rem !important;
	font-family: var(--zz-sans);
	font-size: clamp(4.25rem, 10vw, 6rem);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--zz-orange);
}

/* One meta row — standard sale-banner pattern. */
.zz-meln__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.55rem 0.75rem;
	width: 100%;
	margin: 0 0 1.75rem !important;
	font-size: clamp(0.72rem, 1.15vw, 0.82rem);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.4;
}

.zz-meln__dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	flex-shrink: 0;
}

.zz-meln__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	padding: 1rem 1.75rem !important;
	border: 0;
	border-radius: 2px;
	background: #fff;
	color: #111 !important;
	font-family: var(--zz-sans);
	font-size: clamp(0.68rem, 1.1vw, 0.74rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 1.3;
	transition: background 0.2s ease, color 0.2s ease;
}

.zz-meln__btn:hover {
	background: var(--zz-orange);
	color: #fff !important;
}

@media (min-width: 901px) and (max-height: 820px) {
	.zz-meln__inner {
		padding-top: 6.5rem;
		padding-bottom: 2.5rem;
	}

	.zz-meln__panel {
		padding: 2.1rem 2.75rem;
	}

	.zz-meln__pct {
		font-size: 4.25rem;
		margin-bottom: 1rem !important;
	}

	.zz-meln__meta {
		margin-bottom: 1.4rem !important;
	}
}

@media (max-width: 900px) {
	.zz-meln__bg {
		background-position: center 36%;
	}

	.zz-meln__inner {
		min-height: 0;
		padding: 7.75rem 0 2.75rem;
	}

	.zz-meln__panel {
		width: min(100%, 28rem);
		padding: 2.15rem 1.4rem;
	}

	.zz-meln__meta {
		gap: 0.4rem 0.55rem;
		font-size: 0.68rem;
		letter-spacing: 0.12em;
		margin-bottom: 1.5rem !important;
	}

	.zz-meln__btn {
		width: 100%;
		padding: 1rem 1.15rem !important;
		font-size: 0.66rem;
		letter-spacing: 0.08em;
		text-align: center;
	}
}

/*
 * Rezervēt — mid-height hero (not full landing 100vh).
 * Extra top padding clears secondary bar + centered logo + menu.
 */
body.zz-meln-reserve .zz-meln,
body.zz-meln-reserve .zz-meln--compact,
body.zz-meln-reserve .zz-meln__inner {
	min-height: 72svh;
	min-height: 72vh;
}

body.zz-meln-reserve .zz-meln__inner {
	/* Header clearance first — never let the panel sit under the nav/logo. */
	padding: clamp(12.5rem, 22vh, 15.5rem) 0 clamp(2.75rem, 5vh, 4rem);
}

body.zz-meln-reserve .zz-meln__panel {
	width: min(100%, 36rem);
	padding: clamp(2rem, 3.5vh, 2.6rem) clamp(1.85rem, 3.5vw, 2.75rem);
}

body.zz-meln-reserve .zz-meln h1 {
	margin-bottom: 0.75rem !important;
	font-size: clamp(1.3rem, 2.6vw, 1.65rem);
	letter-spacing: 0.18em;
}

body.zz-meln-reserve .zz-meln__pct {
	margin-bottom: 1.15rem !important;
	font-size: clamp(3.4rem, 7.5vw, 4.75rem);
}

body.zz-meln-reserve .zz-meln__meta {
	margin-bottom: 1.4rem !important;
	font-size: clamp(0.7rem, 1.1vw, 0.78rem);
	letter-spacing: 0.14em;
	gap: 0.45rem 0.65rem;
}

body.zz-meln-reserve .zz-meln__btn {
	padding: 0.9rem 1.55rem !important;
	font-size: clamp(0.66rem, 1vw, 0.72rem);
}

/* Drop the duplicate full-bleed Salient hero under the promo. */
body.zz-meln-reserve .container-wrap .main-content > .row > .wpb_row.top-level.full-width-section:first-of-type {
	display: none !important;
}

/* Short desktop windows — keep header air, shrink type a bit. */
@media (min-width: 1000px) and (max-height: 820px) {
	body.zz-meln-reserve .zz-meln,
	body.zz-meln-reserve .zz-meln--compact,
	body.zz-meln-reserve .zz-meln__inner {
		min-height: 0;
	}

	body.zz-meln-reserve .zz-meln__inner {
		padding: 11.5rem 0 2.25rem;
	}

	body.zz-meln-reserve .zz-meln__pct {
		font-size: 3.4rem;
		margin-bottom: 0.85rem !important;
	}

	body.zz-meln-reserve .zz-meln__meta {
		margin-bottom: 1.1rem !important;
	}
}

/* Tablet / mobile — logo + burger only; still clear the header. */
@media (max-width: 999px) {
	body.zz-meln-reserve .zz-meln,
	body.zz-meln-reserve .zz-meln--compact,
	body.zz-meln-reserve .zz-meln__inner {
		min-height: 64svh;
		min-height: 64vh;
	}

	body.zz-meln-reserve .zz-meln__inner {
		padding: 8.75rem 0 2.5rem;
	}

	body.zz-meln-reserve .zz-meln__panel {
		width: min(100%, 26rem);
		padding: 1.85rem 1.35rem;
	}

	body.zz-meln-reserve .zz-meln__btn {
		width: 100%;
	}
}

@media (max-width: 690px) {
	body.zz-meln-reserve .zz-meln,
	body.zz-meln-reserve .zz-meln--compact,
	body.zz-meln-reserve .zz-meln__inner {
		min-height: 58svh;
		min-height: 58vh;
	}

	body.zz-meln-reserve .zz-meln__inner {
		padding: 8rem 0 2.15rem;
	}

	body.zz-meln-reserve .zz-meln__pct {
		font-size: 3.1rem;
	}
}
