/* Шапка. Макет: Figma «Nitishop», узел 6:9483, верх страницы (1920 px). */

.header {
  position: relative;
  padding-block: 16px;
}

.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.header__side {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__menu-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: var(--fw-medium);
  cursor: pointer;
}

.header__menu-label { display: none; }

.header__nav,
.header__city,
.header__phone { display: none; }

.header__nav {
  gap: 32px;
  font-weight: var(--fw-medium);
}

.header__city {
  align-items: center;
  gap: 16px;
  font-weight: var(--fw-medium);
}

.header__phone {
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -4px;
  color: var(--fg);
  transition: color .25s;
}

.header__icon:hover { color: var(--link-hover); }

.icon-24 { width: 24px; height: 24px; }
.icon-16 { width: 16px; height: 16px; }

.header__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--fg);
}

.header__logo svg { width: 96px; height: 46px; }

@media (min-width: 768px) {
  .header { padding-block: 24px; }
  .header__menu-label { display: inline; }
  .header__icons { gap: 24px; }
  .header__logo svg { width: 120px; height: 57px; }
}

/* Компьютер: как в макете — 32 px сверху и снизу, логотип 140 × 67 */
@media (min-width: 1280px) {
  .header { padding-block: 32px; }
  .header__bar { min-height: 67px; }
  .header__side--left { gap: 120px; }
  .header__nav { display: flex; }
  .header__side--right { gap: 120px; }
  .header__contacts {
    display: flex;
    align-items: center;
    gap: 64px;
  }
  .header__city { display: flex; }
  .header__phone { display: block; }
  .header__logo svg { width: 140px; height: 67px; }
}

