body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .woocommerce-shipping-calculator {
    display: none;
}

body#top.woocommerce-cart .woocommerce-notices-wrapper > * {
    border-radius: 15px;
    line-height: 1.4em;
    margin-bottom: 20px;
    max-width: inherit;
    padding: 30px;
}
body#top.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error li {
    margin-left: 0;
}
body#top.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
    background-color: #fff;
    border: 2px solid #10c956;
}

body.woocommerce-cart table.shop_table td {
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.2em;
    vertical-align: middle;
}
body.woocommerce-cart table.shop_table .product-thumbnail {
    width: 10%;
}
body.woocommerce-cart table.shop_table .product-name {
    width: 40%;
}
body.woocommerce-cart table.shop_table .product-price  {
    text-align: right;
}
body.woocommerce-cart table.shop_table .product-quantity {
    padding-left: 30px;
    text-align: center;
    width: 15%;
}
body.woocommerce-cart table.shop_table .product-subtotal {
    text-align: right;
    width: 15%;
}

body.woocommerce-cart .woocommerce-shipping-totals th {
    line-height: inherit;
    width: 20%;
}

/*
 * reduce margin for extra shipping info
 * e.g. "(nur noch 0,11 € für kostenlose Lieferung)"
 */
body.woocommerce-cart ul.woocommerce-shipping-methods {
    margin-bottom: 0;
}
/* increase margin to checkout button instead of margin bottom from shipping-methods */
body.woocommerce-cart .cart_totals .shop_table {
    margin-bottom: 20px;
}

.responsive body.woocommerce-cart .cart_totals {
    margin-top: 0;
}

body.woocommerce-cart .woocommerce-shipping-totals .woocommerce-Price-amount {
    font-size: inherit;
}

@media screen and (max-width: 1049px) {
    .responsive body.woocommerce-cart main {
        padding-top: 0;
    }
    body#top.woocommerce-cart .woocommerce-notices-wrapper > * {
        padding: 15px;
    }

    .responsive body.woocommerce-cart table.shop_table {
        display: block;
    }

    .responsive body.woocommerce-cart tr {
        display: grid;
        /* Definiert 4 Spalten */
        grid-template-columns: 0.5fr 1fr 1fr 1fr;
        width: 100%;
    }

    .responsive body.woocommerce-cart tr.woocommerce-shipping-totals {
        grid-template-columns: max-content minmax(0, 1fr);
    }

    .responsive body.woocommerce-cart tr.woocommerce-shipping-totals th {
        padding-right: 30px !important;
    }

    /* .responsive body.woocommerce-cart tr, */
    .responsive body.woocommerce-cart thead,
    .responsive body.woocommerce-cart tbody,
    .responsive body.woocommerce-cart th,
    .responsive body.woocommerce-cart td {
        display: block;
    }

    .responsive body.woocommerce-cart th,
    .responsive body.woocommerce-cart td {
        width: 100% !important;
    }

    .responsive body.woocommerce-cart table.shop_table .product-thumbnail {
        display: block;
    }
    .responsive body.woocommerce-cart table.shop_table .product-thumbnail img {
        margin-top: -10px;
        width: 60px;
    }

    .responsive body.woocommerce-cart th {
        line-height: normal;
        vertical-align: top;
    }

    .responsive body.woocommerce-cart .woocommerce-shipping-totals th {
        line-height: inherit;
    }
    .responsive body.woocommerce-cart .product-name {
        width: 50%;
    }
    .responsive body.woocommerce-cart table.shop_table .product-price  {
        text-align: right;
        width: 25%;
    }
    .responsive body.woocommerce-cart td.product-price .subtotal-mobile .woocommerce-Price-amount {
        font-size: 80%;
    }
    .responsive body.woocommerce-cart table.shop_table .product-quantity {
        padding-left: 0;
    }

    .responsive body.woocommerce-cart td.product-quantity  div.quantity {
        width: 110px;
    }

    .responsive body.woocommerce-cart table.shop_table .product-subtotal {
        display: none;
    }

    /* woo message without button and centered message text */
    #top div.woocommerce-message {
        text-align: center;
    }
    #top div.woocommerce-message a.button {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .responsive body.woocommerce-cart tr {
        display: grid;
        /* Definiert 2 gleich breite Spalten */
        grid-template-columns: repeat(2, 1fr);
    }

    .responsive body.woocommerce-cart tr.cart_item {
        border-bottom: 1px dashed #ccc !important;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .responsive body.woocommerce-cart tr:nth-last-child(2) {
        border-bottom: none !important;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .responsive body.woocommerce-cart tr th.product-quantity {
        display: none;
    }

    .responsive body.woocommerce-cart table.shop_table .product-name {
        text-align: center;
    }

    .responsive body.woocommerce-cart table.shop_table .product-thumbnail {
        display: block;
        grid-row: 2;
        text-align: center;
    }

    /* only for mobile detected devices */
    .avia_mobile body.woocommerce-cart table.shop_table .product-thumbnail img {
        margin-top: -20px;
        width: 70px;
    }

    .responsive body.woocommerce-cart tr td.product-quantity {
        grid-row: 2;
    }

    .responsive body.woocommerce-cart tr td.product-quantity .quantity {
        float: right;
        margin: 0;
    }
}

@media screen and (max-width: 499px) {
    .responsive body.woocommerce-cart table.shop_table .product-thumbnail img {
        margin-left: 20px;
    }
}

@media screen and (max-width: 320px) {
    .responsive body.woocommerce-cart .woocommerce-notices-wrapper {
        margin-top: 30px;
    }

    .responsive body.woocommerce-cart .woocommerce-cart-form table.shop_table {
        margin-top: 25px;
    }
}
