.viim-dev-preview .header-wrapper,
.viim-dev-preview .footer-wrapper {
  background: #1f2123;
}

.viim-dev-header {
  color: #f3f1ea;
}

.viim-dev-header a {
  color: inherit;
}

.viim-dev-header__logo {
  padding: 1rem 0;
}

.viim-dev-header button {
  font: inherit;
}

.viim-dev-header__desktop,
.viim-dev-header__mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: unset;
}

.viim-dev-header__mobile {
  display: none;
  padding: 0 !important;
  /* min-height: 76px; */
}
.viim-dev-header__mobile::after {
  display: none !important;
}

.mfp-content {
  margin-top: 54px !important;
}

.mfp-content .header-social-icons + .html_topbar_left {
  display: none !important;
}

.off-canvas .sidebar-menu {
  margin: 0 !important;
}

#menu-item-9230 {
  margin: 20px !important;
  max-width: calc(100% - 40px);
  border-radius: 1.5rem;
}

#menu-item-9230 a {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.viim-dev-header__brand,
.viim-dev-header__mobile-center {
  flex: 0 0 auto;
  margin-right: 3rem;
  line-height: 1;
}

.viim-dev-header__logo {
  display: inline-block;
  font-family: gothamprobold, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.viim-dev-header__logo:hover,
.viim-dev-header__logo:focus {
  color: #f3f1ea;
}

.viim-dev-header__nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1 1 auto;
  line-height: 1;
}

.viim-dev-header__desktop .searchform-wrapper {
  padding: 0 2.5rem;
}

.viim-dev-header__nav-link,
.viim-dev-header__actions {
  font-size: 0.9rem;
  font-weight: 600;
}

.viim-dev-header__nav-link {
  /* font-family: gothamprobold, sans-serif; */
  color: #f3f1ea;
  text-transform: uppercase;
  transition: color 0.18s ease;
  padding: 1.25rem .75rem;
  /* display: block; */
  transition: all .3s linear;
}

.viim-dev-header__nav-link:hover,
.viim-dev-header__nav-link.is-active {
  color: #fff;
  background: #040245;
}

.viim-dev-header__actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.viim-dev-header__socials {
  display: flex !important;
  align-items: center;
  gap: .5rem;
  margin: 0 2rem 0 0;
}

.viim-dev-header__social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 999px;
  color: #f3f1ea !important;
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.viim-dev-header__social:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  opacity: 1;
}

.viim-dev-header__socials.social-icons i {
  font-size: 1rem;
}

.viim-dev-header__socials.social-icons i.icon-vk {
  font-size: 1.15rem;
}

.viim-dev-header__icon {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0 !important;
  border-radius: 999px;
  color: #f3f1ea;
}

.viim-dev-header__icon:hover {
  color: #ffffff;
}


.viim-dev-header__tooltip-wrap,
.viim-dev-header__contact {
  position: relative;
}
.viim-dev-header__tooltip-wrap > a,
.viim-dev-header__contact > a {
  padding: .75rem;
}

.viim-dev-header__contact a svg,
.viim-dev-header__currency a svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
}

.viim-dev-header__contact a {
  white-space: nowrap;
}


.viim-dev-header__tooltip-wrap::after,
.viim-dev-header__contact::after {
  content: "";
  position: absolute;
  top: calc(100% - 4px);
  left: auto;
  right: 0;
  width: 100%;
  height: 16px;
  transform: none;
}

.viim-dev-header__tooltip,
.viim-dev-header__contact-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

/* .viim-dev-header__icon--currency + .viim-dev-header__tooltip,
.viim-dev-header__icon--currency + .viim-dev-header__contact-dropdown {
  top: calc(100% - 10px);
} */

.viim-dev-header__contact a, .viim-dev-header__tooltip-wrap a {
  background: none;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
}
.viim-dev-header__contact a i {
  font-size: 1.75rem;
}
.viim-dev-header__tooltip-wrap > a:hover,
.viim-dev-header__contact > a:hover {
  background: #040245;
}

.viim-dev-header__contact:hover > a {
  background: #040245;
}

.viim-dev-header__tooltip {
  right: 50%;
  display: block;
  min-width: 138px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #030059;
  color: #f5f7fb;
  font-size: 0.76rem;
  line-height: 1.25;
  text-align: center;
  transform: translate(50%, 2px);
}

.viim-dev-header__tooltip-link {
  text-decoration: none;
}

.viim-dev-header__tooltip-wrap:hover .viim-dev-header__tooltip,
.viim-dev-header__tooltip-wrap:focus-within .viim-dev-header__tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.viim-dev-header__tooltip-wrap.is-open .viim-dev-header__tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.viim-dev-header__tooltip-wrap.is-open .viim-dev-header__tooltip-link {
  pointer-events: auto;
}

.viim-dev-header__contact-dropdown {
  display: grid;
  gap: 10px;
  min-width: 250px;
  padding: 18px;
  border-radius: 16px;
  background: #030059;
  transform: translateY(2px);
}

.viim-dev-header__contact:hover .viim-dev-header__contact-dropdown,
.viim-dev-header__contact:focus-within .viim-dev-header__contact-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.viim-dev-header__contact-link {
  font-size: 0.95rem;
  line-height: 1.3;
  color: #f5f7fb;
  transition: color 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
}
.viim-dev-header__contact .viim-dev-header__contact-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: #fff;
}

.viim-dev-header__contact-link:hover {
  color: #ffffff;
}

.viim-dev-header__contact-button.button {
  margin: .5rem 0 0;
  min-height: 40px;
  justify-content: center;
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #030059 !important;
  border-radius: 1.5rem;
}

.viim-dev-header__contact-button.button.is-outline:hover,
.viim-dev-header__contact-button.button.primary.is-outline:hover,
.viim-dev-header__contact-button.button:hover {
  background: #cac9eb !important;
  border-color: #ffffff !important;
  color: #030059 !important;
  box-shadow: none;
}

.viim-dev-header__contact-button.button.is-outline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .75rem;
}
.viim-dev-header__contact-button.button.is-outline svg {
  fill: #030059;
  width: 1.15rem;
  height: 1.15rem;
  position: absolute;
  left: .5rem;
}

.viim-dev-header__mobile-left,
.viim-dev-header__mobile-right {
  flex: 1 1 0;
}

.viim-dev-header__mobile-right {
  display: flex;
  justify-content: flex-end;
}

.viim-dev-header__mobile-center {
  text-align: center;
  margin-right: 0;
}

.viim-dev-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: .75rem .5rem;
  color: #ffffff !important;
  transition: color 0.18s ease, opacity 0.18s ease;
}
.viim-dev-header__burger svg{
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
}

.viim-dev-header__burger .burger-line {
  position: absolute;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background-color: #ffffff;
  border-radius: 999px;
  transform: translateX(-50%);
}

.viim-dev-header__burger .burger-line1 {
  top: 13px;
}

.viim-dev-header__burger .burger-line2 {
  top: 20px;
}

.viim-dev-header__burger .burger-line3 {
  top: 27px;
}

.viim-dev-header__burger:hover {
  color: #ffffff !important;
  opacity: 0.9;
}

.live-search-results {
  position: absolute;
  background: var(--primary-color);
}

.viim-dev-header__desktop .form-flat input:not([type="submit"]), .form-flat textarea, .form-flat select {
  background-color: rgba(255,255,255,0.1);
}

.viim-dev-search {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.viim-dev-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 21, 0.82);
  backdrop-filter: blur(5px);
}

.viim-dev-search__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(90vw, 960px);
  margin: 12vh auto 0;
}

.viim-dev-search__close {
  appearance: none;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.viim-dev-search__close:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.viim-dev-search__close-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.viim-dev-search__close-line--one {
  transform: translate(-50%, -50%) rotate(45deg);
}

.viim-dev-search__close-line--two {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.viim-dev-search__form {
  width: 100%;
}

.viim-dev-search__form .searchform-wrapper,
.viim-dev-search__form .searchform {
  width: 100%;
}

.viim-dev-search__form .searchform .flex-row {
  align-items: stretch;
}

.viim-dev-search__form .search-field {
  height: 72px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  color: #11161b;
  font-size: 1.18rem;
}

.viim-dev-search__form .submit-button {
  min-width: 78px;
  height: 72px;
  border-radius: 0;
}

.viim-dev-search__form .live-search-results {
  top: calc(100% + 8px);
  max-height: min(60vh, 520px);
  overflow-y: auto;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  border-radius: 0;
}

body.viim-dev-search-open {
  overflow: hidden;
}

.viim-dev-footer {
  color: #f3f1ea;
  padding-top: 42px;
}

.viim-dev-footer a {
  color: inherit;
}

.viim-dev-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(180px, 1fr));
  gap: 36px;
  padding-bottom: 28px;
}

.viim-dev-footer__logo {
  width: 120px;
  max-width: 100%;
}

.viim-dev-footer__note {
  max-width: 420px;
  margin: 18px 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(243, 241, 234, 0.72);
}

.viim-dev-footer__title {
  margin: 0 0 16px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, 0.88);
}

.viim-dev-footer__links,
.viim-dev-footer__contacts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.viim-dev-footer__links a,
.viim-dev-footer__contacts a {
  color: rgba(243, 241, 234, 0.76);
}

.viim-dev-footer__links a:hover,
.viim-dev-footer__contacts a:hover,
.viim-dev-footer__legal a:hover {
  color: #ffffff;
}

.viim-dev-footer__socials {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}

.viim-dev-footer__social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 999px;
  color: #f3f1ea !important;
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.viim-dev-footer__social:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

.viim-dev-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(243, 241, 234, 0.7);
}

.viim-dev-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 959px) {
  .viim-dev-header__desktop {
    display: none;
  }

  .viim-dev-header__mobile {
    display: flex;
  }

  .viim-dev-search__panel {
    width: min(90vw, 960px);
    margin-top: 10vh;
  }
}

@media (max-width: 899px) {
  .viim-dev-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .viim-dev-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .viim-dev-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .viim-dev-search__panel {
    width: calc(100vw - 28px);
    margin-top: 72px;
  }

  .viim-dev-search__form .search-field,
  .viim-dev-search__form .submit-button {
    height: 60px;
  }

  .viim-dev-search__form .search-field {
    font-size: 1rem;
    padding: 0 20px;
  }
}
