/* ===========================================================================
   VT360 topbar — shared by Home and search
   =========================================================================== */
:root {
  --vt360-topbar-height: 52px;
  --vt360-topbar-logo-width: 200px;
}

.vt360-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1010;
  min-height: 52px;
  padding: 0 15px;
  color: #ffffff;
  background: #1f2845;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Search uses two fixed layers: the shared topbar and the full filter menu below it.
   The menu script measures only the responsive filter bar, leaving the next section in normal flow. */
.page.vt360-search-page {
  padding-top: calc(
    var(--vt360-topbar-height) +
    var(--vt360-search-menu-height, 0px)
  );
}

.vt360-search-menu[data-vt360-search-menu-fixed] {
  position: fixed;
  z-index: 1000;
  top: var(--vt360-topbar-height);
  right: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  padding: 0 15px 16px;
}

.vt360-search-menu .vtpopup-menu {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.vt360-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1350px;
  min-height: 52px;
  margin: 0 auto;
}

.vt360-topbar__social,
.vt360-topbar__actions {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vt360-topbar__social {
  gap: 14px;
  flex: 0 0 auto;
}

.vt360-topbar__logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 2px;
}

.vt360-topbar__logo img {
  display: block;
  width: var(--vt360-topbar-logo-width);
  height: auto;
}

.vt360-topbar a,
.vt360-topbar .icon {
  color: #ffffff;
}

.vt360-topbar a:hover,
.vt360-topbar a:focus {
  color: #80deea;
}

.vt360-topbar__actions {
  justify-content: flex-end;
  margin-left: auto;
}

.vt360-topbar__action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 18px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.vt360-topbar__action + .vt360-topbar__action {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.vt360-topbar__language {
  position: relative;
  display: flex;
  flex: 0 0 84px;
  align-items: center;
  box-sizing: border-box;
  width: 84px;
  min-height: 30px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.vt360-language__trigger,
.vt360-language__option {
  font: inherit;
  cursor: pointer;
}

.vt360-language__trigger {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 5px;
  width: 100%;
  padding: 4px 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  font-size: 12px;
  line-height: 1.2;
}

.vt360-language__trigger .icon {
  flex: 0 0 auto;
  color: #80deea;
  font-size: 20px;
}

.vt360-language__trigger svg {
  width: 10px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.18s ease;
}

.vt360-language--open .vt360-language__trigger svg {
  transform: rotate(180deg);
}

.vt360-language__list {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1;
  display: none;
  box-sizing: border-box;
  width: 96px;
  padding: 5px;
  background: #1f2845;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.vt360-language__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 30px;
  padding: 4px 6px;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  text-align: left;
}

.vt360-language__option:hover,
.vt360-language__option:focus-visible,
.vt360-language__option--selected {
  background: rgba(255, 255, 255, 0.14);
  outline: 0;
}

.vt360-language__flag {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

@media (min-width: 992px) {
  .vt360-topbar__language:not(.vt360-language--dismissed):hover .vt360-language__list,
  .vt360-topbar__language:not(.vt360-language--dismissed):focus-within .vt360-language__list {
    display: block;
  }
}

.vt360-topbar__action .icon {
  flex: 0 0 auto;
  color: #80deea;
  font-size:20px;
}

.vt360-topbar__action .icon.linear-icon-camera-flip {
  font-size: 30px;
}

.vt360-topbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.vt360-topbar__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 991.98px) {
  .vt360-topbar__inner {
    position: relative;
    gap: 12px;
  }

  .vt360-topbar__social {
    gap: 10px;
  }

  .vt360-topbar__toggle {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 1;
  }

  .vt360-topbar__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .vt360-topbar__logo img {
    width: var(--vt360-topbar-logo-width);
  }

  .vt360-topbar__actions {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    margin: 0;
    padding: 8px 15px;
    background: #1f2845;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }

  .vt360-topbar--open .vt360-topbar__actions {
    display: flex;
  }

  .vt360-topbar--open .vt360-topbar__toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .vt360-topbar--open .vt360-topbar__toggle span:nth-child(2) {
    opacity: 0;
  }

  .vt360-topbar--open .vt360-topbar__toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .vt360-topbar__action {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 5px;
    font-size: 15px;
    white-space: normal;
  }

  .vt360-topbar__action + .vt360-topbar__action {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .vt360-topbar__language {
    align-self: flex-start;
    align-items: stretch;
    flex-direction: column;
    flex: 0 0 96px;
    width: 96px;
    margin: 0;
    padding: 0 5px;
    border-left: 0;
  }

  .vt360-language__trigger {
    justify-content: space-between;
    min-height: 42px;
    font-size: 15px;
  }

  .vt360-language__list {
    position: static;
    margin: 0 0 8px;
    box-shadow: none;
  }

  .vt360-language--open .vt360-language__list {
    display: block;
  }
}

@media (max-width: 479.98px) {
  .vt360-topbar {
    padding: 0 10px;
  }

  .vt360-topbar__social {
    gap: 8px;
  }
}

/* Когда центрированный логотип дошёл до социальных иконок, он остаётся
   шириной 200px, но становится сразу за ними в flex-потоке. Поэтому сжимается
   только свободное пространство между логотипом и гамбургером, без наложения. */
@media (max-width: 429.98px) {
  .vt360-topbar__inner {
    gap: 0;
  }

  .vt360-topbar__social {
    margin-right: 8px;
  }

  .vt360-topbar__logo {
    position: static;
    transform: none;
  }
}
@media (max-width: 399.98px) {
.vt360-topbar__logo img {
  display: block;
  width: 160px;
  height: auto;
  }
}
