.header {
position: sticky;
top: 0;
background-color: transparent;
opacity: 1;
transform: translateY(0);
transition: 0.3s;
z-index: 999 !important;
}
.header.scrolled-header {
background-color: black;
transition: 0.3s;
}
.header.hidden-header {
opacity: 0;
transform: translateY(-100%);
pointer-events: none;
transition: 0.3s;
}
.header-widget {
position: relative;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.header-widget .left-header-block {
display: flex;
flex-direction: row;
gap: 24px;
align-items: center;
}
.header-widget .logo-link {
line-height: 0;
}
.header-widget .language-switcher {
display: flex;
flex-direction: row;
border: 1px solid var(--Gray-Gray-300, #363636);
border-radius: 27px;
align-items: center;
}
.header-widget .language-switcher .language {
padding: 4px 14px;
border-radius: 27px;
transition: 0.3s;
}
.header-widget .language-switcher .language:not(.selected):hover {
background-color: var(--Gray-Gray-100, #101010);
cursor: pointer;
transition: 0.3s;
}
.header-widget .language-switcher .language.selected {
background-color: var(--Gray-Gray-300, #363636);
}
.header-widget .language-switcher .language a,
.header-widget .language-switcher .language span {
color: var(--Gray-Gray-700, #ddd);
font-family: "Hanken Grotesk";
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 150%;
transition: 0.3s;
}
.header-widget .language-switcher .language .language-title {
display: none;
}
.header-widget .language-switcher .language .language-code {
display: inline-block;
}
.header-widget .right-header-block {
display: flex;
flex-direction: row;
gap: 36px;
}
.header-widget nav.navbar {
display: flex;
flex-direction: row;
gap: 24px;
}
.header-widget .navbar-item {
display: flex;
align-items: center;
gap: 8px;
}
.header-widget .navbar-item.has-submenu::after {
content: "";
display: inline-block;
width: 9px;
height: 9px;
background-image: url(//crombie.dev/wp-content/crombie-plugin/includes/widgets/header/assets/arrow.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: 0.3s;
}
.header-widget .navbar-item.has-submenu:hover::after {
transform: rotate(180deg);
filter: invert(100%);
transition: 0.3s;
}
.header-widget .navbar-item .navbar-title,
.header-widget .navbar-item .navbar-item-title-link {
color: var(--Gray-Gray-700, #ddd);
font-family: "Hanken Grotesk";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 150%;
cursor: pointer;
margin: 0;
text-decoration: underline;
text-underline-offset: 12px;
text-decoration-color: transparent;
transition: 0.3s;
}
.header-widget .navbar-item:hover .navbar-title,
.header-widget .navbar-item:hover .navbar-item-title-link {
text-decoration-color: var(--Gray-Gray-700, #ddd);
transition: 0.3s;
}
.header-widget a.header-button {
background: var(--Default-White, #fff);
padding: 8px 24px;
color: var(--Default-Black, #000);
font-family: "Hanken Grotesk";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 150%;
border-radius: 27px;
transition: 0.3s;
}
.header-widget a.header-button:hover {
background: var(--Color-Palette-Yellow-Yellow-500, #ffc432);
transition: 0.3s;
}
.header-widget .navbar-item.has-submenu .navbar-submenu {
position: absolute;
top: 70px;
right: 0;
flex-direction: row;
gap: 16px;
background: var(--Default-White, #fff);
border-radius: 24px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: flex;
z-index: 2 !important;
padding: 16px;
visibility: hidden !important;
opacity: 0;
transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
transform: translateY(-10px);
transition-delay: 0.3s;
}
.header-widget .navbar-item.has-submenu:hover .navbar-submenu {
visibility: visible !important;
opacity: 1;
transform: translateY(0);
transition-delay: 0.3s;
}
.header-widget .navbar-item.has-submenu:first-child {
position: relative;
}
.header-widget .navbar-item.has-submenu:first-child .navbar-submenu {
left: 0;
right: auto;
}
.header-widget .navbar-submenu-section {
display: flex;
flex-direction: column;
gap: 24px;
padding: 20px 24px;
flex: 1;
}
.header-widget .navbar-submenu-section.mobile {
display: none;
}
.header-widget .navbar-submenu-section.call-to-action-section {
background: var(--Gray-Gray-900, #fafafa);
border-radius: 17px;
width: 300px;
}
.header-widget .navbar-submenu ul {
display: flex;
flex-direction: column;
gap: 10px;
padding: 0;
}
.header-widget .navbar-submenu li {
list-style: none;
}
.header-widget .navbar-submenu a {
color: var(--Gray-Gray-500, #606060);
font-family: "Hanken Grotesk";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%;
text-decoration: underline;
text-underline-offset: 6px;
text-decoration-color: transparent;
transition: 0.3s;
}
.header-widget .navbar-submenu a:hover {
color: var(--Default-Black, #000);
text-decoration-color: var(--Default-Black, #000);
transition: 0.3s;
}
.header-widget .navbar-submenu-section .navbar-section-title {
color: var(--Gray-Gray-100, #161616);
font-family: "Hanken Grotesk";
font-size: 22px;
font-style: normal;
font-weight: 700;
line-height: 120%;
margin: 0;
}
.header-widget .navbar-submenu-section .navbar-section-title a {
color: inherit;
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
line-height: inherit;
margin: 0;
text-decoration: underline;
text-decoration-color: transparent;
transition: 0.3s;
}
.header-widget .navbar-submenu-section .navbar-section-title a:hover {
text-decoration-color: var(--Gray-Gray-100, #161616);
transition: 0.3s;
}
.header-widget .navbar-submenu-section.call-to-action-section p {
color: var(--Gray-Gray-200, #242424);
font-family: "Hanken Grotesk";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%;
margin: 0;
}
.header-widget .navbar-submenu-section.call-to-action-section a {
color: var(--Default-Black, #000);
font-family: "Hanken Grotesk";
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 150%;
margin: 0;
text-decoration: underline;
text-underline-offset: 8px;
text-decoration-color: var(--Gray-Gray-700, #ddd);
transition: 0.3s;
}
.header-widget .navbar-submenu-section.call-to-action-section a:hover {
text-decoration-color: var(--Default-Black, #000);
transition: 0.3s;
}
.header-widget .header-mobile-button {
display: none;
width: 40px;
height: 40px;
border: 1px solid var(--Default-White, #fff);
border-radius: 50%;
background-image: url(//crombie.dev/wp-content/crombie-plugin/includes/widgets/header/assets/menu.svg); background-size: 20px;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
transition: 0.3s;
}
.header-widget .header-mobile-button.active {
background-color: var(--Color-Grey-100, #101010);
transform: rotate(90deg);
transition: 0.3s;
}
@media (max-width: 1200px) {
.header-widget .mobile-hide {
display: none !important;
}
.header-widget .header-mobile-button {
display: block;
}
.header-widget .left-header-block {
gap: 16px;
}
.header-widget .language-switcher .language a,
.header-widget .language-switcher .language span {
font-size: 13px;
}
.header-widget .right-header-block {
display: flex;
position: absolute;
right: 0;
flex-direction: column;
top: 55px;
background-color: white;
border-radius: 12px;
padding: 12px;
gap: 8px;
z-index: 2;
max-height: 0;
overflow: hidden;
opacity: 0;
transition: 0.3s;
}
.header-widget .right-header-block.visible {
max-height: none;
opacity: 1;
transition: 0.3s;
}
.header-widget nav.navbar {
flex-direction: column;
gap: 0px;
}
.header-widget .navbar-item.has-submenu .navbar-submenu {
position: static;
transform: none;
visibility: visible !important;
flex-direction: column;
border-radius: 0;
box-shadow: none;
padding: 0;
max-height: 0;
opacity: 1 !important;
overflow: hidden;
transition: 0.3s;
}
.header-widget .navbar-item.has-submenu:hover .navbar-submenu {
max-height: 0;
overflow: hidden;
}
.header-widget .navbar-item.has-submenu .navbar-submenu.visible {
max-height: 500px;
transition: 0.3s;
}
.header-widget .navbar-submenu-section {
padding: 0;
gap: 16px;
}
.header-widget .navbar-submenu-section.mobile {
display: flex;
}
.header-widget .navbar-submenu-section.call-to-action-section {
display: none;
}
.header-widget a.header-button {
position: relative;
background: var(--Color-Palette-Yellow-Yellow-500, #ffc432);
padding: 8px 20px;
margin: 12px 40px 12px 0;
}
.header-widget a.header-button:hover {
background: var(--Color-Palette-Blue-Blue-500, #25b1e1);
}
.header-widget a.header-button:after {
position: absolute;
right: -40px;
bottom: 0;
content: "";
background: inherit;
padding: 20px;
border-radius: 27px;
background-image: url(//crombie.dev/wp-content/crombie-plugin/includes/widgets/header/assets/left-arrow.svg);
background-size: 15px;
background-repeat: no-repeat;
background-position: center;
}
.header-widget .navbar-item {
position: relative;
display: block;
padding: 8px 16px;
border-bottom: 1px solid #eee;
}
.header-widget .navbar-item .navbar-title,
.header-widget .navbar-item .navbar-item-title-link {
color: var(--Default-Black, #000);
font-size: 20px;
font-weight: 400;
padding: 8px 0px;
text-decoration: none !important;
text-decoration-color: transparent !important;
}
.header-widget .navbar-item:hover .navbar-title,
.header-widget .navbar-item:hover .navbar-item-title-link {
text-decoration: none !important;
text-decoration-color: transparent !important;
}
.header-widget .navbar-submenu-section .navbar-section-title {
position: relative;
color: var(--Default-Black, #000);
font-size: 16px;
font-weight: 400;
line-height: 150%;
width: fit-content;
}
.header-widget .navbar-submenu a {
color: var(--Gray-Gray-500, #606060);
font-size: 14px;
text-decoration: none;
}
.header-widget .navbar-submenu a:hover {
color: var(--Gray-Gray-500, #606060);
text-decoration: none;
}
.header-widget .navbar-item.has-submenu::after {
position: absolute;
right: 16px;
top: 27px;
width: 12px;
height: 12px;
}
.header-widget .navbar-item.has-submenu:hover::after {
filter: invert(0%);
transform: none;
}
.header-widget .navbar-item.has-submenu.active::after {
transform: rotate(180deg);
transition: 0.3s;
}
.header-widget .navbar-submenu-section .navbar-section-title::after {
content: "";
position: absolute;
right: -15px;
top: 7px;
width: 8px;
height: 8px;
background-image: url(//crombie.dev/wp-content/crombie-plugin/includes/widgets/header/assets/arrow.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: 0.3s;
}
.header-widget .navbar-submenu-section .navbar-section-title.active::after {
transform: rotate(180deg);
}
.header-widget .navbar-item .navbar-submenu ul {
display: none;
max-height: 0;
overflow: hidden;
opacity: 0;
transition: 0.3s;
}
.header-widget .navbar-item .navbar-submenu ul.visible,
.header-widget .navbar-item .navbar-submenu ul.always-visible {
display: flex;
max-height: 500px;
opacity: 1;
}
.header-widget .navbar-submenu-section .navbar-section-title a {
pointer-events: none;
}
}
@media (max-width: 768px) {
.header-widget .right-header-block {
width: 100%;
right: 0;
}
.header-widget .right-header-block.visible {
max-height: 90vh;
}
}