:root {
	--t: #2a8fa0;
	--td: #1c6f7d;
	--tdd: #1c5c66;
	--y: #ffd25a;
	--yd: #f2b705;
	--bg: #f4f7f8;
	--ln: #dfe8ea;
	--tx: #1d2426;
	--mu: #5b6b70 --tyrkys:#2a8fa0;
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--tx);
	background: #fff;
	line-height: 1.5
}

a {
	color: var(--td)
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px
}

header.top {
	background: #fff;
	border-bottom: 1px solid var(--ln);
	position: sticky;
	top: 0;
	z-index: 20;
}

header.top .wrap {
	display: flex;
	align-items: center;
	height: 64px;
	gap: 18px;
	justify-content: space-between;
}

.logo {
	font-weight: 800;
	letter-spacing: .5px;
	color: var(--tdd);
	text-decoration: none;
	font-size: 1.15rem
}

.logo span {
	color: var(--t)
}

.top .login {
	margin-left: auto;
	font-size: .88rem;
	font-weight: 600;
	color: var(--tdd);
	text-decoration: none;
	border-radius: 999px;
	padding: 7px 14px;
	white-space: nowrap
}

.top .favorites {
	margin-left: auto;
	font-size: .88rem;
	font-weight: 600;
	color: var(--tdd);
	text-decoration: none;
	border-radius: 999px;
	padding: 7px 14px;
	white-space: nowrap;
	vertical-align: sub;
}

.top .favorites .badge {
	border-radius: 10em;
	background: var(--y);
	width: 18px;
	display: inline-block;
	text-align: center;
	margin-left: -10px;
	font-size: 10pt;
}

.top .register {
	margin-left: auto;
	font-size: .88rem;
	font-weight: 600;
	color: var(--tdd);
	text-decoration: none;
	border: 1.5px solid var(--t);
	border-radius: 999px;
	padding: 7px 14px;
	white-space: nowrap
}

.menu {
	display: flex;
	gap: 18px;
	margin-left: 24px;
	font-size: .92rem
}

.menu a {
	color: var(--tx);
	text-decoration: none;
	font-weight: 600
}

footer {
	background: var(--tdd);
	color: #d7ecef;
	margin-top: 40px;
	padding: 26px 0;
	font-size: .85rem
}

footer a {
	color: #fff
}


[hidden] {
	display: none !important;
}

#favorites-modal,
#cities-modal,
#login-modal,
#new-review-modal,
#video-preview-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow-y: auto;
	background: rgba(15, 31, 35, .58)
}

#cities-modal .modal-dialog,
#login-modal .modal-dialog,
#new-review-modal .modal-dialog,
#video-preview-modal .modal-dialog {
	width: min(100%, 1000px)
}

.cities-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 18px
}

.cities-region h3 {
	margin: 0 0 8px;
	color: var(--tdd);
	font-size: 1rem
}

.cities-region ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none
}

.cities-region a {
	display: block;
	padding: 5px 8px;
	border-radius: 6px;
	color: var(--tx);
	text-decoration: none
}

.cities-region a:hover {
	background: var(--bg);
	color: var(--td)
}

.modal-dialog {
	width: min(100%, 900px);
	max-height: 100%;
	margin: auto
}

.modal-content {
	display: flex;
	flex-direction: column;
	max-height: min(760px, calc(100vh - 48px));
	overflow: hidden;
	border: 1px solid var(--ln);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .24)
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--ln)
}

.modal-title {
	margin: 0;
	color: var(--tdd);
	font-size: 1.25rem
}

.modal-header .close {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--bg);
	color: var(--tx);
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer
}

.modal-header .close:hover {
	background: var(--ln)
}

.modal-body {
	padding: 24px;
	overflow-y: auto
}

#new-review-modal .modal-dialog {
	width: min(100%, 560px)
}

#new-review-modal .modal-content {
	border-color: rgba(42, 143, 160, .2);
	box-shadow: 0 24px 70px rgba(15, 31, 35, .3)
}

#new-review-modal .modal-header {
	padding: 20px 24px;
	background: linear-gradient(135deg, #f1f9fa, #fff)
}

#new-review-modal .modal-title {
	font-size: 1.35rem
}

#new-review-modal .modal-body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 18px;
	padding: 24px
}

#new-review-modal .user {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 52px;
	color: var(--tdd);
	font-weight: 700
}

#new-review-modal .user img {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border: 2px solid #e3f2f5;
	border-radius: 50%;
	background: var(--bg);
	object-fit: cover
}

#new-review-modal .modal-body>br {
	display: none
}

#new-review-modal .modal-body>label {
	margin-bottom: -12px;
	color: var(--tx);
	font-size: .95rem;
	font-weight: 650
}

#new-review-modal .rating {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content
}

#new-review-modal .rating svg {
	width: 36px;
	height: 36px;
	color: #c9d3d5;
	fill: currentColor;
	cursor: pointer;
	transition: color .15s ease, transform .15s ease
}

#new-review-modal .rating svg:hover {
	transform: scale(1.12)
}

#new-review-modal .rating svg.active {
	color: #f2b705
}

#new-review-modal textarea.form-control {
	display: block;
	width: 100%;
	min-height: 140px;
	margin: 0 !important;
	padding: 13px 15px;
	border: 1px solid var(--ln);
	border-radius: 12px;
	background: #fbfcfc;
	color: var(--tx);
	font: inherit;
	line-height: 1.5;
	resize: vertical;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease
}

#new-review-modal textarea.form-control::placeholder {
	color: #879599
}

#new-review-modal textarea.form-control:focus {
	border-color: var(--t);
	outline: 0;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(42, 143, 160, .14)
}

#new-review-modal .save-review {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 48px;
	padding: 12px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--tdd);
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease, opacity .2s ease
}

#new-review-modal .save-review:hover {
	transform: translateY(-1px);
	background: var(--td)
}

#new-review-modal .save-review:focus-visible {
	outline: 3px solid rgba(42, 143, 160, .3);
	outline-offset: 3px
}

#new-review-modal .save-review.disabled {
	opacity: .55;
	cursor: not-allowed
}

.modal-body .is-empty {
	padding: 24px 12px;
	border: 1px dashed var(--ln);
	border-radius: 12px;
	color: var(--mu);
	text-align: center
}

.modal-body .list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 16px;
	margin-top: 16px
}

#favorites-modal .shop__item__container {
	min-width: 0;
}

#favorites-modal .shop__item {
	max-width: 300px;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--ln);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(28, 92, 102, .08);
	transition: box-shadow .2s ease, transform .2s ease
}

#favorites-modal .shop__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(28, 92, 102, .14)
}

#favorites-modal .shop__item__image a {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bg)
}

#favorites-modal .shop__item__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover
}

#favorites-modal .shop__item__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 14px
}

#favorites-modal .shop__item__link {
	color: var(--tdd);
	text-decoration: none
}

#favorites-modal .shop__item__name {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35
}

#favorites-modal .shop__item__link:hover .shop__item__name {
	color: var(--t)
}

#favorites-modal .shop__item__address {
	margin: 8px 0 14px;
	color: var(--mu);
	font-size: .88rem
}

#favorites-modal .shop__item__remove {
	margin-top: auto;
	padding: 7px 12px;
	border: 1px solid var(--ln);
	border-radius: 999px;
	background: #fff;
	color: var(--td);
	font: inherit;
	font-size: .82rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, color .2s ease
}

#favorites-modal .shop__item__remove:hover {
	border-color: #c94b4b;
	background: #fff3f3;
	color: #a52e2e
}

body.modal-open {
	overflow: hidden
}

section.b {
	padding: 40px 0 8px
}

h2 {
	font-size: 1.5rem;
	margin: 0 0 16px;
	letter-spacing: -.2px
}

.hledat {
	flex: 1;
	display: flex;
	max-width: 560px;
	border: 1.5px solid var(--ln);
	border-radius: 0.5em;
	overflow: visible;
}

.hledat .category-field {
	width: 300px;
	border-right: 1.5px solid var(--ln);
}

.hledat input {
	flex: 1;
	border: 0;
	padding: 6px 16px;
	font-size: .92rem;
	outline: 0;
	min-width: 0;
	margin-top: 3px;
}

.hledat input[name="portal_categories"] {
	width: 100%;
	background: transparent;
	margin-top: 3px;
}

.hledat button#search {
	border: 0;
	background: var(--t);
	color: #fff;
	padding: 0 18px;
	font-weight: 600;
	border-radius: 0em 0.5em 0.5em 0em;
}

#search {
	cursor: pointer;
}

.category-field,
.portal-field {
	position: relative;
	z-index: 2
}

.hladat .category-picker,
.hladat .portal-picker {
	flex-direction: column;
}

.category-picker,
.portal-picker {
	position: relative;
	display: flex;
}

.category-selected {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 2px 0 4px
}

.hledat .category-selected span {
	margin-top: 3px;
	margin-left: 5px;
}

.category-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 12px;
	background: #e8f3f5;
	color: var(--td);
	font-size: .78rem;
	line-height: 1.4
}

.category-chip button {
	border: 0;
	padding: 0;
	background: none;
	color: inherit;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer
}

.category-options {
	position: absolute;
	top: calc(100% + 10px);
	left: -16px;
	right: -16px;
	z-index: 5;
	max-height: 260px;
	overflow-y: auto;
	padding: 5px;
	border: 1px solid var(--ln);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .16)
}

.category-options[hidden],
.category-option[hidden],
.location-region[hidden] {
	display: none
}

.location-field {
	position: relative;
	z-index: 1
}

.location-picker {
	position: relative;
}

.location-region>span {
	display: block;
	padding: 8px 10px 4px;
	color: var(--mu);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase
}

.location-option[aria-selected="true"]::after {
	content: "✓";
	float: right;
	color: #258d83
}

.category-option {
	display: block;
	width: 100%;
	padding: 9px 10px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	color: var(--td);
	text-align: left;
	font-size: .92rem;
	cursor: pointer
}

.category-option:hover,
.category-option[aria-selected="true"] {
	background: #e8f3f5
}

.category-option[aria-selected="true"]::after {
	content: "✓";
	float: right;
	color: #258d83
}

.category-empty {
	padding: 9px 10px;
	color: var(--mu);
	font-size: .88rem
}

input[readonly] {
	font-weight: bold;
}

.reklama {
	position: relative;
	background: var(--bg);
	border: 1px dashed #c3d6da;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8aa2a7;
	font-size: .85rem;
	overflow: hidden;
	text-align: center;
	padding: 0 10px;
	overflow: hidden;
}

.reklama::before {
	content: "Reklama";
	position: absolute;
	top: 6px;
	left: 8px;
	font-size: .68rem;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #8aa2a7
}

.reklama img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.rk-siroka {
	aspect-ratio: 728/90;
	max-height: 110px;
	margin: 0 0 28px
}

.rk-bok {
	aspect-ratio: 300/250;
	margin-bottom: 16px
}

.rk-pas {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 8px 0 0
}

.rk-pas .reklama {
	aspect-ratio: 4/3
}


.mobile-menu,
.mobile-menu-overlay {
	display: none;
}

.note {
	font-size: 0.7rem;
	text-decoration: none;
}

.map-cluster {
	background-color: rgb(42 143 160);
	color: #fff;
	border-radius: 50%;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	border: 3px solid rgb(255 255 255);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.map-pin {
	background-color: #2a8fa0;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.map-pin-extra {
	background-color: #ffd25a;
}

.leaflet-popup-content a {
	background: var(--t);
	color: #FFF !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 10px;
	padding: 4px 10px;
	font-weight: 700;
	font-size: 0.68rem;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.leaflet-popup-content span {
	display: block;
	margin-bottom: 5px;
}

[disabled] {
	pointer-events: none;
	cursor: default;
}

@media (max-width:1050px) {
	.hladat {
		flex-direction: column
	}

	.hladat label {
		border-right: 0;
		border-bottom: 1px solid var(--ln)
	}

	.category-options {
		left: -16px;
		right: -16px
	}

	.hladat>button {
		padding: 13px
	}

	#favorites-modal,
	#cities-modal,
	#login-modal,
	#new-review-modal,
	#video-preview-modal {
		padding: 12px
	}

	.modal-content {
		max-height: calc(100vh - 24px)
	}

	.modal-header,
	.modal-body {
		padding: 16px
	}


	header .logo {
		font-size: 14px;
	}

	nav.menu,
	header .header-menu {
		display: none;
	}

	.mobile-menu {
		display: inline;
	}

	.mobile-menu-overlay.open {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 999;
		width: 100%;
		height: 100vh;
		background-color: #00000080;
	}

	.mobile-menu-content {
		position: fixed;
		top: 0;
		right: 0;
		background: #FFF;
		width: 80%;
		height: 100vh;
		box-shadow: 1px 1px 20px 4px #dddddd;
		padding: 50px 20px;
	}

	.mobile-menu-overlay .close {
		position: absolute;
		top: 15px;
		right: 20px;
	}

	.mobile-menu-content div {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.mobile-menu-content div a {
		text-decoration: none;
		font-weight: bold;
		margin: 5px;
	}

	.hladat label {
		border-right: unset !important;
	}

	.hladat>button {
		border-radius: 0em 0em 1em 1em !important;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}

	.cisla {
		justify-content: space-around !important;
	}

	.login-box {
		padding: 0px !important;
	}
}

@media (max-width:755px) {
	.mobile-menu-content .hledat {
		display: flex;
		flex-direction: column;
		max-width: 100%;
		border-radius: 1em;
		margin: 20px 0px;
	}

	.mobile-menu-content .hledat .category-picker {
		display: flex;
		flex-direction: row;
		height: 40px;
	}

	.mobile-menu-content .hledat .category-field {
		width: 100% !important;
		border: unset !important;
		border-bottom: 1px solid #dfe8ea !important;
	}

	.mobile-menu-content .hledat .location-picker {
		display: flex !important;
		flex-direction: row !important;
		height: 40px;
	}

	.mobile-menu-content .hledat [name="location-search"] {
		font-size: 0.8rem !important;
	}

	.mobile-menu-content .hledat #search {
		border-radius: 0em 0em 1em 1em !important;
		padding: 10px !important;
		padding: 15px !important;
	}

	.mobile-menu-content .location-region,
	.mobile-menu-content .location-region span {
		width: 100%;
	}
}