.lama-image-wrapper {
    position: relative;
}
    .lama-image-wrapper > * {
        opacity: 1;
        transition: opacity 0.4s ease;
    }
    .lama-image-wrapper::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        margin: -15px 0 0 -15px;
        width: 30px;
        height: 30px;
        border: 2px solid #ffae8a;
        border-top-color: transparent;
        border-radius: 50%;
        animation: lama-loader 1s linear infinite;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

.lama-image-wrapper.is-loading {
    min-height: 200px;
}
    .lama-image-wrapper.is-loading > * {
        opacity: 0;
    }
    .lama-image-wrapper.is-loading::after {
        opacity: 1;
    }

@keyframes lama-loader {
    to {
        transform: rotate(360deg);
    }
}

.product-image-wrapper {
    transform: scale(1);
    transition: transform 0.4s;
    margin-bottom: 15px;
}

.frame-preview {
    margin: 0 auto;
    width: 100%;
    background: transparent;
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 6px 1px;
}

.frame-preview-backdrop {
    inset: 8.333%;
    z-index: 0;
    box-shadow: rgba(0, 0, 0, 0.25) 0 0 2px 2px inset;
    position: absolute;
}

.left-side-image,
.right-side-image {
    position: absolute;
    background-size: auto 100%;
    background-repeat: repeat-x;
    display: block;
    z-index: 19;
    top: 0;
    height: 8.333% !important;
    width: calc(100% - 0.5px) !important;
    max-width: none !important;
    max-height: none !important;
}

.left-side-image{
    left: 0;
    transform-origin: 100% 0;
    transform: translateX(-100%) rotate(-90deg);
}

.right-side-image {
    left: 100%;
    transform-origin: 0 0;
    transform: rotate(90deg);
}

.top-side-image,
.bottom-side-image {
    clip-path: polygon(-1px -1px, calc(100% + 1px) -1px, calc(91.667%) 100%, 8.333% 100%);
    background-size: auto 100%;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 21;
    width: 100% !important;
    height: 8.333% !important;
}

.top-side-image {
    top: 0;
}

.bottom-side-image {
    transform: translateZ(0px) scaleY(-1);
    bottom: 0;
}

.main-image-wrapper {
    inset: 8.333%;
    position: absolute;
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px 0 inset;
    transition: background 0.4s;
}

.main-image-inner {
    inset: 25%;
    position: absolute;
    overflow: hidden;
}
    .main-image-inner > img {
        border-width: 1px;
        border-style: solid;
        border-image: initial;
        border-color: rgb(204, 204, 187) rgb(238, 238, 221) rgb(255, 255, 238);
        box-shadow: rgba(0, 0, 0, 0.5) 0 0 7px 1px inset;
        width: 100%;
        height: auto;
        max-height: none !important;
    }

.product-image-wrapper-set {
    height: 100%;
    width: 100%;
    position: relative;
    transform: scale(0.7);
}

.product-image-set.media-middle {
    width: auto;
    padding-bottom: 42.5%;
    max-width: calc(100%);
    position: relative;
    overflow: visible;
    top: 50%;
    transform-origin: center center;
    transition: 1s ease-in-out;
}

.product-display {
    position: absolute;
    top: 0%;
    width: 30.1657%;
    height: 100%;
    padding-bottom: 0;
}

.product-display:first-child {
    left: 0;
}

.product-display:nth-child(2) {
    left: 35.9116%;
}

.product-display:last-child {
    left: 71.8232%;
}

.product-image-cover {
    display: block;
}

.product-image::after {
    display: none;
}
