.container {
    margin: 20px auto;
    width: 50%;

    position: absolute;
    top:  50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.product {
    margin: 20px, auto;
    border-style: groove;
    border-radius: 5px;
    border-color: darkgreen;
    border-width: 1px;
    background-color: whitesmoke;
    width: 760px;
    height: 670px;
    padding: 20px;
    display: inline-block;
    border-radius: 8px;
    border-style: groove;
    border-color: forestgreen;
    border-width: 2px;
}

.product-image-container {
    position: relative;
    display: inline-block;
    width: 350px;
    height: 640px;
    padding: 10px;

    border-radius: 8px;
    border-style: groove;
    border-color: forestgreen;
    border-width: 2px;
}

.product-details-container {
    margin: 0 20px;
    background-color: whitesmoke;
    width: 370px;
    height: 660px;
    padding: 0, 10px;
    position: absolute;
    display: inline-block;
}
.product-title {
    font-weight: bold;
    font-size: 18px;
    margin: 0,0,10px,0;

}
.product-id {
    font-weight: normal;
    font-size: 12px;
}
/* .product-img {
    position: absolute;
} */

.product-desc {
    position: absolute;
    font-weight: normal;
    font-size: 16px;
    bottom: 40px;
}
.product-price {
    position: absolute; 
    font-weight: normal;
    font-size: 16px;
    /* margin: 0,0,10px,0; */
    bottom: 10px;
}
.addtocart-price {
    font-weight: normal;
    font-size: 16px;
    margin: 0 0 10px 0;
    display: block;
}
.addtocart-deliver {
    font-weight: normal;
    font-size: 16px;
    margin: 0 0 10px 0;
    display: block;
}

.product-price-label {
    font-weight: bold;
}

.product-link {
    position: absolute;
    z-index: 2; 
    display:block;
    width:100%;
    height:100%;
    top: 0;
    left: 0;
}


.img {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);

    z-index: 2;

    max-width: 90%;
    max-height: 80%;

    background-color: transparent;
    
    transition: transform .2s;
}

.img:hover {
    -ms-transform: scale(4.0); /* IE 9 */
    -webkit-transform: scale(4.0); /* Safari 3-8 */
    transform: scale(4.0); 

}

.display-hidden {
    visibility: hidden; 
}

.form-close-x {
    position: absolute;
    top: 5px;
    right: 50px;
    width:25px;
    height: 25px;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.input-close-x {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
}

