.product-360__trigger {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  z-index: 9;
}
.product-360__trigger button {
  all: unset;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: solid 0.1rem rgba(var(--color-foreground), 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: rgba(var(--color-background));
  transition: 0.3s;
  box-shadow: 0 0.3rem 1.8rem rgba(0, 0, 0, 0.0588235294);
  cursor: pointer;
}
.product-360__trigger button svg .cls-1 {
  fill: rgba(var(--color-foreground));
}

.product-360__trigger--style5, .product-360__trigger--style6, .product-360__trigger--style7 {
  position: -webkit-sticky;
  position: sticky;
  top: 17.6rem;
  width: fit-content;
  left: unset;
  bottom: unset;
}

.product-360__trigger--style8, .product-360__trigger--mobile {
  left: 1.5rem;
  bottom: 1.5rem;
}

.product-360__trigger--style10 {
  left: 36%;
  bottom: 2.5rem;
}

.product-360__trigger:hover button {
  background-color: rgba(var(--color-foreground));
  color: rgba(var(--color-background));
  transform: scale(1.1);
}
.product-360__trigger:hover svg {
  padding-top: 0.2rem;
}
.product-360__trigger:hover svg .cls-1 {
  fill: rgba(var(--color-background));
}

.product-360__modal {
  z-index: 10001;
}

.product-360__wrap {
  width: 30rem;
  background-color: #fff;
  border-radius: var(--modal-corner-radius);
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 576px) {
  .product-360__wrap {
    width: 50rem;
  }
}
@media (min-width: 768px) {
  .product-360__wrap {
    width: 70rem;
  }
}
@media (min-width: 992px) {
  .product-360__wrap {
    width: 80rem;
  }
}

.product-360__inner {
  width: 95%;
  padding: 2rem 0;
}
.product-360__inner xo-360-viewer[xo-loading] .product-360__loading {
  display: flex;
}
.product-360__inner xo-360-viewer xo-360-viewer-pause {
  display: none;
}
.product-360__inner xo-360-viewer[xo-playing] xo-360-viewer-play {
  display: none;
}
.product-360__inner xo-360-viewer[xo-playing] xo-360-viewer-pause {
  display: block;
}
.product-360__inner img {
  width: 100%;
}

.product-360__close {
  cursor: pointer;
  position: absolute;
  top: 1rem;
  z-index: 9;
}
[dir=ltr] .product-360__close {
  right: 1rem;
}
[dir=rtl] .product-360__close {
  left: 1rem;
}
.product-360__close button {
  all: unset;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.3s;
}
.product-360__close svg {
  color: rgba(var(--color-foreground));
  line-height: 0;
}

.product-360__close:hover button {
  background-color: rgba(var(--color-foreground));
  rotate: 180deg;
}
.product-360__close:hover svg {
  color: rgba(var(--color-background));
}

.product-360__loading {
  display: none;
  background-color: #eee;
  height: 300px;
  align-items: center;
  justify-content: center;
}

.product-360__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.product-360__arrow button, .product-360__action button {
  all: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: solid 0.1rem rgba(var(--color-foreground), 0.1);
  background-color: rgba(var(--color-background));
  transition: 0.3s;
  cursor: pointer;
}
.product-360__arrow svg, .product-360__action svg {
  color: rgba(var(--color-foreground));
}

.product-360__action--play svg {
  padding-left: 0.2rem;
}

.product-360__arrow:hover button, .product-360__action:hover button {
  background-color: rgba(var(--color-foreground));
}
.product-360__arrow:hover svg, .product-360__action:hover svg {
  color: rgba(var(--color-background));
}