@import url("components/_common.css");
@import url("components/_shop-formular.css");
@import url("components/_shop-common.css");

.mold-content {
    display: flex;
    flex-direction: column;
    gap: 110px;
    padding-top: 130px;
}

.mold-container {
    display: flex;
    align-items: center;
    gap: 90px;
    max-width: 1140px;
}

.mold-box {
    display: flex;
    background-color: #000;
    height: 540px;
}

.mold-box:hover .mold-right {
    opacity: 1;
}

.mold-left {
    position: relative;
    width: 540px;
    height: 100%;
}

.mold-left .left-image {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: .6s opacity;
}

.mold-left .left-image.active {
    opacity: 1;
}

.mold-right {
    width: 170px;
    height: 100%;
    gap: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s all;
}

.mold-right .right-image {
    height: 122px;
    width: auto;
    object-fit: contain;
    object-position: center;
    opacity: .5;
    transition: .2s opacity;
}

.mold-right .right-image:hover {
    opacity: 1;
}

.mold-container p {
    font-size: 14px;
    margin: 0;
}

.mold-desc {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.mold-desc strong {
    font-weight: 400;
    color: #000;
}

.mold-desc table {
    font-size: 14px;
    width: fit-content;
}

.mold-desc table td:not(:last-child){
    padding-right: 22px;
}

.mold-desc .price {
    font-family: Roboto, arial, sans-serif; 
    font-weight: 300;
    font-size: 24px;    
}

.mold-desc .button {
    margin: 0;
    min-width: 100%;
}

/*---   Media Queries   ---*/

@media only screen and (max-width: 1200px) {
    .mold-content {
        gap: 70px;
        padding-top: 90px;
    }

    .mold-container {
        gap: 50px;
        max-width: 900px;
    }

    .mold-box {
        height: 380px;
    }

    .mold-left {
        width: 380px;
    }

    .mold-right {
        width: 90px;
        gap: 3px;
    }

    .mold-desc {
        gap: 20px;
    }

    .mold-desc .price {
        font-size: 24px;    
    }
}

@media only screen and (max-width: 900px) {
    .mold-container {
        gap: 40px;
        max-width: 700px;
    }

    .mold-box {
        height: 420px;
        pointer-events: none;
    }

    .mold-left {
        width: 330px;
    }

    .mold-right {
        display: none;
    }
}

@media only screen and (max-width: 700px) {
    .mold-content {
        gap: 90px;
    }

    .mold-container {
        max-width: 100%;
        width: 500px;
        flex-direction: column;
    }

    .mold-box {
        height: auto;
    }

    .mold-left {
        width: fit-content;
        height: auto;
    }

    .mold-left .left-image {
        position: relative;
        height: auto;
        width: 100%;
        top: auto;
        left: auto;
        object-fit: contain;
        object-position: center;
        opacity: 1;
    }

    .mold-left .left-image:not(:first-child) {
        display: none;
    }
}

@media only screen and (max-width: 540px) {
    .mold-container {
        width: 100%;
    }
}