.header {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 99;
}
.header__top {
padding: 24px 0;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}
.header__fixed-wrap {
display: flex;
align-items: center;
gap: 20px;
}
.header__link.logo {
display: block;
}
.header__nav {
display: flex;
align-items: center;
align-self: stretch;
gap: 40px;
}
.header__nav .header__link {
color: var(--clr-black);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 120%;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
transition: .3s ease-in-out;
} .search-container {
flex: 1;
}
.search-input-wrapper {
position: relative;
display: flex;
align-items: center;
background-color: var(--clr-white);
border: 1px solid #E5E5E5;
border-radius: 8px;
padding: 12px 20px;
transition: border-color 0.3s ease;
}
.search-input-wrapper:focus-within {
border-color: var(--clr-blue);
}
.search-icon {
margin-right: 12px;
flex-shrink: 0;
}
.search-input {
flex: 1;
border: none;
outline: none;
background: transparent;
font-size: 14px;
color: var(--clr-black);
width: 100%;
}
.search-input::placeholder {
color: #868686;
font-size: 14px;
font-weight: 400;
}
.search-input::-webkit-search-cancel-button {
display: none;
}
.search-input::-ms-clear {
display: none;
} .header__contact-info {
position: relative;
box-sizing: border-box;
overflow: hidden;
}
.header__contact-info:hover {
overflow: visible;
}
.header__contact {
margin: 0;
display: flex;
align-items: center;
gap: 4px;
cursor: pointer;
}
.header__contact::after {
content: '';
height: 8px;
width: 8px;
display: block;
background: no-repeat url(//xn--h1aclijcp0f.xn--p1ai/wp-content/themes/vbrand_custom/assets/icons/triantegle.svg) center / cover;
}
.header__contact-modal {
position: absolute;
top: -24px;
width: 292px;
display: flex;
flex-direction: column;
gap: 5px;
opacity: 0;
pointer-events: none;
transform: .3s ease-in-out;
z-index: 1000;
}
.header__contact-info:hover .header__contact-modal {
opacity: 1;
pointer-events: auto;
}
.header__contact-list {
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
background-color: var(--clr-white);
-webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}
.header__contact-list.top {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
.header__contact-list.bottom {
border-radius: 8px;
}
.header__contact-item {
display: flex;
flex-direction: column;
gap: 10px;
}
.header__contact-item .title {
margin: 0;
color: #868686;
font-size: 15px;
font-weight: 400;
letter-spacing: -2%;
line-height: 140%;
}
.header__contact-item .link {
margin: 0;
color: var(--clr-black);
font-size: 15px;
font-weight: 400;
letter-spacing: -2%;
line-height: 140%;
}
.header__contact-social.list {
display: flex;
align-items: center;
gap: 10px;
}
.header__contact-social .item {
display: block;
height: 40px;
width: 40px;
object-fit: cover;
}
.header__contact-social .img {
height: 32px;
object-fit: cover;
display: block;
}
.static__contact-link {
margin-right: 8px;
}
.header__burger-btn {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 8px;
width: 40px;
height: 40px;
position: relative;
}
.burger-icon {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 24px;
height: 18px;
}
.burger-line {
width: 100%;
height: 2px;
background-color: var(--clr-black);
transition: all 0.3s ease;
border-radius: 1px;
}
.header__burger-btn.active .burger-line:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.header__burger-btn.active .burger-line:nth-child(2) {
opacity: 0;
}
.header__burger-btn.active .burger-line:nth-child(3) {
transform: rotate(-45deg) translate(7px, -6px);
} .header__top.header-fixed {
padding: 12px 5%;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1100;
background-color: rgba(155, 102, 234, .3);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
animation: headerSlideDown .3s ease forwards;
}
@keyframes headerSlideDown {
from { transform: translateY(-100%); }
to   { transform: translateY(0); }
}
@media screen and (max-width: 1024px) {
.header__nav {
display: none;
}
.header__btn.catalog {
display: none;
}
.search-container {
display: none;
}
.header__contact-info {
display: none;
}
.header__btn.message {
display: none;
}
.header__burger-btn {
display: block;
}
} .mobile-menu {
position: fixed;
top: 0;
right: 0;
width: 100%;
height: 100vh;
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.mobile-menu.active {
opacity: 1;
visibility: visible;
}
.mobile-menu__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.mobile-menu__content {
position: absolute;
top: 0;
right: 0;
padding: 20px;
width: 280px;
height: 100%;
display: flex;
flex-direction: column;
background-color: var(--clr-white);
transform: translateX(100%);
transition: transform 0.3s ease;
overflow-x: auto;
box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
box-sizing: border-box;
}
.mobile-menu.active .mobile-menu__content {
transform: translateX(0);
}
.mobile-menu__header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #E5E5E5;
}
.mobile-menu__logo img {
height: 40px;
}
.mobile-menu__close {
background: none;
border: none;
cursor: pointer;
padding: 8px;
width: 40px;
height: 40px;
position: relative;
}
.close-icon {
display: flex;
flex-direction: column;
justify-content: center;
width: 24px;
height: 18px;
position: relative;
}
.close-line {
width: 100%;
height: 2px;
background-color: var(--clr-black);
position: absolute;
border-radius: 1px;
}
.close-line:nth-child(1) {
transform: rotate(45deg);
}
.close-line:nth-child(2) {
transform: rotate(-45deg);
}
.mobile-menu__nav {
display: flex;
flex-direction: column;
gap: 20px;
margin-bottom: 30px;
}
.mobile-menu__link {
color: var(--clr-black);
font-size: 16px;
font-weight: 400;
text-decoration: none;
padding: 12px 0;
border-bottom: 1px solid transparent;
transition: all 0.3s ease;
}
.mobile-menu__link:hover {
color: var(--clr-blue);
border-bottom-color: var(--clr-blue);
}
.mobile-menu__actions {
display: flex;
flex-direction: column;
gap: 15px;
margin-bottom: 30px;
}
.mobile-menu__btn {
padding: 12px 20px;
color: var(--clr-white);
text-align: center;
font-size: 14px;
font-weight: 700;
background-color: var(--clr-blue);
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}
.mobile-menu__btn:hover {
background-color: #0056b3;
}
.mobile-menu__btn.catalog {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.mobile-menu__btn.catalog::before {
content: '';
height: 20px;
width: 20px;
display: block;
background: no-repeat url(//xn--h1aclijcp0f.xn--p1ai/wp-content/themes/vbrand_custom/assets/icons/catalog.svg) center / cover;
}
.mobile-menu__contact {
padding: 20px 0 40px;
display: flex;
flex-direction: column;
gap: 20px;
border-top: 1px solid #E5E5E5;
}
.mobile-menu__phone {
margin: 0 0 10px 0;
color: var(--clr-black);
font-size: 16px;
font-weight: 600;
}
.mobile-menu__email {
margin: 0;
color: #868686;
font-size: 14px;
font-weight: 400;
}