.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  border-bottom: 1px solid #e0e0e0;
  height: var(--header-height);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--white-color);

  line-height: 1;
}
.header--auth .header__inner {
  padding-bottom: 0.5rem;
}
.header--admin .header__inner{
  padding-top: 1rem;
}
.header--auth {
  height: var(--header-height);
}
.header--admin {
  height: var(--header-admin-auth-height);
}
.header--auth .header__mobile-menu {
  top: calc(var(--header-auth-height) - 1px);
  height: calc(100vh - var(--header-auth-height));
  height: calc(100vb - var(--header-auth-height));
}
.header--admin .header__mobile-menu {
  top: calc(var(--header-admin-auth-height) - 1px);
  height: calc(100vh - var(--header-admin-auth-height));
  height: calc(100vb - var(--header-admin-auth-height));
}
.header__inner {
  padding-bottom: 0.4375rem;
  border-bottom: 1px solid #e0e0e0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.header__logo {
  width: 8.75rem;
  height: 1.3125rem;
}
.header__menu_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.75rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__menu_link {
  position: relative;
  display: inline-block;
  color: var(--black-color);
  font-size: 1.0625rem;
  font-weight: 500;
}
.header__menu_link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--main-color);
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.header__menu_link:hover {
  color: var(--main-color);
}
.header__menu_link:hover::after {
  width: 100%;
}
.header__actions_btn {
  border: 0.125rem solid var(--main-color);
  border-radius: 0.5rem;
  height: 2.5rem;
  width: 10.625rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.6875rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--black-color);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.header__search-bar {
  margin-top: 0.8125rem;
  height: 2.6875rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.75rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__search-bar--auth_input {
  max-width: 20.625rem;
  width: 100%;
  -webkit-box-flex: initial;
      -ms-flex-positive: initial;
          flex-grow: initial;
}
.header__search-bar_input {
  margin-left: auto;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.header__search-bar_btn {
  height: 100%;
}
.header__search-bar_btn .btn {
  padding: 0.625rem 1rem;
  height: 100%;
  font-size: 1rem;
  font-weight: 500;
}
.header__auth-actions {
  position: relative;
  min-width: 3.8125rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.875rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__auth-actions_btn {
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.header__auth-actions_logout-btn{
  display: flex;
  align-items: center;
  gap: .3125rem;
}
.header__auth-actions_logout-btn i{
  background-color: var(--black-color);
}
.header__auth-actions_logout-btn:hover i{
  background-color: var(--main-color);
}
.header__auth-actions_user {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.3125rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__auth-actions_user_avatar {
  height: 2.8125rem;
  width: 2.8125rem;
  min-width: 2.8125rem;
  min-height: 2.8125rem;
}
.header__auth-actions_user_avatar_img, .header__auth-actions_list_user_avatar_img {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #a3a3a3;
}
.header__auth-actions_user i {
  width: 0.6875rem;
  height: 0.6875rem;
  min-width: 0.6875rem;
  min-height: 0.6875rem;
  background-color: #a3a3a3;
}
.header__auth-actions_list {
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 9;
  border-radius: 0.3125rem;
  -webkit-box-shadow: 0.25rem 0.25rem 1.5625rem 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0.25rem 0.25rem 1.5625rem 0 rgba(0, 0, 0, 0.15);
  width: 16.875rem;
  opacity: 0;
  visibility: hidden;
  background: var(--white-color);
}
.header__auth-actions_list.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.header__auth-actions_list_user {
  padding: 1.25rem;
  border-bottom: 1px solid rgb(217, 217, 217);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.625rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__auth-actions_list_user_avatar {
  height: 2.5rem;
  width: 2.5rem;
}
.header__auth-actions_list_user_text_name {
  font-size: 0.875rem;
  font-weight: 600;
}
.header__auth-actions_list_user_text_email {
  margin-top: 0.1875rem;
  color: rgb(151, 151, 151);
  font-size: 0.875rem;
  font-weight: 500;
}

.header__auth-actions_list_user_text_role {
  color: var(--main-color);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.2875rem;
}


.header__auth-actions_list_nav {
  padding: 1.25rem;
  border-bottom: 1px solid rgb(217, 217, 217);
}
.header__auth-actions_list_nav:last-child {
  border-bottom: none;
}
.header__auth-actions_list_nav_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
}
.header__auth-actions_list_nav_item_link {
  color: var(--black-color);
  font-size: 0.875rem;
  font-weight: 500;
}
.header__auth-actions_list_nav_item_link:hover {
  color: var(--main-color);
}
.header__auth-menu_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.375rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__auth-menu_item {
  position: relative;
  min-height: 2.8125rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.1875rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}
.header__auth-menu_item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.8125rem;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  height: 100%;
  width: 1px;
  background-color: var(--black-color);
}
.header__auth-menu_item:last-child::after {
  display: none;
}
.header__auth-menu_item.plus-non-active .header__auth-menu_item_title {
  color: rgb(191, 191, 191);
}
.header__auth-menu_item--order-notif {
  position: absolute;
  bottom: -0.4375rem;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1px;
  gap: 1px;
}
.header__auth-menu_item--order-notif_i {
  border-radius: 0.3125rem;
  height: 0.1875rem;
  width: 100%;
  background-color: var(--main-color);
}
.header__auth-menu_item--order-notif_i.agree {
  background-color: rgb(10, 185, 10);
}
.header__auth-menu_item--order-notif_i.disagree {
  background-color: rgb(255, 0, 0);
}
.header__auth-menu_item--order-notif_i.warning {
  background-color: rgb(255, 165, 0);
}
.header__auth-menu_item--order-notif_i.danger {
  background-color: rgb(255, 0, 221);
}
.header__auth-menu_item--order-notif_i.info {
  background-color: rgb(0, 0, 255);
}
.header__auth-menu_item_title {
  font-size: 0.875rem;
  font-weight: 600;
}
.header__auth-menu_item_title.--fire-icon {
  position: relative;
}
.header__auth-menu_item_title.--fire-icon::before {
  content: "";
  position: absolute;
  top: -0.625rem;
  right: -1rem;
  -webkit-transform: rotate(10deg);
      -ms-transform: rotate(10deg);
          transform: rotate(10deg);
  height: 1.25rem;
  width: 1.25rem;
  background: url("../../images/emoji/fire.svg") no-repeat center center;
  background-size: contain;
}
.header__auth-menu_item_btn {
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--main-color);
  border-radius: 0.1875rem;
  width: 100%;
  background: transparent;
  color: var(--black-color);
  font-size: 0.75rem;
  font-weight: 500;
}

.header__auth-menu_item_btn.active {
  background-color: var(--main-color);
  color: var(--white-color);
}
.header__auth-menu_item_timer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.25rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__auth-menu_item_timer_icon {
  width: 0.875rem;
  height: 0.875rem;
}
.header__auth-menu_item_timer_text {
  font-size: 1rem;
  font-weight: 500;
  min-width: 80px;
}
.header__search-bar_input--auth--auth-mobile {
  display: none;
}
.header__search-bar_input--auth .custom-search_box {
  gap: 0.875rem;
}
.header__search-bar_input--auth .header__search-bar_input_icon {
  width: 1.25rem;
  height: 1.25rem;
}
.header__search-bar_input--auth .header__search-bar_input_field {
  font-size: 1rem;
}
.header__burger {
  display: none;
}
.header__burger.active span {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.header__burger.active span:first-child {
  transform: rotate(45deg) translate(2px, 3px);
}
.header__burger.active span:last-child {
  transform: rotate(-45deg) translate(2px, -4px);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
}
.header__mobile-menu {
  position: fixed;
  top: calc(var(--header-height) - 1px);
  left: 0;
  z-index: 9;
  padding-bottom: 2.1875rem;
  height: calc(100vh - var(--header-height));
  height: calc(100vb - var(--header-height));
  width: 0;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3.75rem;
  background-color: var(--white-color);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.header__mobile-menu.active {
  width: 100%;
}
.header__mobile-menu_nav {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.header__mobile-menu_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.header__mobile-menu_item {
  border-bottom: 1px solid #e5e5e5;
}
.header__mobile-menu_link {
  padding: 0.625rem 0.9375rem;
  display: block;
  color: var(--black-color);
  font-size: 1.25rem;
  font-weight: 600;
}
.header__mobile-menu_actions {
  padding: 0 0.9375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.9375rem;
}
.header__mobile-menu_actions_btn {
  border-radius: 0.5rem;
  height: 2.75rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1rem;
  font-weight: 500;
}
.header__mobile-menu_actions_btn.--reg {
  border: 0.125rem solid var(--main-color);
  background-color: transparent;
  color: var(--black-color);
}
.header__mobile-menu_actions_btn.--order {
  background-color: var(--main-color);
  color: var(--white-color);
}
.header__burger {
  border-radius: 0.3125rem;
  height: 2.5rem;
  width: 2.5rem;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.21875rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--main-color);
}
.header__burger span {
  border-radius: 1.25rem;
  height: 0.125rem;
  width: 1.25rem;
  display: block;
  background-color: var(--white-color);
}
.header__search-bar_input--auth-mobile {
  display: none;
}
.header__theme_btn {
  border-radius: 50%;
  height: 2.5rem;
  width: 2.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--main-color);
  line-height: 0;
}
.header__theme_btn:hover {
  background-color: var(--black-color);
}
.header__theme_btn i {
  width: 1.4375rem;
  height: 1.4375rem;
  background-color: var(--white-color);
}
@media (max-width: 1200px) {
  .header:not(.header--auth) .header__inner,
  .header:not(.header--auth) .header__search-bar {
    display: contents;
  }
  .header--auth .header__search-bar--auth {
    margin-top: 0.9375rem;
  }
  .header--auth .header__auth-menu {
    width: 100%;
  }
  .header--auth .header__auth-menu .header__auth-menu_list {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .header--auth .header__search-bar_input--auth-mobile {
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.9375rem;
  }
  .header--auth .header__inner {
    border-bottom: none;
    gap: 1.25rem;
  }
  .header__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1.25rem;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .header__menu {
    display: none;
  }
  .header__burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .header__search-bar_btn {
    min-width: auto;
  }
  /* 1200px */
  :root {
    --header-height: 75px;
    --header-auth-height: 185px;
    --header-admin-bar-height: 35px;
    --header-admin-auth-height: calc(185px + var(--header-admin-bar-height));
  }
  .header__search-bar .header__search-bar_input {
    display: none;
  }
  .header__search-bar .header__theme {
    display: none;
  }
}

/* Админ-панель в header */
.header--admin{
  justify-content: flex-start;
}
.header-admin_bar {
  background: #252525;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  width: 100%;
  height: var(--header-admin-bar-height);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  z-index: 20;
}

.header-admin_nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.header-admin_bar .wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.header-admin_nav_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.header-admin_nav_list::-webkit-scrollbar {
  height: 4px;
}

.header-admin_nav_list::-webkit-scrollbar-track {
  background: transparent;
}

.header-admin_nav_list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.header-admin_nav_item {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.header-admin_nav_link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 0.375rem 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 4px;
  white-space: nowrap;
  height: 100%;
}

.header-admin_nav_link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--main-color);
}

.header-admin_nav_link i {
  font-size: 1rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

/* User account menu в админ-баре */
.header-admin_user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  z-index: 10001;
}

.header-admin_user_trigger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-size: 0.8125rem;
  height: 100%;
}

.header-admin_user_trigger:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--main-color);
}

.header-admin_user_trigger_text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.375rem;
}

.header-admin_user_trigger_greeting {
  font-weight: 400;
}

.header-admin_user_trigger_name {
  font-weight: 600;
}

.header-admin_user_avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.header-admin_user_avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Выпадающее меню пользователя */
.header-admin_user_dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: #252525;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-10px);
      -ms-transform: translateY(-10px);
          transform: translateY(-10px);
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 10000;
}

.header-admin_user.active .header-admin_user_dropdown,
.header-admin_user_dropdown.active {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.header-admin_user_info {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem;
}

.header-admin_user_info_avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
}

.header-admin_user_info_avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.header-admin_user_info_name {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.header-admin_user_info_role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-align: center;
}

.header-admin_user_menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.header-admin_user_menu_item {
  margin: 0;
}

.header-admin_user_menu_link {
  display: block;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.header-admin_user_menu_link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--main-color);
}

.header-admin_user_menu_link.logout {
  color: #ff4444;
}

.header-admin_user_menu_link.logout:hover {
  background-color: rgba(255, 68, 68, 0.1);
}

.header-admin_nav_text {
  display: inline-block;
}

/* Query Monitor в админ-баре */
.header-admin_query-monitor {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  z-index: 10000;
}

.header-admin_query-monitor_trigger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-size: 0.8125rem;
  height: 100%;
  white-space: nowrap;
}

.header-admin_query-monitor_trigger:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--main-color);
}

.header-admin_query-monitor_icon {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.header-admin_query-monitor_label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
}

.header-admin_query-monitor_label small {
  font-size: 0.625rem;
  opacity: 0.7;
}

.header-admin_query-monitor_dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: #252525;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-10px);
      -ms-transform: translateY(-10px);
          transform: translateY(-10px);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10002;
}

.header-admin_query-monitor.active .header-admin_query-monitor_dropdown {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.header-admin_query-monitor_menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.header-admin_query-monitor_menu_item {
  margin: 0;
  padding: 0.5rem 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-admin_query-monitor_menu_item:last-child {
  border-bottom: none;
}

.header-admin_query-monitor_menu_label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.header-admin_query-monitor_menu_value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.header-admin_query-monitor_menu_link {
  display: block;
  color: var(--main-color);
  text-decoration: none;
  font-size: 0.875rem;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-align: center;
}

.header-admin_query-monitor_menu_item:hover {
  background-color: rgba(225, 106, 2, 0.1);
}
.header-admin_query-monitor_menu_item:hover .header-admin_query-monitor_menu_link{
  color: var(--main-color-hover);
}

/* Боковое окно для скриптов и стилей */
.query-monitor-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: #252525;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10003;
  -webkit-transition: right 0.3s ease;
  -o-transition: right 0.3s ease;
  transition: right 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
}

.query-monitor-sidebar.active {
  right: 0;
}

.query-monitor-sidebar__header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.query-monitor-sidebar__title {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
}

.query-monitor-sidebar__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.query-monitor-sidebar__close:hover {
  color: rgba(255, 255, 255, 0.9);
}

.query-monitor-sidebar__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.query-monitor-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 15px;
}

.query-monitor-sidebar__item {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  word-break: break-all;
  font-family: 'Courier New', monospace;
  border-left: 3px solid var(--main-color);
}

.query-monitor-sidebar__item:last-child {
  margin-bottom: 0;
}

.order-status-manager__btn {
  color: var(--white-color);
}

.order-status-manager__field{
  color: var(--white-color);
}

/* Адаптив для админ-меню */
@media (max-width: 1200px) {
  .header-admin_nav_link {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    gap: 4px;
  }
  
  .header-admin_nav_link i {
    font-size: 0.9375rem;
  }
  
  .header-admin_user_trigger {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .header-admin_user_trigger_greeting {
    display: none;
  }
  
  .header-admin_user_avatar {
    width: 24px;
    height: 24px;
  }
  
  .header-admin_query-monitor_trigger {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .header-admin_query-monitor_label {
    font-size: 0.6875rem;
  }
}

@media (max-width: 992px) {
  .header-admin_nav_text {
    display: none;
  }
  
  .header-admin_nav_link {
    padding: 0.5rem;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  
  .header-admin_nav_list {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  
  .header-admin_user_trigger_text {
    display: none;
  }
  
  .header-admin_user_trigger {
    padding: 0.25rem;
  }
  
  .header-admin_query-monitor_trigger {
    padding: 0.25rem;
  }
  
  .header-admin_query-monitor_label {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-admin_bar {
    padding: 0;
  }
  
  .header-admin_bar .wrapper {
    gap: 0.5rem;
  }
  
  .header-admin_nav_list {
    gap: 2px;
  }
  
  .header-admin_nav_link {
    padding: 0.5rem 0.375rem;
  }
  
  .header-admin_nav_link i {
    font-size: 1.125rem;
  }
  
  .header-admin_user_avatar {
    width: 28px;
    height: 28px;
  }

  .header__auth-menu_item_title br{
    display: none;
  }
}
@media (max-width: 992px) {
  .header__container {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    row-gap: 0.625rem;
  }
  .header__auth-menu_item--account {
    display: none;
  }
  :root {
    --header-height: 130px;
  }
}
@media (max-width: 768px) {
  .header__auth-menu_list {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 8px;
    gap: 8px;
    grid-row-gap: 15px;
    row-gap: 15px;
  }
  .header__auth-menu_list .header__auth-menu_item {
    padding-right: 0.9375rem;
  }
  .header__auth-menu_list .header__auth-menu_item::after {
    right: 0;
  }
  .header__auth-menu_list .header__auth-menu_item--bill {
    grid-column: span 2/span 2;
  }
  .header__auth-menu_list .header__auth-menu_item--notifications {
    grid-column-start: 3;
  }
  .header__auth-menu_list .header__auth-menu_item--orders {
    grid-row-start: 2;
  }
  .header__auth-menu_list .header__auth-menu_item--orders::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    height: 100%;
    width: 1px;
    background-color: var(--black-color);
  }
  .header__auth-menu_list .header__auth-menu_item--auctions {
    grid-row-start: 2;
  }
  .header__auth-menu_list .header__auth-menu_item--plus {
    grid-row-start: 2;
  }
  .header__auth-menu_item--order-notif {
    bottom: -2px;
    left: calc(50% - 5px);
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    max-width: 90px;
  }
  .header__search-bar {
    height: auto;
  }
  .header__auth-actions_btn {
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
  }
  .header--auth .header__auth-menu {
    margin-top: 0;
  }
  :root {
    --header-auth-height: 240px;
    --header-admin-bar-height: 35px;
    --header-admin-auth-height: calc(240px + var(--header-admin-bar-height));
  }
}
@media (max-width: 700px) {
  .header__actions_btn {
    width: 2.8125rem;
    height: 2.8125rem;
  }
  .header__actions_btn span {
    display: none;
  }
  .header .header__burger {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .header .header__logo {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .header .header__search-bar_btn {
    margin-left: auto;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  .header .header__actions {
    margin-left: 0;
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
  }
  .header .header__search-bar_input {
    -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
            order: 5;
  }
  .header .header__theme {
    -webkit-box-ordinal-group: 7;
        -ms-flex-order: 6;
            order: 6;
  }
  .header .header__auth-actions {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
  }
}
@media (max-width: 576px) {
  .header__search-bar_input .custom-search_box {
    border-radius: 0.3125rem;
    height: 1.75rem;
    gap: 0.625rem;
  }
  .header__search-bar_input .custom-search_box_icon {
    width: 0.9375rem;
    height: 0.9375rem;
  }
  .header__search-bar_input .custom-search_box_input {
    font-size: 0.75rem;
  }
  .header .header__search-bar_btn .btn {
    padding: 0.5rem 0.9375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
  }
  .header .header__actions_btn {
    width: 2.1875rem;
    height: 2.1875rem;
  }
  .header .header__actions_btn i {
    width: 0.875rem;
  }
  .header .header__burger {
    width: 2rem;
    height: 2rem;
    gap: 0.21875rem;
  }
  .header .header__burger span {
    width: 1.125rem;
    height: 0.125rem;
  }
  .header .header__search-bar_input_icon {
    width: 1.125rem;
    height: 1.125rem;
  }
  .header .header__search-bar_input_field {
    font-size: 0.9375rem;
  }
  .header .header__search-bar_input {
    gap: 0.625rem;
  }
  .header .header__logo {
    width: 7.5rem;
    height: 1.875rem;
    min-width: 6.6875rem;
  }
  .header .header__container {
    gap: 0.625rem;
  }
  :root {
    --header-height: 110px;
  }
  .header__container .header__theme_btn {
    width: 32px;
    height: 32px;
  }
  .header__container .header__theme_btn i {
    width: 1.125rem;
    height: 1.125rem;
  }
}
@media (max-width: 480px) {
  .header .header__logo {
    width: 8.6875rem;
    height: 1.625rem;
  }
  .header .header__burger {
    border-radius: 0.25rem;
    height: 1.625rem;
    width: 1.625rem;
    gap: 0.125rem;
  }
  .header .header__burger span {
    width: 0.9375rem;
    height: 0.125rem;
  }
  .header .header__search-bar_input_icon {
    width: 1rem;
    height: 1rem;
  }
  .header .header__actions_btn {
    border-radius: 0.25rem;
    height: 1.625rem;
    width: 1.625rem;
  }
  .header .header__actions_btn i {
    width: 0.5625rem;
  }
  .header .header__container {
    row-gap: 0.9375rem;
  }
  .header .header__auth-actions_btn {
    display: none;
  }
  .header .header__auth-actions_user {
    width: 2.1875rem;
    height: 2.1875rem;
  }
  .header .header__auth-menu_item_timer {
    gap: 0.125rem;
  }
  .header .header__search-bar_btn .btn {
    font-size: 0.625rem;
    font-weight: 600;
  }
  :root {
    --header-auth-height: 220px;
    --header-admin-bar-height: 35px;
    --header-admin-auth-height: calc(240px + var(--header-admin-bar-height));
  }
}
@media (max-width: 420px) {
  .header__auth-menu_item_title {
    font-size: 12px;
  }
  .header__auth-menu_item_timer_text {
    font-size: 13px;
  }
  .header__auth-menu_item {
    min-height: 40px;
  }
  .header__auth-menu_item_btn {
    padding: 6px 0;
    font-size: 10px;
  }
  :root {
    --header-auth-height: 210px;
    --header-admin-bar-height: 35px;
    --header-admin-auth-height: calc(210px + var(--header-admin-bar-height));
  }
}
@media (max-width: 380px) {
  .header .header__logo {
    width: 6.25rem;
    height: 1.15rem;
  }
  .header .header__search-bar_btn {
    display: none;
  }
  .header .header__auth-menu_item_title {
    font-size: 0.625rem;
  }
  .header .header__auth-menu_list {
    -webkit-column-gap: 0.25rem;
       -moz-column-gap: 0.25rem;
            column-gap: 0.25rem;
  }
  .header .header__auth-menu_item--order-notif {
    left: 50%;
    max-width: 4.375rem;
  }
  .header .header__auth-menu_list .header__auth-menu_item {
    padding-right: 0.3125rem;
  }

  :root {
    --header-admin-auth-height: calc(220px + var(--header-admin-bar-height));
  }
}