/*
 * Product style for oleificio-gallura template.
 */

section#product > div {
    width: 45%;
}

div#informations {
    width: 100%;
    margin: 2em 0;
    padding:  0 5%;
    text-align: left;
}

div#informations h3 {
    margin: 1em 0;
}

section#product > div.left {
    text-align: center;
}

section#product > div.right {
    padding: 0 0 0 5%;
}

section#product > div.left img {
    margin-bottom: 3em;
    width: 70%;
}

section#product > div.right div.description {
    text-align: left;
    margin-bottom: 4em;
}

section#product > div.right div.description h1 {
    font-size: 1.3em;
    text-align: left;
    padding: 0;
    margin-bottom: 1em;
}


section#product > div.right div.description h3 {
    margin-top: 1em;
}

section#product div.right div.details div#continueShopping a.button {
    background-color: var(--white);
    color: var(--green);

}
section#product div.right div.details div#continueShopping a.button,
section#product div.right div.details div#contact a.button,
section#product > div.right div.details a#add{
    line-height: 1.6em;
    padding: .2em 1em;
    font-size: .8em;
}

section#product div.right div.details div#continueShopping a.button:hover {
    background-color: var(--green);
    color: var(--white);
}

section#product div.right div.details div#continueShopping.show {
    display: inline-block;
    width: 60%;
}

/*section#product div.right div.details div#contact {
    display: inline-block;
}*/

section#product > div.right div.details {
    background-color: #D9D9D9;
    text-align: center;
    padding: 3em 5%;
}

section#product > div.right div.details p {
    margin-bottom: 1em;
    font-weight: bold;
}

section#product > div.right div.details input {
    width: 10%;
    height: 2em;
    border: 1px solid #666666;
    text-align: center;
    margin-right: 2.5%;
}

section#product > div.right div.details a#add {
    margin-right: 15%;
}

section#product > div.right div.details h4 {
    margin: 1em 0;
}

section#product div#continueShopping {
    margin-top: 2em;
}

section#product div#continueShopping a.darkGreen {
    border: 1px solid #5E6D12;
}

section#product div.right div#socialSharing {
    display: none;
}

section#shop {
    margin-bottom: 2em;
    padding-left: 2.5%;
    padding-right: 2.5%;
}

section#shop div.row-title {
    text-align: center;
}

section#shop div.row-title h2 {
    font-size: 1.5em;
    margin: 2em 0;
    color: var(--green);
    text-transform: uppercase;
    font-weight: bold;
}

section#shop div.product {
    width: 25%;
    text-align: center;
    padding: 0 2.5%;
}

section#shop div.product p {
    height: 3em;
    margin-top: 2em;
    font-weight: bold;
}

section#shop div.product img{
    width: 75%;
}

section#shop div.product h3 {
    font-size: 1.3em;
    height: 2em;
} 

/* Mobile version */
@media screen and (max-width: 768px) {

    section#product > div.right div.details input {
        width: 10%;
    }

    section#product > div.right div.details a.button {
        margin-bottom: 2em;
    }

    section#product div#continueShopping a {
        margin-bottom: 1em;
    }

    section#product > div.right {
        padding: 0;
    }

    section#product > div {
        width: 100%;
        margin-bottom: 2em;
    }

    section#product div.left div#socialSharing, section#product div.left .button {
        display: none;
    }

    section#product div.right div#socialSharing {
        display: block;
        margin-top: 3em;
    }

    section#shop div.product {
        width: 100%;
        margin-bottom: 2em;
    }
}