
.am-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111;
  border-bottom: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.am-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.am-header__left {
  display: flex;
  align-items: center;
  height: 100%;
}
.am-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-right: 32px;
  letter-spacing: -0.03em;
}
.am-header__logo img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-right: 0;
}
.am-header__nav {
  display: flex;
  height: 100%;
}
.am-header__nav-item {
  height: 100%;
}
.am-header__nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  position: relative;
}
.am-header__nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: transparent;
  border-radius: 3px 3px 0 0;
  transition: background 0.2s;
}
.am-header__nav-item:hover .am-header__nav-link { color: #fff; }
.am-header__nav-item:hover .am-header__nav-link:after {
  background: #fff;
}
.am-header__dropdown {
  position: absolute;
  background: #fff;
  top: 72px;
  left: 0;
  width: 100%;
  border-bottom: none;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  pointer-events: none;
}
.am-header__nav-item:hover .am-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.am-header__dropdown-cols {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  gap: 64px;
}
.am-header__dropdown-col h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.am-header__dropdown-col a {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
}
.am-header__dropdown-col a:hover {
  color: #fe0224;
  text-decoration: underline;
}

.am-header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.am-header__btn-sell {
  display: inline-block;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.am-header__btn-sell:hover {
  background: #fff;
  color: #111;
}
.am-header__link-login {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.am-header__link-login:hover {
  color: #fe0224;
}
.am-header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 900px) {
  .am-header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    height: auto;
    border-bottom: none;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .am-header__nav.is-open {
    display: flex;
  }
  .am-header__nav-item {
    height: auto;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  .am-header__nav-link {
    width: 100%;
    padding: 16px 24px;
    justify-content: space-between;
  }
  .am-header__nav-link:after {
    display: none;
  }
  .am-header__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-bottom: none;
    display: none;
    background: #f9f9f9;
  }
  .am-header__nav-item:hover .am-header__dropdown,
  .am-header__nav-item.is-open .am-header__dropdown {
    display: block;
  }
  .am-header__dropdown-cols {
    flex-direction: column;
    padding: 16px 24px;
    gap: 24px;
  }
  .am-header__link-login {
    display: none;
  }
  .am-header__mobile-toggle {
    display: block;
    margin-right: 16px;
    margin-left: -8px;
  }
  .am-header__logo-text {
    display: none;
  }
}

.am-header__logo-text {
  color: #fff !important;
}
.am-header__logo:hover .am-header__logo-text {
  color: #fff !important;
}
