:root {
  --uzsoft-blue: #2563eb;
  --uzsoft-blue-dark: #1d4ed8;
  --uzsoft-blue-light: #eff6ff;
  --uzsoft-navy: #0f172a;
  --uzsoft-gray-50: #f8fafc;
  --uzsoft-gray-100: #f1f5f9;
  --uzsoft-gray-200: #e2e8f0;
  --uzsoft-gray-300: #cbd5e1;
  --uzsoft-gray-500: #64748b;
  --uzsoft-gray-600: #475569;
  --uzsoft-gray-700: #334155;
  --uzsoft-red: #dc2626;
  --uzsoft-radius: 8px;
  --uzsoft-radius-lg: 14px;
  --uzsoft-shadow: 0 18px 38px -28px rgba(15, 23, 42, .45);
  --uzsoft-ease: cubic-bezier(.22, 1, .36, 1);
}

body.uzsoft-mp-v2 {
  --porto-body-ff: Inter, Arial, sans-serif;
}

body.uzsoft-mp-v2 #header.header-builder {
  display: none !important;
}

.uzsoft-mp,
.uzsoft-mp * {
  box-sizing: border-box;
}

.uzsoft-mp {
  position: relative;
  z-index: 40;
  background: #fff;
  color: var(--uzsoft-navy);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  box-shadow: var(--uzsoft-shadow);
}

.uzsoft-mp a {
  color: inherit;
  text-decoration: none;
}

.uzsoft-mp-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.uzsoft-mp-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.uzsoft-mp-container {
  width: min(1248px, calc(100vw - 32px));
  margin: 0 auto;
}

.uzsoft-mp-topbar {
  border-bottom: 1px solid var(--uzsoft-gray-200);
  background: var(--uzsoft-gray-50);
}

.uzsoft-mp-topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.uzsoft-mp-topbar__left,
.uzsoft-mp-topbar__right,
.uzsoft-mp-topbar__left span,
.uzsoft-mp-topbar__right a,
.uzsoft-mp-lang-current,
.uzsoft-mp-socials {
  display: inline-flex;
  align-items: center;
}

.uzsoft-mp-topbar__left {
  gap: 18px;
  color: var(--uzsoft-gray-700);
  font-size: 12px;
  font-weight: 700;
}

.uzsoft-mp-topbar__left span,
.uzsoft-mp-topbar__right a {
  gap: 6px;
  white-space: nowrap;
}

.uzsoft-mp-topbar__left .uzsoft-mp-icon {
  width: 14px;
  height: 14px;
  color: var(--uzsoft-blue);
}

.uzsoft-mp-topbar__right {
  gap: 12px;
  color: var(--uzsoft-gray-600);
  font-size: 12px;
  font-weight: 700;
}

.uzsoft-mp-topbar__right a:hover,
.uzsoft-mp-lang-current:hover {
  color: var(--uzsoft-blue);
}

.uzsoft-mp-topbar__right .uzsoft-mp-icon,
.uzsoft-mp-lang-current .uzsoft-mp-icon {
  width: 14px;
  height: 14px;
}

.uzsoft-mp-lang {
  position: relative;
}

.uzsoft-mp-lang-current {
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.uzsoft-mp-lang-menu,
.uzsoft-mp-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--uzsoft-gray-200);
  border-radius: var(--uzsoft-radius-lg);
  background: #fff;
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .42);
}

.uzsoft-mp-lang-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--uzsoft-radius);
}

.uzsoft-mp-lang-menu a:hover,
.uzsoft-mp-mega-link:hover {
  background: var(--uzsoft-blue-light);
  color: var(--uzsoft-blue-dark);
}

.uzsoft-mp-socials {
  gap: 5px;
}

.uzsoft-mp-socials a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--uzsoft-gray-500);
}

.uzsoft-mp-socials a:hover {
  background: var(--uzsoft-blue-light);
  color: var(--uzsoft-blue);
}

.uzsoft-mp-main {
  background: #fff;
}

.uzsoft-mp-main__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 220px minmax(320px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
}

.uzsoft-mp-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.uzsoft-mp-logo img {
  width: auto;
  max-width: 190px;
  max-height: 54px;
}

.uzsoft-mp-logo span {
  color: var(--uzsoft-blue);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.uzsoft-mp-search {
  min-width: 0;
  height: 50px;
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 112px;
  overflow: hidden;
  border: 2px solid var(--uzsoft-blue);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 26px -24px rgba(37, 99, 235, .9);
}

.uzsoft-mp-search__category {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 14px;
  border-right: 1px solid #dbeafe;
  background: #f4f7ff;
  color: var(--uzsoft-blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.uzsoft-mp-search__category .uzsoft-mp-icon {
  width: 16px;
  height: 16px;
}

.uzsoft-mp-search select,
.uzsoft-mp-search input,
.uzsoft-mp-search button {
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
}

.uzsoft-mp-search select {
  width: 100%;
  background: transparent;
  color: currentColor;
  font-weight: 800;
  cursor: pointer;
}

.uzsoft-mp-search input {
  width: 100%;
  padding: 0 16px;
  color: var(--uzsoft-navy);
  font-size: 14px;
  font-weight: 500;
}

.uzsoft-mp-search input::placeholder {
  color: var(--uzsoft-gray-500);
  opacity: 1;
}

.uzsoft-mp-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--uzsoft-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.uzsoft-mp-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid var(--uzsoft-gray-200);
  white-space: nowrap;
}

.uzsoft-mp-phone__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--uzsoft-gray-100);
  color: var(--uzsoft-blue);
}

.uzsoft-mp-phone small {
  display: block;
  color: var(--uzsoft-gray-500);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .9px;
  line-height: 1.15;
  text-transform: uppercase;
}

.uzsoft-mp-phone strong {
  display: block;
  color: var(--uzsoft-navy);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.uzsoft-mp-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.uzsoft-mp-action {
  position: relative;
  width: 58px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border-radius: 12px;
  color: var(--uzsoft-navy);
}

.uzsoft-mp-action:hover {
  background: var(--uzsoft-blue-light);
  color: var(--uzsoft-blue);
}

.uzsoft-mp-action span:not(.uzsoft-mp-badge) {
  max-width: 54px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uzsoft-mp-badge {
  position: absolute;
  top: 2px;
  right: 5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--uzsoft-red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 14px;
  text-align: center;
}

.uzsoft-mp-catbar {
  border-top: 1px solid var(--uzsoft-gray-200);
  background: #fff;
}

.uzsoft-mp-catbar__inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.uzsoft-mp-sections {
  position: relative;
  flex: 0 0 auto;
}

.uzsoft-mp-mega-btn {
  min-width: 208px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--uzsoft-blue);
  color: #fff;
  font: 900 13px/1 Inter, Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 28px -22px rgba(37, 99, 235, .9);
}

.uzsoft-mp-sections.is-open .uzsoft-mp-mega {
  display: grid;
}

.uzsoft-mp-mega {
  display: none;
  z-index: 30;
  width: min(720px, calc(100vw - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.uzsoft-mp-mega[hidden] {
  display: none;
}

.uzsoft-mp-mega-link {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 10px;
  border-radius: var(--uzsoft-radius);
}

.uzsoft-mp-mega-link .uzsoft-mp-icon {
  grid-row: span 2;
  color: var(--uzsoft-blue);
}

.uzsoft-mp-mega-link span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uzsoft-mp-mega-link small {
  color: var(--uzsoft-gray-500);
  font-size: 11px;
  font-weight: 700;
}

.uzsoft-mp-nav {
  min-width: 0;
  flex: 1 1 auto;
}

.uzsoft-mp-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uzsoft-mp-nav-list li {
  position: relative;
}

.uzsoft-mp-nav-list a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--uzsoft-radius);
  color: var(--uzsoft-gray-700);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.uzsoft-mp-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--uzsoft-gray-200);
  border-radius: var(--uzsoft-radius-lg);
  background: #fff;
  box-shadow: var(--uzsoft-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s var(--uzsoft-ease), transform .16s var(--uzsoft-ease), visibility .16s var(--uzsoft-ease);
}

.uzsoft-mp-nav-list .menu-item-has-children:hover > .sub-menu,
.uzsoft-mp-nav-list .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.uzsoft-mp-nav-list .sub-menu a {
  width: 100%;
  min-height: 36px;
  justify-content: flex-start;
  padding: 0 12px;
  text-transform: none;
}

.uzsoft-mp-nav-list a:hover,
.uzsoft-mp-nav-list .current-menu-item > a {
  background: var(--uzsoft-blue-light);
  color: var(--uzsoft-blue-dark);
}

.uzsoft-mp-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--uzsoft-gray-600);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.uzsoft-mp-tagline .uzsoft-mp-icon {
  width: 15px;
  height: 15px;
  color: var(--uzsoft-blue);
}

.uzsoft-mp-mobile-toggle {
  display: none;
}

@media (max-width: 1199px) {
  .uzsoft-mp-main__inner {
    grid-template-columns: 180px minmax(280px, 1fr) auto;
  }

  .uzsoft-mp-phone {
    display: none;
  }

  .uzsoft-mp-search {
    grid-template-columns: 150px minmax(0, 1fr) 58px;
  }

  .uzsoft-mp-search button span {
    display: none;
  }

  .uzsoft-mp-tagline {
    display: none;
  }
}

@media (max-width: 991px) {
  .uzsoft-mp-container {
    width: min(100%, calc(100vw - 24px));
  }

  .uzsoft-mp-topbar__left {
    display: none;
  }

  .uzsoft-mp-topbar__inner {
    justify-content: flex-end;
  }

  .uzsoft-mp-main__inner {
    min-height: 72px;
    grid-template-columns: 40px minmax(96px, 1fr) auto;
    gap: 8px;
  }

  .uzsoft-mp-mobile-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: var(--uzsoft-blue);
    color: #fff;
  }

  .uzsoft-mp-logo img {
    max-width: 128px;
    max-height: 38px;
  }

  .uzsoft-mp-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 46px;
    grid-template-columns: minmax(0, 1fr) 48px;
    margin-bottom: 10px;
  }

  .uzsoft-mp-search__category {
    display: none;
  }

  .uzsoft-mp-actions {
    gap: 1px;
  }

  .uzsoft-mp-action {
    width: 38px;
    min-height: 40px;
  }

  .uzsoft-mp-action span:not(.uzsoft-mp-badge) {
    display: none;
  }

  .uzsoft-mp-catbar__inner {
    min-height: 0;
    display: block;
    padding-bottom: 10px;
  }

  .uzsoft-mp-sections {
    display: none;
  }

  .uzsoft-mp-nav {
    display: none;
    padding-top: 8px;
  }

  .uzsoft-mp-nav.is-open {
    display: block;
  }

  .uzsoft-mp-nav-list {
    display: grid;
    gap: 6px;
  }

  .uzsoft-mp-nav-list .sub-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .uzsoft-mp-nav-list a {
    width: 100%;
    justify-content: flex-start;
    background: var(--uzsoft-gray-50);
  }
}

@media (max-width: 520px) {
  .uzsoft-mp-topbar__right {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .uzsoft-mp-topbar__right > a {
    display: none;
  }

  .uzsoft-mp-socials a {
    width: 26px;
    height: 26px;
  }

  .uzsoft-mp-main__inner {
    grid-template-columns: 36px minmax(90px, 1fr) auto;
  }

  .uzsoft-mp-logo img {
    max-width: 116px;
  }

  .uzsoft-mp-action {
    width: 34px;
  }
}
