/* ТАЙЛЕР — шапка: верхняя полоска с иконками, 3 | лого | 3 */

.elementor-location-header {
	display: none !important;
}

.tailer-site-header {
	--th-ink: #161618;
	--th-gold: #d8c770;
	--th-paper: #f7f6f2;
	--th-line: #e6e4dc;
	--th-muted: #6b6a64;
	position: sticky;
	top: 0;
	z-index: 300;
	font-family: Montserrat, system-ui, sans-serif;
	background: #fff;
	color: var(--th-ink);
}

.tailer-site-header svg {
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
	display: block;
	flex: 0 0 auto;
	overflow: visible;
	shape-rendering: geometricPrecision;
}

.tailer-site-header__wrap {
	width: min(100%, 1280px);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* Top bar */
.tailer-site-header__top {
	background: var(--th-ink);
	color: #f3efe3;
	font-size: 12px;
	letter-spacing: .04em;
}

.tailer-site-header__top .tailer-site-header__wrap {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	min-height: 38px;
}

.tailer-site-header__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	min-width: 0;
}

.tailer-site-header__addr {
	justify-self: start;
}

.tailer-site-header__phone {
	justify-self: center;
	font-weight: 600;
}

.tailer-site-header__addr .is-short,
.tailer-site-header__phone .is-short {
	display: none;
}

.tailer-site-header__socs {
	display: flex;
	align-items: center;
	justify-self: end;
	justify-content: flex-end;
	gap: 0;
}

.tailer-site-header__soc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: inherit;
	flex: 0 0 auto;
}

.tailer-site-header a:hover,
.tailer-site-header a:focus-visible,
.tailer-site-header summary:hover,
.tailer-site-header button:hover {
	color: #d8c770 !important;
}

.tailer-site-header__soc[href*="wa.me"]:hover,
.tailer-site-header__soc[href*="wa.me"]:focus-visible {
	color: #25d366 !important;
}

.tailer-site-header__soc[href^="tg:"]:hover,
.tailer-site-header__soc[href^="tg:"]:focus-visible {
	color: #2aabee !important;
}

.tailer-site-header__soc[href^="viber:"]:hover,
.tailer-site-header__soc[href^="viber:"]:focus-visible {
	color: #7360f2 !important;
}

.tailer-site-header a:visited {
	color: inherit;
}

/* Main bar: 3 items | centered logo | 3 items */
.tailer-site-header__main {
	border-bottom: 1px solid var(--th-line);
	background: #fff;
}

.tailer-site-header__grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 84px;
	gap: 12px;
}

.tailer-site-header__col {
	display: flex;
	align-items: center;
	min-width: 0;
}

.tailer-site-header__col--left {
	justify-content: flex-start;
}

.tailer-site-header__col--right {
	justify-content: flex-end;
}

.tailer-site-header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-column: 2;
	justify-self: center;
}

.tailer-site-header__logo img {
	display: block;
	width: auto;
	height: 42px;
	max-width: 200px;
}

.tailer-site-header__nav {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
}

.tailer-site-header__nav a {
	color: var(--th-ink);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	padding: 8px 12px;
	white-space: nowrap;
}

.tailer-site-header__nav a:visited {
	color: var(--th-ink);
}

.tailer-site-header__nav a:hover,
.tailer-site-header__nav a:focus-visible {
	color: #d8c770 !important;
}

.tailer-site-header__drop {
	position: relative;
}

.tailer-site-header__sub {
	display: none;
	position: absolute;
	top: calc(100% - 2px);
	left: 0;
	min-width: 240px;
	padding: 10px 0;
	background: var(--th-ink);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
	z-index: 20;
}

.tailer-site-header__col--right .tailer-site-header__sub {
	left: auto;
	right: 0;
}

.tailer-site-header__drop:hover .tailer-site-header__sub,
.tailer-site-header__drop:focus-within .tailer-site-header__sub {
	display: flex;
	flex-direction: column;
}

.tailer-site-header__sub a {
	color: #fff;
	padding: 10px 18px;
	font-size: 14px;
	white-space: normal;
}

.tailer-site-header__sub a:visited {
	color: #fff;
}

.tailer-site-header__sub a:hover,
.tailer-site-header__sub a:focus-visible {
	color: #d8c770 !important;
}

.tailer-site-header__quick-phone {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--th-ink) !important;
	background: var(--th-gold) !important;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	flex: 0 0 auto;
}

.tailer-site-header__quick-phone svg {
	width: 18px;
	height: 18px;
	max-width: 18px;
	max-height: 18px;
	color: var(--th-ink);
}

.tailer-site-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	background: none;
	cursor: pointer;
}

.tailer-site-header__burger:hover span {
	background: #d8c770;
}

.tailer-site-header__burger span {
	display: block;
	height: 1.5px;
	background: var(--th-ink);
	border-radius: 2px;
}

/* Mobile panel */
.tailer-site-header__panel[hidden] {
	display: none !important;
}

.tailer-site-header__panel {
	position: fixed;
	inset: 0;
	z-index: 400;
}

.tailer-site-header__panel-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 22, 24, .5);
}

.tailer-site-header__panel-box {
	position: absolute;
	top: 0;
	right: 0;
	width: min(360px, 88vw);
	height: 100%;
	overflow: auto;
	background: var(--th-ink);
	color: #fff;
	padding: 28px 22px 40px;
	box-sizing: border-box;
}

.tailer-site-header__panel-close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.tailer-site-header__panel-box > a,
.tailer-site-header__acc summary,
.tailer-site-header__acc a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	padding: 12px 4px;
}

.tailer-site-header__panel-box > a:visited,
.tailer-site-header__acc a:visited,
.tailer-site-header__panel-contacts a:visited {
	color: #fff;
}

.tailer-site-header__panel-box > a:hover,
.tailer-site-header__acc a:hover,
.tailer-site-header__acc summary:hover,
.tailer-site-header__panel-contacts a:hover,
.tailer-site-header__panel-close:hover {
	color: #d8c770 !important;
}

.tailer-site-header__acc {
	border: 0;
}

.tailer-site-header__acc summary {
	list-style: none;
	cursor: pointer;
}

.tailer-site-header__acc summary::-webkit-details-marker {
	display: none;
}

.tailer-site-header__acc div {
	padding: 0 0 8px 12px;
}

.tailer-site-header__acc a {
	font-size: 15px;
	font-weight: 500;
	color: #f3efe3;
	padding: 8px 4px;
}

.tailer-site-header__panel-contacts {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: #f3efe3;
	font-size: 15px;
}

.tailer-site-header__panel-contacts a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.tailer-site-header__panel-contacts .tailer-site-header__socs {
	justify-content: flex-start;
	margin-top: 6px;
	gap: 4px;
}

.tailer-site-header__panel-contacts .tailer-site-header__soc {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 8px;
}

body.tailer-menu-open {
	overflow: hidden;
}

@media (max-width: 1100px) {
	.tailer-site-header__nav a {
		padding-left: 8px;
		padding-right: 8px;
		font-size: 12px;
	}
}

@media (max-width: 900px) {
	.tailer-site-header__nav--left,
	.tailer-site-header__nav--right {
		display: none;
	}

	.tailer-site-header__burger,
	.tailer-site-header__quick-phone {
		display: flex;
	}

	.tailer-site-header__phone {
		display: none;
	}

	.tailer-site-header__quick-phone:hover,
	.tailer-site-header__quick-phone:focus-visible {
		color: var(--th-ink) !important;
		background: #c9b45a !important;
	}

	.tailer-site-header__top .tailer-site-header__wrap {
		display: flex;
		justify-content: space-between;
		gap: 4px;
		min-height: 44px;
		padding: 0 6px 0 10px;
	}

	.tailer-site-header__chip {
		min-height: 44px;
		padding: 0 6px;
		gap: 6px;
	}

	.tailer-site-header__soc {
		width: 44px;
		height: 44px;
	}

	.tailer-site-header__addr .is-full {
		display: none;
	}

	.tailer-site-header__addr .is-short {
		display: inline;
	}

	.tailer-site-header__grid {
		min-height: 60px;
		padding-top: 4px;
		padding-bottom: 4px;
	}

	.tailer-site-header__logo img {
		height: 34px;
		max-width: 150px;
	}

	.tailer-site-header__wrap {
		padding: 0 10px;
	}
}

@media (max-width: 480px) {
	.tailer-site-header__top {
		font-size: 11px;
		letter-spacing: .02em;
	}

	.tailer-site-header__addr .is-short {
		display: none;
	}

	.tailer-site-header__chip {
		padding: 0 4px;
		gap: 4px;
	}

	.tailer-site-header__soc {
		width: 42px;
		height: 44px;
	}

	.tailer-site-header__logo img {
		height: 30px;
		max-width: 132px;
	}

	.tailer-site-header__grid {
		min-height: 56px;
		gap: 4px;
	}
}

@media (max-width: 360px) {
	.tailer-site-header__soc {
		width: 40px;
	}
}
