/* ==================== */
/* Кастомный хедер ASH */
/* ==================== */

/* Основной контейнер */

/* Основной хедер без фона */
.ash-custom-header {
  background-image: linear-gradient(180deg, #3e1d9e 0%, #4e167d 100%);
  padding: 15px 0;
  position: relative;
  z-index: 9999;
  width: 100%;
  font-family: "Open Sans", Sans-serif;
}
.newbg {
  background-image: linear-gradient(90deg, #231a4a 0%, #37214e 100%);
  padding: 15px 0;
  position: relative;
  z-index: 9999;
  width: 100%;
  font-family: "Open Sans", Sans-serif;
}
/* Хедер с фоном на остальных страницах */
.ash-with-bg {
  background-color: transparent;
  /*background-image: linear-gradient(180deg, #353647 0%, #472747 100%);*/
}
.ash-nav-with-bg {
  /*background-color: #4F3F59 !important; */
}

/* Внутренний контейнер */
.ash-header-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  width: 100%;
}

/* Блок с логотипом */
.ash-header-logo {
  flex: 0 0 auto;
  z-index: 10000;
}

/* Логотипы */
.ash-logo-desktop,
.ash-logo-mobile {
  max-height: 60px;
  width: auto;
  display: block;
}

.ash-logo-mobile {
  display: none;
}

/* Основной контент */
.ash-header-content {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* Контактная информация */
.ash-contact-info {
  text-align: right;
  margin-left: auto;
}

.ash-contact-text {
  margin: 0;
  line-height: 1.4;
  font-size: 11px;
}

.ash-phone-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.ash-phone-link:hover {
  color: #ffffff;
}

.ash-locations,
.ash-shop-count,
.ash-work-hours {
  display: block;
  color: #ffffff;
}

/* Мобильные иконки */
.ash-mobile-icons {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 20px;
}

/* Гамбургер-меню */
.ash-hamburger-menu {
  width: 40px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 10001;
}

.ash-burger-line {
  height: 5px;
  background: #fff;
  width: 100%;
  position: absolute;
  left: 0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.ash-burger-line:nth-child(1) {
  top: 0;
}

.ash-burger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.ash-burger-line:nth-child(3) {
  bottom: 0;
}

/* Активное состояние */
.ash-hamburger-menu.active .ash-burger-line:nth-child(1) {
  transform: rotate(45deg);
    top: 41%;
}

.ash-hamburger-menu.active .ash-burger-line:nth-child(2) {
  opacity: 0;
}

.ash-hamburger-menu.active .ash-burger-line:nth-child(3) {
  transform: rotate(-45deg);
    bottom: 45%;
}

/* Мобильное меню */
.ash-mobile-nav {
  display: none;
  background-color: #fff;
  width: 100%;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 999;
  padding: 0;
  box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 60%);
}

.ash-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ash-menu-item {
  border-bottom: 2px dashed #e0e0e0;
  padding: 15px 20px;
}

.ash-menu-item:last-child {
  border-bottom: none;
}

.ash-menu-item a {
  color: #000;
  text-decoration: none;
  display: block;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.ash-menu-item a:hover {
  color: #7a5ead;
}

/* Стиль для активного пункта меню */
.ash-active-menu-item a {
  /*position: relative;
  color: #ffcc00 !important;*/
  text-decoration: underline;
}

/* Стили для активного пункта в навигации */
.active-hdr-menu .dropdown-value {
/*  border-bottom: 2px solid #ffcc00;
  padding-bottom: 5px;*/
}

/* Адаптация под мобильные */
@media (max-width: 767px) {
  .ash-logo-desktop {
    display: none;
  }

  .ash-logo-mobile {
    display: block;
    max-width: 200px;
  }

  .ash-contact-info {
    display: none;
  }

  .ash-mobile-icons {
    display: flex;
  }

  .ash-phone-icon,
  .ash-hamburger-menu {
    padding: 10px;
  }
  .ash-custom-header, .newbg {
  padding: 0px 0;
}
.ash-menu-item a {
    font-size: 16px;
}
}

@media (max-width: 480px) {
  .ash-header-container {
    padding: 0 15px;
  }

  .ash-logo-mobile {
    max-width: 160px;
  }

  .ash-mobile-icons {
    gap: 10px;
  }

  .ash-menu-item {
    padding: 15px 15px;
  }
}

@media (max-width: 360px) {
  .ash-logo-mobile {
    max-width: 150px;
  }

}