.product.singleProduct .navigation {
    margin-bottom: 20px;
}

.product.singleProduct #container {
    margin-top: 0;
}

.product.singleProduct .singleProductContainer {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.productImages {
    display: flex;
    flex-direction: column-reverse;
    margin: 0 20px;
}

.productMinImages {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    margin: auto;
    max-height: 400px;
    margin-top: 15px;
}

.productMinImage {
    position: relative;
    display: none;
    margin: auto;
    width: 60px;
    margin-bottom: 10px;
    cursor: pointer;
}

.productMinImage.active {
    border: 3px solid var(--mainColor);
}

.productMinImage img {
    width: 100%;
}

.productMinImage video, .productMinImage iframe {
    width: 100%;
    height: 60px;
}

.videoOverlay {
    position: absolute;
    z-index: 100;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.productMinImageSquare {
    display: block;
    border: 2px solid var(--mainColor);
    width: 20px;
    height: 20px;
    border-radius: 7px;
    cursor: pointer;
}

.productMinImageSquare.active {
    background-color: var(--mainColor);
}

.mainProductImage {
    position: relative;
    cursor: pointer;
    width: 100%;
    min-height: 100vw;
    margin: auto;
    overflow: hidden;
}

.mainProductImage img {
    width: 100%;
}

.mainProductImage iframe, .mainProductImage video {
    width: 100%;
    height: 100%;
}

.mainProductImage:hover {
    cursor: zoom-in;
}

.enlragedMainImage {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    left: 20px;
    min-height: 600px;
}

.enlragedMainImage.show {
    display: block;
}

.enlragedMainImage img {
    width: 100%;
    object-fit: none;
}

.singleProductContainer .mainContent {
    padding: 20px;
    width: 88%;
}

.singleProductContainer .mainContent h3, .singleProductContainer .mainContent p {
    color: var(--mainColor);
}

.singleProductContainer .mainContent p {
    font-size: var(--smallFont);
}

/* Mobile Slider */
.sliderImage {
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transtition: left .6s ease-in-out, right .6s ease-in-out;
    transition: left .6s ease-in-out, right .6s ease-in-out;
}

.sliderImage img {
    width: 100%;
    height: 100%;
}

.sliderImage.active {
    opacity: 1;
    left: 0%;
    right: 0%;
}

.sliderImage.next {
    left: 110%;
    right: -90%;
}

.sliderImage.previous {
    left: -90%;
    right: 110%;
}

.sliderImage.move {
    opacity: 1;
}

.product.singleProduct .mainContent button {
    background-color: var(--mainColor);
    color: white;
    padding: 10px;
    border-radius: 7px;
    box-shadow: var(--buttonShadow);
}

@media only screen and (min-width: 460px) {
    .mainProductImage {
        width: 400px;
        min-height: 400px;
    }
    .productMinImages {
        width: 400px;
    }
    .productMinImageSquare {
        width: 25px;
        height: 25px;
    }
}

@media only screen and (min-width: 990px) {
    .product.singleProduct .sidebar {
         display: none;
    }
    .product.singleProduct .sidebar.open {
         display: block;
    }
    .product.singleProduct .singleProductContainer {
        flex-direction: row;
        margin: unset;
    }
    .productImages {
        flex-direction: row;
    }
    .productMinImages {
        display: block;
        width: unset;
        margin: 0 0 0 20px;
        max-height: 400px;
    }
    .productMinImage {
        display: block;
    }
    .productMinImageSquare {
        display: none;
    }
    .mainProductImage {
        margin: unset;
        min-height: unset;
        height: 400px;
    }
    .sliderImage img {
        height: unset;
    }
}