:root {
    --font-family: "Noto Sans", sans-serif;
    --second-family: "Open Sans", sans-serif;


	--text-h: #d8d8d8;
	--txt: #a4a2aa;
	--bg-3: #1c1429;
	--bg-2: #120b1d;
	--border: #201d27;
	--bg: #040306;
}
.header {
  background: initial;
  position: fixed;
  width: 100%;
  top: 0;
  width: 100%;
  z-index: 777;
  transition: all 0.3s ease;
  background-color: transparent;
  border-bottom: 1px solid #202020;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 6px;
  padding: 13px 18px;
  max-width: 152px;
  min-height: 60px;
  background: #e5a938;
  transition: all 300ms ease-in-out;
  text-decoration: none;  
}

.contact-btn:hover {
  box-shadow: 0 0 10px 2px rgba(229, 169, 56, 0.6);
}

.contact-btn__value {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #17181c;
}

.contact-btn__icon {
  display: none;
}


.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 2.10vw;
}

.header__nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.header__nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-h);
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

.header__nav-link:hover {
  color: #e5a938;
  text-shadow: 0 0 10px 2px rgba(229, 169, 56, 0.6);
  -webkit-text-stroke: 1px #e5a938;
}


.header__nav-logo {
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.header__actions-inner {
  z-index: 102;
    flex: 0 0 auto;
    gap: 10px;
    display: flex;
    align-items: center;
}
.user-profile-link{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 10px 18px 10px 5px;
gap: 10px;
height: 60px;
width: max-content;
background: #E5A938;
border-radius: 20px 6px;
}
.user-profile-link .user-thumb img{
  width: 50px;
  height: 50px;
  border-radius: 14px 6px;
}
.user-profile-link .user-name{
font-family: var(--font-family);
font-style: normal;
font-weight: 400;
font-size: 13px;
line-height: 18px;
letter-spacing: 0.05em;
text-transform: uppercase;
color: #1C1429;
}
.header__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  z-index: 101;
}

.header__search {
    border-radius: 14px 6px;
    width: 60px;
    height: 60px;
    background: #e5a938;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 778;
}



.search-action-bnt {
  z-index: 778;
}

.search-action-bnt.action-hidden {
  position: absolute;
  left: 20px;
  top: auto;
}

/* .search-action-bnt.active-search {
  position: absolute;
  top: auto;
} */

.search-action-bnt.active-search .header__search-icon {
  filter: brightness(0) invert(80%);
}

.header__search-value {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-h);
  transition: all 300ms ease-in-out;
  width: 24px;
  height: 24px;
}



.header__search-value svg {
  fill: linear-gradient(315deg, #1c1c1c 0%, #0b0b0b 100%);
}

.header_favorite {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: inherit;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  border-radius: 20px 6px;
  padding: 5px;
  width: 60px;
  height: 60px;
}

.header__favorite-value {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-55%);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: #e5a938;
}

.header_favorite-icon {
  background: inherit;
  transition: all 300ms ease-in-out;
  border-radius: 14px 6px;
  padding: 6px 5px 1px 5px;
}

.header_favorite:hover .header_favorite-icon svg path{
  fill: #000;
}

.header_favorite:hover { 
  background: rgb(229, 169, 56);
}

.header__burger {
  border-radius: 14px 6px;
  width: 50px;
  height: 50px;
  background: #e5a938;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.header__burger:hover {
  box-shadow: 0 0 10px 2px rgba(229, 169, 56, 0.6);
}

.header__burger-icon {
  position: relative;
  width: 18px;
  height: 16px;
  display: flex;
}

.header__burger-line {
  display: block;
  position: absolute;
  top: 8px;
  width: 9px;
  height: 2px;
  background: #17181c;
}

.header__burger-line:before {
  content: '';
  position: absolute;
  top: -6px;
  width: 18px;
  height: 2px;
  background: #17181c;
}

.header__burger-line:after {
  content: '';
  position: absolute;
  top: 6px;
  width: 18px;
  height: 2px;
  background: #17181c;
}

.header__burger.open-burger .header__burger-line {
  width: 0;
}

.header__burger.open-burger .header__burger-line:before {
  transform: rotateZ(45deg);
  top: 0;
}

.header__burger.open-burger .header__burger-line:after {
  transform: rotateZ(-45deg);
  top: 0;
}

.burger__menu-inner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #1e1f23;
  z-index: 100;
  padding: 15px;
  display: none;
  align-items: center;
  justify-content: center;
}

.burger__menu-inner.open-burger {
  display: flex;
}


.burger__menu-list {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.burger__menu-item {
  text-align: center;
}

.burger__menu-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-h);
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

.burger__menu-link:hover {
  color: #fff;
}

.header__action:nth-of-type(3) {
  display: none;
}


.active-search .header__search {
  background: none;
}


.section__search {
  position: fixed;
  inset: 0; 
  background: rgba(0,0,0,0.95); 
  z-index: 778; 
  
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.section__search.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (max-width: 1310px) {
  
  .header__wrapper {
    padding: 19.73px 20px;
  }
  .header__actions {
    column-gap: 30px;
  }
  .contact-btn__inner {
    min-width: 209px;
  }
  .header__nav-item {
    display: none;
  }
  .nav-logo-item {
    display: block;
  }
  .header__action:nth-of-type(3) {
    display: block;
  }
  .burger__menu-link {
    font-size: 22px;
  }
  .header__search {
    width: 50px;
    height: 50px;
  }
}


@media (max-width: 1024px) {
.user-profile-link{
  height: 50px;
}
.user-profile-link .user-thumb img{
  width: 40px;
  height: 40px;
}
}
@media (max-width: 768px) {
  .search-action-bnt.active-search {
    top: 0;
  }
}

@media (max-width: 767px) {
  .header__wrapper {
    padding: 15px;
  }
  
  .contact-btn {
    border-radius: 14px 6px;
    padding: 0;
    width: 50px;
    height: 50px;
    min-width: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact-btn__icon {
    width: max-content;
    height: max-content;
  }
  .contact-btn__value {
    display: none;
  }
  .contact-btn__icon {
    display: block;
  }

  .burger__menu-link {
    font-size: 14px;
  }

  .header__action:nth-of-type(1) {
    display: none;
  }

  .header__action:nth-of-type(2) {
    display: none;
  }

  .header__action:nth-of-type(1).action-hidden {
    display: block;
    width: max-content;
  }

  .header__action:nth-of-type(2).action-hidden  {
    display: block;
  }
  .header__action.search-action-bnt.header__search-inner.active-search {
    display: block;
  }
  
  .contact-btn__inner {
    min-width: auto;
  }
  .header__nav-logo-inner {
    width: 50px;
    height: 50px;
  }

}
@media (max-width: 560px) {
  .user-profile-link .user-name{
    display: none;
  }
}