/* ChainFlux / changer2 desktop layout fixes */

.logo1 {
  font-size: clamp(18px, 1.6vw, 26px);
  white-space: nowrap;
  max-width: min(280px, 28vw);
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  gap: 16px;
  flex-wrap: nowrap;
}

.nav__wrapper.header__menu {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav__list {
  flex-shrink: 1;
  min-width: 0;
}

.nav__btn {
  white-space: nowrap;
}

/* Select + coin badges: keep one clean row on desktop */
.exchange__panel .select__current,
.exchange__panel .select__item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.exchange__panel .select__current .coin-icon-wrap,
.exchange__panel .select__item .coin-icon-wrap,
.exchange__panel .select__current .select__img,
.exchange__panel .select__item .select__img {
  flex: 0 0 auto;
}

.exchange__panel .select__current .select__current-text,
.exchange__panel .select__current span:not(.coin-icon-wrap),
.exchange__panel .select__item span:not(.coin-icon-wrap) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Floating hero coins: force square crop so wide SVGs don't stretch layout */
.coins__img img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  background: #fff;
  box-sizing: content-box;
}

@media (min-width: 1101px) {
  .header__menu {
    display: flex !important;
    position: static !important;
    padding: 0 !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  .header__burger {
    display: none !important;
  }

  .header__list {
    margin: 0 30px 0 0 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 1250px) and (min-width: 941px) {
  .nav__lang {
    margin-right: 20px;
  }

  .nav__list {
    margin-right: 20px;
  }

  .nav__item {
    margin-right: 16px;
  }

  .nav__text {
    display: none;
  }
}
