/* KGC topbar + premium #city modal
   tokens: blue #3456a3, dark #22232b, text #1a1a1a, soft #f5f7fb, border #e2e8f0 */

.kgc-super-header.super-header {
	background-color: #3456a3;
	color: #fff;
	min-height: 42px;
	height: 42px;
	line-height: 1.2;
}

.kgc-super-header .super-header-inner {
	height: 100%;
}

.kgc-super-header .kgc-super-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 42px;
	min-height: 42px;
}

.kgc-super-usp {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.kgc-super-usp__text {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: Rubik, Montserrat, system-ui, sans-serif;
	font-size: 12.5px;
	font-weight: 400;
	color: #fff;
	line-height: 42px;
	margin: 0;
}

.kgc-super-modules {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	gap: 0;
	height: 100%;
}

.kgc-super-mod {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 12px;
	position: relative;
}

.kgc-super-mod + .kgc-super-mod::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 18px;
	background: rgba(255, 255, 255, 0.22);
}

.kgc-super-mod--city {
	padding-left: 4px;
}

.kgc-city-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 10px;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	cursor: pointer;
	font-family: Rubik, Montserrat, system-ui, sans-serif;
	font-size: 12.5px;
	line-height: 1.2;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.kgc-city-trigger:hover,
.kgc-city-trigger:focus-visible {
	background: rgba(255, 255, 255, 0.24);
	border-color: rgba(255, 255, 255, 0.34);
	outline: none;
}

.kgc-city-trigger__label {
	opacity: 0.85;
	font-weight: 400;
}

.kgc-city-trigger__name {
	font-weight: 600;
}

.kgc-city-trigger__icon,
.kgc-city-trigger__arrow {
	display: inline-flex;
	color: #fff;
}

.kgc-super-address,
.kgc-super-email {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	text-decoration: none;
	font-family: Rubik, Montserrat, system-ui, sans-serif;
	font-size: 12.5px;
	white-space: nowrap;
}

.kgc-super-address:hover,
.kgc-super-email:hover {
	text-decoration: underline;
	color: #fff;
}

.kgc-super-socials {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.kgc-super-socials a {
	display: inline-flex;
	line-height: 0;
}

.kgc-super-socials svg {
	width: 22px;
	height: 22px;
	display: block;
}

@media (max-width: 1180px) and (min-width: 992px) {
	.kgc-super-usp__text {
		font-size: 11.5px;
	}

	.kgc-super-usp__dot--last,
	.kgc-super-usp__seg--3 {
		display: none;
	}
}

@media (max-width: 991.98px) {
	.kgc-super-header.super-header--mob-hide {
		display: none !important;
	}

	.kgc-mobile-city-bar {
		display: block;
		background: #3456a3;
		color: #fff;
	}

	.kgc-mobile-city-bar[hidden] {
		display: none;
	}

	.kgc-mobile-city-bar__inner {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 8px 12px;
		max-width: 100%;
	}

	.kgc-mobile-city-bar .kgc-city-trigger--mobile {
		font-size: 12.5px;
	}

	.kgc-mobile-city-bar__address {
		color: rgba(255, 255, 255, 0.9);
		font-size: 11.5px;
		text-decoration: none;
		padding-left: 2px;
	}

	.kgc-mobile-city-bar__address:hover {
		text-decoration: underline;
		color: #fff;
	}

	.site-header-inner.fixed .logo-item,
	.site-header .logo-item {
		padding: 12px 0;
	}

	.logo-block1 img,
	.site-branding img,
	.logo-item .logo-block1 img {
		border-radius: 6px;
	}
}

@media (min-width: 992px) {
	.kgc-mobile-city-bar {
		display: none !important;
	}

	.site-header-inner.fixed .logo-item,
	.site-header .logo-item {
		padding: 12px 0;
	}

	.logo-block1 img {
		border-radius: 6px;
	}
}

/* ========== Premium #city Fancybox modal (sharp corporate) ========== */

/* Hide Fancybox default close — keep ONE branded .kgc-city-modal__close */
.fancybox-container:has(#city) .fancybox-button--close,
.fancybox-container:has(#city) .fancybox-close-small,
.fancybox-container:has(#city) .fancybox-toolbar,
body.kgc-city-fancy-open .fancybox-button--close,
body.kgc-city-fancy-open .fancybox-close-small,
body.kgc-city-fancy-open .fancybox-toolbar {
	display: none !important;
}

#city.fancybox-content,
.fancybox-content#city,
#city {
	width: 680px;
	max-width: 94vw;
	padding: 28px 32px;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	box-sizing: border-box;
}

.kgc-city-modal {
	font-family: Rubik, Montserrat, system-ui, sans-serif;
}

.kgc-city-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.kgc-city-modal__title-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.kgc-city-modal__geo,
.kgc-city-modal__geo-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 0;
	background: #f4f7fd;
	color: #3456a3;
	border: 1px solid #e2e8f0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.kgc-city-modal__title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 600;
	color: #22232b;
	line-height: 1.25;
}

.kgc-city-modal__subtitle {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #556070;
	max-width: 46ch;
}

.kgc-city-modal__close {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border: 1px solid #e2e8f0;
	border-radius: 0;
	background: #fff;
	color: #22232b;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.kgc-city-modal__close:hover {
	background: #f5f7fb;
	border-color: #3456a3;
	color: #3456a3;
}

.kgc-city-modal__current {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 8px 12px;
	border-radius: 0;
	background: #f5f7fb;
	border: 1px solid #e2e8f0;
	font-size: 13px;
}

.kgc-city-modal__current-label {
	color: #556070;
}

.kgc-city-modal__current-name,
.kgc-city-modal__current-badge {
	color: #3456a3;
	font-weight: 600;
}

.kgc-city-modal__search-label,
.kgc-city-search-wrap {
	display: block;
	position: relative;
	margin-bottom: 14px;
}

.kgc-city-search__icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #556070;
	pointer-events: none;
	display: inline-flex;
}

.kgc-city-search-wrap .kgc-city-search {
	padding-left: 36px;
}

.kgc-city-search {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 0;
	font-size: 14px;
	font-family: inherit;
	color: #1a1a1a;
	background: #fff;
}

.kgc-city-search:focus {
	outline: none;
	border-color: #3456a3;
	box-shadow: 0 0 0 3px rgba(52, 86, 163, 0.15);
}

.kgc-city-modal__grid,
.kgc-city-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 16px;
	max-height: min(52vh, 420px);
	overflow: auto;
	padding-right: 2px;
}

.kgc-city-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px;
	border-radius: 0;
	border: 1px solid #e2e8f0;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.kgc-city-card:hover {
	border-color: #3456a3;
	background: #fafbfd;
	text-decoration: none;
	color: inherit;
}

.kgc-city-card.is-active {
	background: #f4f7fd;
	border-color: #3456a3;
	box-shadow: inset 0 0 0 1px #3456a3;
}

.kgc-city-card__top {
	display: flex;
	align-items: center;
	gap: 8px;
}

.kgc-city-card__name {
	font-size: 15px;
	font-weight: 600;
	color: #22232b;
}

.kgc-city-card__badge {
	font-size: 11px;
	font-weight: 600;
	color: #3456a3;
	background: rgba(52, 86, 163, 0.1);
	border: 1px solid rgba(52, 86, 163, 0.22);
	border-radius: 0;
	padding: 2px 6px;
	white-space: nowrap;
}

.kgc-city-card__check {
	margin-left: auto;
	color: #3456a3;
	display: inline-flex;
}

.kgc-city-card__note {
	font-size: 12px;
	line-height: 1.4;
	color: #556070;
}

.kgc-city-empty,
.kgc-city-modal__empty {
	margin: 0 0 12px;
	font-size: 13px;
	color: #556070;
}

.kgc-city-modal__footer {
	border-top: 1px solid #e2e8f0;
	padding-top: 14px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.kgc-city-modal__ship {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #556070;
}

.kgc-city-modal__calc,
.kgc-city-modal__callback {
	appearance: none;
	border: 0;
	background: transparent;
	color: #3456a3;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}

.kgc-city-modal__calc:hover,
.kgc-city-modal__callback:hover {
	text-decoration: underline;
}

#city > .subdomains-list,
#city > h3:not(.kgc-city-modal__title) {
	display: none !important;
}

@media (max-width: 540px) {
	#city.fancybox-content,
	.fancybox-content#city,
	#city {
		padding: 20px 16px;
	}

	.kgc-city-modal__grid,
	.kgc-city-grid {
		grid-template-columns: 1fr;
	}

	.kgc-city-modal__subtitle {
		font-size: 12.5px;
	}
}
