.img {
  position: relative;
}
.image-cover {
  background-position: 50% 50%;
  background-size: cover;
  height: auto;
  overflow: hidden;
  padding-top: 100%;
  position: relative;
}
.image-cover img {
  bottom: 0;
  font-family: "object-fit: cover;";
  height: 100%;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 50%;
  object-position: 50% 50%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.vr360-banner .image-cover {
  padding-top: 20.67%;
}

.vr360-product {
  padding-top: 5rem;
}
.vr360-product .title-main .title-inner {
  text-align: center;
  margin-bottom: 4.8rem;
}
.vr360-product .title-main h2 {
  --clamp-size: clamp(2.4rem, calc(-0.6rem + 4.5vw), 4.8rem);
  font-size: var(--clamp-size);
  color: #ff9122;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.vr360-product .title-main .title-inner p {
  --clamp-size: clamp(1.4rem, calc(-0.1rem + 1.7vw), 1.6rem);
  font-size: var(--clamp-size);
  margin-bottom: 0;
  color: #111827;
}
.nav-vr360 {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
  justify-content: center;
  align-items: center;
}
.nav-vr360 .vr360-item {
  padding: 1.4rem 1.8rem;
  border-radius: 0.8rem;
  background-color: #f0f2f4;
  cursor: pointer;
  transition: all 0.3s ease;
  --clamp-size: clamp(1.5rem, calc(-0.1rem + 1.7vw), 1.6rem);
  font-size: var(--clamp-size);
  font-weight: 500;
}
.nav-vr360 .vr360-item:hover {
  color: #fff;
  background-color: #ff9122;
}
.nav-vr360 .vr360-item.active {
  color: #fff;
  background-color: #ff9122;
}
#list-vr360 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.8rem 3.2rem;
}
.box-vr360 {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-radius: 1.2rem;
  overflow: hidden;
}
.box-vr360 .box-image .image-cover {
  padding-top: 62%;
}
.box-vr360 .box-text {
  padding: 1.6rem 2.4rem 2.4rem;
}
.box-vr360 .box-text .post-title {
  font-weight: 500;
  --clamp-size: clamp(1.6rem, calc(-0.1rem + 1.7vw), 2rem);
  font-size: var(--clamp-size);
  color: #2c2a2a;
  margin-bottom: 0;
}
.vr360-product .content .load-more-container {
  margin-top: 3.2rem;
}
#list-vr360.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
}
#list-vr360.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #ff912238;
  border-top: 4px solid #ff9122;
  border-radius: 50%;
  animation: ajax-spin 1s linear infinite;
  z-index: 11;
}

@keyframes ajax-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.vr360-content {
  padding: 5rem 0;
}
.vr360-content .img .image-cover {
  border-radius: 1.6rem;
  padding-top: 46%;
}
.vr360-content .content {
  padding-top: 4.8rem;
}
.vr360-content .content p,
.vr360-content .content li,
.vr360-content .content label,
.vr360-content .content strong,
.vr360-content .content b,
.vr360-content .content div {
  --clamp-size: clamp(1.4rem, calc(-0.1rem + 1.7vw), 1.6rem);
  font-size: var(--clamp-size);
  color: #111827;
  margin-bottom: 1.6rem;
}
.vr360-content .content li {
  margin-bottom: 0.8rem;
  list-style: disc;
  margin-left: 1.6rem;
}
.vr360-content .content h1,
.vr360-content .content h2 {
  --clamp-size: clamp(2.2rem, calc(-0.6rem + 4.5vw), 4rem);
  font-size: var(--clamp-size);
  color: #ff9122;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}
.vr360-content .content h3 {
  --clamp-size: clamp(1.9rem, calc(-0.6rem + 4.5vw), 3rem);
  font-size: var(--clamp-size);
  color: #ff9122;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}
#preview-frame {
  border: 0;
  position: absolute;
  transition: 0.5s;
  left: 5px;
  top: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    rgb(17 17 26 / 0.05) 0 1px 0,
    rgb(17 17 26 / 0.1) 0 0 8px;
}
@media (max-width: 767.98px) {
  .vr360-product {
    padding-top: 3rem;
  }
  #list-vr360 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem 0;
  }
  .nav-vr360 {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
  }
  .nav-vr360::-webkit-scrollbar {
    height: 0.5rem;
  }
  .nav-vr360::-webkit-scrollbar-track {
    background: transparent;
  }
  .nav-vr360::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 0.5rem;
  }
  .nav-vr360 .vr360-item {
    flex-shrink: 0;
  }
}
