.hotspot-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 22px 0 71px;
  z-index: var(--z-index-popper);

  .audioIcon {
    position: absolute;
    right: 20px;
    bottom: 5px;

    img {
      width: 57px;
      height: 57px;
      cursor: pointer;
    }
  }
  &-info {
    color: #333333;

    h3 {
      margin-bottom: 18px;
      font-size: 18px;
      font-weight: 700;
      color: #9d222d;
    }
    div {
      font-size: 18px;
      line-height: 32px;
      text-indent: 2em;
    }
  }

  &-scrollbar {
    flex: 1;
    flex-shrink: 0;
    padding-right: 20px;
    min-width: 230px;
    max-width: 700px;
    height: 600px;
  }

  &-container {
    position: relative;
    flex: 1;
    width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 9vh 20px;
    width: auto;
    max-width: 1020px;
    max-height: 800px;
    box-sizing: border-box;
  }

  &-swiper {
    &__left,
    &__right {
      position: absolute;
      top: 50%;
      width: 45px;
      height: 50px;
      cursor: pointer;
      transform: translateY(-50%);
      z-index: 1;
    }
    &__left {
      left: -10px;
      background: url('@hotspot/assets/images/syjy/icon-previous-min.png') no-repeat center /
        contain;
    }
    &__right {
      right: -10px;
      background: url('@hotspot/assets/images/syjy/icon-next-min.png') no-repeat center / contain;
    }
  }
  &-model {
    width: 100%;
    height: 100%;

    iframe {
      width: 100%;
      height: 100%;
    }
  }
  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  &-video {
    width: 100%;
    height: 100%;
    max-height: 623px;
  }
  &-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;

    .el-image img {
      max-height: 623px;
    }
    &-swiper {
      flex: 1;
      width: 100%;
      height: 0;
    }
  }

  &-nav {
    position: absolute;
    left: 50%;
    bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);

    &__item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: 57px;
      height: 57px;
      box-sizing: border-box;
      cursor: pointer;

      &.active {
      }
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}

span.el-image-viewer__close {
  top: 44px;
  right: 100px;
}

@media only screen and (max-width: 600px) {
  .hotspot-page {
    padding-bottom: 0;
    flex-direction: column;

    .el-scrollbar {
      flex: 1;
      width: 100% !important;
      height: 0 !important;
      background: #9d222d;
      border-radius: 17px 17px 0px 0px;
    }
    .el-scrollbar__wrap {
      height: 100% !important;
    }
    &-info {
      padding: 0 28px;
      text-align: left;
      width: 100%;
      color: white;

      h3 {
        margin: 13px 0 8px;
        color: inherit;
        text-align: left;
      }
      div {
        width: 100%;
        font-size: 14px;
      }
    }
    &-container {
      max-width: 100%;
      min-width: 100%;
      width: 100%;
      height: 0;
      background: none;
    }
    &-swiper {
      &__left,
      &__right {
        top: unset;
        bottom: 12px;
        transform: none;
      }
      &__left {
        left: 14px;
      }
      &__right {
        right: 14px;
      }
    }
    &-nav {
      bottom: 0;

      &__item {
        width: 48px;
        height: 48px;
      }
    }
    .audioIcon {
      right: 35px;
      bottom: 1px;

      img {
        width: 48px;
        height: 48px;
      }
    }
    &-swiper {
      &__left,
      &__right {
        top: 45%;
        width: 19px;
        height: 38px;
      }
      &__left {
        left: 0;
        background: url('@hotspot/assets/images/syjy/icon-left-min.png') no-repeat center / contain;
      }
      &__right {
        right: 0;
        background: url('@hotspot/assets/images/syjy/icon-right-min.png') no-repeat center / contain;
      }
    }
  }
  span.el-image-viewer__close {
    top: 20px;
    right: 73px;
    width: 33px;
    height: 33px;
  }
}
