.webshop-shopping-cart {
    position: relative;
}

#s-page-products {
    margin: 0;
    padding: 1em 0;
    border: 0;
}

#s-page-products legend {
    padding-top: 16px;
}

/**
 * Shopping cart table
 */

/* Hide stuff that we're not gonna use to simplify the overview */
table.shoppingcart thead,
table.shoppingcart caption,
table.shoppingcart .total-price-category {
    display: none;
}

table.shoppingcart {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table.shoppingcart.first thead {
    display: table-header-group;
}

table.shoppingcart td,
table.shoppingcart th {
    padding: 10px 10px;
    text-align: left;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle;
}

table.shoppingcart th {
    font-weight: normal;
    background-color: #efefef;
}

table.shoppingcart .totals td {
    border-bottom: 0;
}

/**
 * Columns
 */

.product-description-title {
    display: block;
    font-size: 1em;
    color: #000;
}

table.shoppingcart .link-to-product:hover .product-description-title {
    text-decoration: underline;
}

input.product-quantity {
    box-sizing: border-box;
    width: 2.5em;
    padding: 4px 2px;
    line-height: 19px;
    font-size: .95em;
    text-align: center;
}

table.shoppingcart .product-image {
    display: block;
    width: 80px;
}

table.shoppingcart .image {
    width: 80px;
}

table.shoppingcart .link-to-product {
    display: block;
    text-decoration: none;
}

table.shoppingcart .image-description,
table.shoppingcart .product-description {
    width: auto;
}

table.shoppingcart .number-of-products {
    width: 80px;
}

table.shoppingcart .price-per-piece,
table.shoppingcart .price-product-total {
    width: 125px;
}

table.shoppingcart .regular {
    opacity: .6;
    text-decoration: line-through;
}

table.shoppingcart .buttons {
    width: 50px;
    text-align: right;
}

/* Buttons */
.webshop-shopping-cart a.button-delete {
    position: relative;
    display: block;
    width: 35px;
    margin: 0;
    padding: 0.4em 0.6em;
    border: none;
    color: #e5353a;
    text-align: left;
    text-indent: -999em;
    background-color: transparent;
    box-shadow: none;
}

.webshop-shopping-cart a.button-delete::after {
    content: '\d7';
    position: absolute;
    left: 10px;
    font-size: 1.4em;
    line-height: 0.75;
    text-indent: 0;
}

#shopping-cart-buttons_next {
    float: right;
    margin-right: 0;
}

/* Total price */
table.shoppingcart .totals .price {
    color: #000;
}

table.shoppingcart .total-price td {
    font-size: 16px;
    font-weight: 700;
}

table.shoppingcart .webshop-coupon-question a {
    font-size: 14px;
    font-weight: normal;
    line-height: 2.5;
}

/**
 * Gift-coupon
 */

.total-price-vat,
.total-price-shipping-fee {
    font-size: 13px;
}

tr.totals.total-price-vat td:first-child {
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #fff;
    margin: 0;
    border-color: #fff !important;
    border-bottom: 0;
    border-collapse: collapse;
}

#gift-coupon {
    padding-bottom: 0;
    margin-bottom: 0;
    overflow: visible;
}

#gift-coupon label {
    width: 8em;
}

#shopping-cart #gift-coupon div.fieldinput {
    clear: none;
}

#gift-coupon .w-medium {
    width: 14em;
    padding-top: 7px;
    padding-bottom: 7px;
}

#gift-coupon button {
    margin: 0 0 0 0.5em;
    border: 1px solid var(--tertiaryColor500);
    line-height: 17px;
    color: #000;
    background-color: transparent;
}

#clear-shopping-cart {
    padding-left: 0;
    border: 0;
    text-decoration: underline;
    color: initial;
    background-color: transparent;
    box-shadow: none;
}

div.clear-shopping-cart {
    float: left;
    clear: none;
    width: auto;
}

.webshop-back-to-shop {
    display: block;
    position: absolute;
    top: 15px;
    right: 0;
}

@media screen and (max-width: 650px) {
    /**
	 * Shopping cart
	 */

    table.shoppingcart.first thead {
        display: none;
    }

    table.shoppingcart,
    table.shoppingcart tbody,
    table.shoppingcart tfoot {
        display: block;
    }

    table.shoppingcart td {
        display: block;
        width: auto !important;
        padding: 5px 0;
        border-bottom: 0;
    }

    table.shoppingcart tr {
        position: relative;
        display: block;
        padding: 20px 0;
        border-top: 1px solid #f2f2f2;
    }

    table.shoppingcart .number-of-products:before,
    table.shoppingcart .price-per-piece:before,
    table.shoppingcart .price-product-total:before {
        display: inline-block;
        content: attr(data-th)": ";
        font-weight: bold;
        width: 8.5em;
    }

    table.shoppingcart .product-image {
        width: 160px;
    }

    table.shoppingcart .buttons {
        position: absolute;
        top: 15px;
        right: 0;
        padding: 0;
    }

    table.shoppingcart .total-price td:nth-child(2),
    table.shoppingcart .total-price td:nth-child(3){
        display: inline-block;
    }

    table.shoppingcart .total-price td:nth-child(2) {
        width: 7.3em !important;
    }

    #clear-shopping-cart {
        margin: 0.5em 0;
    }

    .webshop-back-to-shop {
        position: relative;
        margin-bottom: 2em;
    }
}

.form-column-container .form-column {
    display: block;
    margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
    .form-column-container .form-column {
        display: inline-block;
    }

    .form-column-container .form-column.first {
        width: 50%;
        margin-right: 2em;
    }

    .form-column-container .form-column.last {
        width: calc(50% - 2em);
    }
}

#cc_login .proFormText,
#cc_login input[type='text'] {
    width: 100%;
}
