/*
Theme Name: Kwispelheide
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Kwispelheide Wordpress Theme. Version: 1.0
Author: e*Laba Author URI: http://www.e-laba.be
Template: enfold
*/

.woocommerce-checkout .col2-set {
    float: none;
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 2 / 4;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none;
    width: 100%;
}

form.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    row-gap: 20px;
    column-gap: 40px;
}

#order_review_heading {
    grid-column: 2;
    grid-row: 2;
}

#order_review {
    grid-column: 2;
    grid-row: 3;
}

.woocommerce-terms-and-conditions {
    display: block !important;
}

.custom-tos-content {
    max-height: 400px !important;
    overflow: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background: #f8f8f8;
    margin: 0 0 10px 0;
}

.main_color #payment .custom-tos-content li {
    background-color: inherit;
}

.tos-disabled-info {
    font-size: .8rem;
    font-weight: bold;
}

form.woocommerce-checkout .woocommerce-NoticeGroup {
    grid-column: 1 / 3;
}

#top div.woocommerce-message {
    background-color: white !important;
    box-shadow: 0 0 15px -2px rgba(0,0,0,0.2);
    border: none !important;
}

#top div div.woocommerce-message a.button {
    background: var(--enfold-header-color-primary);
}

#top div div.woocommerce-message a.button:hover {
    background: rgba(0,0,0,0.8);
}

.single_variation_wrap {
    margin-left: 0px !important;
}

body.postid-2743 div form.cart div.quantity {
    display: none;
}

.woocommerce-variation-availability p.stock {
    text-align: right;
    margin: 0 1.5em;
    font-size: 1rem;
}

body.single-product#top .main_color .price {
    font-size: 1.5rem;
    margin: 0 0 1em 0;
    display: block;
}

body.single-product#top .price span {
    font-size: 1.7rem !important;
}

body.woocommerce-order-received td.woocommerce-table__product-name > a {
    font-size: 1rem;
    margin-bottom: 1em;
    display: inline-block;
}

body.woocommerce-order-received ul.wc-item-meta {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

body.woocommerce-order-received ul.wc-item-meta li {
    border-right: none !important;
    padding: 1em 2em 0 0 !important;
}

.woocommerce-terms-and-conditions h2 {
    font-size: 1.2rem;
}

@media screen and (max-width: 1250px) {
    body.woocommerce-order-received ul.wc-item-meta {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1000px) {
    body.woocommerce-order-received ul.wc-item-meta {
        grid-template-columns: repeat(3, 1fr);
    }

    form.woocommerce-checkout {
        display: block !important;
    }
}

@media screen and (max-width: 800px) {
    body.woocommerce-order-received ul.wc-item-meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    body.woocommerce-order-received ul.wc-item-meta {
        grid-template-columns: 1fr;
    }

    .woocommerce-terms-and-conditions h2 {
        font-size: 1.1rem;
    }
}
