.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, #8a30ff 0%, #7a2bf4 55%, #6f22ef 100%);
  backdrop-filter: blur(12px);
}

.site-header__container {
  width: 100%;
  max-width: 1504px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 78px;
}

.site-header__brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-width: 0;
}

.site-header__logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  color: #6f22ef;
  font-weight: 700;
}

.site-header__logo-image {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(240px, 42vw);
  object-fit: contain;
}

.site-header__catalog-link,
.site-header__menu-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.site-header__catalog-link {
  display: none;
  padding: 10px 16px;
}

.site-header__catalog-link:hover,
.site-header__menu-catalog:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.site-header__search {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
}

.site-header__search-form {
  position: relative;
}

.site-header__search-input {
  width: 100%;
  height: 46px;
  padding: 0 92px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.site-header__search-input:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.site-header__search-button {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  padding: 8px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header__search-button:hover {
  background: #f3f4f6;
  color: #111111;
}

.site-header__quick-nav {
  display: none;
  align-items: stretch;
  gap: 4px;
  flex-shrink: 0;
}

.site-header__quick-link,
.site-header__quick-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 68px;
  min-height: 62px;
  padding: 8px 4px 7px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.site-header__quick-link:hover,
.site-header__quick-button:hover,
.site-header__quick-link--active,
.site-header__quick-button--active {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.site-header__quick-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header__quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.site-header__quick-icon svg {
  width: 24px;
  height: 24px;
}

.site-header__quick-label {
  display: block;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.site-header__quick-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #7a2bf4;
  border-radius: 999px;
  background: #ff7a18;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.site-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2937;
}

.site-header__burger-icon {
  width: 20px;
  height: 20px;
}

.site-header__mobile-search {
  padding-bottom: 12px;
}

.site-header__mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header__menu-catalog,
.site-header__menu-link,
.site-header__menu-button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  text-align: left;
}

.site-header__menu-link,
.site-header__menu-button {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header__menu-button {
  border: none;
  background: transparent;
}

.site-header__menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.site-header__menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.site-header__menu-link:hover,
.site-header__menu-button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.header-menu-enter-active,
.header-menu-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-menu-enter-from,
.header-menu-leave-to {
  opacity: 0;
  transform: translateY(-8px);
}

.header-menu-enter-to,
.header-menu-leave-from {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .site-header__container {
    padding: 0 24px;
  }

  .site-header__logo-image {
    height: 48px;
    max-width: min(200px, 30vw);
  }
}

@media (min-width: 768px) {
  .site-header__catalog-link,
  .site-header__search,
  .site-header__quick-nav {
    display: flex;
  }

  .site-header__search {
    display: block;
  }

  .site-header__burger,
  .site-header__mobile-search,
  .site-header__mobile-menu {
    display: none;
  }
}

@media (min-width: 1024px) {
  .site-header__container {
    padding: 0 32px;
  }

  .site-header__quick-nav {
    gap: 8px;
  }

  .site-header__quick-link,
  .site-header__quick-button {
    width: 76px;
  }
}
