/* Cart icon */
.woocommerce-cart .insufficient_stock td {
    background-color: #ffdedf !important;
}

.woocommerce-cart .insufficient_stock a.remove {
    color: #671b1e;
}

.woocommerce-cart table.cart .insufficient_stock .product-thumbnail img {
    border-color: #671b1e1e;
}

.cart-widget {
    display: none !important;
}

.logged-in .cart-widget {
    display: flex !important;
}

.xoo-wsc-sc-cont {
    display: block;
    position: relative;
    padding: 0;
}

.cart-icon {
    width: 35px;
    height: auto;
    display: block;
}

.xoo-wsc-sc-count {
    position: absolute;
    right: 0px;
    top: 2px;
    background-color: #433230;
    color: #fff;
    border-radius: 100%;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
}

.xoo-wsc-body {
    position: static;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Side cart */

span.xoo-wsc-ptotal {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
}

span.xoo-wsc-ptotal del bdi {
    font-size: 12px;
    line-height: 1.1;
    opacity: .5;
}

span.xoo-wsc-ptotal ins {
    text-decoration: none;
}

span.xoo-wsc-ptotal ins bdi {
    font-weight: bold;
}

.xoo-wsc-img-col img {
    width: 100%;
    height: auto;
    border: solid 1px #eee;
}

.xoo-wsc-img-col {
    width: 122px;
}

.xoo-wsc-sum-col {
    width: 85%;
    line-height: 1.2;
    margin: 0;
}

.xoo-wsc-price {
    font-size: 80%;
    margin: 0;
}

.xoo-wsc-container {
    right: -600px;
    box-shadow: -60px 0px 70px -40px rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
}

.xoo-wsc-content {
    padding: 0px 20px;
}

.xoo-wsc-shipping.xoo-wsc-tool {
    display: none;
}

.xoo-wsc-modal.xoo-wsc-active .xoo-wsc-opac {
    background: none;
}

a.xoo-wsc-pname:hover,
.xoo-wsc-sum-col a:hover {
    text-decoration: none;
}

a.xoo-wsc-remove {
    padding: 0;
    opacity: .3;
    transition: .2s all;
}

a.xoo-wsc-remove:hover {
    opacity: 1;
}

.xoo-wsc-qtybox,
.xoo-wsc-chng {
    border-color: #eee;
    display: flex;
    align-items: center;
    margin: 0 !important;
}

span.xoo-wsc-minus {
    border-right-width: 0;
    font-weight: 300;
}

span.xoo-wsc-plus {
    border-left-width: 0;
    font-weight: 300;
}

.xoo-wsc-ptotal .amount {
    font-weight: 300;
    font-size: 14px;
}

.xoo-wsc-sum-col a:nth-child(2) {
    font-weight: 600;
}

.xoo-wsc-header {
    border: none;
    padding: 20px;
}

a.xoo-wsc-remove:hover {
    text-decoration: none;
}

.xoo-wsc-ctxt {
    font-size: 18px;
}

.xoo-wsc-product:after {
    display: none;
}

.xoo-wsc-footer {
    border-top: none;
    padding: 0;
    position: relative;
    background: transparent;
}

.xoo-wsc-footer-a {
    margin-bottom: 25px;
    padding: 0;
}

.xoo-wsc-product {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding: 15px 10px;
    border-top: none;
    border-bottom: solid 1px #f2f2f2;
    justify-content: space-between;
}

span.xoo-wsc-ptotal {
    line-height: 1.2;
}

span.xoo-wsc-minus,
span.xoo-wsc-plus {
    width: 30px;
}

.xoo-wsc-shiptxt {
    display: none;
}

.xoo-wsc-tools {
    font-weight: 300;
    padding: 0;
    border-top: solid 1px #eee;
    padding-top: 10px;
    font-size: 14px;
}

.xoo-wsc-tools-value .amount {
    font-size: 14px;
}

.xoo-wsc-footer-b {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

a.xoo-wsc-ft-btn.xoo-wsc-cart {
    background: var(--e-global-color-20455c9);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 0;
    border-radius: 100px;
    transition: .2s all;
    flex-basis: 100%;
    margin-bottom: 15px;
}

a.xoo-wsc-ft-btn.xoo-wsc-chkt,
a.xoo-wsc-ft-btn.xoo-wsc-cont {
    background: none;
    color: var(--e-global-color-20455c9);
    text-transform: none;
    font-size: 14px;
    font-weight: 600;
    border: none;
    padding: 10px 0;
    flex-basis: 100%;
}

a.xoo-wsc-ft-btn.xoo-wsc-chkt {
    display: none;
}

.xoo-wsc-footer-b .empty-cart {
    font-size: 14px;
    text-decoration: underline;
    padding: 0;
    border: 0;
    margin: 0;
    cursor: pointer;
}

.xoo-wsc-footer-content {
    padding: 0 20px 20px 20px;
}

a.xoo-wsc-ft-btn.xoo-wsc-cart:hover,
a.xoo-wsc-ft-btn.xoo-wsc-chkt:hover {
    text-decoration: none;
    background: #3f3f3f;
}

.xoo-wsc-icon-cross:before {
    content: "";
    color: #e2e2e2;
    display: block;
    background: url(../images/close.svg) no-repeat center;
    background-size: contain;
    width: 10px;
    height: 10px;
    opacity: .3;
}

.xoo-wsc-icon-cross:hover:before {
    opacity: 1;
}

.xoo-wsc-ecnt {
    padding: 0 25px;
    font-size: 14px;
    display: block;
}

.xoo-wsc-total.xoo-wsc-tool {
    font-weight: bold;
}

.xoo-wsc-empty-cart span.xoo-wsc-ecnt {
    padding: 0 20px;
    text-align: center;
}

.xoo-wsc-price,
small.product-sku,
small.product-quantity,
small.product-expected-delivery {
    font-size: 13px;
    display: block;
    line-height: 1.3;
}

/* WooCommerce Shopping Cart Page */

form.woocommerce-cart-form {
    box-sizing: border-box;
    width: 100%;
}

p.backorder_notification {
    margin: 10px 25px 0 0;
    text-transform: none;
    color: #999;
}

.cart-collaterals .cart_totals tr.woocommerce-shipping-totals.shipping {
    display: none;
}

.woocommerce-cart-form table tbody tr td.product-name small {
    font-weight: 300;
    text-transform: none;
    margin: 0;
}

.woocommerce-cart .product-thumbnail img {
    max-width: 60px;
    height: auto;
}

.woocommerce-cart td.product-thumbnail {
    max-width: 90px;
    width: 690px;
}

.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
    text-align: left;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    width: 100%;
}

.woocommerce-cart .woocommerce {
    max-width: 100%;
    margin: auto;
}

a.checkout-button.button.alt.wc-forward {
    background: #000;
    display: block;
    text-align: center;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
}

a.checkout-button.button.alt.wc-forward:hover {
    text-decoration: none;
}

.cart-collaterals .cart_totals td {
    text-align: right;
}

.cart-collaterals .cart_totals h2 {
    font-family: "Kumbh Sans";
    margin-top: 0;
    font-weight: 500;
}

.cart-collaterals .cart_totals .cart-subtotal th,
.cart-collaterals .cart_totals .cart-subtotal td,
.cart-collaterals .cart_totals .tax-rate th {
    font-weight: bold;
}

.woocommerce-cart .content .shop_table .cart_item td.product-thumbnail {
    width: 80px;
    height: 80px;
}

.woocommerce-cart .content .shop_table .cart_item td.product-thumbnail img {
    width: auto;
    max-height: 80px;
    display: block;
}

.woocommerce-cart .content .shop_table .cart_item td>div,
.woocommerce-cart .content .shop_table .cart_item td>a,
.woocommerce-cart .content .shop_table .cart_item td>span {
    height: auto;
    width: auto;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
}

.woocommerce-cart .content .shop_table .cart_item td.product-thumbnail a {
    display: block;
}

form.woocommerce-cart-form table.shop_table td,
form.woocommerce-cart-form table.shop_table td {
    border-top: solid 1px #f2f2f2;
    padding: 15px;
    line-height: 1.1;
}

.woocommerce-cart-form table thead tr th {
    padding: 15px;
}

#add_payment_method .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-checkout .cart-collaterals .cart_totals table th {
    padding: 5px 0;
}

a.remove {
    color: #ccc;
}

form.woocommerce-cart-form table.shop_table td.product-remove a {
    font-size: 21px !important;
}

.woocommerce-cart-form table thead tr th.product-quantity,
.woocommerce-cart-form table tbody tr td.product-quantity,
.woocommerce-cart-form table thead tr th.product-price,
.woocommerce-cart-form table tbody tr td.product-price {
    text-align: left;
    width: 10%;
}

.woocommerce-cart-form table thead tr th.product-subtotal,
.woocommerce-cart-form table tbody tr td.product-subtotal {
    text-align: right !important;
}

.cart-collaterals table.shop_table.shop_table_responsive {
    padding: 0;
}

.woocommerce-cart-form table thead tr th.product-name,
.woocommerce-cart-form table tbody tr td.product-name {
    padding-left: 25px;
}

.woocommerce-cart-form table tbody tr td.actions {
    text-align: right;
    padding: 0;
    border-top: none;
}

.woocommerce-cart-form table tbody tr td.actions button.button {
    background: none;
    border: solid 1px #121212;
    padding: 12px 25px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    -webkit-appearance: none;
}

.woocommerce-cart-form table tbody tr td.actions button:disabled,
.woocommerce-cart-form table tbody tr td.actions button[disabled] {
    border: solid 1px #e2e2e2;
}

.woocommerce-cart-form table tbody tr td.actions button.button:after {
    content: "";
    margin-left: 10px;
    background: url(/wp-content/themes/hubsch/assets/frontend/images/refresh_icon.svg) no-repeat center;
    background-size: contain;
    width: 12px;
    height: 12px;
    display: inline-block;
}

.woocommerce-cart-form table tbody tr td.actions button:disabled::after,
.woocommerce-cart-form table tbody tr td.actions button[disabled]:after {
    content: "";
    margin-left: 10px;
    background: url(/wp-content/themes/hubsch/assets/frontend/images/refresh_icon1.svg) no-repeat center;
    background-size: contain;
    width: 12px;
    height: 12px;
    display: inline-block;
}

.woocommerce-cart-form table tbody tr td.product-name {
    font-weight: 500;
}

form.woocommerce-cart-form table.shop_table td.product-remove {
    text-align: center;
    max-width: 60px;
    width: 60px;
}

.cart-collaterals .cart_totals {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: 0;
    padding: 30px 20px;
    background: #fff;
}

.cross-sells>h2 {
    margin-top: 0;
    text-align: center;
    font-size: 2em;
}

[name='update_cart'] {
    display: none;
}

p.cart-empty.woocommerce-info,
p.return-to-shop {
    text-align: center;
}

.return-to-shop a.button.wc-backward {
    font-weight: bold;
    border: solid 1px #433230;
    padding: 12px 35px;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
}

.return-to-shop a.button.wc-backward:hover {
    background: #433230;
    color: #fff;
    text-decoration: none;
    ;
}

@media screen and (max-width: 979px) {
    .xoo-wsc-container {
        max-height: 100%;
    }

    .woocommerce-cart-form table thead tr th.product-name,
    .woocommerce-cart-form table tbody tr td.product-name {
        padding-left: 0;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents thead {
        display: none;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-price {
        display: block;
        position: relative;
        padding: 0;
        font-size: 12px;
        width: auto;
        float: right;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-name br {
        display: none;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents tbody .cart_item td {
        display: block;
        padding: 0;
        width: auto;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-quantity {
        position: relative;
        height: 30px;
        width: 60%;
        float: left;
        margin-top: 10px;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents tbody .cart_item {
        position: relative;
        display: block;
        border-left: 0;
        border-right: 0;
        height: 130px;
        border-bottom: solid 1px #eee;
        margin-bottom: 25px;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents tbody {
        display: block;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-thumbnail {
        width: 60px;
        position: relative;
        left: 0;
        top: 0;
        height: auto;
        float: left;
        margin-right: 10px;
        margin-bottom: 70px;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-thumbnail img {
        width: 60px;
        height: auto;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-name {
        position: relative;
        width: 60%;
        line-height: 1.1;
        float: left;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-name a {
        width: 100%;
        height: auto;
        overflow: hidden;
        display: block;
        text-overflow: ellipsis;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-subtotal {
        display: none;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents tbody .cart_item .product-remove {
        position: absolute;
        right: 0px;
        top: calc(50% - 20px);
        width: 15px;
        height: 8px;
    }

    form.woocommerce-cart-form table.shop_table td,
    form.woocommerce-cart-form table.shop_table td {
        border: none;
    }

    .woocommerce .quantity .qty {
        padding: 5px;
    }

    .woocommerce-cart-form table tbody tr td.actions {
        padding: 0;
    }

    .shop_table.cart tbody tr:last-child {
        width: 100% !important;
        display: block;
    }

    .woocommerce-cart-form table tbody tr td.actions {
        display: block;
        text-align: center;
    }

    .cart-collaterals {
        max-width: 100%;
    }

    .woocommerce-cart-form table tbody tr td.actions button:disabled,
    .woocommerce-cart-form table tbody tr td.actions button[disabled] {
        width: 100%;
    }

    .woocommerce-message {
        margin-bottom: 45px;
    }

    .xoo-wsc-header {
        padding: 12px 20px;
    }

    .xoo-wsc-product {
        margin: 0;
        padding: 11px 0;
    }

    .cart-collaterals .cart_totals {
        width: 100%;
    }

    .xoo-wsc-tools,
    .xoo-wsc-tools-value .amount {
        font-size: 14px;
        border-top: 1px;
    }

    p.backorder_notification {
        font-size: 12px;
        margin: 10px 0 0 0;
    }

    .xoo-wsc-container {
        padding: 0px;
    }

    .xoo-wsc-ctxt {
        font-size: 14px;
    }

    .xoo-wsc-footer-a {
        margin-bottom: 0px;
        padding: 0px 0px 12px 0px;
        background: #fff;
    }

    .xoo-wsc-container {
        background: #fff;
    }

    a.xoo-wsc-ft-btn.xoo-wsc-chkt,
    a.xoo-wsc-ft-btn.xoo-wsc-cont,
    body .xoo-wsc-container .download-image-package {
        color: var(--e-global-color-text);
    }

    body .xoo-wsc-container .download-image-package {
        text-decoration: underline;
    }

    body .xoo-wsc-container .download-image-package img {
        display: none;
    }

    .woocommerce-cart td.product-thumbnail {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        margin: 25px auto 65px auto;
    }

    h1.cart-title {
        font-size: 2rem;
    }

    .woocommerce-cart .woocommerce .quantity .qty {
        max-width: 100%;
        width: 100%;
    }

    .woocommerce-message a.restore-item {
        float: none !important;
    }

    h1.cart-title {
        font-size: 30px;
    }

    .xoo-wsc-container {
        max-width: 100%;
    }

    .woocommerce-cart td.product-thumbnail {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-price {
        float: left;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents tbody .cart_item {
        height: 150px;
    }

    .woocommerce-cart .content .woocommerce-cart-form__contents .cart_item td.product-name a {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

/* Cart Download images */
.xoo-wsc-container .download-image-package {
    justify-content: center;
    font-size: 14px;
}

/* HIDE COUPON IN CART */
.woocommerce-cart .coupon {
    display: none;
}

.cart-notice-popup {
    opacity: 0;
    z-index: -99999;
    pointer-events: none;
    transition: opacity .3s ease;
    position: absolute;
    right: calc(100% + 30px);
    width: 900px;
    max-width: calc(100vw - 700px);
    top: 50%;
    transform: translateY(-50%);
    background: #C1A68C;
    padding: 40px;
}

.xoo-wsc-active .cart-notice-popup {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.cart-notice-popup-inner {
    padding: 30px;
    background: #fff;
    max-height: calc(100vh - 100px);
    overflow: auto;
}

.cart-notice-popup-inner h3 {
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 979px) {
    .cart-notice-popup {
        display: none;
    }
}

/* Quantity Input */

.woocommerce-cart .product-quantity .quantity input.qty {
    border: none;
    padding: 0;
    text-align: center;
    width: 55px;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.woocommerce-cart .product-quantity .quantity input.minus {
    border: solid 1px #ddd;
    width: auto;
}

.woocommerce-cart .product-quantity .quantity input.plus {
    border: solid 1px #ddd;
    width: auto;
}

.woocommerce-cart .product-quantity .quantity.buttons_added {
    max-width: 150px;
    width: fit-content;
    flex-wrap: wrap;
    height: 50px;
    justify-content: flex-start;
}

.woocommerce-message {
    background: #fff;
    display: flex;
    align-items: center;
}

.woocommerce-message:before {
    content: "";
    margin-right: 15px;
    float: left;
    background: url(../images/info_icon.svg) no-repeat center;
    background-size: contain;
    width: 22px;
    height: 22px;
    display: inline-block;
}

@media (max-width:1695px) {
    .woocommerce-cart .product-quantity .quantity.buttons_added {
        max-width: 200px;
        flex-wrap: nowrap;
    }
}