.ysl-topbar {
	background: #f7f7f7;
	color: #666;
	font-size: 13px;
	border-bottom: 1px solid var(--ysl-line);
}

.ysl-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 42px;
}

.ysl-topbar__text {
	min-width: 0;
	font-weight: 700;
	line-height: 1.35;
}

.ysl-topbar__tools {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.ysl-topbar__contact {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 800;
	color: var(--ysl-ink);
}

.ysl-topbar__contact a {
	color: var(--ysl-ink);
}

.ysl-topbar__contact a:hover {
	color: var(--ysl-orange);
}

.ysl-site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--ysl-ink);
	box-shadow: 0 10px 35px rgba(8, 4, 5, 0.16);
}

.ysl-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	min-height: 88px;
}

.ysl-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 168px;
	min-height: 68px;
	padding: 7px 10px;
	border-radius: var(--ysl-radius);
	background: #fff;
	color: var(--ysl-ink);
	font-weight: 900;
}

.ysl-brand .custom-logo-link {
	display: block;
}

.ysl-brand .custom-logo,
.ysl-brand__name {
	width: 168px;
	height: auto;
}

.ysl-brand__name {
	display: inline-flex;
	align-items: center;
	color: var(--ysl-ink);
}

.ysl-primary-menu,
.ysl-primary-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ysl-primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.ysl-primary-menu li {
	position: relative;
}

.ysl-primary-menu a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 9px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
}

.ysl-primary-menu a:hover,
.ysl-primary-menu .current-menu-item > a,
.ysl-primary-menu .current-menu-ancestor > a {
	color: var(--ysl-orange);
}

.ysl-primary-menu .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.ysl-primary-menu ul .menu-item-has-children > a::after {
	transform: rotate(-45deg);
}

.ysl-primary-menu ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	padding: 10px 0;
	background: var(--ysl-white);
	border: 1px solid var(--ysl-line);
	box-shadow: var(--ysl-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 160ms ease;
}

.ysl-primary-menu ul ul {
	top: -11px;
	left: 100%;
}

.ysl-primary-menu li:hover > ul,
.ysl-primary-menu li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ysl-primary-menu ul a {
	justify-content: space-between;
	min-height: 38px;
	padding: 0 16px;
	color: var(--ysl-muted);
	font-size: 13px;
	font-weight: 700;
}

.ysl-header-actions {
	display: flex;
	align-items: stretch;
	align-self: stretch;
}

.ysl-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	padding: 0 18px;
	background: var(--ysl-orange);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
}

.ysl-header-cta:hover {
	background: var(--ysl-orange-dark);
	color: #fff;
}

.ysl-search-toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	min-height: 32px;
	border: 0;
	background: var(--ysl-orange);
	color: #fff;
	cursor: pointer;
}

.ysl-topbar-search {
	display: none;
	flex: 0 0 auto;
	width: 32px;
	min-height: 28px;
	border-radius: var(--ysl-radius);
	background: transparent;
	color: var(--ysl-orange);
	box-shadow: none;
}

.ysl-topbar-search:hover {
	background: transparent;
	color: var(--ysl-orange-dark);
}

.ysl-mobile-search {
	display: grid;
	width: 58px;
	min-height: auto;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	background: #111;
	box-shadow: none;
}

.ysl-search-toggle span,
.ysl-search-toggle span::after {
	display: block;
	content: "";
}

.ysl-search-toggle span {
	width: 15px;
	height: 15px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.ysl-search-toggle span::after {
	width: 7px;
	height: 2px;
	margin: 9px 0 0 10px;
	background: currentColor;
	transform: rotate(45deg);
}

.ysl-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: var(--ysl-radius);
	background: transparent;
}

.ysl-nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: #fff;
}

.ysl-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: start center;
	padding: 18vh 20px 40px;
	background: rgba(8, 4, 5, 0.72);
}

.ysl-search-overlay[hidden] {
	display: none;
}

.ysl-search-panel {
	position: relative;
	width: min(760px, 100%);
	padding: 38px;
	background: #fff;
	box-shadow: var(--ysl-shadow);
}

.ysl-search-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	color: var(--ysl-ink);
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.ysl-search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
}

.ysl-search-field {
	width: 100%;
	min-height: 54px;
	padding: 0 16px;
	border: 1px solid var(--ysl-line);
	font: inherit;
}

.ysl-search-submit {
	min-height: 54px;
	padding: 0 24px;
	border: 0;
	background: var(--ysl-orange);
	color: #fff;
	font-weight: 900;
	cursor: pointer;
}
@media (max-width: 1280px) {
	.ysl-container {
		width: min(var(--ysl-container), calc(100% - 28px));
	}

	.ysl-header__inner {
		grid-template-columns: auto auto;
		gap: 12px;
		padding: 10px 0 12px;
		min-height: 0;
	}

	.ysl-brand {
		min-width: 148px;
		min-height: 62px;
	}

	.ysl-brand .custom-logo,
	.ysl-brand__name {
		width: 148px;
	}

	.ysl-primary-nav {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		min-width: 0;
	}

	.ysl-primary-menu {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 4px;
	}

	.ysl-primary-menu a {
		min-height: 34px;
		padding: 0 8px;
		font-size: 12px;
	}

	.ysl-primary-menu .menu-item-has-children > a::after {
		margin-left: 5px;
	}

	.ysl-header-cta {
		justify-self: end;
		min-height: 62px;
		min-width: 96px;
		padding: 0 14px;
		font-size: 12px;
	}

	.ysl-header-actions {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.ysl-topbar-search {
		display: grid;
	}

	.ysl-mobile-search {
		display: none;
	}
}

@media (max-width: 860px) {
	.ysl-header__inner {
		grid-template-columns: auto auto auto;
		justify-content: space-between;
		padding: 0;
		min-height: 82px;
	}

	.ysl-nav-toggle {
		display: block;
	}

	.ysl-topbar-search {
		display: none;
	}

	.ysl-mobile-search {
		display: grid;
	}

	.ysl-header-cta {
		display: none;
	}

	.ysl-primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - 132px);
		overflow: auto;
		background: #fff;
		border-top: 1px solid var(--ysl-line);
	}

	.ysl-primary-nav.is-open {
		display: block;
	}

	.ysl-primary-menu {
		display: block;
		width: min(var(--ysl-container), calc(100% - 40px));
		margin: 12px auto 22px;
		text-align: left;
	}

	.ysl-primary-menu a {
		justify-content: space-between;
		min-height: 42px;
		padding: 0 12px;
		border-bottom: 1px solid var(--ysl-line);
		color: var(--ysl-ink);
		font-size: 14px;
	}

	.ysl-primary-menu ul .menu-item-has-children > a::after {
		transform: rotate(45deg) translateY(-2px);
	}

	.ysl-primary-menu ul,
	.ysl-primary-menu ul ul {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 0 18px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.ysl-primary-menu li.is-open > ul {
		display: block;
	}
}


@media (max-width: 720px) {
	.ysl-topbar__inner {
		display: grid;
		align-items: start;
		padding: 10px 0;
	}

	.ysl-topbar__tools {
		width: 100%;
		justify-content: space-between;
	}

	.ysl-topbar__contact {
		flex-wrap: wrap;
	}

	.ysl-header__inner {
		gap: 12px;
	}

	.ysl-brand {
		min-width: 150px;
		min-height: 64px;
	}

	.ysl-brand .custom-logo,
	.ysl-brand__name {
		width: 150px;
	}

	.ysl-header-cta {
		display: none;
	}

	.ysl-search-toggle {
		width: 46px;
		min-height: 46px;
	}

	.ysl-search-form {
		grid-template-columns: 1fr;
	}
}
