.hotspot-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 252, 247, 0.8);
  z-index: var(--z-index-popper);

  .audioIcon {
    position: absolute;
    top: 40px;
    right: 128px;

    img {
      width: 52px;
      height: 52px;
      cursor: pointer;
    }
  }
  &-info {
    position: absolute;
    top: 42px;
    left: 40px;
    max-width: 50%;

    h3 {
      margin-bottom: 14px;
      color: #c41800;
      font-size: 24px;
      line-height: 28px;
    }
    p {
      width: 214px;
      height: 213px;
      color: #333333;
      font-size: 14px;
      overflow-y: auto;

      &::-webkit-scrollbar {
        width: 6px;
      }
      &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #c41800;
      }
      &::-webkit-scrollbar-track {
        border-radius: 10px;
      }
    }
  }

  &-main {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    width: calc(100vw - 548px);
    transform: translate(-50%, -50%);
  }
  &-swiper {
    &__left,
    &__right {
      position: absolute;
      top: 50%;
      width: 50px;
      height: 50px;
      cursor: pointer;
      transform: translateY(-50%);
      z-index: 1;
    }
    &__left {
      left: -70px;
      background: url('@hotspot/assets/images/icon-previous@2x-min.png') no-repeat center / contain;
    }
    &__right {
      right: -70px;
      background: url('@hotspot/assets/images/icon-next@2x-min.png') no-repeat center / contain;
    }
  }
  &-model {
    width: 100%;
    height: 600px;

    iframe {
      width: 100%;
      height: 100%;
    }
  }
  &-video {
    width: 100%;
    height: 561px;
    object-fit: cover;
  }
  &-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;

    &-swiper {
      height: 567px;
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

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

    &__item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: 120px;
      height: 36px;
      border-radius: 18px;
      color: #666666;
      background: #d0cec6;
      border: 1px solid #666666;
      box-sizing: border-box;
      cursor: pointer;

      &.active {
        color: #ddaf35;
        border-width: 0;
        background: linear-gradient(#d67729, #c41800);
      }
      .model-icon {
        width: 19px;
        height: 22px;
      }
      .video-icon {
        width: 21px;
        height: 18px;
      }
      .img-icon {
        width: 21px;
        height: 18px;
      }
    }
  }
}

@media only screen and (max-width: 600px) {
  .hotspot-page {
    .audioIcon {
      top: 20px;
      right: 60px;

      img {
        width: 35px;
        height: 35px;
      }
    }
  }
  .hotspot-page-info {
    top: unset;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 25px;
    max-width: 100%;
    height: calc(100vh - 50vh - 95px);
    box-sizing: border-box;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    background: linear-gradient(181deg, #d67729 0%, #c41800 100%);

    h3 {
      margin-bottom: 7px;
      max-width: 100%;
      width: 100%;
      color: white;
      font-size: 18px;
      font-weight: bold;
      display: -webkit-box;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      word-break: break-all;
      word-wrap: break-word;
    }
    p {
      flex: 1;
      padding-right: 2px;
      width: 100%;
      height: 0;
      color: white;
      font-size: 15px;

      &::-webkit-scrollbar {
        width: 2px;
      }
      &::-webkit-scrollbar-thumb {
        background-color: #ddaf35;
      }
    }
  }
  .hotspot-page-nav {
    bottom: 194px;
    gap: 13px;

    &__item {
      width: 70px;
      height: 20px;
      font-size: 10px;
      gap: 4px;

      .video-icon,
      .img-icon {
        width: 12px;
        height: 10px;
      }
      .model-icon {
        width: 10px;
        height: 11px;
      }
    }
  }
  .hotspot-page-swiper__left,
  .hotspot-page-swiper__right {
    width: 19px;
    height: 38px;
  }
  .hotspot-page-swiper__left {
    left: 0;
    background-image: url('@hotspot/assets/images/icon-left-min.png');
  }
  .hotspot-page-swiper__right {
    right: 0;
    background-image: url('@hotspot/assets/images/icon-right-min.png');
  }
  .hotspot-page-main {
    top: 75px;
    width: 100%;
    transform: translateX(-50%);
  }

  .hotspot-page-video {
    width: 300px;
    height: 168px;
  }
  .hotspot-page-img-swiper,
  .hotspot-page-model {
    height: 50vh;
  }
}
