.wrapper-list-conversation {
  max-height: 550px;
  height: 550px;
  background: #eeeff3;
  padding: 0 20px;
}

#et-header .list-message .list-message-box-body li a.link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.form-group
  .checkbox
  input[type="checkbox"].has-visited
  ~ span.text-choosen:after {
  opacity: 0;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  width: 15px;
  height: 15px;
}

.btn-reject {
  background: #fff;
  color: #10a2ef;
  padding: 4px 20px;
  border: 1px solid #10a2ef;
  display: inline-block;
  border-radius: 45px;
  text-align: center;
  font-size: 12px;
}
.name-customer-order {
  cursor: pointer;
}

/*Opening Message*/
.opening-message .hide-content {
  height: 150px;
  overflow: hidden;
}
.opening-message .show-opening-message {
  cursor: pointer;
  text-align: left;
  color: #00ccbb;
  margin: 10px 0;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

.post-job .moxie-shim {
  left: 0 !important;
  top: 0 !important;
}

/*****************
    Social menu
******************/
.social-link li:first-child {
  margin-left: 0;
}
.screen-reader-text {
  position: absolute;
  top: -9999em;
  left: -9999em;
}
.social-link a {
  font-weight: normal !important;
}
.social-link li a::before {
  content: "\f408";
  font-family: "FontAwesome";
}
.social-link li a[href*="codepen.io"]::before {
  content: "\f1cb";
}
.social-link li a[href*="dribbble.com"]::before {
  content: "\f17d";
}
.social-link li a[href*="facebook.com"]::before {
  content: "\f09a";
}
.social-link li a[href*="flickr.com"]::before {
  content: "\f16e";
}
.social-link li a[href*="github.com"]::before {
  content: "\f09b";
}
.social-link li a[href*="instagram.com"]::before {
  content: "\f16d";
}
.social-link li a[href*="linkedin.com"]::before {
  content: "\f0e1";
}
.social-link li a[href*="pinterest.com"]::before {
  content: "\f0d2";
}
.social-link li a[href*="plus.google.com"]::before {
  content: "\f0d5";
}
.social-link li a[href*="tumblr.com"]::before {
  content: "\f173";
}
.social-link li a[href*="twitter.com"]::before {
  content: "\f099";
}
.social-link li a[href*="vimeo.com"]::before {
  content: "\f194";
}
.social-link li a[href*="wordpress.org"]::before,
.social-link li a[href*="wordpress.com"]::before {
  content: "\f19a";
}
.social-link li a[href*="youtube.com"]::before {
  content: "\f167";
}
.social-link li a[href*="mailto"]::before {
  content: "\f0e0";
}
.social-link li a.search-toggle::before {
  content: "\f002";
  margin-top: -9px;
}
/*****************
  End social menu
******************/
.add-skill {
  position: absolute;
  top: 33px;
  cursor: pointer;
  right: 0;
  width: 36px;
  padding: 7px 11px;
  height: 36px;
  display: inline-block;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  transform: rotate(90deg);
}
.add-skill,
.add-skill:hover i,
.add-skill i,
.add-skill i:hover {
  text-decoration: none !important;
}
span.add-skill.active {
  background-color: green;
  color: #fff;
}
textarea.skill {
  height: 39px;
  min-height: 39px;
  resize: none;
  border-bottom: 1px solid rgba(137, 138, 144, 0.2);
}
.view_only .custom-order-box .btn-decline,
.view_only .custom-order-box .btn-send-offer {
  display: none;
}

@media (min-width: 1200px) {
  .auto-clear .col-lg-1:nth-child(12n + 1) { clear: left; }
  .auto-clear .col-lg-2:nth-child(6n + 1) { clear: left; }
  .auto-clear .col-lg-3:nth-child(4n + 1) { clear: left; }
  .auto-clear .col-lg-4:nth-child(3n + 1) { clear: left; }
  .auto-clear .col-lg-6:nth-child(odd) { clear: left; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .auto-clear .col-md-1:nth-child(12n + 1) { clear: left; }
  .auto-clear .col-md-2:nth-child(6n + 1) { clear: left; }
  .auto-clear .col-md-3:nth-child(4n + 1) { clear: left; }
  .auto-clear .col-md-4:nth-child(3n + 1) { clear: left; }
  .auto-clear .col-md-6:nth-child(odd) { clear: left; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .auto-clear .col-sm-1:nth-child(12n + 1) { clear: left; }
  .auto-clear .col-sm-2:nth-child(6n + 1) { clear: left; }
  .auto-clear .col-sm-3:nth-child(4n + 1) { clear: left; }
  .auto-clear .col-sm-4:nth-child(3n + 1) { clear: left; }
  .auto-clear .col-sm-6:nth-child(odd) { clear: left; }
}
@media (max-width: 767px) {
  .auto-clear .col-xs-1:nth-child(12n + 1) { clear: left; }
  .auto-clear .col-xs-2:nth-child(6n + 1) { clear: left; }
  .auto-clear .col-xs-3:nth-child(4n + 1) { clear: left; }
  .auto-clear .col-xs-4:nth-child(3n + 1) { clear: left; }
  .auto-clear .col-xs-6:nth-child(odd) { clear: left; }
}

/* ==========================================================================
   ПОЛНЫЙ ОРИГИНАЛЬНЫЙ КОД БЕЗ ИЗМЕНЕНИЙ (как ты присылал в первом сообщении)
   ========================================================================== */

.mega-menu-container,
.ua-mega-top-wrapper,
.ua-mega-top,
.ua-mega-top > li,
.ua-mega-top > li > a,
.more-categories,
.more-btn,
.more-menu,
.more-menu li,
.more-menu li a,
.ua-mega-panel,
.ua-mega-block,
.ua-mega-grid,
.ua-mega-col,
.ua-mega-col h4,
.ua-mega-col ul,
.ua-mega-col li,
.ua-mega-col li a,
.mobile-burger,
.mobile-menu-overlay {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* =========================================
   MEGA MENU BAR
========================================= */

.mega-menu-container {
  position: relative;
  top: 0;
  z-index: 1001;
  background: #fff;
  box-shadow: none;
  border-top: #b6b6b6 1px solid;
  border-bottom: #b6b6b6 1px solid;

}

/* ===== TOP WRAPPER (CENTER) ===== */
.ua-mega-top-wrapper {
  display: flex;
  justify-content: center; /* КЛЮЧ */
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
}

/* ===== TOP MENU ===== */
.ua-mega-top {
  display: flex;
  list-style: none;
  flex-wrap: nowrap;
  gap: 0;
  overflow: hidden;
}

/* ===== TOP ITEMS ===== */
.ua-mega-top > li {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* separator */
.ua-mega-top > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: #e5e7eb;
  transition: background 0.3s ease;
}

.ua-mega-top > li:hover::after,
.ua-mega-top > li.active::after {
  background: #2563eb;
}

/* ===== TOP LINKS ===== */
.ua-mega-top > li > a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.2s ease, background 0.2s ease;
}

.ua-mega-top > li:hover > a,
.ua-mega-top > li.active > a {
  color: #2563eb;
  background: #f8fafc;
}

/* =========================================
   MEGA PANEL (CENTERED)
========================================= */

.ua-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  z-index: 1000;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* active */
.ua-mega-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0%) translateY(0);
}

/* =========================================
   BLOCK
========================================= */

.ua-mega-block {
  display: none;
  padding: 28px 32px;
}

.ua-mega-block.active {
  display: block;
}

/* =========================================
   GRID
========================================= */

.ua-mega-grid {
  width: 80vw;
  max-width: 900px;
  margin: 0 auto;
  column-count: auto;
  column-width: 160px;
  column-gap: 32px;
  column-rule: 1px solid #e5e7eb;
}

/* ===== COLUMN ===== */
.ua-mega-col {
  break-inside: avoid;
  margin-bottom: 28px;
  padding-right: 16px;
}

/* ===== TITLE ===== */
.ua-mega-col h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
}

.ua-mega-col h4 a {
  color: inherit;
  text-decoration: none;
}

.ua-mega-col h4 a:hover {
  color: #2563eb;
}

/* ===== LIST ===== */
.ua-mega-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ua-mega-col li a {
  display: block;
  padding: 3px 0;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.15s ease, transform 0.2s ease;

  white-space: normal;
  overflow-wrap: break-word;
}


.ua-mega-col li a:hover {
  color: #2563eb;
  transform: translateX(4px);
}

/* =========================================
   SCROLL LIMIT
========================================= */

.ua-mega-panel {
  max-height: calc(100vh - var(--ua-header-h) - 24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================
   MORE BUTTON
========================================= */

.more-categories {
  position: relative;
}

.more-btn {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #2563eb;
  background: transparent;
  border: none;
  cursor: pointer;
}

.more-btn:hover {
  background: #f1f5f9;
}

/* dropdown */
.more-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  min-width: 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.12);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1999;
}

.more-menu.active,
.more-categories:hover .more-menu,
.more-categories:focus-within .more-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-0%) translateY(0) scale(1);
}

.more-menu li {
  list-style: none;
}

.more-menu li a {
  display: flex;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
}

.more-menu li a:hover {
  background: #f8fafc;
  color: #2563eb;
}

/* =========================================
   MOBILE OFF
========================================= */

.mobile-burger,
.mobile-toggle,
.ua-mobile-sub {
  display: none;
}
/* =============================================
   LOGO — CLEAN & CONSISTENT
============================================= */

/* BASE (DESKTOP ≥ 992px) */
#et-header #logo-site {
  float: left;
  padding-top: 25px;
}

#et-header #logo-site img {
  display: block;
  max-width: 130px;
  height: auto;
}

/* TABLET (≤ 991px) */
@media (max-width: 991px) {
  #et-header #logo-site {
    padding-top: 18px;
  }

  #et-header #logo-site img {
    max-width: 120px;
  }
}

/* MOBILE (≤ 767px) */
@media (max-width: 767px) {
  #et-header #logo-site {
    margin-left: -10px;.
    padding-top: 198px;
  }

  #et-header #logo-site img {
    max-width: 130px;
  }
}

/* SMALL MOBILE (≤ 390px) */
@media (max-width: 390px) {
  #et-header #logo-site img {
    max-width: 120px;
  }
}

#et-header .et-pull-top {
  min-height: 85px;
  background: #fff;
  z-index: 1003;
  padding-left: 30px;
  position: relative !important;
}

@media (max-width: 991px) {
  #et-header .et-pull-top {
    padding: 0 20px;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
  }
  #et-header .et-pull-top .navbar-header {
    float: left;
  }
}

#et-header .et-pull-top .search-bar {
  margin-left: 50px;
  float: left;
  margin-top: 23px;
}

@media (max-width: 1199px) {
  #et-header .et-pull-top .search-bar {
    padding-left: 55px;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  #et-header .et-pull-top .search-bar {
    display: none !important;
  }
}

#et-header .et-pull-top .search-bar .icon-search {
  position: relative;
  right: 30px;
  color: rgba(137, 138, 144, 0.8);
  font-size: 16px;
}

#et-header .et-pull-top .search-bar input {
  height: 30px;
  padding-left: 10px !important;
  width: 250px;
}

@media (max-width: 767px) {
  #et-header .header-left,
  #et-header .header-right {
    padding: 0;
  }
}

#et-header .header-right {
  position: relative;
  z-index: 99;
  padding-right: 10px;
  float: right;
}

#et-header .list-message {
  border-right: 1px solid rgba(137, 138, 144, 0.3);
  padding: 4px 25px;
  display: inline-block;
  z-index: 2;
  position: relative;
}

@media (max-width: 991px) {
  #et-header .list-message {
    border: 0;
    padding: 0 12px;
  }
}

#et-header .list-message ul {
  padding: 0;
}

#et-header .list-message .dropdown-menu {
  width: 300px;
  left: 50%;
  margin-left: -150px;
  border: 0;
  box-shadow: 1px 0px 30px rgba(42, 57, 78, 0.3) !important;
  top: 45px;
  padding: 0;
}

#et-header .list-message .link-message {
  position: relative;
  font-size: 0;
  display: inline-block;
}

#et-header .list-message .link-message i {
  cursor: pointer;
  font-size: 18px;
  color: #2a394e;
  padding: 0;
}

@media (max-width: 991px) {
  #et-header .list-message .link-message i {
    font-size: 16px;
  }
}

#et-header .list-message .link-message .alert-sign {
  display: block;
  position: absolute;
  top: -3px;
  left: 10px;
  height: 14px;
  background: #e52e5d;
  border-radius: 3px;
  z-index: 99;
  font-size: 10px;
  line-height: 14px;
  color: #fff;
  text-align: center;
  padding: 0 3px;
  box-sizing: initial;
}

#et-header .list-message .dropdown-toggle {
  padding: 0;
}

#et-header .list-message .list-message-box-footer,
#et-header .list-message .list-message-box-header {
  padding: 0 15px;
}

#et-header .list-message .list-message-box-header {
  background: #10a2ef;
  padding: 9px 15px;
  border-radius: 4px 4px 0 0;
}

#et-header .list-message .list-message-box-header:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #10a2ef;
  left: 50%;
  top: -9px;
  margin-left: -5px;
}

#et-header .list-message .list-message-box-header span {
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

#et-header .list-message .list-message-box-header a.mark-as-read {
  float: right;
  color: #fff;
}

#et-header .list-message .list-message-box-body {
  list-style: none;
  margin-bottom: 0;
}

#et-header .list-message .list-message-box-body li {
  margin: 0;
  padding: 13px 15px;
  border: none;
}

#et-header .list-message .list-message-box-body li .inner {
  position: relative;
}

#et-header .list-message .list-message-box-body li .inner.unread {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

#et-header .list-message .list-message-box-body li:hover {
  background-color: #f2f7fa;
  padding: 13px 15px;
}

#et-header .list-message .list-message-box-body li:hover > a {
  text-decoration: none;
}

#et-header .list-message .list-message-box-body li .img-avatar {
  position: absolute;
  top: 0;
  left: 0;
}

#et-header .list-message .list-message-box-body li .img-avatar img {
  bottom: 0;
}

#et-header .list-message .list-message-box-body li .conversation-text {
  padding-left: 60px;
}

#et-header .list-message .list-message-box-body li .conversation-text .latest-reply {
  display: block;
  color: black;
  line-height: 1.5;
  overflow: hidden;
  height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#et-header .list-message .list-message-box-body li .conversation-text .latest-reply-time {
  font-size: 12px;
  color: #aaafb2;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}

#et-header .list-message .list-message-box-footer a {
  color: #10a2ef;
  border-top: 1px solid #dfe0e6;
  display: block;
  text-align: center;
  padding: 10px 0;
  text-transform: capitalize;
}

#et-header .et-pull-bottom {
  display: none;
}

@media (max-width: 991px) {
  #et-header .et-pull-bottom {
    background: none;
    border-top: none;
    position: relative;
    padding: 0 15px;
    z-index: 9999;
  }
}

#et-header .link-account {
  line-height: 83px;
  display: inline-block;
}

@media (max-width: 767px) {
  #et-header .link-account {
    line-height: 66px;
  }
}

#et-header .link-account ul {
  margin: 0;
  padding: 0;
}

#et-header .link-account ul li {
  display: inline-block;
}

#et-header .link-account ul li .open-signin-modal {
  color: #2a394e;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

#et-header .link-account ul li .open-signup-modal {
  color: #10a2ef;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

#et-header .link-account ul li .focus-signin-form {
  color: #2a394e;
  font-family: "Open Sans", sans-serif;
}

#et-header .list-notification,
#et-header .link-post-services,
#et-header .user-account {
  display: inline-block;
  margin-top: 15px;
}

@media (max-width: 991px) {
  #et-header .user-account .display-name {
    display: none;
  }
  #et-header .user-account i.fa-angle-right {
    display: none;
  }
}

@media (max-width: 767px) {
  #et-header .user-account {
    margin-top: 5px;
    margin-right: 8px;
  }
}

@media (max-width: 991px) {
  #et-header .user-account .dropdown-menu {
    position: fixed;
    height: 100%;
    width: 250px;
    background: #2a394e !important;
    top: 0;
    right: 0;
    z-index: 99999;
    border-radius: 0;
    margin-top: 0;
    border: none;
    overflow: auto;
    box-shadow: none !important;
  }

  #et-header .user-account .dropdown-menu li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  #et-header .user-account .dropdown-menu a {
    color: #e6e9f2;
  }
}

#et-header .search-bar {
  margin-right: 20px;
}

#et-header .search-bar input {
  padding-left: 10px;
}

#et-header .link-post-services {
  border-right: 1px solid rgba(137, 138, 144, 0.3);
  padding: 0 23px;
  margin-right: 12px;
}

@media (max-width: 1199px) {
  #et-header .link-post-services {
    display: none;
  }
}

#et-header .link-post-services a {
  color: #898a90;
  display: block;
}

#et-header .link-post-services .plus-circle {
  display: inline-block;
  background: #10a2ef;
  border-radius: 50%;
  box-shadow: 1px 3px 9px rgba(16, 162, 239, 0.3);
  margin-left: 15px;
  padding: 3px 7px;
  text-align: center;
}

#et-header .link-post-services i {
  transition: all 0.4s ease;
  color: #fff;
  font-size: 14px;
  position: relative;
}

#et-header .link-post-services:hover a {
  color: #10a2ef;
}

#et-header .link-post-services:hover i {
  transition: all 0.4s ease;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  position: relative;
  bottom: 1px;
}

#et-header .list-notification {
  border-left: 1px solid rgba(137, 138, 144, 0.3);
  border-right: 1px solid rgba(137, 138, 144, 0.3);
  padding: 0 25px;
  line-height: 32px;
  display: none;
}

#et-header .list-notification .link-notification {
  cursor: pointer;
  font-size: 18px;
}

#et-header .user-account {
  cursor: pointer;
}

#et-header .user-account .dropdown {
  z-index: 5;
}

#et-header {
  background: #fff;
  box-shadow: none !important;
  position: relative;
}

.ua-mega-block {
  padding-top: 18px;
  padding-bottom: 18px;
}

.ua-mega-panel {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* =============================================
   MOBILE — ONE COLUMN
============================================= */
@media (max-width: 799px) {
  .ua-mega-block,
  .ua-mega-panel {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .ua-mega-grid {
    column-count: 1;
    column-width: auto;
    column-gap: 0;
    column-rule: none;
  }

  .ua-mega-col {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .ua-mega-panel,
  .more-menu {
    display: none !important;
  }
}

/* ===== SAFETY ===== */
html,
body,
#page,
.header-wrapper {
  overflow: visible !important;
}

body {
  overflow-x: hidden;
}

#et-header .et-pull-top,
.home #et-header {
  min-height: 85px;
}

@media (max-width: 991px) {
  .home #et-header,
  #et-header .et-pull-top {
    min-height: 75px !important;
  }
}

/* =============================================
   МОБИЛЬНОЕ МЕНЮ + БУРГЕР
============================================= */
:root {
  --ua-header-h: 65px;
}

@media (max-width: 799px) {
  #et-header,
  #et-header .et-pull-top,
  .et-pull-top,
  .home #et-header,
  body.logged-in #et-header,
  body.admin-bar #et-header,
  body.page #et-header,
  body.single #et-header {
    min-height: 65px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  .navbar-header .menu-navbar-toggle {
    transform: translateX(-10px);
  }

  body.admin-bar {
    padding-top: 0 !important;
  }

  body.admin-bar #et-header,
  body.admin-bar .et-pull-top {
    top: 0 !important;
    margin-top: 0 !important;
  }

  .ua-mega-top {
    position: fixed !important;
    top: 15px !important;
    left: 0;
    right: 0;
    bottom: 0;
    width: 85vw;
    max-width: 360px;
    background: #fff;
    margin: 0;
    padding: 0;
    z-index: 1500;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.16);
    transition:
      transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s ease;
       display: flex;
    flex-direction: column;
  }

  .ua-mega-top.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }


  .ua-mega-top > * {
    flex-shrink: 0;
  }

  .ua-mega-top > ul,
  .ua-mega-top li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ua-mega-top > li {
    border-bottom: 1px solid #f1f5f9;
  }

  .ua-mega-top > li > a {
    display: block;
    padding: 16px 20px 16px 28px;
    font-size: 16px;
    color: #1f2937;
    text-decoration: none;
    transition: padding-left 0.2s ease, background 0.15s ease;
  }

  .ua-mega-top > li > a:hover {
    background: #f8fafc;
    padding-left: 36px;
  }

  .ua-mega-panel,
  .more-menu,
  .ua-mega-top .ua-mega-panel {
    display: none !important;
  }

  .navbar-header .navbar-toggle.menu-navbar-toggle,
  .navbar-header .navbar-toggle,
  .navbar-toggle.menu-navbar-toggle.collapsed,
  .navbar-toggle {
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-left: 4px !important;
    padding-right: 12px !important;
    border: none !important;
    background: transparent !important;
  }

  .navbar-toggle i.fa.fa-bars,
  .navbar-toggle .fa-bars,
  .navbar-toggle i {
    font-size: 34px !important;
    line-height: 1 !important;
    color: #333 !important;
    font-weight: 900 !important;
  }

  .navbar-toggle .icon-bar {
    width: 30px !important;
    height: 4px !important;
    margin: 6px auto !important;
    background-color: #333 !important;
    border-radius: 3px !important;
  }

  .navbar-header .navbar-toggle {
    float: left !important;
    margin-left: -4px !important;
  }
}
@media (max-width: 799px) {
  .ua-menu-item {
    position: relative;
  }

  /* flat / text-like toggle (no circle, no border) */
  .ua-menu-item .mobile-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;           /* увеличенная tap-area, но без формы */
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #111827;
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  /* plus by default */
  .ua-menu-item .mobile-toggle::before {
    content: "+";
    display: inline-block;
    font-weight: 700;
    transform: none;
  }

  /* when open — move button up and show minus */
  .ua-menu-item.open > .mobile-toggle {
    top: 8px;              /* moved to the top of the list item */
    transform: none;       /* stop vertical centering */
  }

  .ua-menu-item.open > .mobile-toggle::before {
    content: "–";
    font-weight: 700;
  }

  /* keep main link padded so toggle doesn't overlap text */
  .ua-menu-item > a.ua-main-link {
    padding-right: 56px;
  }

  /* submenu visibility */
  .ua-mobile-sub {
    display: none;
  }

  .ua-menu-item.open > .ua-mobile-sub {
    display: block;
  }
}

/* Подменю / аккордеон */
.ua-mobile-sub {
  display: none;
  background: #f9fafb;
  padding: 10px 20px 20px;
}

.ua-menu-item.open > .ua-mobile-sub {
  display: block;
}

.ua-sub-title {
  font-weight: 600;
  margin: 12px 0 8px;
  color: #1f2937;
}

.ua-grand-list {
  list-style: none;
  padding-left: 15px;
  margin: 0;
}

.ua-grand-list li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
}

.ua-grand-list li a:hover {
  color: #2563eb;
}

@media (max-width: 360px) {
  .ua-mega-top {
    width: 100vw;
    max-width: none;
  }
}


/* POPULAR CATEGORY BADGE */
.ua-category {
  position: relative;
  padding-right: 18px;
}

.ua-category.is-popular::after {
  content: "";
  position: absolute;
  top: 0.15em;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
}

.ua-category.is-popular:hover::before {
  content: "Популярная рубрика";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #111827;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
}

.hot-icon {
  display: inline-block;
  margin-left: 5px;
  font-size: 1.2em;
  color: #ff4500;
  vertical-align: middle;
}

.navbar.navbar-default.megamenu {
  display: none !important;
}

body.logged-in header,
body.logged-in .mje-main-wrapper {
  top: 0 !important;
}

@media (max-width: 782px) {
  body.logged-in {
    top: 0;
  }
}

.sticky-top-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #fff;
}

.mje-main-wrapper {
  overflow: visible !important;
  height: auto !important;
}

@media (max-width: 991px) {
  html,
  body {
    overflow: visible !important;
    height: auto !important;
  }
}

/* TOTAL BLOCK */
.total-text-label {
  font-weight: 800 !important;
  background-color: #f2f7fa !important;
}

.total-text-seller {
  font-size: clamp(22px, 3vw, 30px) !important;
  color: #10a2ef !important;
}

/* =============================================
   SEARCH — ALWAYS VISIBLE / SCROLL IMMUNE
   FINAL HARD RESET
============================================= */

/* === SEARCH WRAPPER — FORCE ALIVE === */
#et-header .search-bar {
  display: flex !important;
  align-items: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10010;
}

/* === SEARCH FORM === */
#et-header .mje-custom-search-form {
  display: flex !important;
  align-items: center;
  height: 36px;
  width: clamp(180px, 26vw, 300px);
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* === INPUT === */
#et-header .mje-custom-search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
}

/* === BUTTON === */
#et-header .search-icon-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 100%;
  background: #0066bf;
  color: #ffffff;
  border: none;
  border-left: 1px solid #055ba6;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  cursor: pointer;
}

#et-header .search-icon-btn:hover {
  background: #03447d;
}

@media (max-width: 991px) {
  #et-header .search-bar {
    display: flex !important;
  }

  #et-header .mje-custom-search-form {
    width: clamp(160px, 32vw, 280px);
  }
}

@media (max-width: 767px) {
  #et-header .search-bar {
    width: 100%;
    padding: 6px 12px;
  }

  #et-header .mje-custom-search-form {
    width: 100%;
    height: 34px;
  }

  #et-header .search-icon-btn {
    width: 34px;
  }

  #et-header .mje-custom-search-form input {
    font-size: 13px;
  }
}

/* =============================================
   AUTH / CTA / SEARCH — FINAL CLEAN (FULL)
============================================= */

/* ===== AUTH BUTTONS — BASE ===== */

#et-header .link-account {
  padding-right: 10px;   /* отступ справа на десктопе */
}

#et-header .link-account ul {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

#et-header .link-account ul li {
  list-style: none;
}

@media (min-width: 992px) {
  #et-header .link-account {
    padding-right: clamp(16px, 2vw, 24px);
  }
}

/* ===== SIGN IN ===== */

#et-header .link-account .open-signin-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #111827;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

#et-header .link-account .open-signin-modal:hover {
  background: #f9fafb;
  color: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  
}

/* ===== SIGN UP ===== */

#et-header .link-account .open-signup-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  background: #0066bf;
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

#et-header .link-account .open-signup-modal:hover {
  background: #0a5291;
  box-shadow: 0 6px 18px rgba(7, 19, 185, 0.35);
  }

/* ===== REMOVE "OR" ===== */

#et-header .link-account ul li:nth-child(2) {
  display: none;
}

/* ===== RECRUITING LINK ===== */

#et-header .open-recruiting-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

#et-header .open-recruiting-link:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
}

/* DESKTOP ONLY — LOWER AUTH BUTTONS */
@media (min-width: 992px) {
  #et-header .link-account .open-signin-modal,
  #et-header .link-account .open-signup-modal {
    transform: translateY(4px);
  }
}

/* ===== HIDE RECRUITING ≤ 991px ===== */

@media (max-width: 991px) {
  #et-header .open-recruiting-link {
    display: none;
  }
}

/* ===== MOBILE ≤ 767px ===== */

@media (max-width: 767px) {
  #et-header .link-account {
    padding-right: 0;
    margin-top: 0px;
  }

  #et-header .link-account ul {
    gap: 6px;
  }

  #et-header .link-account .open-signin-modal,
  #et-header .link-account .open-signup-modal {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 8px;
  }
}

/* ===== SEARCH BAR ===== */

@media (min-width: 768px) {
  #et-header .search-bar {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 767px) {
  #et-header .search-bar {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    padding: 0 12px;
    float: none;
    clear: both;
  }

  #et-header .search-bar .mje-custom-search-form {
    width: 100%;
    max-width: 100%;
  }
}

/* ===== HEADER HEIGHT TWEAKS ===== */

@media (max-width: 767px) {
  #et-header .et-pull-top {
    min-height: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 799px) {
  #et-header .et-pull-top {
    min-height: 66px;
    padding-left: 5px;
  }
}

/* ===== HEADER DIVIDER ===== */



@media (max-width: 799px) {
  #et-header::after,
  .after-mega-divider {
    display: none;
  }
}

/* FIX: SIGN UP TEXT COLOR (RETURN ORIGINAL BEHAVIOR) */
#et-header .link-account .open-signup-modal {
  color: #ffffff !important;
}


@media (min-width: 992px) {
  #et-header .user-account .dropdown-menu a[href*="recruit"] {
    display: none !important;
  }
}


@media (max-width: 991px) {
  #et-header .user-account .dropdown-menu li {
    order: 0;
  }

  #et-header .user-account .dropdown-menu
  li:has(a.open-recruiting-link) {
    order: -10;
  }
}
