/* common/header/high-header/high-header.css */
.high-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-header-height);
  background: var(--color-grey-light);
  color: var(--color-black);
  z-index: var(--z-top-header);
  font-family: var(--font-family-primary);
  transition: transform 0.3s ease;
  transform: translateY(0);
}

.high-header.hidden {
  transform: translateY(-100%);
}

.high-header-container {
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-3xl);
  margin: 0 auto;
}

.high-header-nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.high-header-nav__item {
  margin: 0;
}

.high-header-nav__link {
  color: var(--color-black);
  text-decoration: none;
  font-size: var(--font-size-high-header);
  font-weight: var(--font-weight-light);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.high-header-nav__link:hover {
  color: var(--color-yellow);
}

.high-header-contacts {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.high-header-phone {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-black);
  text-decoration: none;
  font-size: var(--font-size-high-header);
  /* font-weight: var(--font-weight-semibold); */
  transition: color var(--transition-base);
  white-space: nowrap;
}

.high-header-phone:hover {
  color: var(--color-yellow);
}

.high-header-messengers {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.high-header-messenger-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0.8;
}

.high-header-messenger-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.high-header-messenger-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* Адаптация для планшетов */
@media (max-width: 1199px) {
  .high-header-contacts {
    gap: var(--spacing-sm);
  }
  
  .high-header-messengers {
    gap: 4px;
  }
  
  .high-header-messenger-link {
    width: 24px;
    height: 24px;
  }
  
  .high-header-messenger-icon {
    width: 14px;
    height: 14px;
  }
}

/* Адаптация для мобильных */
@media (max-width: 991px) {
  .high-header {
    display: none;
  }
}

/* Для случаев когда high-header отключен */
.high-header--disabled {
  display: none !important;
}