/*
 * Alleen vormgeving op de WooCommerce-winkelwagen.
 * Geen inhoud, prijzen, verzendkosten of bestelstappen worden aangepast.
 */
body.woocommerce-cart .woocommerce {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

body.woocommerce-cart table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(30, 50, 65, .16);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

body.woocommerce-cart table.shop_table th {
    font-weight: 700;
    color: #253747;
    background: #f7f8fa;
    padding: 14px 12px;
}

body.woocommerce-cart table.shop_table td {
    padding: 16px 12px;
    vertical-align: middle;
}

body.woocommerce-cart td.product-thumbnail {
    width: 125px;
    min-width: 100px;
    text-align: center;
}

body.woocommerce-cart td.product-thumbnail img {
    width: 100px;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 5px;
}

body.woocommerce-cart td.product-name {
    line-height: 1.55;
    color: #273746;
}

body.woocommerce-cart td.product-name a {
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-cart td.product-name a:hover {
    text-decoration: underline;
}

body.woocommerce-cart td.product-name dl.variation {
    margin: 8px 0 0;
    padding: 9px 12px;
    background: #f7f8fa;
    border-radius: 5px;
    font-size: .92em;
    line-height: 1.45;
}

body.woocommerce-cart td.product-name dl.variation dt,
body.woocommerce-cart td.product-name dl.variation dd {
    margin-bottom: 3px;
}

body.woocommerce-cart td.product-quantity .qty {
    min-height: 44px;
    text-align: center;
}

body.woocommerce-cart .actions .button,
body.woocommerce-cart .coupon .button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 700;
}

body.woocommerce-cart .cart-collaterals {
    margin-top: 30px;
}

body.woocommerce-cart .cart_totals {
    width: 48%;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(30, 50, 65, .14);
    border-radius: 8px;
}

body.woocommerce-cart .cart_totals h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
    padding: 13px 10px;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    padding-bottom: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 17px 20px;
    border-radius: 5px;
    background: #d93232;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #bd2626;
    color: #fff;
}

@media (max-width: 768px) {
    body.woocommerce-cart .woocommerce {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.woocommerce-cart table.shop_table_responsive tr {
        border: 1px solid rgba(30, 50, 65, .14);
        border-radius: 7px;
        margin-bottom: 14px;
        overflow: hidden;
        background: #fff;
    }

    body.woocommerce-cart table.shop_table_responsive td {
        padding: 10px 12px;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail {
        width: auto;
        text-align: right;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail img {
        width: 82px;
        height: 82px;
    }

    body.woocommerce-cart td.product-name dl.variation {
        text-align: left;
        overflow-wrap: anywhere;
    }

    body.woocommerce-cart .cart_totals {
        width: 100%;
        float: none;
        box-sizing: border-box;
        padding: 16px;
    }

    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        min-height: 56px;
        font-size: 17px;
    }
}


/* Compactere tekst en minder verticale witruimte */
body.woocommerce-cart table.shop_table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

body.woocommerce-cart td.product-name {
    line-height: 1.3;
}

body.woocommerce-cart td.product-name dl.variation {
    margin-top: 5px;
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 1.25;
}

body.woocommerce-cart td.product-name dl.variation dt,
body.woocommerce-cart td.product-name dl.variation dd {
    margin-bottom: 1px;
    line-height: 1.25;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
    padding-top: 9px;
    padding-bottom: 9px;
}

@media (max-width: 768px) {
    body.woocommerce-cart table.shop_table_responsive td {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    body.woocommerce-cart td.product-name {
        line-height: 1.25;
    }

    body.woocommerce-cart td.product-name dl.variation {
        margin-top: 4px;
        padding-top: 5px;
        padding-bottom: 5px;
        line-height: 1.2;
    }
}
