/* Parko: apartment filters, lists and tables. Colours sampled from the design mockups. */

.parko,
.parko-page {
	--parko-bg: #faf5f1;
	--parko-beige: #ede6db;
	--parko-dark: #223320;
	--parko-green: #3f513d;
	--parko-sage: #83927b;
	--parko-gold: #d5a85b;
	--parko-text: #223320;
	--parko-line: #b3b2a6;
	--parko-line-soft: #cfc9bf;
	--parko-hover: #e5e7d9;
	--parko-reserved: #f6e9d9;
	--parko-sold: #f3e4df;
	--parko-serif: "Fahkwang", Georgia, serif;
	--parko-sans: "DM Sans", system-ui, sans-serif;
	--parko-gutter: clamp(16px, 4vw, 40px);

	font-family: var(--parko-sans);
	color: var(--parko-text);
	line-height: 1.4;
}

.parko-page,
.parko-butai,
.parko-tables {
	background: var(--parko-bg);
}

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

/* Hello Elementor's reset styles buttons and tables; neutralise it inside our components.
   Its hover/focus rule only changes colours, so ours only resets colours too (resetting font,
   padding or margin there made buttons jump), and its "transition: all" is switched off. */
.parko button {
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	padding: 0;
	margin: 0;
	text-transform: inherit;
	cursor: pointer;
	transition: none;
}

.parko button:hover,
.parko button:focus {
	background: none;
	color: inherit;
	text-decoration: none;
}

/* No grey/blue flash when tapping buttons and links on mobile. */
.parko button,
.parko a,
.parko label {
	-webkit-tap-highlight-color: transparent;
}

.parko button:focus-visible,
.parko a:focus-visible,
.parko input:focus-visible + .parko-check__box {
	outline: 2px solid var(--parko-gold);
	outline-offset: 2px;
}

.parko [hidden] {
	display: none !important;
}

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

.parko dl,
.parko dd,
.parko figure {
	margin: 0;
}

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

.parko-container {
	width: 100%;
	max-width: calc(1440px + 2 * var(--parko-gutter));
	margin-inline: auto;
	padding-inline: var(--parko-gutter);
}

.parko-h2 {
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: clamp(34px, 2.85vw, 54px);
	line-height: 1.1;
	color: var(--parko-text);
	margin: 0 0 clamp(20px, 2vw, 36px);
	letter-spacing: -0.01em;
}

.parko-arrow {
	display: block;
	color: var(--parko-gold);
	width: clamp(28px, 2.6vw, 50px);
	height: auto;
	flex: none;
}

/* Buttons */
.parko .parko-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 46px;
	padding: 12px 36px;
	font-family: var(--parko-sans);
	font-size: 15px;
	line-height: 1.2;
	transition: background-color 0.2s, color 0.2s;
}

.parko .parko-btn--light,
.parko .parko-btn--light:focus {
	background: var(--parko-beige);
	color: var(--parko-green);
}

.parko .parko-btn--light:hover {
	background: #fff;
	color: var(--parko-green);
}

.parko .parko-btn--sage {
	background: var(--parko-sage);
	color: #fff;
}

.parko .parko-btn--sage:hover {
	background: var(--parko-green);
	color: #fff;
}

/* ---------- Filter bar (Figma: Rinktis butą, 1920px) ---------- */

.parko-filter {
	background: var(--parko-dark);
	color: #fff;
	margin: 0;
}

.parko-filter__inner {
	display: flex;
	align-items: flex-end;
	gap: clamp(24px, 3.45vw, 66px);
	padding-block: 56px 55px;
}

.parko-filter__group {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.parko-filter__label {
	font-size: 20px;
	line-height: 1.4;
}

.parko .parko-filter__submit {
	margin-left: auto;   /* .parko button resets margin, so this needs the same specificity */
}

.parko .parko-filter__submit {
	width: 176px;
	min-height: 48px;
	padding: 0 20px;
	font-size: 17px;
	font-weight: 300;
	gap: 20px;
}

.parko-pills {
	display: flex;
	gap: 11px;
	align-items: center;
}

.parko .parko-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	border: 1px solid var(--parko-beige);
	border-radius: 999px;
	font-size: 14px;
	line-height: 1;
	letter-spacing: -0.1px;
	color: #fff;
	transition: background-color 0.2s, color 0.2s;
}

.parko .parko-pill.is-wide {
	width: 51px;
	padding: 0;
}

.parko .parko-pill:hover,
.parko .parko-pill.is-active,
.parko .parko-pill.is-active:hover {
	background: var(--parko-beige);
	border-color: var(--parko-beige);
	color: var(--parko-green);
}

/* Dual range slider: two native ranges stacked on one track. */
.parko-filter__group--range {
	width: 274px;
}

.parko-range {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 31px;
	font-size: 14px;
	letter-spacing: -0.1px;
}

.parko-range__val {
	min-width: 2ch;
	text-align: center;
}

.parko-range__track {
	position: relative;
	flex: 1;
	height: 15px;
}

.parko-range__track::before,
.parko-range__fill {
	content: "";
	position: absolute;
	top: 50%;
	height: 1px;
	background: rgba(255, 255, 255, 0.35);
	left: 0;
	right: 0;
}

.parko-range__fill {
	background: var(--parko-beige);
	left: var(--from, 0%);
	right: calc(100% - var(--to, 100%));
}

.parko-range input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 15px;
	margin: 0;
	background: none;
	appearance: none;
	pointer-events: none;
	border: 0;
	padding: 0;
}

.parko-range input[type="range"]::-webkit-slider-runnable-track {
	background: none;
	border: 0;
}

.parko-range input[type="range"]::-moz-range-track {
	background: none;
	border: 0;
}

.parko-range input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--parko-beige);
	border: 0;
	pointer-events: auto;
	cursor: grab;
}

.parko-range input[type="range"]::-moz-range-thumb {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--parko-beige);
	border: 0;
	pointer-events: auto;
	cursor: grab;
}

.parko-range input[type="range"]:focus-visible::-webkit-slider-thumb {
	outline: 2px solid var(--parko-gold);
	outline-offset: 2px;
}

.parko-check {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	height: 31px;
	font-size: 17px;
	letter-spacing: -0.1px;
	cursor: pointer;
}

.parko-check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.parko-check__box {
	width: 18px;
	height: 18px;
	border: 1px solid var(--parko-beige);
	display: inline-block;
	position: relative;
	flex: none;
}

.parko-check input:checked + .parko-check__box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid var(--parko-beige);
	border-width: 0 1px 1px 0;
	transform: rotate(45deg);
}

/* ---------- Sort bar + list ---------- */

.parko-list {
	padding-block: 70px 150px;
}

.parko-sort {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 15px;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: var(--parko-green);
	margin-bottom: 50px;
}

.parko-sort__buttons {
	display: flex;
	gap: 41px;
	margin-left: 55px;
}

.parko .parko-sort__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--parko-green);
}

.parko .parko-sort__btn .parko-chevron {
	transition: transform 0.2s;
}

.parko .parko-sort__btn[data-dir="desc"] .parko-chevron {
	transform: rotate(180deg);
}

.parko .parko-sort__btn:hover,
.parko .parko-sort__btn[aria-pressed="true"] {
	color: var(--parko-gold);
}

.parko .parko-sort__btn {
	transition: color 0.2s;
}

.parko .parko-sort__reset {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: 118px;
	transition: color 0.2s;
}

.parko .parko-sort__reset,
.parko .parko-sort__reset:focus {
	color: var(--parko-green);
}

.parko .parko-sort__reset:hover {
	color: var(--parko-gold);
}

.parko-floor + .parko-floor {
	margin-top: 170px;
}

.parko-list .parko-h2 {
	font-size: 50px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--parko-text);
	margin-bottom: 50px;
}

.parko-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Columns centred where the Figma card has them (card content 1440 - 93 - 74 = 1273px). */
.parko-card {
	display: grid;
	grid-template-columns: 197fr 166fr 166fr 214fr 156fr 242fr 132fr;
	align-items: center;
	min-height: 200px;
	padding-inline: clamp(24px, 4.85vw, 93px) clamp(24px, 3.85vw, 74px);
	border: 1px solid var(--parko-sage);
	background: transparent;
	transition: background-color 0.2s;
}

.parko-card.is-rezervuotas {
	background: rgba(213, 168, 91, 0.15);
}

.parko-card.is-parduotas {
	background: rgba(217, 161, 161, 0.2);
}

.parko-card:hover {
	background: rgba(140, 174, 121, 0.2);
}

/* Reserved / sold keep their colour on hover, just stronger (same as the parking / storage tables) */
.parko-card.is-rezervuotas:hover {
	background: rgba(213, 168, 91, 0.4);
}

.parko-card.is-parduotas:hover {
	background: rgba(217, 161, 161, 0.5);
}

.parko-card__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

/* The apartment being viewed (on its own page) */
.parko-card.is-current,
.parko-card.is-current:hover {
	background: #e3d9cd;   /* user, 2026-10-05 (was #67533380 with a white arrow); the arrow keeps its gold */
}

.parko-card__badge {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0.1px;
	white-space: nowrap;
}

.parko-card__nr {
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: clamp(32px, 2.6vw, 50px);
	line-height: 1;
	white-space: nowrap;
}

.parko-card__cols {
	display: contents;
}

.parko-card__col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	text-align: center;
}

.parko-card__col dt {
	font-size: 17px;
	letter-spacing: -0.1px;
	line-height: 1.4;
}

.parko-card__col dd {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.parko-card__go {
	justify-self: end;
	transition: transform 0.2s;
}

.parko-card .parko-arrow {
	width: 48px;
}

.parko-card:hover .parko-card__go {
	transform: translateX(6px);
}

.parko-empty {
	text-align: center;
	padding: 48px 0;
	font-size: 18px;
}

/* ---------- Single apartment (Figma: Rinktis butą - Butas - 2D, 1920px) ---------- */

.parko-butas-top {
	display: grid;
	grid-template-columns: minmax(340px, 31.875%) 1fr;   /* panel 612 / 1920 */
}

.parko-butas-top__info {
	background: var(--parko-beige);
}

.parko-info {
	padding: 75px clamp(24px, 4.95vw, 95px) 92px;
	color: #122110;
}

.parko-back {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	font-size: 17px;
	letter-spacing: -0.1px;
	color: var(--parko-green);
}

.parko .parko-back {
	margin-left: calc(-1 * clamp(0px, 0.73vw, 14px));
}

.parko .parko-back {
	color: var(--parko-green);
	transition: color 0.2s;
}

.parko .parko-back:hover {
	color: var(--parko-gold);
}

.parko-back .parko-arrow {
	transform: scaleX(-1);
	width: 25px;
}

.parko-info__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 37px 0 54px;
}

.parko .parko-info__nr {
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: clamp(56px, 4.17vw, 80px);
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0 0 0 -8px;
	color: #122110;
}

.parko-info__compass {
	width: 114px;
	height: auto;
	flex: none;
	margin-right: calc(-1 * clamp(0px, 1.1vw, 21px));   /* Figma: overhangs the rows by 21px */
}

.parko-info__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 33px 11px 8px;
	border-bottom: 1px solid #a0a294;
}

.parko-info__row dt {
	font-size: 20px;
	line-height: 1.4;
}

.parko-info__row dd {
	font-size: 17px;
	letter-spacing: -0.1px;
	line-height: 1.4;
	text-align: right;
}

.parko .parko-info__rows {
	margin-bottom: 62px;
}

.parko.parko-info .parko-btn,
.parko .parko-plans__links .parko-btn {
	min-height: 48px;
	padding: 0 23px;
	font-size: 17px;
	font-weight: 300;
	gap: 20px;
}

.parko.parko-info .parko-btn {
	width: 176px;
}

.parko-plans {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 159px clamp(24px, 7.97vw, 153px) 0 clamp(24px, 6.04vw, 116px);
}

.parko-plans__images {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 610px;
	/* Figma centres the plan in the whole column, not inside the asymmetric padding */
	margin: 0 calc(-1 * clamp(24px, 7.97vw, 153px)) 0 calc(-1 * clamp(24px, 6.04vw, 116px));
}

/* Both plans share one box (the column's content width x 610px, as the 2D plan in Figma):
   contained, never stretched and never enlarged past the file's own size. */
.parko-plans__img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: calc(100% - clamp(24px, 7.97vw, 153px) - clamp(24px, 6.04vw, 116px));
}

.parko-plans__img img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	margin-inline: auto;
}

.parko-plans__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 109px;
	flex-wrap: wrap;
}

.parko-tabs {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.25vw, 24px);
}

.parko .parko-tabs__tab,
.parko .parko-tabs__tab:hover,
.parko .parko-tabs__tab:focus {
	font-size: 20px;
	line-height: 1.4;
	color: var(--parko-green);
}

.parko .parko-tabs__tab.is-active {
	font-weight: 700;
}

.parko-tabs__line {
	width: clamp(24px, 2.6vw, 50px);
	height: 1px;
	background: var(--parko-gold);
}

.parko-plans__links {
	display: flex;
	gap: clamp(12px, 1.25vw, 24px);
	flex-wrap: wrap;
}

/* Figma values at 1920px; tighter on smaller laptops so tabs + buttons stay on one row */
.parko .parko-plans__links .parko-btn {
	padding: 0 clamp(12px, 1.2vw, 23px);
}

/* Tablets: tabs and buttons on two centred rows under the plan */
@media (min-width: 768px) and (max-width: 1200px) {
	.parko-plans {
		padding-inline: 32px;
	}

	.parko-plans__images {
		margin-inline: -32px;
	}

	.parko-plans__img {
		max-width: calc(100% - 64px);
	}

	.parko-plans__bar {
		flex-direction: column;
		justify-content: center;
		gap: 24px;
	}

	.parko-plans__links {
		justify-content: center;
	}
}

/* ---------- "Buto vieta aukšte" (Figma: 120px below the top block, centred 50px heading,
   plan 90px below it at the full content width, 140px before the filters) ---------- */

.parko-butas-top__floor {
	grid-column: 1 / -1;
}

.parko-floorplan {
	background: var(--parko-bg);
	padding: 120px 0 140px;
}

.parko .parko-floorplan__title {
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: 50px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--parko-text);
	text-align: center;
	margin: 0 0 90px;
}

/* The colour sits ABOVE the plan and multiplies: the plan has white-filled furniture that would
   otherwise cover it. rgb(180,171,154) multiplied with the page bg #FAF5F1 gives exactly
   #67533380 over that bg (same as the selected card); black lines stay black. */
.parko-floorplan .parko-parking__spots {
	z-index: 1;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.parko-floorplan .parko-parking__spots polygon {
	fill: rgb(180, 171, 154);
}

@media (max-width: 767px) {
	/* between the plans and the info panel; zoom buttons hang 33px below the plan (Figma) */
	.parko-butas-top__floor {
		order: -1;
	}

	.parko-floorplan {
		padding: 4px 0 102px;
	}

	.parko .parko-floorplan__title {
		font-size: 40px;
		letter-spacing: -0.02em;
		margin-bottom: 64px;
	}

	.parko-floorplan .parko-zoom {
		bottom: -33px;
	}

	.parko-floorplan .parko-zoom svg {
		width: 43px;
		height: 43px;
	}
}

/* ---------- Floor page (Figma: "Pasirinkus konkretų aukštą") ---------- */

.parko-floorpage {
	background: var(--parko-bg);
	padding: 50px 0 26px;
}

.parko-floormap {
	position: relative;
	margin-top: 37px;
}

/* Status colours sit above the plan and multiply (white-filled furniture would hide them).
   Multiplying with these opaque colours gives exactly the brand rgba colours over the page bg. */
.parko-floormap__svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	mix-blend-mode: multiply;
}

.parko-floormap__apt polygon {
	fill: #fff;                          /* laisvas: nothing until hover */
	transition: fill 0.15s;
	cursor: pointer;
}

.parko-floormap__apt:hover polygon,
.parko-floormap__apt.is-active polygon {
	fill: rgb(188, 211, 179);            /* #8CAE7999 */
}

.parko-floormap__apt.is-rezervuotas polygon {
	fill: rgb(249, 243, 231);            /* #D5A85B26 */
}

.parko-floormap__apt.is-rezervuotas:hover polygon,
.parko-floormap__apt.is-rezervuotas.is-active polygon {
	fill: rgb(240, 223, 192);            /* same colour, 40% */
}

.parko-floormap__apt.is-parduotas polygon {
	fill: rgb(248, 238, 238);            /* #D9A1A133 */
}

.parko-floormap__apt.is-parduotas:hover polygon,
.parko-floormap__apt.is-parduotas.is-active polygon {
	fill: rgb(238, 211, 213);            /* same colour, 50% */
}

.parko-floormap__apt:focus {
	outline: none;
}

/* Info card: "+" dot on the apartment, card up and to the right of it */
.parko-floormap__tip {
	position: absolute;
	z-index: 5;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* (img selector: beats generic img rules) */
.parko-floormap img.parko-floormap__dot {
	position: absolute;
	left: -13.5px;         /* burbulas.svg (39px) always on the card's bottom-left corner */
	bottom: -7.5px;
	z-index: 1;
	display: block;
	width: 39px;
	height: 39px;
	max-width: none;
}

.parko .parko-floormap__card {
	position: absolute;
	left: -6px;
	bottom: -12px;
	display: flex;
	flex-direction: column;
	padding: 21px 37px 45px 28px;
	border-radius: 11px;
	background: #ede6db;
	color: #122110;
	pointer-events: auto;
	box-shadow: 0 6px 24px rgba(34, 51, 32, 0.12);
}

.parko .parko-floormap__tip.is-below .parko-floormap__card {
	bottom: auto;
	top: -12px;
}

.parko .parko-floormap__tip.is-left .parko-floormap__card {
	left: auto;
	right: -6px;
}

/* mouse: the card follows the cursor, above it on its left; not clickable */
.parko .parko-floormap__tip.is-follow .parko-floormap__card {
	left: auto;
	right: 14px;
	top: auto;
	bottom: 14px;
	pointer-events: none;
}

.parko .parko-floormap__tip.is-follow.is-right .parko-floormap__card {
	right: auto;
	left: 18px;
}

.parko .parko-floormap__tip.is-follow.is-below .parko-floormap__card {
	bottom: auto;
	top: 22px;
}

.parko-floormap__nr {
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: 40px;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #122110;
	margin-bottom: 15px;
	white-space: nowrap;
}

.parko-floormap__line {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	color: #122110;
	margin-bottom: 3px;
	white-space: nowrap;
}

.parko-floormap__line:empty {
	display: none;
}

.parko-floormap__line:last-of-type {
	margin-bottom: 0;
}

/* arrow sits in the card's bottom padding, bottom-right */
.parko-floormap__card .parko-arrow {
	position: absolute;
	right: 20px;
	bottom: 16px;
	width: 30px;
	color: #122110;
}

/* positioning box for the info card (it sits outside the scrolling canvas) */
.parko-floormap .parko-parking__zoombox {
	position: relative;
}

/* compass + legend in the plan's empty bottom-left corner */
.parko-floormap__compass {
	position: absolute;
	left: 0;
	top: 83.7%;
	z-index: 1;
	width: 114px;
	height: auto;
	pointer-events: none;
}

.parko .parko-floormap__legend {
	position: absolute;
	left: 273px;
	top: 89.5%;
	z-index: 1;
	display: flex;
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 17px;
	letter-spacing: -0.1px;
	color: var(--parko-green);
}

.parko-floormap__legend li {
	display: flex;
	align-items: center;
	gap: 13px;
}

.parko-floormap__legend span {
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: rgba(140, 174, 121, 0.6);
}

.parko-floormap__legend .is-rezervuotas {
	background: rgba(213, 168, 91, 0.15);
}

.parko-floormap__legend .is-parduotas {
	background: rgba(217, 161, 161, 0.2);
}

@media (max-width: 1024px) {
	.parko-floormap__compass,
	.parko .parko-floormap__legend {
		position: static;
	}

	.parko .parko-floormap__legend {
		margin-top: 24px;
		flex-wrap: wrap;
		gap: 12px 28px;
	}

	.parko-floormap__compass {
		display: block;
		width: 107px;
		margin: 0 0 16px auto;
	}
}

@media (max-width: 767px) {
	.parko-floorpage {
		padding: 30px 0 10px;
	}

	.parko-floormap {
		margin-top: 20px;
	}

	.parko-floormap .parko-zoom {
		position: static;
		margin-top: 26px;
	}

	.parko .parko-floormap__legend {
		margin-top: 40px;
		font-size: 16px;
		gap: 10px 22px;
	}

	.parko .parko-floormap__card {
		padding: 22px 39px 47px 29px;
	}
}

/* ---------- "Rinktis butą" hero: building with clickable floors ---------- */

.parko-house {
	background: var(--parko-bg);
}

/* desktop: always exactly the editor's crop window (--d-*) of the full photo, full width with the
   window's own proportions (900px tall at 1920px) */
.parko-housemap {
	margin: 0;
}

.parko-housemap .parko-parking__scroll {
	overflow: hidden;
}

.parko-housemap .parko-parking__canvas {
	width: 100%;
	aspect-ratio: var(--d-ar);
	overflow: hidden;
}

.parko-house__photo > picture {
	display: block;
}

.parko-house__photo {
	position: absolute;
	left: var(--d-l);
	top: var(--d-t);
	width: var(--d-w);
}

/* photo: plain overlay (no multiply); free floors white like the designer's B1-B4 examples */
.parko-housemap .parko-floormap__svg {
	mix-blend-mode: normal;
}

.parko-housemap .parko-floormap__apt polygon {
	fill: transparent;
}

.parko-housemap .parko-floormap__apt:hover polygon,
.parko-housemap .parko-floormap__apt.is-active polygon {
	fill: rgba(255, 255, 255, 0.7);
}

.parko-housemap .parko-floormap__apt.is-rezervuotas polygon {
	fill: rgba(213, 168, 91, 0.45);
}

.parko-housemap .parko-floormap__apt.is-rezervuotas:hover polygon,
.parko-housemap .parko-floormap__apt.is-rezervuotas.is-active polygon {
	fill: rgba(213, 168, 91, 0.65);
}

.parko-housemap .parko-floormap__apt.is-parduotas polygon {
	fill: rgba(217, 161, 161, 0.5);
}

.parko-housemap .parko-floormap__apt.is-parduotas:hover polygon,
.parko-housemap .parko-floormap__apt.is-parduotas.is-active polygon {
	fill: rgba(217, 161, 161, 0.7);
}

.parko-housemap .parko-zoom {
	display: none;
}

/* designer's gradient (BG-Content-desktop.svg) across the top of the photo, full width, height by its own
   ratio; under the floor card, transparent to the mouse so the floors stay hoverable / clickable */
.parko-house__shade {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: auto;
	pointer-events: none;
}

/* page-load hint: each floor briefly lights up (from its own colour to the hover white and back) */
.parko-housemap .parko-floormap__apt.is-hint polygon {
	animation: parko-floor-hint 1.3s ease-in-out;
}

@keyframes parko-floor-hint {
	50% {
		fill: rgba(255, 255, 255, 0.6);
	}
}

/* mobile (mockup): 325px tall strip of the editor's mobile crop window (--m-*), pannable, starting
   scrolled to its focus point; zoom buttons over the left side. On screens wider than that strip
   (325px x the crop's ratio, ~436px) it grows to the full width and gets taller in proportion,
   so no empty band is left on the right. */
@media (max-width: 767px) {
	.parko-housemap .parko-parking__scroll {
		width: 100%;                 /* explicit, or min-height would widen it through the ratio */
		aspect-ratio: var(--m-ar);   /* height = width / ratio ... */
		min-height: 325px;           /* ... but never under the mockup's 325px */
		overflow: auto;
	}

	.parko-housemap .parko-parking__canvas {
		width: calc(var(--zoom, 1) * max(325px * var(--m-ar), 100%));
		aspect-ratio: var(--m-ar);
	}

	.parko-house__photo {
		left: var(--m-l);
		top: var(--m-t);
		width: var(--m-w);
	}

	.parko-house__shade {
		display: none;
	}

	.parko .parko-housemap .parko-zoom {
		display: flex;
		flex-direction: row;
		gap: 7px;
		position: absolute;
		left: 24px;
		bottom: 16px;
		margin: 0;
	}

	.parko-housemap .parko-zoom svg {
		display: block;
		width: 34px;
		height: 34px;
	}
}

/* ---------- Parking / storage tables ---------- */

.parko-table-wrap {
	padding-block: clamp(48px, 5vw, 96px) clamp(64px, 7vw, 140px);
}

.parko .parko-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--parko-line);
	margin: 0;
	font-size: clamp(15px, 0.95vw, 18px);
	background: var(--parko-bg);
}

.parko .parko-table th,
.parko .parko-table td {
	border: 0;
	border-bottom: 1px solid var(--parko-line);
	padding: clamp(14px, 1.1vw, 20px) 12px;
	text-align: center;
	line-height: 1.3;
	background: none;
	width: 33.33%;
}

.parko .parko-table thead th {
	background: var(--parko-green);
	color: #fff;
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: clamp(20px, 1.4vw, 27px);
	border-bottom: 0;
}

.parko .parko-table tbody tr > td {
	background: var(--parko-bg);
	transition: background-color 0.2s;
}

.parko .parko-table tbody tr.is-rezervuotas > td {
	background: var(--parko-reserved);
}

.parko .parko-table tbody tr.is-parduotas > td {
	background: var(--parko-sold);
}

.parko .parko-table tbody tr:hover > td {
	background: #dbe0cc;
}

/* ---------- Parking page (values from parkingas/stiliai.txt) ---------- */

.parko-parking {
	--parko-free: rgba(140, 174, 121, 0.3);   /* #8CAE794D */
	--parko-res: rgba(213, 168, 91, 0.15);    /* #D5A85B26 */
	--parko-res-hover: rgba(213, 168, 91, 0.4);
	--parko-sold: rgba(217, 161, 161, 0.2);   /* #D9A1A133 */
	--parko-sold-hover: rgba(217, 161, 161, 0.5);

	background: var(--parko-bg);
	padding: 50px 0 150px;   /* "Grįžti atgal" at the top, as on the floor pages (was 87px to the plan) */
}

.parko-parking__map {
	position: relative;
	margin-top: 37px;
}

/* Desktop: the plan sits slightly right of the content column (as in the mockup);
   its empty bottom-left corner holds the legend. Mobile has its own plan (below). */
.parko-parking__plan--desktop {
	width: 90.4%;
	margin-left: 9.6%;
}

.parko-parking__plan--mobile {
	display: none;
}

.parko-parking__canvas {
	position: relative;
	width: calc(var(--zoom, 1) * 100%);
}

.parko-parking__canvas img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.parko-parking__spots {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.parko-parking__canvas.is-loading .parko-parking__spots {
	visibility: hidden;
}

.parko-parking__spots polygon {
	fill: var(--parko-free);
}

.parko-parking__spots polygon.is-rezervuotas {
	fill: var(--parko-res);
}

.parko-parking__spots polygon.is-parduotas {
	fill: var(--parko-sold);
}

.parko-parking__legend {
	position: absolute;
	left: 0;
	top: 81.4%;
}

.parko-parking__legend img {
	display: block;
	width: 412px;
	max-width: 100%;
	height: auto;
}

.parko-zoom {
	display: none;
	gap: 13px;
}

.parko .parko-zoom button {
	display: block;
	border-radius: 50%;
}

.parko .parko-zoom button:disabled {
	opacity: 0.5;
	cursor: default;
}

.parko .parko-parking__title {
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: 50px;
	line-height: 1;
	letter-spacing: 0;
	color: #223320;
	/* Desktop mockup: the heading starts ~42px above the plan's lowest point (at 1920px),
	   tucked into the plan's empty bottom-left corner; scales with the plan. */
	margin: clamp(-42px, -2.2vw, -16px) 0 70px;
	position: relative;
}

@media (max-width: 1024px) {
	.parko .parko-parking__title {
		margin-top: 40px;
	}
}

.parko.parko-parking .parko-table {
	font-size: 20px;
	line-height: 1.4;
}

.parko.parko-parking .parko-table th,
.parko.parko-parking .parko-table td {
	padding: 16px;
}

.parko.parko-parking .parko-table thead th {
	background: #3f513d;
	font-size: 28px;
	line-height: 1;
}

.parko.parko-parking .parko-table tbody tr > td {
	background: transparent;
}

.parko.parko-parking .parko-table tbody tr:hover > td {
	background: var(--parko-free);
}

.parko.parko-parking .parko-table tbody tr.is-rezervuotas > td {
	background: var(--parko-res);
}

.parko.parko-parking .parko-table tbody tr.is-rezervuotas:hover > td {
	background: var(--parko-res-hover);
}

.parko.parko-parking .parko-table tbody tr.is-parduotas > td {
	background: var(--parko-sold);
}

.parko.parko-parking .parko-table tbody tr.is-parduotas:hover > td {
	background: var(--parko-sold-hover);
}

@media (max-width: 1024px) {
	.parko-parking__plan--desktop {
		width: 100%;
		margin-left: 0;
	}

	.parko-parking__legend {
		position: static;
		display: block;
		margin-top: 40px;
	}
}

@media (max-width: 767px) {
	.parko-parking {
		padding: 30px 0 70px;
	}

	.parko-parking__map {
		margin-top: 20px;
	}

	.parko-parking .parko-container {
		padding-inline: 24px;
	}

	/* Mobile plan (mockup: compass top-right, plan starts 87px below the compass top,
	   zoom buttons over the plan's empty bottom-left corner). */
	.parko-parking__plan--desktop {
		display: none;
	}

	.parko-parking__plan--mobile {
		display: block;
		position: relative;
		padding-top: 87px;
	}

	.parko-parking__compass {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 3; /* stays above the plan when it is zoomed */
		width: 107px;
		height: auto;
		pointer-events: none;
	}

	.parko-parking__zoombox {
		position: relative;
	}

	/* Zoom is mobile only: the canvas grows inside a scrollable box, panned by touch.
	   Scroll chaining stays on (no overscroll-behavior) so a swipe over the plan still
	   scrolls the page once the plan reaches its edge; scrollbars are hidden. */
	.parko-parking__scroll {
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.parko-parking__scroll::-webkit-scrollbar {
		display: none;
	}

	.parko-zoom {
		display: flex;
		position: absolute;
		left: 0;
		bottom: 17px;
		z-index: 2;
	}

	.parko-parking__legend {
		margin-top: 54px;
	}

	.parko-parking__legend img {
		width: 391px;
	}

	.parko .parko-parking__title {
		font-size: 40px;
		letter-spacing: -0.02em;
		margin: 72px 0 54px;
	}

	/* Compact mobile table. */
	.parko.parko-parking .parko-table {
		font-size: 16px;
		line-height: 1.3;
	}

	.parko.parko-parking .parko-table thead th {
		font-size: 20px;
		padding: 14px 6px;
	}

	.parko.parko-parking .parko-table td {
		padding: 11px 6px;
	}
}

/* ---------- Storage page: same component, layout from the storage mockups ---------- */

/* Desktop mockup (1920px): plan starts 168px below the header; its walls span the content
   column exactly, so the image (with the window symbol on its left) overhangs by 2.5%;
   legend at 88.6% of the plan height; heading ~121px below the plan. */
.parko-parking--sandeliukai .parko-parking__map {
	margin-top: 93px;   /* the plan stays 168px from the top, as before "Grįžti atgal" was added */
}

.parko-parking--sandeliukai .parko-parking__plan--desktop {
	width: 102.5%;
	margin-left: -2.5%;
}

.parko-parking--sandeliukai .parko-parking__legend {
	top: 88.6%;
}

.parko.parko-parking--sandeliukai .parko-parking__title {
	margin-top: clamp(60px, 6.3vw, 121px);
}

@media (max-width: 1024px) {
	.parko-parking--sandeliukai .parko-parking__plan--desktop {
		width: 100%;
		margin-left: 0;
	}

	.parko.parko-parking--sandeliukai .parko-parking__title {
		margin-top: 40px;
	}
}

/* Mobile mockup: 54px top, zoom buttons 23px below the plan (not over it),
   legend 71px below the buttons, heading 72px, table 54px. */
@media (max-width: 767px) {
	.parko-parking--sandeliukai .parko-parking__map {
		margin-top: 20px;   /* under "Grįžti atgal", as on the other pages */
	}

	/* No compass on the storage plan, so no room reserved above it. */
	.parko-parking--sandeliukai .parko-parking__plan--mobile {
		padding-top: 0;
	}

	.parko-parking--sandeliukai .parko-zoom {
		position: static;
		margin-top: 23px;
	}

	.parko-parking--sandeliukai .parko-parking__legend {
		margin-top: 71px;
	}

	.parko.parko-parking--sandeliukai .parko-parking__title {
		margin-top: 72px;
	}
}

/* ---------- Tablet / mobile ---------- */


@media (max-width: 1280px) {
	.parko-filter__inner {
		flex-wrap: wrap;
		row-gap: 32px;
	}

	.parko .parko-filter__submit {
		margin-left: 0;
	}
}

@media (max-width: 1024px) {
	.parko-card {
		grid-template-columns: 1.3fr repeat(4, 1fr) 1.3fr 0.6fr;
		padding-inline: 20px;
	}

	.parko-sort__buttons {
		margin-left: 32px;
	}

	.parko .parko-sort__reset {
		margin-left: 48px;
	}

	.parko-butas-top {
		grid-template-columns: minmax(320px, 40%) 1fr;
	}

	.parko-plans {
		padding-top: 80px;
	}
}

/* Figma mobile (440px) */
@media (max-width: 767px) {
	.parko,
	.parko-page {
		--parko-gutter: 24px;
	}

	/* Filters: label column 118px, rows every ~64px, centred button */
	.parko-filter__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 30px;
		padding-block: 40px 37px;
	}

	.parko-filter__group {
		flex-direction: row;
		align-items: center;
		gap: 0;
	}

	/* Figma sizes at 440px, shrinking on narrower phones so nothing overflows */
	.parko-filter__label {
		flex: 0 0 clamp(86px, 26.8vw, 118px);
		font-size: 17px;
	}

	.parko-check {
		font-size: 15px;
	}

	.parko-filter__group > :last-child {
		min-width: 0;
	}

	.parko .parko-pill {
		width: clamp(28px, 7.7vw, 34px);
		height: clamp(28px, 7.7vw, 34px);
		font-size: clamp(13px, 3.5vw, 15.4px);
	}

	.parko .parko-pill.is-wide {
		width: clamp(46px, 12.8vw, 56px);
	}

	.parko-pills {
		flex-wrap: wrap;
		gap: 8px clamp(6px, 2.84vw, 12.5px);
	}

	/* values sit above the slider dots */
	.parko-filter__group--range {
		width: auto;
	}

	.parko-filter__group--range .parko-range {
		flex: 1;
		height: auto;
		display: grid;
		grid-template-columns: 15px 1fr 15px;
		grid-template-rows: auto 15px;
		row-gap: 4px;
		column-gap: 0;
		font-size: 15px;
	}

	.parko-range__val {
		min-width: 0;
		justify-self: center;
		white-space: nowrap;
	}

	.parko-range__val[data-range-label="min"] {
		grid-area: 1 / 1;
	}

	.parko-range__val[data-range-label="max"] {
		grid-area: 1 / 3;
	}

	.parko-range__track {
		grid-area: 2 / 1 / 3 / 4;
	}

	.parko .parko-filter__submit {
		align-self: center;
		width: 186px;
		margin-top: 10px;
	}

	/* Sort: label + "rodyti viską" on one row, sort buttons below */
	.parko-list {
		padding-block: 36px 70px;
	}

	.parko-sort {
		display: grid;
		grid-template-columns: 1fr auto;
		row-gap: 20px;
		font-size: 17px;
		letter-spacing: 0.34px;
		margin-bottom: 34px;
	}

	.parko-sort__buttons {
		grid-row: 2;
		gap: 22px;
		margin-left: 0;
	}

	.parko .parko-sort__reset {
		grid-area: 1 / 2;
		margin-left: 0;
	}

	.parko-list .parko-h2 {
		font-size: 40px;
		letter-spacing: -0.02em;
		margin-bottom: 34px;
	}

	.parko-floor + .parko-floor {
		margin-top: 50px;
	}

	/* Cards: stacked label / value rows (34px padding, a row every 40px) sharing borders */
	.parko-cards {
		gap: 0;
	}

	.parko-card {
		display: block;
		padding: 34px;
		min-height: 0;
	}

	/* only after a VISIBLE card - filtered-out cards stay in the DOM (hidden), so "+" would take the top
	   border off the first card left after filtering */
	.parko-card:not([hidden]) ~ .parko-card {
		border-top: 0;
	}

	.parko-card__head {
		margin-bottom: 22px;
	}

	.parko-card__nr {
		display: block;
		font-size: 34px;
	}

	.parko-card__cols {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.parko-card__col {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
	}

	.parko-card__go {
		display: flex;
		justify-content: flex-start;
		justify-self: start;   /* desktop's justify-self: end also applies to block boxes in current Chrome */
		margin-top: 31px;
	}

	/* Single apartment: plans first (tabs, plan, buttons), info panel below */
	.parko-butas-top {
		display: flex;
		flex-direction: column;
	}

	.parko-butas-top__plans {
		order: -1;
	}

	.parko-plans {
		padding: 70px var(--parko-gutter);
	}

	.parko-plans__images {
		order: 2;
		height: auto;
		margin: 0;
	}

	.parko-plans__img {
		max-width: 364px;
		height: 419px;
		margin-inline: auto;
	}

	.parko-plans__bar {
		display: contents;
	}

	.parko-tabs {
		order: 1;
		justify-content: center;
		margin-bottom: 50px;
	}

	.parko-plans__links {
		order: 3;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		margin-top: 70px;
	}

	.parko .parko-plans__links .parko-btn {
		padding: 0 10px;
	}

	.parko-info {
		padding: 50px var(--parko-gutter);
	}

	.parko .parko-back {
		margin-left: 0;
		gap: 12px;
		font-size: 18px;
	}

	.parko-info__head {
		margin: 40px 0 17px;
	}

	.parko .parko-info__nr {
		font-size: 70px;
		margin-left: -4px;
	}

	.parko-info__row {
		padding: 25px 11px 8px;
	}

	.parko-info__row dd {
		font-size: 18px;
	}

	.parko .parko-info__rows {
		margin-bottom: 40px;
	}

	.parko.parko-info .parko-btn {
		min-height: 50px;
	}

	.parko-info__compass {
		margin-right: 0;
	}

	.parko .parko-table thead th {
		font-size: 22px;
	}

	.parko .parko-table th,
	.parko .parko-table td {
		padding: 16px 6px;
	}
}

/* Narrow phones: "Rinktis parkingą / sandėliuką" no longer fit side by side - one per row */
@media (max-width: 459px) {
	.parko-plans__links {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.parko .parko-plans__links .parko-btn {
		padding: 0 20px;
	}
}

/* ---------- "Projekto galerija" carousel (Galerija/galerija-pavyzdys.jpg, galerija-mobile.png) ---------- */

.parko-gallery {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--parko-green);
	color: #fff;
}

/* each slide's background photo under a 90% "Pušų žaluma" layer; crossfades with the slides */
.parko-gallery__bg,
.parko-gallery__bg::after {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.parko-gallery__bg::after {
	content: "";
	z-index: 0;
	background: rgba(63, 81, 61, 0.9);
}

.parko-gallery__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.parko-gallery__bg img.is-on {
	opacity: 1;
}

/* exact spec (desktop): block padding 132 20 169 20, content max 1440px */
.parko-container.parko-gallery__inner {
	max-width: calc(1440px + 40px);
	padding: 132px 20px 169px;
}

/* buttons sit on the heading's bottom line; hr 66px under them */
.parko-gallery__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 66px;
	border-bottom: 1px solid #ede6db;
}

.parko .parko-gallery__title {
	margin: 0;
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: clamp(56px, 4.17vw, 80px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: #fff;
}

.parko-gallery__tabs {
	display: flex;
	gap: 20px;
}

.parko .parko-gallery__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 14px 30px;
	font-family: var(--parko-sans);
	font-size: 17.75px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
	background: #ede6db;
	color: #3f513d;
	transition: background-color 0.2s, color 0.2s;
}

.parko .parko-gallery__tab svg {
	display: block;
	flex: none;
}

.parko .parko-gallery__tab:focus {
	background: #ede6db;
	color: #3f513d;
}

/* active and hover look the same */
.parko .parko-gallery__tab:hover,
.parko .parko-gallery__tab.is-active,
.parko .parko-gallery__tab.is-active:focus {
	background: #d5a85b;
	color: #fff;
}

/* photo in the middle (708px of 1440), counter top right (111px under the hr), dashes bottom left,
   prev / next bottom right (swapped from the mockup at the user's request, 2026-10-05) */
.parko-gallery__body {
	display: grid;
	grid-template-columns: 1fr 49.17% 1fr;
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		".   stage counter"
		".   stage ."
		"dots stage nav";
	margin-top: 111px;
}

.parko-gallery__stage {
	grid-area: stage;
	position: relative;
	aspect-ratio: 1;
	margin-top: 12px;
	cursor: zoom-in;
}

.parko-gallery__set {
	position: absolute;
	inset: 0;
}

.parko .parko-gallery__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.parko .parko-gallery__slide.is-on {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.5s ease;
}

.parko-gallery__slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.parko-gallery__counter {
	grid-area: counter;
	justify-self: end;
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: clamp(40px, 2.86vw, 55px);
	line-height: 1;
	letter-spacing: 0;
	color: #ede6db;
}

.parko-gallery__nav {
	grid-area: nav;
	justify-self: end;
	align-self: end;
	display: flex;
	align-items: baseline;
	gap: 0.25em;
	margin-bottom: 4px;
	font-family: var(--parko-serif);
	font-weight: 400;
	font-size: clamp(19px, 1.3vw, 25px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #ede6db;
	white-space: nowrap;
}

.parko .parko-gallery__nav button {
	color: #ede6db;
	transition: color 0.2s;
}

.parko .parko-gallery__nav button:hover {
	color: var(--parko-gold);
}

.parko-gallery__dots {
	grid-area: dots;
	justify-self: start;
	align-self: end;
	display: flex;
	align-items: flex-end;
	gap: 13px;
	margin-bottom: 8px;
}

.parko .parko-gallery__dot {
	position: relative;
	width: 5px;
	height: 31px;
	border-radius: 3px;
	background: rgba(237, 230, 219, 0.35);
	transition: height 0.3s ease, background-color 0.3s ease;
}

/* a bigger tap / click area than the thin dash */
.parko .parko-gallery__dot::before {
	content: "";
	position: absolute;
	inset: -8px -6px;
}

.parko .parko-gallery__dot:hover,
.parko .parko-gallery__dot:focus {
	background: rgba(237, 230, 219, 0.7);
}

.parko .parko-gallery__dot.is-on {
	height: 48px;
	background: var(--parko-beige);
}

@media (max-width: 1024px) {
	.parko-gallery__inner {
		padding-block: 80px 100px;
	}

	.parko-gallery__head {
		flex-wrap: wrap;
		padding-bottom: 48px;
	}

	.parko-gallery__body {
		grid-template-columns: 1fr 60% 1fr;
		margin-top: 80px;
	}

	.parko-gallery__nav {
		flex-direction: column;
		align-items: flex-end;
		gap: 6px;
	}

	.parko-gallery__nav span {
		display: none;
	}
}

/* lightbox: the photo full size over a dark "Tamsiai žalia V2" layer */
.parko-lightbox-open,
.parko-lightbox-open body {
	overflow: hidden;
}

.parko-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 72px 96px;
	background: rgba(18, 33, 16, 0.95);
	color: var(--parko-beige);
}

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

.parko-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 144px);
	max-height: calc(100dvh - 144px);
	width: auto;
	height: auto;
	object-fit: contain;
	user-select: none;
}

.parko .parko-lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(237, 230, 219, 0.5);
	border-radius: 50%;
	color: var(--parko-beige);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.parko .parko-lightbox__btn:hover,
.parko .parko-lightbox__btn:focus-visible {
	background: var(--parko-beige);
	border-color: var(--parko-beige);
	color: var(--parko-dark);
}

.parko-lightbox__close {
	top: 16px;
	right: 24px;
}

.parko-lightbox__prev,
.parko-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.parko-lightbox__prev {
	left: 24px;
}

.parko-lightbox__next {
	right: 24px;
}

.parko-lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	font-family: var(--parko-serif);
	font-weight: 300;
	font-size: 22px;
	line-height: 1;
}

@media (max-width: 767px) {
	.parko-lightbox {
		padding: 72px 12px;
	}

	/* on phones the arrows sit at the bottom, beside the counter */
	.parko-lightbox__prev,
	.parko-lightbox__next {
		top: auto;
		bottom: 10px;
		transform: none;
	}

	.parko-lightbox__close {
		right: 12px;
	}

	.parko-lightbox__prev {
		left: 12px;
	}

	.parko-lightbox__next {
		right: 12px;
	}
}

/* mobile (exact spec): block padding 53 20 41 20 */
@media (max-width: 767px) {
	.parko-container.parko-gallery__inner {
		padding: 53px 20px 41px;
	}

	.parko-gallery__head {
		display: block;
		padding-bottom: 50px;
	}

	.parko .parko-gallery__title {
		font-size: 42.92px;
		line-height: 1;
		margin-bottom: 47.9px;
	}

	.parko-gallery__tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	/* two equal columns: narrower side padding so "Statybos gyvai" fits on small phones */
	.parko .parko-gallery__tab {
		padding: 14px 10px;
		gap: clamp(10px, 4.5vw, 20px);
		font-size: clamp(13px, 3.71vw, 16.33px);
	}

	.parko-gallery__body {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto auto;
		grid-template-areas:
			"counter counter"
			"stage   stage"
			"dots    nav";
		margin-top: 33px;
	}

	.parko-gallery__stage {
		margin-top: 0;
	}

	.parko-gallery__counter {
		margin: 0 0 33px;
		font-size: 27px;
	}

	.parko-gallery__nav {
		flex-direction: row;
		align-items: baseline;
		gap: 0.25em;
		margin: 36px 0 0;
		font-size: 20.4px;   /* 24px - 15% */
		font-weight: 300;
		line-height: 1;
	}

	.parko-gallery__nav span {
		display: inline;
	}

	.parko-gallery__dots {
		gap: 9px;
		margin: 0 0 0 2px;
	}

	.parko .parko-gallery__dot {
		width: 4px;
		height: 22px;
	}

	.parko .parko-gallery__dot.is-on {
		height: 33px;
	}
}

/* ---------- "Privalumai": photo with pulsing points (privalumai/privalumai-desktop.jpg, -mobile.jpg) ---------- */

/* above the wave: #FBF5F0, the same as the section before it on the home page */
.parko-perks {
	position: relative;
	container-type: inline-size;
	background: #fbf5f0;
}

/* the beige wave (designer's shape); the photo sits on it, masked by its own top curve */
.parko-perks__shape {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	pointer-events: none;
}

.parko-perks__shape--desktop {
	height: auto;
}

.parko-perks__shape--mobile {
	display: none;
}

.parko-perks__frame {
	position: relative;
	-webkit-mask: url(privalumai-kauke-desktop.svg) 0 0 / 100% auto no-repeat, linear-gradient(#000, #000) 0 12cqw / 100% calc(100% - 12cqw) no-repeat;
	mask: url(privalumai-kauke-desktop.svg) 0 0 / 100% auto no-repeat, linear-gradient(#000, #000) 0 12cqw / 100% calc(100% - 12cqw) no-repeat;
}

.parko-perks__scroll {
	overflow: hidden;
}

/* the crop window (--d-*) of the full photo, full width, height by its proportions */
.parko-perks__canvas {
	position: relative;
	width: 100%;
	aspect-ratio: var(--d-ar);
	overflow: hidden;
}

.parko-perks__photo {
	position: absolute;
	left: var(--d-l);
	top: var(--d-t);
	width: var(--d-w);
}

.parko-perks__photo > picture {
	display: block;
}

.parko-perks__photo > img,
.parko-perks__photo > picture > img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.parko .parko-perks__point {
	position: absolute;
	width: 61px;
	height: 61px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
}

.parko-perks__dot {
	display: block;
	overflow: visible;
}

/* all points pulse softly and together, inviting a click */
.parko-perks__ring {
	transform-box: fill-box;
	transform-origin: center;
	animation: parko-perks-pulse 2.6s ease-out infinite;
}

.parko-perks__ring--outer {
	animation-delay: 0.25s;
}

@keyframes parko-perks-pulse {
	0% {
		opacity: 0;
		transform: scale(0.85);
	}
	30% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.3);
	}
}

@media (prefers-reduced-motion: reduce) {
	.parko-perks__ring {
		animation: none;
	}
}

/* open point: "+" turns into "−" */
.parko-perks__plus-v {
	transition: opacity 0.2s;
}

.parko-perks__point.is-open .parko-perks__plus-v {
	opacity: 0;
}

/* card above the open point; its tail (--tail from the left) points at it. Box and tail are
   one layer made see-through as a whole (#FFFFFFEB), so there is no seam where they meet. */
.parko-perks__card {
	--tail: 31px;
	position: absolute;
	z-index: 3;
	isolation: isolate;
	width: 222px;
	display: flex;
	flex-direction: column;
	gap: 13.5px;
	padding: 22px;
	animation: parko-perks-card 0.2s ease-out;
}

.parko-perks__card-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.922;   /* = the EB alpha of #FFFFFFEB */
}

.parko-perks__card-bg::before,
.parko-perks__card-bg::after {
	content: "";
	position: absolute;
	background: #fff;
}

.parko-perks__card-bg::before {
	inset: 0;
	border-radius: 10px;
}

.parko-perks__card-bg::after {
	top: calc(100% - 1px);
	left: calc(var(--tail) - 8.5px);
	width: 17px;
	height: 9px;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@keyframes parko-perks-card {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

.parko .parko-perks__title {
	margin: 0;
	font-family: var(--parko-serif);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #3f513d;
}

.parko .parko-perks__text {
	margin: 0;
	font-family: var(--parko-sans);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: -0.1px;
	color: #4b4b4b;
}

/* mobile: the designer's 440x830 shape stretched to the block, zoom buttons top left */
@media (max-width: 767px) {
	.parko-perks__shape--desktop {
		display: none;
	}

	.parko-perks__shape--mobile {
		display: block;
		height: 100%;
	}

	.parko-perks__frame {
		-webkit-mask: url(privalumai-kauke-mobile.svg) 0 0 / 100% 100% no-repeat;
		mask: url(privalumai-kauke-mobile.svg) 0 0 / 100% 100% no-repeat;
	}

	.parko-perks__scroll {
		overflow: auto;
		scrollbar-width: none;
	}

	.parko-perks__scroll::-webkit-scrollbar {
		display: none;
	}

	/* the whole mobile crop window across the screen (height by its proportions); zoom pans it */
	.parko-perks__canvas {
		width: calc(var(--zoom, 1) * 100%);
		aspect-ratio: var(--m-ar);
	}

	.parko-perks__photo {
		left: var(--m-l);
		top: var(--m-t);
		width: var(--m-w);
	}

	.parko.parko-perks .parko-zoom {
		display: flex;
		flex-direction: column;
		gap: 13px;
		position: absolute;
		left: 24px;
		top: 107px;
		bottom: auto;
		margin: 0;
	}

	.parko-perks .parko-zoom svg {
		display: block;
		width: 48px;
		height: 48px;
	}

	.parko-perks__card {
		width: 240px;
		gap: 12.49px;
		padding: 25px;
	}

	/* points smaller on phones (61px -20% -15%) */
	.parko .parko-perks__point,
	.parko-perks__dot {
		width: 42px;
		height: 42px;
	}
}

/* Mobile parking / storage table: column widths from the designer's sketch - narrower "Nr.", more room for
   "Statusas" (Parduotas / Rezervuotas); texts stay centred in their column. */
@media (max-width: 767px) {
	.parko.parko-parking .parko-table {
		table-layout: fixed;
	}

	.parko.parko-parking .parko-table th:nth-child(1),
	.parko.parko-parking .parko-table td:nth-child(1) {
		width: 27%;
	}

	.parko.parko-parking .parko-table th:nth-child(2),
	.parko.parko-parking .parko-table td:nth-child(2) {
		width: 35%;
	}

	.parko.parko-parking .parko-table th:nth-child(3),
	.parko.parko-parking .parko-table td:nth-child(3) {
		width: 38%;
	}
}

/* Floor / house info card on touch screens: the arrow a bit higher, and when the card opens it nudges right twice
   ("tuk tuk") to show the card is tapped to open the apartment (class is-nudge set by parko.js on every open). */
@media (max-width: 767px) {
	.parko-floormap__card .parko-arrow {
		bottom: 24px;
	}
}

@keyframes parko-arrow-nudge {
	0%, 40%, 80%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(7px); }
}

@media (prefers-reduced-motion: no-preference) {
	.parko-floormap__tip.is-nudge .parko-arrow {
		animation: parko-arrow-nudge 0.9s ease-in-out 0.25s;
	}
}
