#content {
  margin-top: 105px;
  position: relative;
  z-index: 1;
}

body.admin-bar .header-main {
  top: 32px;
}

.header-main {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100;
}

.header-top-wrapper {
  background: black;
  position: relative;
  z-index: 2;
}

.header-top {
  width: 1400px;
  max-width: calc(100vw - 20px);
  margin-left: auto;
  margin-right: auto;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 10px;
}

.header-logo-mobile {
  display: none;
}

.header-mobile-menu-trigger {
  display: none;
}

.header-search-form {
  flex-grow: 1;
  max-width: 660px;
}

.header-autocomplete {
  padding: 10px 18px 10px 48px !important;
  color: #4c4c4c !important;
  font-size: 16px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e2e2 !important;
  line-height: 1 !important;
  font-weight: 400;
  background: #f7f7f7 url("data:image/svg+xml,%3Csvg width='23' height='24' viewBox='0 0 23 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.3604 17L21.3604 22.0001' stroke='%236C6C6C' stroke-width='2.14289' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.36035 10.5715C1.36035 15.3055 5.19796 19.1431 9.9319 19.1431C12.3029 19.1431 14.4493 18.1804 16.001 16.6245C17.5474 15.074 18.5035 12.9344 18.5035 10.5715C18.5035 5.83761 14.6658 2 9.9319 2C5.19796 2 1.36035 5.83761 1.36035 10.5715Z' stroke='%236C6C6C' stroke-width='2.14289' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") no-repeat 18px center;
  background-size: 20px 20px;
  outline: none;
  width: 100%;
}

.header-top-button {
  display: flex;
  padding: 5px 10px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  border: 2px solid #82d74f;
  color: #ffffff !important;
  background: #000000;
  font-family: Roboto, 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 34px;
  letter-spacing: 0.364px;
  white-space: nowrap;
}

.header-top-button:hover {
  background: #82d74f;
  color: #000000 !important;
}

.header-logout {
  display: none;
}

.header-menu-wrapper-desktop {
  background: #f7f7f7;
  border-top: 2px solid #82d74f;
  border-bottom: 1px solid #c0c0c0;
  transition: transform 0.3s ease;
}

.header-menu-wrapper-desktop.hide {
  transform: translateY(-100%) translateY(-5px);
  position: absolute;
  width: 100%;
  display: block !important;
}

.header-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  width: 100%;
}

.header-menu-item {
  color: #000000 !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
  letter-spacing: 0.364px;
}

a.header-menu-item:hover {
  text-decoration: underline;
}

.header-menu-dropdown {
  padding-right: 18px;
  background: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.5L6.5 6.5L11.5 1.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") no-repeat right center;
  background-size: 10px 5px;
}

a.header-menu-item,
.header-menu-dropdown span {
  cursor: pointer;
}

.header-menu-dropdown .header-menu-super {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  min-height: 180px;
  z-index: 10;
  background: #ffffff linear-gradient(125deg, #f4ffee 0%, rgba(248, 255, 244, 1) 33%, #ffffff 45%, #ffffff 100%);
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.25);
  transform: translateY(1px);
}

.header-menu-dropdown:hover .header-menu-super {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-menu-super {
  display: flex;
}

.header-menu-super-wrapper {
  display: flex;
  gap: 40px;
  width: min-content;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 15px 75px;
}

.header-menu-super-first {
  min-width: 270px;
}

.header-menu-super-info {
  padding: 8px 12px 12px 12px;
  border-radius: 12px;
  border: 1px solid #e2e2e2;
  background: white;
}

.header-menu-super-title {
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.364px;
}

.header-menu-super-text {
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.364px;
}

.header-menu-super-text {
  font-weight: 700;
}

.header-menu-super-menu {
  min-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  flex-shrink: 0;
}

.header-menu-super-menu a {
  color: #000000 !important;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.364px;
}

.header-menu-super-menu a:hover {
  text-decoration: underline;
}

.header-menu-super-items {
  display: grid;
  grid-template-columns: auto auto;
  gap: 40px;
  width: 655px;
  max-width: 100%;
  flex-basis: 100%;
}

@media (max-width: 1024px) {
  .header-menu-super-items {
    grid-template-columns: 1fr;
  }

}

.header-menu-super-item {
  width: 100%;
  display: grid;
  grid-template-columns: 32px auto;
  grid-template-rows: min-content auto;
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  color: #000000 !important;
  text-decoration: none;
}

.header-menu-super-item-text div {
  margin-bottom: 1em;
}

.header-menu-super-item-text a {
  color: inherit;
}

a.header-menu-super-item:hover .header-menu-super-item-text,
.header-menu-super-item-text a:hover {
  text-decoration: underline;
  color: inherit;
}

.header-menu-super-item-icon {
  grid-area: 1 / 1 / 3 / 2;
}

.header-menu-super-item-title {
  grid-area: 1 / 2 / 2 / 3;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.364px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-menu-super-item-text {
  grid-area: 2 / 2 / 3 / 3;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.364px;
}

.header-menu-super-button {
  display: inline-flex;
  height: 44px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 5px 40px;
  border-radius: 20px;
  background: #bbf19a;
  border: 2px solid #bbf19a;
  margin-top: 10px;
  white-space: nowrap;
  color: #000000 !important;
}

.header-menu-super-button:hover {
  border-color: #4db310;
  background: white;
  text-decoration: underline;
}

.header-menu-super-button svg {
  fill: black;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.3s ease;
  width: 1em;
  height: 1em;
}

.header-menu-super-button:hover svg {
  transform: rotate(45deg) scaleX(-1);
}

.header-menu-wrapper-mobile {
  display: none;
}

.header-profile-menu-trigger {
  position: relative;
}

.header-profile-menu-trigger svg {
  width: 49px;
  height: 48px;
  cursor: pointer;
}

.header-profile-menu-trigger:hover > svg > path:nth-child(1) {
  fill: #f4ffee;
}

.header-profile-menu-trigger:hover > svg > path:nth-child(2) {
  fill: #276600;
  stroke: #f4ffee;
}

.header-profile-menu-trigger:hover > svg > path:nth-child(3) {
  stroke: #BBF19A;
}

.header-profile-menu-trigger .header-profile-menu {
  display: none;
  position: absolute;
  z-index: 9999999;
  right: 0;
  transform: translateY(50px);
  background: #ffffff radial-gradient(115.36% 104.93% at 67.97% 8.82%, rgba(255, 255, 255, 0.00) 0%, #f7f5f1 57.13%, #f4ffee 100%);
  padding: 28px 22px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.25);
}

.header-profile-menu-trigger .header-profile-menu:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%) translateY(2px);
  height: 50px;
  cursor: pointer;
}

.header-profile-menu-trigger:hover .header-profile-menu {
  display: flex;
}

.header-profile-menu-trigger .header-profile-menu-item {
  white-space: nowrap;
  display: flex;
  padding: 5px 0;
  align-items: center;
  gap: 4px;
  color: #000000 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.364px;
  cursor: pointer;
}

.header-profile-menu-trigger .header-profile-menu-item:hover span {
  text-decoration: underline;
}

.header-profile-menu-trigger .header-profile-menu-item svg {
  width: 32px;
  height: 32px;
}

.header-profile-menu-trigger hr {
  width: 100%;
  height: 0;
  border-top: 1px solid #c0c0c0;
}

@media (max-width: 650px) {
  .notouch {
    overflow: hidden;
    touch-action: none;
  }

  .header-logo-mobile {
    display: block;
    min-width: 100px;
  }

  .header-logo-desktop,
  .header-menu-wrapper-desktop {
    display: none;
  }

  .header-search-form {
    flex-grow: unset;
  }

  .header-mobile-menu-trigger {
    display: block;
  }

  .header-autocomplete {
    padding: 10px 6px 10px 33px !important;
    font-size: 13px !important;
    background-position: 6px center;
    background-size: 17px 17px;
  }

  .header-top-button {
    padding: 5px 10px;
    font-size: 13px;
  }

  .header-menu-nomobile {
    display: none !important;
  }

  .header-menu-wrapper-mobile {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2147483647;
    background: rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    transition: all 0.3s ease;
  }

  .header-menu-wrapper-mobile.opened {
    transform: translateX(0);
  }

  .header-menu-wrapper-mobile-wrapper {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 85px);
    position: absolute;
    left: 20px;
    top: 15px;
    border-radius: 20px 0 0 20px;
    background: #ffffff;
    box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .header-menu-mobile-header {
    display: grid;
    grid-template-columns: auto 36px;
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 15px;
    grid-row-gap: 5px;
    background: radial-gradient(219.95% 100.54% at 2.75% 88.58%, #e3ffd2 0%, #ffffff 100%);
    padding: 15px 12px 10px;
  }

  .header-menu-mobile-title {
    grid-area: 1 / 1 / 2 / 2;
    color: #000000;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.44px;
    white-space: nowrap;
  }

  .header-menu-mobile-close {
    grid-area: 1 / 2 / 2 / 3;
  }

  .header-menu-mobile-close img {
    width: 36px;
    height: 36px;
  }

  .header-menu-mobile-buttons {
    grid-area: 2 / 1 / 3 / 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 15px;
    grid-row-gap: 3px;
  }

  .header-menu-mobile-button {
    display: flex;
    padding: 18px 36px;
    justify-content: center;
    align-items: center;
    border-radius: 120px;
    border: 2px solid #102900;
    background: #ffffff;
    color: #000000 !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 0.44px;
    white-space: nowrap;
  }

  .header-menu-mobile-button-main {
    background: #102900;
    color: #ffffff !important;
  }

  .header-menu-mobile-free {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.44px;
    text-align: center;
    justify-content: center
  }

  .header-menu-mobile-body {
    padding: 10px 0;
    overflow: auto;
    touch-action: auto;
  }

  .header-menu-mobile-item a {
    color: #4c4c4c !important;
    font-size: 17px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.44px;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 12px;
    padding: 7px 25px;
  }

  .header-menu-mobile-item svg {
    width: 32px;
    height: 32px;
  }

  .header-menu-mobile-item-title {
    margin: 15px 0;
    background: #f7f7f7;
    padding: 2px 25px;
    color: #000000;
    font-size: 19px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.44px;
  }

  .header-menu-mobile-item-title-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 7px;
  }

  .header-menu-mobile-item-title-icon svg {
    width: 32px;
    height: 32px;
    margin: 2px 0;
  }

  .header-menu-mobile-item + .header-menu-mobile-item-title:not(.header-menu-mobile-item-title-nohr)::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #c0c0c0;
    transform: translateY(-10px);
    pointer-events: none;
  }
}

@media (max-width: 380px) {
  .header-autocomplete:not(.logged) {
    max-width: 85px !important;
    min-width: unset !important;
    padding-left: 28px !important;
  }
}
