/* WittyOne mobile 3D viewer and image carousel alignment fix */
@media only screen and (max-width: 767px) {
  .product-info .image {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 360 / 360;
    box-sizing: border-box;
    overflow: hidden;
  }

  .product-info .image > a.cloud-zoom,
  .product-info .image > a.colorbox {
    display: block;
    width: 100%;
    height: 100%;
  }

  .product-info .image > a.cloud-zoom > img,
  .product-info .image > a.colorbox > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  .threejs-viewer-shell {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  #threejs_viewer,
  #cv {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    box-sizing: border-box;
  }
}