.offcanvas-backdrop {
    background-color: #fff;
    top: 90px;
}

.offcanvas.offcanvas-end {
    max-width: 890px;
    width: 100%;
    top: 90px;
    border-color: #f4f4f4;
    bottom: auto;
}

.offcanvas-header {
    justify-content: space-between;
    padding: 30px 50px 30px 60px;
}

.offcanvas-body {
    padding: 0;
}

.refresh-cart img {
    margin-left: 20px;
}

.cart-title {
    font-size: 30px;
    letter-spacing: -0.35px;
    color: #000;
    margin-bottom: 0;
}

.cart-table th {
    color: #cdcccd;
    font-size: 14px;
    font-weight: normal;
    border-color: #f6f6f6;
    padding-bottom: 46px;
}

.cart-table td {
    color: #000;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: #989898;
    border-color: #f6f6f6;
    padding: 25px 10px 25px 0;
    vertical-align: middle;
    width: 20%;
    font-size: 14px;
}

.nav-item button {
    color: #989898;
    text-transform: uppercase;
    background: transparent;
    font-size: 11px;
    letter-spacing: 2.5px;
    padding: 0 var(--bs-navbar-nav-link-padding-x);
    line-height: 29px;
    border: none !important;
}

button:active {
    border: none;
}

.cart-table input.cart-quantity {
    border-radius: 0;
    padding: 0 17px;
    letter-spacing: 0.2px;
    color: #000;
    border-color: #cdcccd;
}

.cart-table .cart-price {
    letter-spacing: 0.2px;
    color: #000;
    width: 10%;
}

.cart-remove {
    background: transparent;
    border: none;
}

.cart-table td:first-child, .cart-table th:first-child {
    padding-left: 60px;
}

.cart-table td:last-child {
    padding-right: 50px;
}

/* Specific Column Widths for Desktop WP Team */
.cart-table th:nth-child(1), .cart-table td:nth-child(1) { width: 15%; }
/*.cart-table th:nth-child(2), .cart-table td:nth-child(2) { width: 40%; }*/
.cart-table th:nth-child(3), .cart-table td:nth-child(3) { width: 25%; }
.cart-table th:nth-child(4), .cart-table td:nth-child(4) { width: 15%; }
.cart-table th:nth-child(5), .cart-table td:nth-child(5) { width: 10%; }

.cart-summary {
    padding: 16px 45px 16px 60px;
    font-size: 14px;
    line-height: 2.86;
    letter-spacing: 0.2px;
    color: #000;
}

.shipping-label {
    color: #cdcccd;
    opacity: 0.8;
}

.total-label {
    color: #000;
}

.cart-footer {
    padding: 40px 60px;
}

.continue-btn {
    color: #575757;
}

.checkout-btn {
    color: #fff;
    font-weight: 500;
    justify-content: space-between;
    width: 50%;
}
.cart-summary .row {
    margin: 0;
}
.total-price p {
    margin-bottom: 0;
}
.cart-table table {
    margin-bottom: 0;
}
.checkout-right {
    width: 100%;
    justify-content: space-between;
}

/* Hide default WooCommerce "View cart" link that appears after adding to cart */
a.added_to_cart.wc-forward {
    display: none !important;
}
@media (max-width: 1100px) {
    .offcanvas-backdrop {
        top: 100px;
    }
    .offcanvas.offcanvas-end {
        top: 100px;
    }
}
@media (max-width: 767px) {
    .offcanvas-header {
        padding: 0 30px 30px 30px;
    }
    .cart-table td:first-child, .cart-table th:first-child {
        padding-left: 30px;
    }
    .cart-summary {
        padding: 16px 30px 16px 30px;
    }
    .cart-table td:last-child {
        padding-right: 30px;
    }
    .cart-table thead {
        display: none;
    }
    .refresh-cart {
        font-size: 0;
    }
    .offcanvas.offcanvas-end {
        top: 80px;
    }
}

/* Mobile Checkout Button WP Team */
@media (max-width: 767px) {

    /* Mobile Checkout Button */
    .mobile-checkout-btn-wrapper {
        background-color: #000;
        padding: 15px 30px;
    }

    .checkout-btn-mobile {
        color: #fff;
        font-weight: 500;
        border-radius: 0;
        font-size: 16px;
        text-transform: none;
        padding: 6px 0;
    }

    .checkout-btn-mobile:hover {
        color: #fff;
    }

    /* Convert Table to Flex */
    .cart-table thead {
        display: none;
    }

    .cart-table table,
    .cart-table tbody {
        display: block;
        width: 100%;
    }

    .cart-table tr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #f6f6f6;
        padding: 15px 30px;
    }

    .cart-table td {
        display: block;
        padding: 0 !important;
        border: none;
        width: auto !important;
    }

    /* Specific Column Adjustments */
    .cart-table .product-thumbnail {
        flex: 0 0 50px;
        margin-right: 15px;
    }

    .cart-table td:nth-child(2) {
        /* Product Name */
        flex: 1 1 auto;
        font-size: 14px;
        padding-right: 10px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #989898;
    }

    .cart-table td.cart-quantity-cell {
        flex: 0 0 60px;
        margin-right: 15px;
    }

    .cart-table input.cart-quantity {
        width: 100% !important;
        height: 40px !important;
        padding: 0 5px;
        text-align: center;
    }

    .cart-table .cart-price {
        flex: 0 0 auto;
        font-size: 14px;
        font-weight: 500;
        color: #000;
        margin-right: 15px;
    }

    .cart-table td:last-child {
        flex: 0 0 auto;
        padding: 0 !important;
    }

    /* Footer Overrides */
    .cart-footer-responsive {
        background-color: #fff !important;
        color: #000 !important;
        padding: 20px 30px !important;
        border-top: 1px solid #f6f6f6;
    }

    .cart-footer-responsive .free-shipping-text {
        font-size: 14px;
        font-weight: 500;
        color: #000;
    }

    .cart-summary {
        padding: 16px 30px;
    }

}
