/*
 * Custom Barber Shop header/menu override.
 * This is the only file that controls the fixed header and mobile menu chrome.
 */

:root {
	--cbs-header-bg: #0b0a09;
	--cbs-header-text: #f4eee4;
	--cbs-header-gold: #b58b48;
	--cbs-header-height: 94px;
	--cbs-header-mobile-height: 72px;
	--cbs-header-z: 2147483600;
	--cbs-offcanvas-z: 2147483644;
	--cbs-ui-z: 2147483646;
}

html,
body {
	overflow-x: hidden !important;
}

/* One fixed header and one background layer. */
html body #de-site-header,
html body.home #de-site-header,
html body #de-site-header.cbs-header-locked,
html body.cbs-header-lock #de-site-header {
	background: linear-gradient(180deg, rgba(11, 10, 9, 0.98), rgba(11, 10, 9, 0.9)) !important;
	background-color: var(--cbs-header-bg) !important;
	background-image: linear-gradient(180deg, rgba(11, 10, 9, 0.98), rgba(11, 10, 9, 0.9)) !important;
	border-bottom: 1px solid rgba(181, 139, 72, 0.24) !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
	contain: none !important;
	height: var(--cbs-header-height) !important;
	isolation: isolate !important;
	left: 0 !important;
	max-width: none !important;
	min-height: var(--cbs-header-height) !important;
	overflow: visible !important;
	pointer-events: auto !important;
	position: fixed !important;
	right: 0 !important;
	top: 0 !important;
	transform: none !important;
	visibility: visible !important;
	width: 100% !important;
	z-index: var(--cbs-header-z) !important;
}

html body #de-site-header::before,
html body #de-site-header::after {
	content: none !important;
	display: none !important;
}

/* Every theme-owned child stays transparent. */
html body #de-site-header #masthead,
html body #de-site-header #de-header-horizontal,
html body #de-site-header #de-header-horizontal-desktop,
html body #de-site-header #de-header-horizontal-mobile,
html body #de-site-header .de-header__wrapper,
html body #de-site-header .de-header__sticky--wrapper,
html body #de-site-header .de-header__section,
html body #de-site-header .de-header__row,
html body #de-site-header .de-header__column,
html body #de-site-header .de-header-mobile__wrapper,
html body #de-site-header .de-header-mobile__section,
html body #de-site-header .de-header-mobile__row,
html body #de-site-header .uk-container,
html body #de-site-header .uk-width-1-1,
html body #de-site-header .de-header__item,
html body #de-site-header nav,
html body #de-header-horizontal.no-transparency .de-header__section,
html body #de-header-horizontal.site-header--is-sticky .de-header__section,
html body #de-header-horizontal .de-header__sticky--wrapper.uk-active .de-header__section,
html body.home #de-header-horizontal.no-transparency .de-header__section,
html body.home #de-header-horizontal.site-header--is-sticky .de-header__section,
html body.home #de-header-horizontal .de-header__sticky--wrapper.uk-active .de-header__section {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

/* The page owns fixed positioning; UIkit's sticky child cannot create a second bar. */
html body #de-site-header .de-header__sticky--wrapper,
html body #de-site-header .de-header__sticky--wrapper.uk-sticky,
html body #de-site-header .de-header__sticky--wrapper.uk-active,
html body #de-site-header .de-header__sticky--wrapper.uk-sticky-below,
html body #de-site-header .de-header__sticky--wrapper.uk-sticky-fixed {
	bottom: auto !important;
	height: 100% !important;
	left: auto !important;
	margin: 0 !important;
	min-height: 0 !important;
	position: static !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	width: 100% !important;
	z-index: auto !important;
}

html body #de-header-horizontal,
html body #de-header-horizontal.no-transparency,
html body #de-header-horizontal.site-header--is-sticky,
html body #de-header-horizontal.transparent-light {
	background: transparent !important;
	box-shadow: none !important;
	height: var(--cbs-header-height) !important;
	min-height: var(--cbs-header-height) !important;
	position: static !important;
	transform: none !important;
}

/* Use exactly the menu section that contains the primary navigation. */
html body #de-header-horizontal-desktop {
	display: block !important;
	height: var(--cbs-header-height) !important;
	min-height: var(--cbs-header-height) !important;
	position: static !important;
	transform: none !important;
}

html body #de-header-horizontal-desktop #header-sectionbefore-section,
html body #de-header-horizontal-desktop #header-section1,
html body #de-header-horizontal-desktop #header-sectionafter-section {
	display: none !important;
}

html body #de-header-horizontal-desktop #header-section2 {
	align-items: center !important;
	display: flex !important;
	height: var(--cbs-header-height) !important;
	min-height: var(--cbs-header-height) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

html body.home #de-header-horizontal-desktop #header-section2 {
	display: flex !important;
	height: var(--cbs-header-height) !important;
	min-height: var(--cbs-header-height) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

html body #de-header-horizontal-desktop #header-section2 > .uk-width-1-1,
html body #de-header-horizontal-desktop #header-section2 > .uk-width-1-1 > .uk-container,
html body #de-header-horizontal-desktop #header-section-2-row-0 {
	height: 100% !important;
	width: 100% !important;
}

html body #de-header-horizontal-desktop #header-section2 > .uk-width-1-1 > .uk-container {
	box-sizing: border-box !important;
	max-width: 1320px !important;
	padding-left: 150px !important;
	padding-right: 32px !important;
}

html body #de-header-horizontal-desktop #header-section-2-row-0 {
	align-items: center !important;
	display: flex !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body #de-header-horizontal-desktop #header-section-2-row-0-column-0 {
	display: none !important;
}

html body #de-header-horizontal-desktop #header-section-2-row-0-column-1 {
	align-items: center !important;
	display: flex !important;
	flex: 1 1 auto !important;
	height: 100% !important;
	justify-content: flex-end !important;
	max-width: none !important;
	min-height: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

html body #de-site-header .secondary-menu,
html body #de-site-header .de-header__logo-media,
html body #de-site-header .de-header__site-branding {
	display: none !important;
}

html body #de-site-header .cbs-primary-menu-ready,
html body #de-site-header .de-header-navigation__primary-menu,
html body #de-site-header .de-primary-menu {
	align-items: center !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: clamp(20px, 2vw, 34px) !important;
	height: 100% !important;
	justify-content: flex-end !important;
	list-style: none !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
}

html body #de-site-header .cbs-primary-menu-ready > li,
html body #de-site-header .de-header-navigation__primary-menu > li,
html body #de-site-header .de-primary-menu > li {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	height: 100% !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
}

html body #de-header-horizontal.no-transparency .cbs-primary-menu-ready > li > a,
html body #de-header-horizontal.site-header--is-sticky .cbs-primary-menu-ready > li > a,
html body #de-site-header .cbs-primary-menu-ready > li > a,
html body #de-site-header .de-header-navigation__primary-menu > li > a,
html body #de-site-header .de-primary-menu > li > a,
html body #de-site-header #de-header-horizontal #header-section2 .cbs-primary-menu-ready > li > a,
html body #de-site-header #de-header-horizontal #header-section2 .cbs-primary-menu-ready > li > a > span {
	align-items: center !important;
	color: var(--cbs-header-text) !important;
	display: inline-flex !important;
	font-family: Karla, Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	height: 100% !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	min-height: 0 !important;
	padding: 0 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

html body #de-site-header #de-header-horizontal #header-section2 .de-header__search-btn,
html body #de-site-header #de-header-horizontal #header-section2 .de-header__search-btn span,
html body #de-site-header #de-header-horizontal #header-section2 .de-header__search-btn svg,
html body #de-site-header #de-header-horizontal #header-section2 .de-header__search-btn svg * {
	color: var(--cbs-header-text) !important;
	stroke: currentColor !important;
}

html body #de-site-header .cbs-primary-menu-ready > li > a::after {
	background: var(--cbs-header-gold) !important;
	bottom: -5px !important;
	content: "" !important;
	height: 1px !important;
	left: 0 !important;
	position: absolute !important;
	transform: scaleX(0) !important;
	transform-origin: right !important;
	transition: transform 180ms ease !important;
	width: 100% !important;
}

html body #de-site-header .cbs-primary-menu-ready > li > a {
	position: relative !important;
}

/* UIkit's underline preset adds a second line to the text span. */
html body #de-site-header .cbs-primary-menu-ready > li > a > span::before,
html body #de-site-header .cbs-primary-menu-ready > li > a > span::after {
	content: none !important;
	display: none !important;
}

html body #de-site-header .cbs-primary-menu-ready > li > a:hover::after,
html body #de-site-header .cbs-primary-menu-ready > li.current-menu-item > a::after {
	transform: scaleX(1) !important;
	transform-origin: left !important;
}

/* Round stamp shared by desktop and mobile. */
html body .cbs-mobile-logo-stamp,
html body a.cbs-mobile-logo-stamp,
html body.home .cbs-mobile-logo-stamp,
html body.home a.cbs-mobile-logo-stamp {
	background: transparent !important;
	box-shadow: none !important;
	display: block !important;
	height: 112px !important;
	left: max(22px, calc((100vw - 1320px) / 2)) !important;
	opacity: 1 !important;
	position: fixed !important;
	top: 18px !important;
	transform: rotate(-5deg) !important;
	visibility: visible !important;
	width: 112px !important;
	z-index: var(--cbs-ui-z) !important;
}

html body .cbs-mobile-logo-stamp img,
html body.home .cbs-mobile-logo-stamp img,
html body.home a.cbs-mobile-logo-stamp img {
	display: block !important;
	filter: drop-shadow(0 9px 11px rgba(0, 0, 0, 0.26)) drop-shadow(0 0 2px rgba(181, 139, 72, 0.1)) !important;
	height: 100% !important;
	object-fit: contain !important;
	width: 100% !important;
}

@media only screen and (min-width: 48.001em) {
	html body .cbs-mobile-logo-stamp,
	html body a.cbs-mobile-logo-stamp {
		top: 38px !important;
		transform: rotate(-9deg) !important;
	}

	html body.home .cbs-mobile-logo-stamp,
	html body.home a.cbs-mobile-logo-stamp {
		height: 112px !important;
		width: 112px !important;
	}

	html body.home .cbs-mobile-logo-stamp img,
	html body.home a.cbs-mobile-logo-stamp img {
		height: 100% !important;
		max-height: none !important;
		max-width: none !important;
		width: 100% !important;
	}
}

/* Theme hamburger is never used; CBS owns one mobile toggle. */
html body #de-site-header [data-item-id="mobile_header_element"],
html body #de-site-header .de-menu-mobile-toggle,
html body #de-site-header a[aria-label="Mobile Menu Button Open"],
html body #de-site-header a[data-uk-toggle*="#header-mobile-menu"] {
	display: none !important;
}

html body .cbs-mobile-menu-toggle,
html body a.cbs-mobile-menu-toggle {
	display: none !important;
}

html body #header-mobile-menu,
html body #header-mobile-menu.uk-offcanvas,
html body #header-mobile-menu .uk-offcanvas-bar {
	z-index: var(--cbs-offcanvas-z) !important;
}

html body #header-mobile-menu .uk-offcanvas-bar,
html body #header-mobile-menu .header-mobile-menu__container {
	background: var(--cbs-header-bg) !important;
	background-image: none !important;
}

html body #header-mobile-menu .cbs-mobile-menu-filled {
	padding: calc(100px + env(safe-area-inset-top)) 34px 40px !important;
}

html body #header-mobile-menu .cbs-mobile-menu-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body #header-mobile-menu .cbs-mobile-menu-item {
	border-bottom: 1px solid rgba(244, 238, 228, 0.12) !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body #header-mobile-menu .cbs-mobile-menu-item a {
	color: var(--cbs-header-text) !important;
	display: block !important;
	font-family: Karla, Arial, sans-serif !important;
	font-size: clamp(23px, 7vw, 31px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	padding: 17px 0 !important;
	text-decoration: none !important;
}

@media only screen and (max-width: 48em) {
	html,
	body {
		background-color: var(--cbs-header-bg) !important;
	}

	body::before {
		background: var(--cbs-header-bg) !important;
		content: "" !important;
		display: block !important;
		height: calc(var(--cbs-header-mobile-height) + env(safe-area-inset-top)) !important;
		left: 0 !important;
		pointer-events: none !important;
		position: fixed !important;
		right: 0 !important;
		top: 0 !important;
		z-index: calc(var(--cbs-header-z) - 1) !important;
	}

	html body.home::before {
		background: var(--cbs-header-bg) !important;
		background-color: var(--cbs-header-bg) !important;
		background-image: none !important;
		height: calc(var(--cbs-header-mobile-height) + env(safe-area-inset-top)) !important;
		left: 0 !important;
		right: 0 !important;
		top: 0 !important;
		transform: none !important;
		width: 100% !important;
		z-index: calc(var(--cbs-header-z) - 1) !important;
	}

	html body.home::after,
	html body.home .de-page-container::after {
		content: none !important;
		display: none !important;
	}

	html body #de-site-header,
	html body.home #de-site-header {
		background: var(--cbs-header-bg) !important;
		background-color: var(--cbs-header-bg) !important;
		background-image: none !important;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
		height: calc(var(--cbs-header-mobile-height) + env(safe-area-inset-top)) !important;
		min-height: calc(var(--cbs-header-mobile-height) + env(safe-area-inset-top)) !important;
	}

	html body #de-header-horizontal,
	html body #de-header-horizontal-mobile {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		overflow: hidden !important;
		visibility: hidden !important;
	}

	html body .cbs-mobile-logo-stamp,
	html body a.cbs-mobile-logo-stamp,
	html body.home .cbs-mobile-logo-stamp,
	html body.home a.cbs-mobile-logo-stamp {
		height: 92px !important;
		left: 16px !important;
		top: calc(26px + env(safe-area-inset-top)) !important;
		transform: rotate(-7deg) !important;
		width: 92px !important;
		z-index: var(--cbs-ui-z) !important;
	}

	html body .cbs-mobile-menu-toggle,
	html body a.cbs-mobile-menu-toggle,
	html body.home .cbs-mobile-menu-toggle,
	html body.home a.cbs-mobile-menu-toggle,
	html body.home a[aria-label="Deschide meniul"].cbs-mobile-menu-toggle {
		align-items: center !important;
		background: rgba(20, 17, 14, 0.72) !important;
		border: 1px solid rgba(244, 238, 228, 0.55) !important;
		box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
		display: inline-flex !important;
		flex-direction: column !important;
		gap: 5px !important;
		height: 48px !important;
		justify-content: center !important;
		position: fixed !important;
		right: 16px !important;
		top: calc(10px + env(safe-area-inset-top)) !important;
		width: 48px !important;
		z-index: calc(var(--cbs-ui-z) + 1) !important;
	}

	html body .cbs-mobile-menu-toggle span {
		background: #f8ead3 !important;
		display: block !important;
		height: 2px !important;
		width: 22px !important;
	}

	html body.home sr7-module#SR7_1_1.cbs-slider-ready .cbs-hero-shell {
		align-items: center !important;
		display: flex !important;
		flex-direction: column !important;
		text-align: center !important;
	}

	html body.home sr7-module#SR7_1_1.cbs-slider-ready .cbs-hero-kicker {
		align-self: center !important;
		display: flex !important;
		justify-content: center !important;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
		width: fit-content !important;
	}

	html body.home sr7-module#SR7_1_1.cbs-slider-ready .cbs-hero-waves,
	html body.home sr7-module#SR7_1_1.cbs-slider-ready .cbs-hero-ornament.cbs-hero-waves {
		left: 50% !important;
		right: 30% !important;
		top: -92px !important;
		transform: translate3d(-30%, 0, 0) !important;
	}
}
