.xh-bottom-nav {
  display: none;
}

@media screen and (max-width: 991px) {
  :root {
    --xh-bottom-nav-height: 76px;
  }

  body.body-elem {
    padding-bottom: calc(var(--xh-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }

  .xh-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: block;
    padding: 7px 10px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(5, 61, 74, 0.96);
    border-top: 1px solid rgba(238, 228, 208, 0.12);
    box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.22);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .xh-bottom-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 520px;
    height: 57px;
    margin: 0 auto;
    align-items: center;
  }

  .xh-bottom-nav__item {
    display: flex;
    min-width: 0;
    height: 56px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #f4ead6;
    font-family: "Proxima Nova", Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 180ms ease, transform 180ms ease;
  }

  .xh-bottom-nav__item:active {
    transform: translateY(1px);
  }

  .xh-bottom-nav__icon {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
  }

  .xh-bottom-nav__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .xh-bottom-nav__tour-mark {
    position: relative;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
  }

  .xh-bottom-nav__tour-mark::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    margin: -18px 0 0 23px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(30deg);
  }

  .xh-bottom-nav__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: currentColor;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .xh-bottom-nav__item.is-active {
    color: #ff6f1c;
  }

  .xh-bottom-nav__item:focus-visible {
    outline: 1px solid rgba(244, 234, 214, 0.9);
    outline-offset: -5px;
  }
}

@media screen and (max-width: 360px) {
  .xh-bottom-nav {
    padding-right: 6px;
    padding-left: 6px;
  }

  .xh-bottom-nav__label {
    font-size: 10px;
  }
}
