/* Background of page */
body.woocommerce-cart {
    background-color: #f5f5f5;
}

body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message {
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px 1px #6c6c6c1f;
    border-radius: 2px;
    padding: 25px 50px;
    border: none !important;
    color: #000 !important;
    width: calc(100% - 24px);
    margin: 20px auto;
}

body.woocommerce-cart .woocommerce-error::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-message::before {
    top: unset;
    left: 1.5em;
}

/* Default button style */
body.woocommerce-cart .btn,
body.woocommerce-cart button,
body.woocommerce-cart .btn-primary {
    display: inline-block;
    font-weight: 500;
    color: #ffffff;
    border: 2px solid #55a355;
    border-radius: 8px;
    background-color: #55a355;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 3px;
    transition: all .3s;
    text-decoration: none;
    cursor: pointer;
}

body.woocommerce-cart .btn.btn-lg {
    width: 100%;
}

body.woocommerce-cart .awcc-cart-flex-column {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

body.woocommerce-cart .cart-totals-container .awcc-cart-flex-column {
    flex-direction: row;
}

body.woocommerce-cart .cart-totals-container .awcc-cart-flex-column>div:first-child {
    width: 30%;
    box-sizing: border-box;
}

body.woocommerce-cart .cart-totals-container .awcc-cart-flex-column>div:nth-child(2) {
    width: 70%;
    box-sizing: border-box;
}

body.woocommerce-cart .cart-totals-container .awcc-cart-flex-column ul#shipping_method.woocommerce-shipping-methods {
    padding: 5px 0 0 0;
}

body.woocommerce-cart .woocommerce-shipping-methods img {
    margin: 0 5px 5px 0;
}

body.woocommerce-cart .shipping ul#shipping_method li {
    margin-bottom: 20px;
}

body.woocommerce-cart .cart-totals-container .awcc-cart-flex-column .woocommerce-shipping-methods li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

body.woocommerce-cart .cart-actions .coupon label.screen-reader-text {
    display: none;
}

body.woocommerce-cart .cart-actions .coupon input#coupon_code {
    height: 100%;
    width: auto;
}

body.woocommerce-cart .cart-actions .coupon {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

body.woocommerce-cart input[type=date],
body.woocommerce-cart input[type=email],
body.woocommerce-cart input[type=number],
body.woocommerce-cart input[type=password],
body.woocommerce-cart input[type=search],
body.woocommerce-cart input[type=tel],
body.woocommerce-cart input[type=text],
body.woocommerce-cart input[type=url],
body.woocommerce-cart select,
body.woocommerce-cart textarea,
body.woocommerce-cart .select2-selection {
    border: 1px solid #cbcbcb;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    height: 38px;
}

body.woocommerce-cart input[type=number] {
    padding: 0.5rem 3px;
}

body.woocommerce-cart .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 20px;
    padding: 0;
}

body.woocommerce-cart .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
}

/* Default button style hover */
body.woocommerce-cart .btn:hover,
body.woocommerce-cart button:hover,
body.woocommerce-cart .btn-primary:hover {
    color: #55a355;
    background-color: #ffffff;
    border-color: #55a355;
}

body.woocommerce-cart .awcc-cart-totals-and-qty-head {
    display: flex;
    column-gap: 10px;
    justify-content: space-evenly;
}

body.woocommerce-cart .awcc-cart-totals-and-qty {
    display: flex;
    column-gap: 10px;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

body.woocommerce-cart .awcc-cart-totals-and-qty-head>div,
body.woocommerce-cart .awcc-cart-totals-and-qty-head>span,
body.woocommerce-cart .awcc-cart-totals-and-qty>div,
body.woocommerce-cart .awcc-cart-totals-and-qty>span {
    flex: 1;
}

body.woocommerce-cart .awcc-cart-remove-and-thumb {
    display: flex;
    column-gap: 10px;
    align-items: center;
}

body.woocommerce-cart .awcc-cart-remove-and-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

body.woocommerce-cart .awcc-cart-remove-and-thumb-head {
    display: flex;
    column-gap: 10px;
    align-items: center;
}

body.woocommerce-cart .cart-item-row.d-flex,
body.woocommerce-cart .cart-header {
    display: flex;
    column-gap: 12px;
    align-content: center;
    align-items: center;
    align-items: center;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 15px;
}

body.woocommerce-cart .cart-header {
    font-weight: bold;
}

body.woocommerce-cart form.woocommerce-cart-form {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    row-gap: 15px;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px 1px #6c6c6c1f;
    border-radius: 2px;
    padding: 25px;
}

body.woocommerce-cart .awcc-cart-totals-wrapper {
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px 1px #6c6c6c1f;
    border-radius: 2px;
    padding: 25px;
}

body.woocommerce-cart div a.remove,
body.woocommerce-cart div a.remove:hover {
    background: transparent;
    transition: all 0.15s ease-in-out;
}

body.woocommerce-cart div a.remove:hover {
    transform: rotate(15deg);
}

body.woocommerce-cart .cart-item-name a {
    font-weight: bold;
    text-decoration: none;
}

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

body.woocommerce-cart .order-total .includes_tax {
    display: block;
    width: 100%;
}

body.woocommerce-cart .cart-collaterals .cart_totals.awcc-cart-totals-wrapper,
body.woocommerce-cart .cart-collaterals .cart_totalsawcc-cart-totals-wrapper {
    width: 100%;
    float: none;
}

@media(min-width:767px) and (max-width: 1199px) {

    body.woocommerce-cart .container,
    body.woocommerce-cart .container-md,
    body.woocommerce-cart .container-sm {
        max-width: 100%;
    }

    body.woocommerce-cart .site-main,
    body.woocommerce-cart #content {
        max-width: 96%;
    }
}

@media(min-width: 992px) {
    body.woocommerce-cart .awcc-hide-last-item-line .cart_item:nth-last-child(2) {
        border-bottom: none !important;
    }
}

@media(max-width: 991px) {
    body div .awcc-hide-mobile {
        display: none !important;
    }

    body.woocommerce-cart .cart-item-row.d-flex,
    body.woocommerce-cart .cart-header {
        column-gap: 0;
    }

    body.woocommerce-cart .cart-item-row.d-flex,
    body.woocommerce-cart .cart-header {
        align-items: flex-start;
    }

    body.woocommerce-cart .awcc-cart-totals-and-qty-head>div,
    body.woocommerce-cart .awcc-cart-totals-and-qty-head>span,
    body.woocommerce-cart .awcc-cart-totals-and-qty>div,
    body.woocommerce-cart .awcc-cart-totals-and-qty>span {
        flex: unset;
    }

    body.woocommerce-cart .awcc-cart-remove-and-thumb img {
        width: 85px;
        height: auto;
        max-height: 85px;
        object-fit: cover;
        border-radius: 5px;
    }

    body.woocommerce-cart .cart-item-row {
        border: 1px solid #d1d1d1;
        padding: 10px;
        border-radius: 5px;
    }

    body.woocommerce-cart .cart-item-name {
        padding: 0 20px;
    }

    body.woocommerce-cart .cart-item-name .amount {
        display: inline-block;
        width: 100%;
        padding-bottom: 15px;
    }

    body.woocommerce-cart .cart-item-name .quantity,
    body.woocommerce-cart .cart-item-name .remove {
        display: inline-block;
        width: auto;
    }

    body.woocommerce-cart div .quantity .qty {
        text-align: center;
        padding: 8px 5px;
        width: 80px;
        margin-right: 20px;
        font-size: 18px;
        border: 1px solid #cccccc;
    }

    body.woocommerce-cart form.woocommerce-cart-form {
        margin-bottom: 30px;
    }

    body.woocommerce-cart div a.remove svg {
        fill: #d32f2f;
        width: 26px;
    }

    body.woocommerce-cart .cart-actions .coupon input#coupon_code,
    body.woocommerce-cart .cart-actions .coupon button {
        height: auto;
        width: 100%;
    }
}

@media(min-width: 992px) {
    body div .awcc-hide-desktop {
        display: none !important;
    }

    body.woocommerce-cart a.remove {
        min-width: 35px;
        width: 35px;
        max-width: 35px;
    }

    body.woocommerce-cart div a.remove svg {
        fill: #d32f2f;
        width: 20px;
    }
}