/*
 * TEZKOR IPOTEKA 6.8
 * Final alignment and readability layer.
 */

.utility-action-icon,
.utility-cabinet,
.menu-button,
.mobile-submenu-toggle,
.property-title-actions button {
	-webkit-appearance: none;
	appearance: none;
	line-height: 1;
}

.utility-action-icon {
	display: grid;
	width: 34px;
	height: 34px;
	min-width: 34px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 9px;
	background: transparent;
}

.utility-cabinet {
	display: inline-flex;
	width: auto;
	height: 34px;
	min-width: 34px;
	align-items: center;
	gap: 7px;
	padding: 0 8px;
	border: 0;
	background: transparent;
	font-size: 12.5px;
	line-height: 1;
}

.utility-action-icon svg,
.utility-cabinet svg {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.utility-action-icon > span {
	top: -1px;
	right: -1px;
	min-width: 16px;
	height: 16px;
	border-width: 2px;
	font-size: 8px;
}

.site-header__inner {
	min-height: 76px;
}

.desktop-nav__list > li > a,
.desktop-nav > a,
.desktop-nav .nav-item > a {
	gap: 8px;
	font-size: 13.5px;
	line-height: 1.2;
}

.desktop-nav__list .sub-menu a {
	min-height: 40px;
	align-items: center;
	font-size: 13px;
}

.desktop-nav__list .menu-item-has-children > a::before {
	width: 8px;
	height: 8px;
	margin-left: 1px;
}

.header-phone,
.header-phone:hover {
	padding: 8px 5px;
	border: 0;
	background: transparent;
	font-size: 13.5px;
	line-height: 1.2;
}

.property-page > .container {
	width: min(calc(100% - 48px), 1440px);
	max-width: none;
}

.blog-single-page {
	width: 100% !important;
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.blog-single-page > article {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.property-page .breadcrumbs {
	gap: 9px;
	margin-bottom: 22px;
	font-size: 12.5px;
	line-height: 1.5;
}

.property-anchor-nav {
	gap: 6px;
	margin-bottom: 24px;
	padding: 8px 9px;
	border-radius: 14px;
}

.property-anchor-nav a,
.property-anchor-nav button {
	min-height: 42px;
	padding: 0 14px;
	border-radius: 9px;
	font-size: 12.5px;
	line-height: 1.2;
}

.property-anchor-nav button {
	padding-right: 19px;
	padding-left: 19px;
}

.property-gallery {
	margin-bottom: 34px;
	border: 1px solid #dbe4ef;
	border-radius: 16px;
	background: #e8eef6;
	box-shadow: 0 18px 48px rgba(23, 49, 83, .09);
}

.property-gallery > button,
.property-gallery__more,
.property-gallery__more > button {
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	background: #e8eef6;
}

.property-gallery img {
	display: block;
	background: #e8eef6;
}

.property-gallery img.is-fallback-image {
	filter: saturate(.92) contrast(.98);
}

.property-gallery__more > .js-open-gallery > span {
	right: 16px;
	bottom: 16px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(19, 34, 55, .88);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	backdrop-filter: blur(8px);
}

.property-layout {
	gap: 44px;
}

.property-title-row h1 {
	font-size: clamp(36px, 4vw, 54px);
}

.property-title-row {
	align-items: flex-start;
	padding: 28px;
	border: 1px solid #dce5f0;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(20, 48, 84, .065);
}

.property-labels span {
	padding: 7px 10px;
	font-size: 10.5px;
}

.property-location {
	font-size: 14px;
	line-height: 1.55;
}

.property-title-actions {
	gap: 8px;
}

.property-title-actions .compare-button,
.property-title-actions .favorite-button {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	padding: 0;
	place-items: center;
	border-radius: 50%;
}

.property-title-actions .compare-button svg,
.property-title-actions .favorite-button svg {
	display: block;
	width: 20px;
	height: 20px;
}

.fact-grid {
	gap: 12px;
	margin: 32px 0 42px;
}

.fact-grid > div {
	min-height: 88px;
	justify-content: center;
	padding: 20px;
	border-radius: 10px;
}

.fact-grid span {
	font-size: 12px;
}

.fact-grid strong {
	margin-top: 6px;
	font-size: 18px;
}

.property-content section {
	padding: 34px 0;
}

.property-content section h2 {
	margin-bottom: 18px;
	font-size: 28px;
	line-height: 1.2;
}

.property-description,
.property-description p {
	font-size: 16px;
	line-height: 1.75;
}

.property-features > div {
	gap: 12px;
	font-size: 14px;
}

.property-features span {
	padding: 14px;
}

.property-content section.complex-plans {
	margin-top: 26px;
	padding: 32px;
	border-radius: 18px;
}

.property-section-heading {
	align-items: center;
	margin-bottom: 24px;
}

.property-section-heading .eyebrow {
	font-size: 11px;
}

.property-section-heading h2 {
	margin: 7px 0 8px;
	font-size: 30px;
}

.property-section-heading p {
	max-width: 760px;
	font-size: 14px;
	line-height: 1.6;
}

.property-section-heading > span {
	padding: 9px 12px;
	font-size: 11.5px;
}

.complex-plan-grid {
	gap: 14px;
}

.complex-plan-grid a {
	min-height: 140px;
	align-content: start;
	gap: 8px;
	padding: 20px;
	border-radius: 13px;
}

.complex-plan-grid span,
.complex-plan-grid small {
	font-size: 11.5px;
	line-height: 1.45;
}

.complex-plan-grid strong {
	font-size: 22px;
	line-height: 1.2;
}

.complex-plan-grid b {
	margin-top: auto;
	padding-top: 7px;
	font-size: 12px;
}

.complex-plan-selected {
	padding: 18px;
}

.complex-plan-selected span {
	font-size: 10px;
}

.complex-plan-selected h3 {
	font-size: 21px;
}

.complex-plan-selected p {
	font-size: 13px;
}

.property-page .button {
	min-height: 44px;
	padding-right: 18px;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.2;
}

.offer-card {
	padding: 28px;
}

.offer-card > span,
.offer-card__developer span {
	font-size: 12px;
}

.offer-card > strong {
	font-size: 29px;
}

.offer-card__developer b {
	font-size: 15px;
}

.offer-card > p {
	font-size: 11px;
	line-height: 1.55;
}

@media (max-width: 1180px) {
	.property-layout {
		grid-template-columns: 1fr;
	}

	.property-sidebar {
		position: static;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
		gap: 16px;
		margin-top: 26px;
	}

	.safety-note {
		margin-top: 0;
	}
}

@media (max-width: 920px) {
	.site-header__inner {
		min-height: 68px;
	}

	.menu-button {
		position: relative;
		display: block !important;
		width: 42px;
		height: 42px;
		padding: 0;
		border-radius: 10px;
	}

	.menu-button span {
		position: absolute;
		left: 10px;
		width: 20px;
		height: 2px;
		margin: 0;
		border-radius: 2px;
	}

	.menu-button span:first-child {
		top: 13px;
	}

	.menu-button span:nth-child(2) {
		top: 20px;
	}

	.menu-button span:last-child {
		top: 27px;
	}

	.menu-button[aria-expanded="true"] span:first-child,
	.menu-button[aria-expanded="true"] span:last-child {
		top: 20px;
	}

	.menu-button[aria-expanded="true"] span:first-child {
		transform: rotate(45deg);
	}

	.menu-button[aria-expanded="true"] span:last-child {
		transform: rotate(-45deg);
	}

	.mobile-panel .container {
		padding: 12px 0 24px;
	}

	.mobile-menu-list > li > a {
		min-height: 54px;
		padding: 0 48px 0 2px;
		font-size: 14px;
		line-height: 1.25;
	}

	.mobile-submenu-toggle {
		top: 10px;
		right: 1px;
		display: grid;
		width: 34px;
		height: 34px;
		padding: 0;
		place-items: center;
		border-radius: 9px;
		line-height: 0;
	}

	.mobile-submenu-toggle svg {
		display: block;
		width: 11px;
		height: 7px;
	}

	.mobile-menu-list .sub-menu {
		padding: 3px 0 12px 13px;
	}

	.mobile-menu-list .sub-menu a {
		min-height: 42px;
		font-size: 12.5px;
	}

	.mobile-panel .button {
		display: flex;
		width: 100%;
		min-height: 46px;
		align-items: center;
		justify-content: center;
		margin: 16px 0 4px;
		padding: 0 18px;
		overflow: hidden;
		border: 0;
		border-radius: 10px;
		font-size: 13px;
		line-height: 1.2;
		text-align: center;
		white-space: normal;
	}

	.mobile-language-toggle {
		grid-template-columns: 1fr auto auto;
		gap: 8px;
		align-items: center;
		margin-top: 14px;
	}

	.mobile-language-toggle a {
		min-height: 40px;
		padding: 0 13px;
	}

	.property-page > .container {
		width: min(calc(100% - 30px), 100%);
	}

	.property-anchor-nav {
		margin-right: 0;
		margin-left: 0;
	}

	.property-section-heading {
		align-items: flex-start;
	}

	.property-content section.complex-plans {
		padding: 24px;
	}

	.complex-plan-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.property-sidebar {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.utility-cabinet {
		width: 30px;
		min-width: 30px;
		padding: 0;
	}

	.utility-action-icon {
		width: 30px;
		height: 30px;
		min-width: 30px;
	}

	.property-page > .container {
		width: min(calc(100% - 24px), 100%);
	}

	.property-page .breadcrumbs {
		font-size: 11.5px;
	}

	.property-anchor-nav a,
	.property-anchor-nav button {
		min-height: 38px;
		padding: 0 11px;
		font-size: 11.5px;
	}

	.property-content section.complex-plans {
		padding: 19px;
	}

	.property-section-heading h2 {
		font-size: 26px;
	}

	.property-section-heading p {
		font-size: 13px;
	}

	.complex-plan-grid {
		grid-template-columns: 1fr;
	}
}
