/* Simex child v1.3.1 — cart.css */
/* =========================================================
   CART
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form {
    width: 100%;
    margin: 0 0 32px;
    padding: 0;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    overflow: hidden;
}

body.woocommerce-cart table.shop_table.cart {
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

body.woocommerce-cart table.shop_table.cart thead th {
    padding: 18px 20px;
    border: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
    background: #fafaf8 !important;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

body.woocommerce-cart table.shop_table.cart td {
    padding: 18px 20px;
    border: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,.07) !important;
    background: #fff !important;
    color: #242424;
    font-size: 14px;
    vertical-align: middle;
}

body.woocommerce-cart table.shop_table.cart .product-remove {
    width: 56px;
    text-align: center;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove:before,
body.woocommerce-cart table.shop_table.cart .product-remove a.remove:after {
    display: none !important;
    content: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    margin: 0 auto;
    padding: 0 !important;
    border: 1px solid rgba(0,0,0,.20) !important;
    background: #fff !important;
    color: #181818 !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    text-align: center;
    text-indent: 0 !important;
    opacity: 1 !important;
    overflow: hidden;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove:hover {
    background: #181818 !important;
    color: #fff !important;
    border-color: #181818 !important;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail {
    width: 92px;
    text-align: center;
    overflow: visible;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 74px;
    overflow: visible;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
    width: 64px;
    height: 74px;
    object-fit: contain;
    transform: scale(1.22);
    transform-origin: center center;
}

body.woocommerce-cart table.shop_table.cart .product-name {
    min-width: 220px;
}

body.woocommerce-cart table.shop_table.cart .product-name a {
    color: #181818;
    font-size: 15px;
    font-weight: 800;
}

body.woocommerce-cart table.shop_table.cart .product-price,
body.woocommerce-cart table.shop_table.cart .product-subtotal {
    color: #181818;
    font-weight: 800;
    white-space: nowrap;
}

body.woocommerce-cart .quantity {
    display: inline-flex;
    align-items: center;
    height: 42px;
    border: 1px solid rgba(0,0,0,.13);
    background: #fff;
    overflow: hidden;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 42px;
    border: 0 !important;
    background: #fafaf8 !important;
    color: #181818;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

body.woocommerce-cart .quantity .minus:hover,
body.woocommerce-cart .quantity .plus:hover {
    background: #181818 !important;
    color: #fff !important;
}

body.woocommerce-cart .quantity .qty {
    width: 46px !important;
    height: 42px;
    min-height: 42px;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(0,0,0,.08) !important;
    border-right: 1px solid rgba(0,0,0,.08) !important;
    background: #fff !important;
    color: #181818;
    text-align: center;
    font-weight: 800;
}

body.woocommerce-cart table.shop_table.cart td.actions {
    padding: 20px;
    background: #fafaf8 !important;
    text-align: left;
}

body.woocommerce-cart table.shop_table.cart td.actions p.coupon-error-notice {
    text-align: left;
    line-height: 1.3;
    font-weight: bold;
    color: red;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: grid;
    grid-template-columns: 230px 170px;
    gap: 10px;
    align-items: center;
    float: left;
    width: 410px;
    max-width: calc(100% - 190px);
    min-width: 0;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon input {
    grid-column: 1;
    width: 230px !important;
    min-width: 0;
    box-sizing: border-box;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon button {
    grid-column: 2;
    width: 170px !important;
    min-width: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .kha-cart-coupon-message,
body.woocommerce-cart table.shop_table.cart td.actions .coupon .woocommerce-error,
body.woocommerce-cart table.shop_table.cart td.actions .coupon .woocommerce-info,
body.woocommerce-cart table.shop_table.cart td.actions .coupon .woocommerce-message {
    grid-column: 1 / -1;
    display: block;
    clear: both;
    float: none;
    width: 100%;
    max-width: 430px;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #555 !important;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .woocommerce-error,
body.woocommerce-cart table.shop_table.cart td.actions .coupon .woocommerce-error ul,
body.woocommerce-cart table.shop_table.cart td.actions .coupon .woocommerce-error li {
    list-style: none !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart table.shop_table.cart td.actions:after {
    display: block;
    clear: both;
    content: "";
}

body.woocommerce-cart .cart-collaterals {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 32px;
}

body.woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: 520px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 0 20px;
    color: #181818;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
    text-transform: none;
}

body.woocommerce-cart .cart_totals table.shop_table {
    margin: 0;
    border: 1px solid rgba(0,0,0,.10) !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 18px 20px;
    border: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,.07) !important;
    background: #fff !important;
    color: #242424;
    font-size: 14px;
    line-height: 1.55;
    vertical-align: top;
}

body.woocommerce-cart .cart_totals table.shop_table th {
    width: 34%;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

body.woocommerce-cart .cart_totals table.shop_table tr:last-child th,
body.woocommerce-cart .cart_totals table.shop_table tr:last-child td {
    border-bottom: 0 !important;
    background: #fafaf8 !important;
}

body.woocommerce-cart .cart_totals .includes_tax {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 11px;
    font-weight: 400;
}

body.woocommerce-cart .woocommerce-shipping-methods {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-cart .woocommerce-shipping-methods li {
    margin: 0 0 10px;
}

body.woocommerce-cart .woocommerce-shipping-destination {
    margin: 16px 0 0;
    color: #555;
    font-size: 13px;
    line-height: 1.55;
}

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

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    box-sizing: border-box !important;
    font-size: 15px;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.button.alt {
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Desktop cart layout: cart table left, totals panel right. */
@media (min-width: 1101px) {
    body.woocommerce-cart .entry-content > .woocommerce {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(500px, 500px);
        gap: 32px;
        align-items: start;
    }

    body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-notices-wrapper,
    body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-message,
    body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-info,
    body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-error {
        grid-column: 1 / -1;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        grid-column: 1;
        min-width: 0;
        margin: 0;
    }

    body.woocommerce-cart .cart-collaterals {
        grid-column: 2;
        display: block;
        width: 100%;
        margin-top: 0;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: none;
    }

    body.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box !important;
    }
}

/* Shared cart/checkout free-shipping component */

body.woocommerce-cart .kha-free-ship-box {
    margin: 0;
    padding: 17px 18px;
    border: 1px solid rgba(49,95,67,.15);
    background: #eef7f1;
}

body.woocommerce-cart .kha-free-ship-text {
    margin-bottom: 10px;
    color: #315f43;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

body.woocommerce-cart .kha-free-ship-bar {
    height: 7px;
    background: rgba(49,95,67,.14);
    overflow: hidden;
}

body.woocommerce-cart .kha-free-ship-fill {
    display: block;
    height: 100%;
    background: #3e8a5b;
}

/* Responsive */

@media (max-width: 900px) {
    body.woocommerce-cart .cart-collaterals {
            display: block;
        }

    body.woocommerce-cart .cart_totals {
            max-width: 100%;
        }
}

@media (max-width: 767px) {
    body.woocommerce-cart #main .content {
            padding-top: 34px;
            padding-bottom: 50px;
        }

    body.woocommerce-cart .cart_totals {
            padding: 22px 18px;
        }

    /* Cart mobile */

    body.woocommerce-cart table.shop_table.cart thead {
            display: none;
        }

    body.woocommerce-cart .woocommerce-cart-form {
            overflow: visible;
        }

    body.woocommerce-cart table.shop_table.cart,
    body.woocommerce-cart table.shop_table.cart tbody {
            display: block;
            width: 100%;
            border: 0 !important;
            background: transparent !important;
        }

    body.woocommerce-cart table.shop_table.cart tr.cart_item {
            display: grid;
            grid-template-columns: 86px minmax(0, 1fr) 34px;
            grid-template-areas:
                "thumb name remove"
                "thumb price remove"
                "qty qty qty"
                "subtotal subtotal subtotal";
            gap: 10px 14px;
            width: 100%;
            margin: 0;
            padding: 20px;
            border-bottom: 1px solid rgba(0,0,0,.12);
            background: #fff;
            position: relative;
        }

    body.woocommerce-cart table.shop_table.cart tr.cart_item td {
            display: block;
            width: auto !important;
            padding: 0;
            border: 0 !important;
            background: transparent !important;
            text-align: left !important;
        }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail {
            grid-area: thumb;
            width: 86px;
            text-align: left;
            overflow: visible;
        }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
            width: 64px;
            height: 74px;
            overflow: visible;
        }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
            width: 64px;
            height: 74px;
            object-fit: contain;
            transform: scale(1.12);
            transform-origin: center center;
        }

    body.woocommerce-cart table.shop_table.cart .product-name {
            grid-area: name;
            padding-top: 4px;
        }

    body.woocommerce-cart table.shop_table.cart .product-name a {
            display: block;
            font-size: 16px;
            line-height: 1.35;
        }

    body.woocommerce-cart table.shop_table.cart .product-remove {
            grid-area: remove;
            position: static;
            width: 34px !important;
            text-align: right;
            align-self: start;
            justify-self: end;
            padding: 0;
        }

    body.woocommerce-cart table.shop_table.cart .product-price {
            grid-area: price;
            font-size: 14px;
        }

    body.woocommerce-cart table.shop_table.cart .product-quantity {
            grid-area: qty;
            padding-top: 12px;
        }

    body.woocommerce-cart table.shop_table.cart .product-subtotal {
            grid-area: subtotal;
            padding-top: 12px;
            border-top: 1px solid rgba(0,0,0,.08) !important;
            font-size: 16px;
            font-weight: 800;
        }

    body.woocommerce-cart table.shop_table.cart .product-price:before,
    body.woocommerce-cart table.shop_table.cart .product-quantity:before,
    body.woocommerce-cart table.shop_table.cart .product-subtotal:before {
            content: attr(data-title);
            display: block;
            margin-bottom: 6px;
            color: #777;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .06em;
        }

    body.woocommerce-cart table.shop_table.cart td.actions {
            display: block;
            width: 100%;
            padding: 18px;
            background: #fafaf8 !important;
            border-top: 1px solid rgba(0,0,0,.10) !important;
        }

    body.woocommerce-cart table.shop_table.cart td.actions .coupon {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            float: none;
            width: 100%;
            max-width: none;
            margin: 0 0 14px;
        }

    body.woocommerce-cart table.shop_table.cart td.actions .coupon input,
    body.woocommerce-cart table.shop_table.cart td.actions .coupon button {
            grid-column: 1;
            width: 100% !important;
            min-width: 0;
            float: none;
        }

    body.woocommerce-cart table.shop_table.cart td.actions > button[name="update_cart"] {
            width: 100%;
            min-width: 0;
            float: none;
        }

    body.woocommerce-cart .cart-collaterals {
            display: block;
            width: 100%;
            margin-top: 24px;
        }

    body.woocommerce-cart .cart_totals {
            width: 100% !important;
            max-width: 100%;
            padding: 22px 18px;
        }
}
