.header {
    background: #fff;
    position: sticky;
    top: 0;
    padding: 0;
    padding-top: 14px;
    z-index: 100;
}

.header__container {
  max-width: 1440px;
  margin: 0 auto;
}

.header__row {
  display: flex;
  align-items: center;
}

.header__row--top {
    margin-bottom: 4px;
    justify-content: flex-start;
}

.header__row--bottom {
}

.header__left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header__menu-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: 44px;
  width: 44px;
  border-radius: 12px;
  background: #20221E0F;
  justify-content: center;
  cursor: pointer;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__catalog-btn {
    background: #81AD4F;
    color: white;
    border: none;
    padding: 12px 33px;
    border-radius: 128px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -.02em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.header__catalog-btn:hover {
}

.header__search {
  flex: 1;
  margin: 0 24px;
  position: relative;
  display: flex;
  align-items: center;
}

.header__search-input::placeholder {
    color: #20221E52;
}

.header__search-input {
    width: 100%;
    height: 44px;
    padding: 4px;
    padding-left: 12px;
    border: 1px solid #20221E29;
    border-radius: 12px;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    letter-spacing: -.02em;
}

.header__search-input:focus {
  outline: none;
  border-color: #84cc16;
  background: #fff;
}

.header__search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    background: #81AD4F29;
}

.header__search-submit:hover {
  color: white;
}

.header__search-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #6b7280;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.header__profile-btn, .header__favorites-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__profile-btn:hover,
.header__favorites-btn:hover {
}

.header__lang-selector {
  position: relative;
}

.header__lang-btn {
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #20221E;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header__lang-btn:hover {
    color: #81AD4F;
}

.header__lang-dropdown {
    position: absolute;
    top: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 24px 0px #06053214;
    min-width: 80px;
    display: none;
    z-index: 10;
    padding: 4px;
}

.header__lang-dropdown.active {
  display: block;
}

.header__lang-option {
    display: block;
    padding: 12px;
    color: #20221E;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    border-radius: 8px;
}

.header__lang-option:hover {
    background: #81AD4F;
    color: #fff;
}

.header__nav {
  width: 100%;
}

.header__nav-list {
    display: flex;
    height: 26px;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    justify-content: flex-start;
    align-items: center;
}

.header__nav-item {
  white-space: nowrap;
}

.header__nav-link {
    color: #20221E;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
}

.header__nav-link:hover {
    color: #81AD4F;
}

@media (max-width: 1024px) {
  .header__search {
    max-width: 400px;
  }

  .header__nav-list {
    gap: 24px;
  }

  .header__nav-link {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .header__row--top {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header__left {
    width: 100%;
    justify-content: space-between;
  }

  .header__search {
    order: 3;
    max-width: 100%;
    margin: 0;
    width: 100%;
  }

  .header__search-mobile-btn {
    display: block;
  }

  .header__nav {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .header__nav-list {
    gap: 20px;
    padding: 0 4px;
  }

  .header__nav-item {
    white-space: nowrap;
  }

  .header__actions {
    gap: 8px;
  }
}

.header__search-form {
    width: 100%;
}

/* Выпадающее меню */
.header__menu-dropdown {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    height: 388px;
    max-width: 1440px;
    margin: 0 auto;
    box-shadow: 0px 4px 32px 0px #06053214;
    border-radius: 16px;
    padding: 24px;
}

.header__menu-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.menu-dropdown__container {
    height: 100%;
}

.menu-dropdown__content {
    display: grid;
    grid-template-columns: 318px 342px 342px 342px;
    gap: 24px;
    height: 100%;
}

.menu-dropdown__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    background-image: url(/static/images/menu-cta.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    padding: 24px;
}

.menu-dropdown__hero {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    color: white;
}

.menu-dropdown__hero-title {
    font-size: 24px;
    font-weight: 500;
    max-width: 198px;
    line-height: 28px;
    letter-spacing: -.02em;
}

.menu-dropdown__hero-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -.02em;
    color: #FFFFFFB8;
}

.menu-dropdown__hero-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #81AD4F;
    padding: 12px 20px;
    border-radius: 128px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -.02em;
}

.menu-dropdown__column:not(:last-child) {
    border-right: 1px solid #20221E14;
}

.menu-dropdown__contact p {
    color: #20221E7A;
    font-size: 14px;
    margin: 8px 0;
}

.menu-dropdown__contact a {
    color: #81AD4F;
    text-decoration: none;
}

.menu-dropdown__social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.menu-dropdown__social-link {
    color: #20221E7A;
    text-decoration: none;
    font-size: 14px;
}

.menu-dropdown__social-link:hover {
    color: #81AD4F;
}

.menu-dropdown__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    color: #325B3EB8;
}

.menu-dropdown__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-dropdown__link {
    color: #20221E7A;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.menu-dropdown__link:hover {
    color: #81AD4F;
}

.menu-dropdown__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #20221E7A;
}

.menu-dropdown__copyright {
    margin: 0;
}

.menu-dropdown__politics a {
    color: #20221E7A;
    text-decoration: none;
}

.menu-dropdown__politics a:hover {
    color: #81AD4F;
}

@media (max-width: 1024px) {
    .menu-dropdown__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .menu-dropdown__container {
        padding: 32px 20px;
    }

    .menu-dropdown__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .menu-dropdown__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}