.webshop-shopping-cart {
    position: relative;
    padding-bottom: 5rem;
}

.webshop-shopping-cart form,
.webshop-product-search form {
    max-width: none;
}

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

#s-page-products legend,
#s-page-confirm-products legend {
    display: none;
}

/**
 * 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-family: Museo700, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    color: var(--headingColor);
}

table.shoppingcart th.buttons {
    font-size: 1px;
    color: #f1f1f1;
}

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

table.shoppingcart a {
    word-break: break-word;
}

/**
 * Columns
 */

table.shoppingcart input.product-quantity {
    width: 2.5em;
    height: 2.5em;
    text-align: center;
}

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

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

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

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

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

table.shoppingcart .product-description a {
    color: var(--headingColor);
    font-family: Museo700, 'Trebuchet MS', sans-serif;
    text-decoration: none;
}

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

table.shoppingcart .sc-price-per-piece {
    width: 125px;
}

table.shoppingcart .sc-price {
    width: 100px;
}

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

.webshop-shopping-cart a.button-delete::after {
    position: absolute;
    left: 10px;
    font-family: iconfont;
    font-weight: normal;
    content: '\1f5d1';
    text-indent: 0;
}

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

/* Total price */
table.shoppingcart .total-price td {
    font-family: Museo700, 'Trebuchet MS', sans-serif;
    color: var(--headingColor);
}

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

/**
 * Gift-coupon
 */

.total-price-vat {
    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;
    height: 29px;
    padding-top: 7px;
    padding-bottom: 7px;
}

#clear-shopping-cart,
#shopping-cart-buttons_previous {
    display: inline-block;
    padding: 0.8em 2.5em;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: none;
    transition: var(--bgColorTransition);
    background-color: transparent;
    cursor: pointer;
}

#clear-shopping-cart:hover,
#shopping-cart-buttons_previous:hover {
    color: var(--baseWhite);
    background-color: var(--primaryColor);
}

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

.webshop-back-to-shop {
   display: none;
}

@media (max-width: 767px) {
    table.shoppingcart.first thead {
        display: none;
    }

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

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

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

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

    table.shoppingcart .totals .totalprice,
    table.shoppingcart .sc-priceTotals {
        display: inline-block;
    }

    table.shoppingcart .totals .totalprice {
        width: 12em !important;
    }

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

.form-column-container .form-column {
    display: block;
    margin: 1em 0 2em 0;
    padding: 1.5em;
    box-shadow: var(--boxShadow);
}

/* form breadcrumbs */
form.has-pages ul.form-bc {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 1em 0;
    padding: 0 1em;
    list-style: none;
    overflow: hidden;
    background: var(--baseLightgray);
}

form.has-pages ul.form-bc li {
    display: list-item;
    font-size: 0.9em;
    color: var(--bodyColor);
    line-height: 1;
    list-style: none;
}

form.has-pages ul.form-bc li.current-page span {
    color: var(--primaryColor);
    font-weight: bold;
}

form.has-pages ul.form-bc li:not(.last):after {
    font-family: iconfont;
    content: '\3e';
    margin: 0 .5em;
}

form.has-pages ul.form-bc li span {
    display: inline-block;
    padding: .8em 0;
}

@media (min-width: 768px) {
    .webshop-back-to-shop {
        top: 65px;
    }

    .form-column-container .form-column {
        display: inline-block;
    }

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

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

    form.has-pages ul.form-bc li {
        float: left;
    }

    form.has-pages ul.form-bc li:last-child {
        margin-right: 0;
    }
}

#cc_login legend {
    margin-bottom: .5em;
    font-size: 1.5em;
}

#cc_login .proFormText,
#cc_login input[type='text'],
#cc_login button.submit,
#cc_login #goto-registration {
    width: 100%;
}

#cc_login #loginSubmitButton {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8em 2.5em;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: none;
    transition: var(--bgColorTransition);
    background-color: transparent;
    cursor: pointer;
}

#cc_login #loginSubmitButton:hover {
    color: var(--baseWhite);
    background-color: var(--primaryColor);
}

#cc_login #orderSubmitButton,
#cc_login #goto-registration {
    margin-top: 1.5rem;
}

#cc_login a[href*='profile/lostpw'] {
    display: block;
    margin-top: 1em;
    text-align: center;
}

#cc_login + div.submit {
    display: none;
}
