/* CSS Document */
.product_text {padding: 0 10px}

.product_image {
    position: relative;
    justify-content: space-between;
    align-items: center;
    max-width:100vw;
    display:none;
}
.product_image:first-child,.product_image:target {
    display:flex;
}

.product_image img {
    max-height: 50vh;
    max-width: calc(100vw - 10rem);
    margin: 10px;
    border-radius: 10px;
    object-fit: contain;
}
#product .img_navigation {
    border: 1px solid #eeeeee;
    background: white;
    padding: 10px;
    display: inline-block;
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
    text-align: center;
    font-size: 1.4rem;
}
.prices {
    display: flex;
    justify-content: space-between;
}
.product_category {
    color: var(--accent-color);
    margin:0;
}
.product_title {
    margin: 0;
}
.price {
    font-size: 1.5rem;
}
.discount {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    background: var(--accent-color-light);
    padding: 10px;
    border-radius: 5px;
}
.old_price {
    text-decoration: line-through;
    color: #666;
}
#product form {
    display: flex;
    flex-direction: column;
}
.product_form_text {
    margin-top: 20px;
}
.product_quantity, .product_options {
    padding: var(--form-padding);
    text-align: center;
    font-weight: 700;
    border-radius: var(--form-radius);
    background: var(--color-light);
    border:0;
}
.to_cart {
    padding: var(--form-padding);
    background: var(--accent-color);
    border:0;
    font-weight: 700;
    color: white;
    margin-top: 20px;
    border-radius: var(--form-radius);
}
@media only screen and (min-width: 600px) {
    
}
@media only screen and (min-width: 1024px) {
    #product {
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: space-around;
    }
    .product_image {   
        width: 40vw;
    }
    .product_image img  {
        max-width: calc(40vw - 10rem);
    }
    
    .product_text {
        width: 40vw;
        padding:0;
    }
}