.ks-cart-page-title .breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.ks-cart-page-title h3 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.tf-cart-notification {
    max-width: 620px;
    margin: 0 auto;
    background: #ffe9e9;
    color: #111;
    border-radius: 8px;
    padding: 12px 18px;
    text-align: center;
}

.tf-cart-notification .count-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.ks-cart-countdown {
    color: #e53935;
    font-weight: 700;
}

.tf-table-page-cart {
    width: 100%;
    border-collapse: collapse;
}

.tf-table-page-cart thead th {
    padding: 0 0 18px;
    border-bottom: 1px solid #e5e5e5;
}

.tf-cart_item td {
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

.cart_product {
    display: flex;
    gap: 18px;
    min-width: 330px;
}

.cart_product .img-prd {
    width: 92px;
    min-width: 92px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.cart_product .img-prd img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.prd_name {
    display: inline-block;
    color: #111;
    margin-bottom: 6px;
}

.prd_meta,
.prd_short_desc,
.prd_vendor {
    margin-top: 4px;
    color: #666;
}

.cart_remove {
    margin-top: 8px;
}

.cart_remove a {
    color: #e53935;
    text-decoration: underline;
}

.wg-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    overflow: hidden;
    height: 42px;
    background: #fff;
}

.wg-quantity .btn-quantity {
    width: 38px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}

.wg-quantity input.qty {
    width: 45px;
    height: 42px;
    border: 0;
    text-align: center;
    padding: 0;
    background: transparent;
}

.ip-discount-code {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.ip-discount-code input {
    flex: 1;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 14px 20px;
}

.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    border: 0;
    padding: 14px 26px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.box-order-summary {
    background: #f5f3f1;
    border-radius: 12px;
    padding: 24px;
}

.notification-progress {
    margin-bottom: 24px;
}

.notification-progress p {
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-cart {
    position: relative;
    height: 6px;
    background: #ddd;
    border-radius: 99px;
}

.progress-cart .value {
    position: relative;
    height: 100%;
    background: #58b957;
    border-radius: 99px;
}

.progress-cart .round {
    position: absolute;
    right: -6px;
    top: 50%;
    width: 14px;
    height: 14px;
    background: #58b957;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.box-order-summary .subtotal,
.box-order-summary .discount,
.box-order-summary .fee,
.box-order-summary .tax-rate,
.box-order-summary .tax-total {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.box-order-summary .ship {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.box-order-summary .ship > p {
    min-width: 80px;
}

.box-order-summary ul#shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box-order-summary ul#shipping_method li {
    margin-bottom: 8px;
}

.total-order {
    margin: 22px 0 16px;
}

.check-agree {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.action-checkout.disabled {
    opacity: .45;
    pointer-events: none;
}

.list-ver .link-underline {
    margin-top: 14px;
    display: inline-block;
}

.ks-cart-cross-sells {
    padding-top: 60px;
}

.ks-cart-cross-sells .sect-heading {
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .box-order-summary {
        margin-top: 32px;
    }
}

@media (max-width: 767px) {
    .tf-table-page-cart thead {
        display: none;
    }

    .tf-cart_item,
    .tf-cart_item td {
        display: block;
        width: 100%;
    }

    .tf-cart_item td {
        padding: 12px 0;
        border-bottom: 0;
    }

    .tf-cart_item {
        border-bottom: 1px solid #e5e5e5;
        padding: 18px 0;
    }

    .cart_product {
        min-width: 100%;
    }

    .ip-discount-code {
        flex-direction: column;
    }

    .box-order-summary .ship {
        display: block;
    }
}









/* =========================================================
   KS CART PAGE - AMERCE EXACT DESIGN PATCH
   Replace old ks-cart.css cart styling with this
========================================================= */

body.woocommerce-cart {
    background: #fff;
}

.ks-cart-page,
.ks-cart-page-title {
    font-family: inherit;
    color: #111;
}

.ks-cart-page-title {
    padding-top: 62px !important;
}

.ks-cart-page-title .breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #a3a3a3;
}

.ks-cart-page-title h3 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 14px;
    color: #111;
}

.ks-cart-page-title .text-body-1 {
    font-size: 15px;
    line-height: 24px;
    color: #6f7680;
    margin: 0;
}

.ks-cart-page {
    padding-top: 46px !important;
}

.ks-cart-page > .flat-spacing-2 {
    padding-bottom: 48px;
}

.tf-cart-notification {
    max-width: 620px;
    margin: 0 auto;
    background: #fbe9e7;
    color: #111;
    border-radius: 7px;
    padding: 13px 22px;
    text-align: center;
}

.tf-cart-notification .count-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
}

.tf-cart-notification .ic {
    font-size: 15px;
}

.ks-cart-countdown {
    color: #e04634;
    font-weight: 700;
}

/* layout */
/* .ks-cart-page .container { max-width: 1200px; } */

.ks-cart-page .row {
    align-items: flex-start;
}

.ks-cart-page .col-lg-8 {
    width: 68%;
}

.ks-cart-page .col-lg-4 {
    width: 32%;
}

/* table */
.tf-table-page-cart {
    width: 100%;
    border-collapse: collapse;
    border: 0 !important;
    margin: 0;
}

.tf-table-page-cart thead th {
    padding: 0 0 17px;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    background: transparent;
    color: #111;
}

.tf-table-page-cart thead th p {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin: 0;
    color: #111;
}

.tf-cart_item td {
    padding: 24px 0 25px;
    border: 0;
    border-bottom: 1px solid #e9e9e9;
    vertical-align: middle;
    background: transparent !important;
}


.tf-table-page-cart tr.tf-cart_item.cart_item td{
    border-top: transparent !important;
}

/* .tf-table-page-cart th:first-child,
.tf-table-page-cart td:first-child {
    width: 48%;
} */

/* .tf-table-page-cart th:nth-child(2),
.tf-table-page-cart td:nth-child(2) {
    width: 16%;
} */

/* .tf-table-page-cart th:nth-child(3),
.tf-table-page-cart td:nth-child(3) {
    width: 21%;
} */

/* .tf-table-page-cart th:nth-child(4),
.tf-table-page-cart td:nth-child(4) {
    width: 15%;
} */

/* product */
.cart_product {
    display: flex;
    gap: 22px;
    align-items: center;
    min-width: 360px;
}

.cart_product .img-prd {
    width: 100px;
    min-width: 100px;
    height: 133px;
    background: #f1f1f1;
    border-radius: 6px;
    overflow: hidden;
    display: block;
}

.cart_product .img-prd img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.infor-prd {
    padding-top: 0;
}

.prd_name {
    display: inline-block;
    color: #111 !important;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    text-decoration: none !important;
}

.prd_meta,
.prd_short_desc,
.prd_vendor {
    margin-top: 2px;
    color: #9aa0a6;
    font-size: 13px;
    line-height: 20px;
}

.prd_meta dl,
.prd_meta dt,
.prd_meta dd,
.prd_meta p {
    margin: 0;
    display: inline;
    font-size: 13px;
    color: #111;
}

.prd_meta dt {
    color: #9aa0a6;
    font-weight: 400;
}

.prd_meta dd {
    margin-left: 4px;
    margin-right: 10px;
}

.cart_remove {
    margin-top: 8px;
    line-height: 1;
}

.cart_remove a {
    color: #e04634 !important;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    text-decoration: underline !important;
    text-underline-offset: 5px;
}

/* price */
.cart_price,
.cart_total {
    color: #e04634 !important;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}

.cart_price .woocommerce-Price-amount,
.cart_total .woocommerce-Price-amount {
    color: #e04634 !important;
    font-weight: 600;
}

/* quantity */
.wg-quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 142px;
    height: 42px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.wg-quantity .btn-quantity {
    width: 43px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #111;
    padding: 0;
}

.wg-quantity .btn-quantity i {
    font-size: 18px;
}

.wg-quantity input.qty,
.wg-quantity input.quantity-product {
    width: 48px !important;
    height: 42px;
    border: 0 !important;
    text-align: center;
    padding: 0 !important;
    background: transparent !important;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none !important;
    appearance: textfield;
}

.wg-quantity input::-webkit-outer-spin-button,
.wg-quantity input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

/* coupon */
.ip-discount-code {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.ip-discount-code input {
    flex: 1;
    height: 56px;
    border: 1px solid #e5e5e5 !important;
    border-radius: 999px;
    padding: 0 24px !important;
    color: #111;
    font-size: 14px;
    outline: none;
    box-shadow: none !important;
}

.ip-discount-code input::placeholder {
    color: #a7aab0;
}

.tf-btn,
.ip-discount-code button,
.action-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    border: 0 !important;
    min-height: 56px;
    padding: 0 32px !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

.ip-discount-code button {
    min-width: 136px;
}

/* summary box */
.fl-sidebar-cart {
    top: 25px;
}

.box-order-summary {
    background: #f5f3f1;
    border-radius: 8px;
    padding: 24px;
    /* margin-left: 24px; */
    color: #111;
    border: 0;
}

.notification-progress {
    margin-bottom: 28px;
}

.notification-progress p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 20px;
    color: #111;
}

.notification-progress .text-primary,
.notification-progress .woocommerce-Price-amount {
    color: #e04634 !important;
    font-weight: 700;
}

.progress-cart {
    position: relative;
    height: 4px;
    background: #e5e5e5;
    border-radius: 99px;
    overflow: visible;
}

.progress-cart .value {
    position: relative;
    height: 100%;
    background: #56ad38;
    border-radius: 99px;
    min-width: 8px;
}

.progress-cart .round {
    position: absolute;
    right: -7px;
    top: 50%;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 1px solid #56ad38;
    border-radius: 50%;
    transform: translateY(-50%);
}

.progress-cart .round::after {
    content: "🚚";
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 8px;
    transform: translate(-50%, -50%);
}

.box-order-summary .title {
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    margin: 0 0 18px;
    color: #111;
}

.box-order-summary .subtotal,
.box-order-summary .discount,
.box-order-summary .fee,
.box-order-summary .tax-rate,
.box-order-summary .tax-total {
    padding: 14px 0;
    border-bottom: 1px solid #e2e0de;
    font-size: 14px;
    line-height: 22px;
}

.box-order-summary p {
    margin: 0;
}

.box-order-summary .subtotal p,
.box-order-summary .discount p,
.box-order-summary .fee p,
.box-order-summary .tax-rate p,
.box-order-summary .tax-total p,
.box-order-summary .ship > p {
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.box-order-summary .subtotal .total,
.box-order-summary .discount .total,
.box-order-summary .fee .total,
.box-order-summary .tax-rate .total,
.box-order-summary .tax-total .total {
    color: #111;
    font-size: 14px;
    font-weight: 500;
}

/* shipping */
.box-order-summary .ship {
    display: grid;
    grid-template-columns: 34% 66%;
    gap: 0;
    padding: 16px 0 20px;
    border-bottom: 1px solid #e2e0de;
}

.box-order-summary .ship > p {
    padding-top: 0;
}

.box-order-summary .box-check-payment {
    width: 100%;
}

.box-order-summary ul#shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box-order-summary ul#shipping_method li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 10px;
    color: #111;
    font-size: 14px;
    line-height: 20px;
}

.box-order-summary ul#shipping_method li:last-child {
    margin-bottom: 0;
}

.box-order-summary ul#shipping_method input[type="radio"] {
    margin-top: 3px;
    accent-color: #111;
}

.box-order-summary ul#shipping_method label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    color: #111;
}

.box-order-summary .woocommerce-shipping-destination,
.box-order-summary .woocommerce-shipping-calculator {
    margin-top: 12px;
    font-size: 13px;
    line-height: 21px;
    color: #111;
}

.box-order-summary .woocommerce-shipping-destination strong {
    font-weight: 700;
}

.box-order-summary .shipping-calculator-button {
    color: #111 !important;
    text-decoration: none !important;
    font-size: 13px;
}

/* total */
.total-order {
    margin: 20px 0 18px;
    padding: 0;
    color: #111;
}

.total-order span:first-child {
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
}

.total-order .each-total-price,
.total-order .order-total,
.total-order .woocommerce-Price-amount {
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    color: #111 !important;
}

.total-order strong {
    font-weight: 600;
}

/* checkbox */
.check-agree {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.check-agree input {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    accent-color: #111;
}

.check-agree label {
    margin: 0;
    color: #111;
    font-size: 13px;
    line-height: 20px;
}

.check-agree a {
    color: #111 !important;
    text-decoration: underline !important;
    font-weight: 500;
}

/* checkout */
.action-checkout {
    width: 100%;
    height: 56px;
    min-height: 56px;
    margin-bottom: 14px;
}

.action-checkout.disabled {
    background: #999 !important;
    opacity: 1;
    pointer-events: none;
}

.list-ver .link-underline {
    display: inline-block;
    margin-top: 0;
    color: #111 !important;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    text-decoration: none !important;
}

/* cross sells */
.ks-cart-cross-sells {
    padding-top: 60px;
}

.ks-cart-cross-sells .sect-heading {
    margin-bottom: 24px;
}

.ks-cart-cross-sells h4 {
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    color: #111;
}

/* remove Woo extra spacing/borders */
.woocommerce-cart-form table.shop_table {
    border: 0 !important;
}

.woocommerce-cart-form table.shop_table td,
.woocommerce-cart-form table.shop_table th {
    border-left: 0 !important;
    border-right: 0 !important;
}

.woocommerce-cart-form .product-remove {
    display: none;
}

/* responsive */
@media (max-width: 991px) {
    .ks-cart-page .col-lg-8,
    .ks-cart-page .col-lg-4 {
        width: 100%;
    }

    .box-order-summary {
        margin-left: 0;
        margin-top: 34px;
    }
}

@media (max-width: 767px) {
    .ks-cart-page-title h3 {
        font-size: 28px;
    }

    .tf-table-page-cart thead {
        display: none;
    }

    .tf-cart_item,
    .tf-cart_item td {
        display: block;
        width: 100% !important;
    }

    .tf-cart_item {
        padding: 20px 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .tf-cart_item td {
        padding: 8px 0;
        border-bottom: 0;
    }

    .cart_product {
        min-width: 100%;
        align-items: flex-start;
    }

    .cart_product .img-prd {
        width: 88px;
        min-width: 88px;
        height: 116px;
    }

    .cart_price,
    .cart_quantity,
    .tf-cart_item td.text-end {
        padding-left: 110px;
        text-align: left !important;
    }

    .ip-discount-code {
        flex-direction: column;
    }

    .ip-discount-code button {
        width: 100%;
    }

    .box-order-summary .ship {
        display: block;
    }

    .box-order-summary .ship > p {
        margin-bottom: 12px;
    }
}




.tf-cart_item .cart_product .img-prd { height: auto; }


.tf-cart_item .cart_remove.tf-btn-line-3.type-primary { font-size: 10px; 
/* width: stretch; */
}

.tf-cart_item .cart_remove.tf-btn-line-3.type-primary a.remove.text-caption-01.fw-semibold {

color: #e04634 !important;
background: transparent;

}