.hotspot-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  color: #d4975c;
  z-index: var(--z-index-popper);

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

    img {
      width: 57px;
      height: 57px;
      cursor: pointer;
    }
  }
  h3 {
    padding: 10px 0;
    font-size: 28px;
    font-family: 'Source Han Sans CN-Bold';
  }
  &-info {
    div {
      font-size: 24px;
      line-height: 30px;
      text-indent: 2em;
    }
  }

  &-scrollbar {
    flex: 1;
    flex-shrink: 0;
    padding-right: 20px;
    width: 100%;
    max-height: 200px;
    box-sizing: border-box;
  }

  &-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 400px;
    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: 0;
      background: url('@hotspot/assets/images/icon-previous@2x-min.png') no-repeat center / contain;
    }
    &__right {
      right: 0;
      background: url('@hotspot/assets/images/icon-next@2x-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%;
      }
    }
  }
}

@media only screen and (max-width: 600px) {
  .hotspot-page {
    h3 {
      font-size: 18px;
    }
    &-container {
      max-width: 100%;
      min-width: 100%;
      width: 100%;
      height: 0;
      background: none;
    }
    &-info div {
      font-size: 15px;
      line-height: 24px;
    }
    &-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;
      }
    }
  }
}
