@media only screen and (max-width: 600px) {
    /* move product description to center on mobile */
    .product-description-title {
        text-align: center;
    }
    .product-description {
        left: 50%;
        transform: translateX(-50%);
    }
}

.product-container {
    margin-top: 25px;
}

.title {
    margin-left: .75rem;
}

/* main image */
#main-image {
    width: 100%;
}
.image-wraper {
    position: relative;
    max-width: 350px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}
.expand-image-button {
	position: absolute;
	z-index: 10;
    right: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    color: #8c8c8c;
    transition: color .4s ease-in-out;
}
.expand-image-button:hover {
    color: black;
}

/* product description */
.product-description {
    position: relative;
    display: inline-block;
    margin: 15px auto;
    text-align: center;
}
.product-description span {
    margin: 5px 0;

}
.product-description .keys {
    margin-right: 10px;
}
.product-description .keys > * {
    font-weight: bold;
}

/* extra images */
div.row.extra-images {
    margin-top: 15px;
    padding: 0;
    overflow-y: auto;
    max-width: 350px;
    margin: 15px auto;
}
.extra-images img {
    width: 100%;
    padding: 5px;
}
.extra-images img:not(.selected-image) {
    opacity: 0.7;
    border-width: 2px 2px 2px 1px;
    border-color: #dbdbdb;
    border-style: solid;
    padding: 0;
}
.extra-images.row > div.col {
    padding: 0;
}
.extra-image {
    cursor: pointer;
}
.selected-image {
    border: #ffa8a8 3px solid;
    padding: 0 !important;
}
