﻿.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;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}

.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;

}

/* Cart hero based on Koreanshop support/contact page style */
.woocommerce-cart .ks-cart-page-title {
    margin: 0;
    padding: 58px 0 70px !important;
    background: #11202d !important;
    color: #fff;
}

.woocommerce-cart .ks-cart-page-title .main-page-title {
    text-align: left;
}

.woocommerce-cart .ks-cart-page-title .breadcrumbs {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.woocommerce-cart .ks-cart-page-title .breadcrumbs a,
.woocommerce-cart .ks-cart-page-title .breadcrumbs p,
.woocommerce-cart .ks-cart-page-title .breadcrumbs i {
    color: rgba(255, 255, 255, .7) !important;
}

.ks-cart-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: center;
}

.ks-cart-pill {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 210, 63, .14);
    color: #ffd23f;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.woocommerce-cart .ks-cart-page-title h3 {
    max-width: 700px;
    margin: 0 0 14px;
    color: #fff;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
}

.woocommerce-cart .ks-cart-page-title .text-body-1 {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .9) !important;
    font-size: 16px;
    line-height: 26px;
}

.ks-cart-hero-summary {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
}

.ks-cart-hero-summary h5 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.ks-cart-hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.ks-cart-hero-metrics div {
    padding: 13px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.ks-cart-hero-metrics span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.ks-cart-hero-metrics strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.ks-cart-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    border-radius: 8px;
    background: #ef4444;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.ks-cart-hero-btn:hover {
    background: #dc2626;
}

.ks-cart-benefits {
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

.ks-cart-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ks-cart-benefit {
    min-height: 150px;
    padding: 22px;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.ks-cart-benefit-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff1f1;
    color: #ef4444;
    font-size: 12px;
    font-weight: 800;
}

.ks-cart-benefit h6 {
    margin: 0 0 9px;
    color: #101828;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}

.ks-cart-benefit p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 22px;
}

.woocommerce-cart .ks-cart-page {
    padding-top: 34px !important;
}

@media (max-width: 991px) {
    .ks-cart-hero,
    .ks-cart-benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ks-cart-hero-summary {
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .woocommerce-cart .ks-cart-page-title {
        padding: 38px 0 56px !important;
    }

    .ks-cart-hero,
    .ks-cart-benefit-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce-cart .ks-cart-page-title h3 {
        font-size: 30px;
    }

    .ks-cart-benefit {
        min-height: auto;
    }
}

/* Order summary shipping clarity */
.woocommerce-cart .box-order-summary .ship {
    display: block;
}

.woocommerce-cart .box-order-summary .ship > p {
    margin: 0 0 12px;
    color: #101828;
    font-size: 14px;
    font-weight: 800;
}

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

.woocommerce-cart .box-order-summary .woocommerce-shipping-totals,
.woocommerce-cart .box-order-summary .woocommerce-shipping-totals th,
.woocommerce-cart .box-order-summary .woocommerce-shipping-totals td {
    display: block;
    width: 100%;
}

.woocommerce-cart .box-order-summary .woocommerce-shipping-totals th {
    margin: 0 0 8px;
    padding: 0;
    color: #101828;
    font-size: 13px;
    line-height: 18px;
    font-weight: 800;
}

.woocommerce-cart .box-order-summary .woocommerce-shipping-totals td {
    padding: 0;
}

.woocommerce-cart .box-order-summary ul#shipping_method {
    display: grid;
    gap: 10px;
    margin: 0;
}

.woocommerce-cart .box-order-summary ul#shipping_method li {
    margin: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.woocommerce-cart .box-order-summary ul#shipping_method label {
    display: block;
    color: #101828;
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
}

.woocommerce-cart .box-order-summary ul#shipping_method .amount {
    color: #ef4444;
    font-weight: 800;
}

.woocommerce-cart .box-order-summary .woocommerce-shipping-destination {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    color: #475467;
    font-size: 12px;
    line-height: 19px;
}

.woocommerce-cart .box-order-summary .woocommerce-shipping-destination strong {
    color: #101828;
}

.woocommerce-cart .box-order-summary .woocommerce-shipping-calculator {
    margin-top: 8px;
}

.woocommerce-cart .box-order-summary .shipping-calculator-button {
    display: inline-flex;
    color: #ef4444 !important;
    font-size: 12px;
    line-height: 18px;
    font-weight: 800;
    text-decoration: none !important;
}

/* Professional shipping cards inside order summary */
.box-order-summary .ship.ks-summary-shipping {
    display: block !important;
    padding: 18px 0 20px;
    border-bottom: 1px solid #e6e3df;
}

.box-order-summary .ship.ks-summary-shipping .box-check-payment {
    display: block;
    width: 100% !important;
    max-width: none;
}

.box-order-summary .ship.ks-summary-shipping > p {
    min-width: 0 !important;
    margin: 0 0 12px;
    color: #101828;
    font-size: 14px;
    line-height: 20px;
    font-weight: 800;
}

.ks-summary-shipping-list {
    display: grid;
    gap: 12px;
    width: 100%;
}

.ks-summary-shipping-card {
    width: 100%;
    box-sizing: border-box;
    padding: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.ks-summary-shipping-card.is-international {
    border-color: #fac5c0;
    background: #fff8f7;
}

.ks-summary-shipping-head {
    display: block;
    margin-bottom: 10px;
}

.ks-summary-shipping-head span {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef2f6;
    color: #344054;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.ks-summary-shipping-card.is-international .ks-summary-shipping-head span {
    background: #fff1f1;
    color: #ef4444;
}

.ks-summary-shipping-head strong {
    display: block;
    margin-top: 9px;
    color: #101828;
    font-size: 14px;
    line-height: 20px;
    font-weight: 800;
    text-align: left;
}

.ks-summary-shipping-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
}

.ks-summary-shipping-rate span {
    color: #475467;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
}

.ks-summary-shipping-rate strong {
    color: #101828;
    font-size: 14px;
    line-height: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.ks-summary-shipping-items {
    display: grid;
    gap: 7px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.ks-summary-shipping-items li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #475467;
    font-size: 12px;
    line-height: 18px;
}

.ks-summary-shipping-items span {
    color: #101828;
    font-weight: 800;
    white-space: nowrap;
}

.ks-customs-consent {
    align-items: flex-start !important;
    gap: 11px !important;
    padding: 12px 0 2px;
    border-top: 1px solid #eef2f6;
}

.ks-customs-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-color: #cbd5e1;
}

.ks-customs-consent label {
    color: #475467;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
    text-align: left;
}

.ks-customs-consent .ks-customs-more {
    margin-left: 2px;
    color: #cf3033;
    font-weight: 800;
    text-underline-offset: 3px;
}

.ks-customs-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ks-customs-consent-modal.is-open {
    display: flex;
}

.ks-customs-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(4px);
}

.ks-customs-consent-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .34);
}

.ks-customs-consent-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    transition: background .18s ease, transform .18s ease;
}

.ks-customs-consent-close:hover,
.ks-customs-consent-close:focus {
    background: rgba(255, 255, 255, .18);
    transform: rotate(90deg);
}

.ks-customs-consent-head {
    padding: 28px 32px 26px;
    background: linear-gradient(135deg, #111827, #253347);
    color: #ffffff;
}

.ks-customs-consent-head span {
    display: inline-flex;
    width: fit-content;
    min-height: 26px;
    align-items: center;
    margin-bottom: 14px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(207, 48, 51, .18);
    color: #ffd7d7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ks-customs-consent-head h3 {
    margin: 0 42px 8px 0;
    color: #ffffff;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
    font-weight: 900;
}

.ks-customs-consent-head p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.ks-customs-consent-body {
    display: grid;
    gap: 12px;
    padding: 24px 32px;
    color: #344054;
}

.ks-customs-consent-body p {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    background: #fbfcfe;
    font-size: 14px;
    line-height: 1.62;
}

.ks-customs-consent-body p strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-weight: 900;
}

.ks-customs-consent-body .ks-customs-consent-link {
    border-color: #ffe3c2;
    background: #fff8ef;
}

.ks-customs-consent-link a {
    color: #cf3033;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ks-customs-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 32px 24px;
    border-top: 1px solid #e5e7eb;
    background: #fbfcfe;
}

.ks-customs-consent-actions button {
    min-width: 118px;
    min-height: 46px;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ks-customs-consent-actions button:hover,
.ks-customs-consent-actions button:focus {
    transform: translateY(-1px);
}

.ks-customs-consent-cancel {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #344054;
}

.ks-customs-consent-agree {
    border: 0;
    background: #cf3033;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(207, 48, 51, .22);
}

body.ks-customs-consent-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .ks-customs-consent-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .ks-customs-consent-dialog {
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        border-radius: 18px 18px 12px 12px;
    }

    .ks-customs-consent-head {
        padding: 22px 18px 18px;
    }

    .ks-customs-consent-head h3 {
        margin-right: 40px;
    }

    .ks-customs-consent-body {
        padding: 18px;
    }

    .ks-customs-consent-body p {
        padding: 13px 14px;
    }

    .ks-customs-consent-actions {
        padding: 14px 18px 18px;
    }

    .ks-customs-consent-actions button {
        flex: 1;
    }
}

