.page.page-template-default .site-content {
    padding: 0px 0 40px;
}
.titlebar_section {
    background-image: url(/img/kratom/titlebar_bg.webp);
    background-size: cover;
    background-position: 50%;
    padding-bottom: 140px;
    padding-top: 80px;
}
.titlebar_section h1 {
    color: #fff;
    font-size: 50px;
    font-family: "Bree Serif", serif;
    text-transform: uppercase;
    text-shadow: -3px 3px 5px rgba(0, 0, 0, .8);
    margin-bottom: 0;
    margin-top: 0;
}
.after_banner img {
    margin-top: -135px;
    max-width: unset;
}
main#content {
    max-width: 1440px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-top: 60px;
    margin-bottom: 70px;
}
.page-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.page-content .woocommerce {
    max-width: 100%;
    width: 100%;
}
form.woocommerce-cart-form {
    width: 67%;
    padding-right: 40px;
    float: left;
}
.woocommerce .cart_totals, .woocommerce-page .cart_totals {
    width: 33%;
    float: left;
}
.woocommerce table.shop_table {
    border: 0 solid rgba(0, 0, 0, .1);
    border-spacing: 0;
    background: transparent;
    overflow: hidden;
}
.woocommerce-cart table.shop_table thead {
    display: none;
}
.woocommerce-cart tr.cart_item {
    position: relative;
}
.woocommerce-cart table.cart img {
    width: 50px;
}
.woocommerce table.shop_table .product-name a {
    color: #333;
    font-size: 15px;
    font-weight: 400;
    max-width: 250px;
    white-space: break-spaces;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.woocommerce table.shop_table .cart_item td {
    vertical-align: middle;
    text-align: center;
    border-color: #e5e5e5;
    padding: 10px 5px;
    box-sizing: border-box;
}
.woocommerce table.shop_table .cart_item td span.woocommerce-Price-amount.amount bdi {
    color: #000000;
}
td.product-subtotal span.woocommerce-Price-amount.amount {
    font-weight: 400;
}
td.product-subtotal span.woocommerce-Price-amount.amount bdi {
    font-weight: 400;
}
td.product-price span.woocommerce-Price-amount.amount bdi {
    font-weight: 700;
}
.woocommerce a.remove {
    font-size: 20px;
    color: #484848 !important;
}
.woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    border-radius: 0;
    height: 49px;
    margin: 0;
    padding: 0 20px;
    font-size: 14px;
}
.woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    outline: 0;
    line-height: 24px;
    width: 160px;
}
.woocommerce table.cart td.actions button {
    background-color: #35492d;
    border-color: #35492d;
    font-family: 'Roboto';
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    width: auto;
    border-radius: 0;
    color: #fff !important;
    letter-spacing: 1px;
    padding: 11px 25px !important;
    line-height: 27px;
    height: 49px;
}
.shop_table td.actions {
    padding: 20px 0 0 0 !important;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button {
    background-color: #35492d;
    border-radius: 50px;
    color: #fff;
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0px;
    padding: 18px 10px 17px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto';
    width: 100%;
}
.page-content .woocommerce form.woocommerce-cart-form table.shop_table tr.cart_item:first-child td.product-thumbnail {
    border-top: 1px solid #e5e5e5;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #fab333;
    border-color: #fab333;
}
.page-content .woocommerce form.woocommerce-cart-form table td.actions button.button:hover{
    background-color: #fab333;
    border-color: #fab333;
}
.woocommerce-cart .wc-proceed-to-checkout {
    padding-top: 0;
}
.woocommerce .cart_totals_inner, .woocommerce-page .cart_totals_inner {
    background: #f9f9f9;
    padding: 20px;
    position: relative;
}
.cart_totals_inner:before {
    background-color: #e3e1e1;
    content: "";
    height: 1px;
    left: 20px;
    position: absolute;
    top: 33px;
    transition: all .4s ease 0s;
    width: calc(100% - 40px);
    z-index: 1;
}
.cart_totals_inner h2 {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding-right: 18px;
    background-color: #f9f9f9;
    position: relative;
    z-index: 9;
}
.woocommerce table.shop_table {
    border-radius: 0;
    margin-bottom: 0px;
}
.woocommerce .cart_totals_inner table.shop_table tbody tr td, .woocommerce .cart_totals_inner table.shop_table tbody tr th {
    padding-left: 0;
    padding-right: 0;
    font-family: "Bree Serif";
    line-height: 1.5;
    font-size: 18px;
    font-weight: normal;
    color: #35492d;
    text-transform: capitalize;
    letter-spacing: unset;
    border: unset;
    padding-top: 10px !important;
    padding-bottom: 0;
}
.woocommerce .cart_totals_inner table.shop_table tbody tr td {
    text-align: right;
}
/* Recurring totals (WooCommerce Subscriptions) — highlighted band in the totals table. */
.woocommerce .cart_totals_inner table.shop_table tbody tr.recurring-total th,
.woocommerce .cart_totals_inner table.shop_table tbody tr.recurring-total td,
.woocommerce .cart_totals_inner table.shop_table tbody tr.recurring-totals th {
    background: #D4E4C2;
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.woocommerce .cart_totals_inner table.shop_table tbody tr.recurring-total th,
.woocommerce .cart_totals_inner table.shop_table tbody tr.recurring-total td {
    font-size: 16px;
    padding-top: 7px !important;
}
.woocommerce-cart #yith-par-message-reward-cart {
    display: none;
}

.woocommerce-shipping-destination {
    display: none !important;
}

.cart_totals table.shop_table td {
    padding: 6px 10px 6px 10px !important;
    width: 50% !important;
}
.woocommerce ul#shipping_method li label, .woocommerce .cart_totals_inner ul#shipping_method .amount, .woocommerce .cart_totals_inner p.woocommerce-shipping-destination {
    display: inline;
    font-family: "Bree Serif";
    line-height: 1.2;
    font-size: 18px;
    font-weight: normal;
    color: #35492d;
    text-transform: capitalize;
    letter-spacing: unset;
}
.comments-area a, .page-content a {
    text-decoration: unset;
}
.woocommerce .cart-collaterals .cross-sells ul.products .product:nth-child(4n+1), .woocommerce-page .cart-collaterals .cross-sells ul.products .product:nth-child(4n+1) {
    clear: both;
}
.list_content .star_container span.ind_cnt.high {
    font-size: 14px !important;
    top: -3px;
    position: relative !important;
    width: auto !important;
    display: inline-block !important;
}
.woocommerce div.product .woocommerce-tabs .panel.opened, span.price {
    display: block;
}
.woocommerce .cart-collaterals .cross-sells, .woocommerce-page .cart-collaterals .cross-sells {
    width: 100%;
}
.woocommerce .cart-collaterals .cross-sells > h2 {
    font-size: 40px;
    letter-spacing: 0;
    margin: 30px 0 38px;
    text-transform: capitalize;
    font-style: normal;
    text-align: left;
}
.woocommerce table.shop_table tr.cart_item td .quantity {
    display: inline-block;
    border-radius: 21px;
    background-color: #ffffff;
    border: 1px solid #e9e9e9;
    padding: 0px 5px;
    position: relative;
}
.woocommerce table.shop_table button.minus {
    height: 40px;
    border: unset;
    padding: 0px 6px;
    float: left;
    border-right: unset;
    width: 20px;
    background: transparent;
}
.quantity input.qty {
    border: unset;
    text-align: center !important;
    display: inline;
    padding: 8px;
}
.woocommerce table.shop_table .quantity .qty {
    float: left;
    height: 40px;
}
.woocommerce table.shop_table button.plus {
    height: 40px;
    border: unset;
    padding: 0px 6px;
    float: left;
    border-left: unset;
    width: 20px;
    background: transparent;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Hide number input spinners (Firefox) */
input[type=number] {
    -moz-appearance: textfield;
}
.woocommerce a.remove:hover {
    background: #35492d;
}
.woocommerce-message {
    font-size: 13px;
    line-height: 20px;
}
/* The notices wrapper is a flex item on the cart, so the 24px column gap already
   provides the spacing below it — its own margin stacked on top of that. */
.woocommerce-cart .woocommerce-message {
    margin-bottom: 0;
}
.woocommerce .blockUI.blockOverlay:before, .woocommerce .loader:before {
    height: 200px;
    width: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px;
    display: block;
    position: fixed;
    content: "";
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
    background-image: url(https://kratomspot.com/img/kratom/icons/Spinner-1s-200px.gif) !important;
    background-position: center center;
    background-size: cover;
    line-height: 7;
    text-align: center;
    font-size: 2em;
    color: white;
    background-color: white;
}
ul.products .product a.button.add_to_cart_button.ajax_add_to_cart + .screen-reader-text + a.button.yith-wcqv-button {
    display: none;
}
@media only screen and (max-width:991px){
    form.woocommerce-cart-form {
        width: 100%;
        padding-right: 0px;
        float: left;
    }
    .woocommerce .cart_totals, .woocommerce-page .cart_totals {
        width: 100%;
    }
    ul.archive-product-content, ul.products {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .after_banner img {
        margin-top: -95px;
    }
}
@media only screen and (min-width: 1141px) and (max-width: 1194px) {
    .woocommerce table.shop_table tr.cart_item td .quantity {
        padding: 0px 5px;
        min-width: 115px;
    }
}
@media only screen and (max-width: 768px) {
    table.shop_table .cart_item td.product-thumbnail {
        padding: 10px;
    }
    .woocommerce table.shop_table .product-name a {
        text-align: right;
    }
    .woocommerce .cart-collaterals .cross-sells > h2 {
        font-size: 22px;
    }
    .page-content {
        display: block;
    }
    .woocommerce table.shop_table .cart_item td.product-thumbnail {
        padding: 10px !important;
    }
    .woocommerce table.shop_table .cart_item td.product-thumbnail {
        text-align: center !important;
    }
    .woocommerce-cart table.cart img {
        width: 100px;
    }
    .woocommerce table.shop_table .cart_item td {
        width: 100%;
        display: block !important;
        position: relative;
    }
    table.shop_table .cart_item td::before {
        content: attr(data-title) ":";
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0px 10px 0 0;
        box-sizing: border-box;
        font-weight: bold !important;
        font-size: 13px;
    }
    table.shop_table .cart_item td.product-remove {
        padding: 5px;
        width: 32px;
    }
    table.shop_table .cart_item td.product-remove {
        position: absolute;
        border: none;
        z-index: 2;
        right: 0px;
        top: 0;
    }
    .woocommerce-cart-form .coupon {
        width: 100%;
        padding-bottom: 0 !important;
    }
    .woocommerce-cart-form .coupon input {
        margin-right: 0 !important;
        width: 100% !important;
    }
    .woocommerce table.cart td.actions button {
        width: 100% !important;
        margin-top: 7px !important;
    }
    .woocommerce table.shop_table tr.cart_item:nth-child(even) td {
        background: rgba(0, 0, 0, 0.02);
    }
    .woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background-color: transparent;
    }
    .woocommerce .cart-collaterals .cross-sells ul.products .product:nth-child(2n+1), .woocommerce-page .cart-collaterals .cross-sells ul.products .product:nth-child(2n+1) {
        clear: both;
    }
    ul.archive-product-content, ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
    .woocommerce .cart-collaterals .cross-sells h2{ 
        display: inline-block;
        width: 100%;
    }
    .woocommerce table.shop_table .cart_item td.product-thumbnail::before {
        display: none;
    }
    .cart_totals table.shop_table td {
        width: 100% !important;
        padding: 6px 12px 6px 0px !important;
    }
    .woocommerce table.shop_table_responsive tr td::before, 
    .woocommerce-page table.shop_table_responsive tr td::before {
        font-weight: 400;
    }
    table.shop_table_responsive tbody tr.cart_item td[data-title]::before {
        content: attr(data-title) ": ";
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        padding: 0px 10px 0 0 !important;
        box-sizing: border-box !important;
        font-weight: bold !important;
        font-size: 13px !important;
        color: #000000;
    }
    body.woocommerce-cart .woocommerce table.cart td.actions .coupon input#coupon_code{
        flex: 50%;
    }
    body.woocommerce-cart .woocommerce table.cart td.actions .coupon button[name="apply_coupon"] {
        margin-top: 0px !important;
        flex: 50%;
    }
}
@media only screen and (max-width: 767px) {
    .titlebar_section {
        padding-bottom: 25px;
        padding-top: 25px;
    }
    .titlebar_section h1 {
        font-size: 24px;
    }
    body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
        margin-bottom: 10px;
    }
    body.woocommerce-cart .woocommerce table.cart td.actions .coupon input#coupon_code {
        height: 39px !important;
        min-width: 120px !important;
        flex: 50%;
    }
    body.woocommerce-cart .woocommerce table.cart td.actions .coupon button[name="apply_coupon"] {
        height: 39px !important;
        margin-top: 0px !important;
        flex: 50%;
    }
    .woocommerce table.cart td.actions button {
        height: 39px !important;
        padding: 7px 25px !important;
    }
}
@media only screen and (min-width:992px) and (max-width:1140px){
    .woocommerce table.shop_table tr.cart_item td .quantity {
        display: flex;
    }
}
.cart-free-shipping {
    margin-bottom: 15px;
    padding: 10px 25px 35px 10px;
    border: 1px solid #fab333;
    border-radius: 5px;
}
.cart-free-shipping .free-shipping-message {
    font-weight: 500;
    margin-bottom: 5px;
    color: #6c757d;
}
.cart-free-shipping .free-shipping-message strong {
    color: #fab333;
}
.cart-free-shipping .free-shipping-progress {
    background: #eee;
    border-radius: 20px;
    height: 6px;
    width: 100%;
    position: relative;
}
.cart-free-shipping .free-shipping-progress:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 0px solid #fab333;
    position: absolute;
    border-bottom: 10px solid #fab333;
    bottom: -12px;
    right: -10px;
}
.cart-free-shipping .free-shipping-progress:after {
    content: '$100';
    display: inline-block;
    float: right;
    background-color: #fab333;
    padding: 2px 7px;
    color: #ffffff;
    border-radius: 5px;
    margin-top: 10px;
    margin-right: -20px;
    font-size: 12px;
    line-height: 16px;
}
.cart-free-shipping .free-shipping-progress .progress-bar {
    background: #35492d;
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
    overflow: visible;
    position: relative;
    border-radius: 5px;
}
.cart-free-shipping .free-shipping-progress .progress-bar:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 0px solid #fab333;
    position: absolute;
    border-bottom: 10px solid #fab333;
    bottom: -12px;
    right: -10px;
}
.cart-free-shipping .free-shipping-progress .progress-bar:after {
    content: var(--progress-text);
    display: inline-block;
    position: absolute;
    right: -20px;
    float: right;
    top: 16px;
    background-color: #fab333;
    padding: 2px 7px;
    color: #ffffff;
    border-radius: 5px;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
}
.cart-side_bar-total.cart_totals:after {
    content: '';
    background-image: url('/wp-content/uploads/2025/11/guarantee-badge.png');
    height: 144px;
    width: 100%;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 20px;
    background-position: center center;
}

/* ==========================================================================
   Cart page — premium
   ==========================================================================
   Carries the product page's first-fold language across to the cart: a cream
   field running edge to edge, the item list as a white panel, and the totals
   as a deep green card so checkout is the most prominent thing on the page.

   Scope: every rule is prefixed with body.woocommerce-cart, which also buys the
   specificity needed to beat the older rules earlier in this file — several are
   four classes deep, e.g.
   ".woocommerce .cart_totals_inner table.shop_table tbody tr td".

   The free-shipping panel deliberately uses the plainer treatment: a neutral
   white card, with the pointer and "$100" chip dropped.

   Anything sitting on the green card needs an explicit light colour; inheriting
   the page's dark ink would make it disappear. */

/* ------------------------------------------------------------ cream field */

body.woocommerce-cart #content {
    margin-top: 0px;
}

/* ------------------------------------------------------------ page heading

   Replaces the 280px .titlebar_section on this page only — see the branch added
   for is_cart() in header.php. 64px instead, so the items and the checkout
   button land in the opening view rather than below it. */

.ks-cart-head {
    border-bottom: 1px solid #e6e2d4;
    background: #ffffff;
}

.ks-cart-head__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 0;
}

.ks-cart-head__title {
    margin: 0;
    padding: 0;
    font-family: 'Bree Serif', serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.2;
    color: #212529;
    text-transform: none;
}

.ks-cart-head__count {
    font-family: Roboto, sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #6f7570;
}

.ks-cart-head__assure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #6f7570;
    white-space: nowrap;
}

.ks-cart-head__assure svg {
    color: #4a6230;
    flex: none;
}

.ks-cart-head__assure b {
    color: #3d423c;
    font-weight: 600;
}

@media only screen and (max-width: 575px) {
    /* The reassurance line wraps badly beside the title on narrow screens, so it
       drops below it rather than squeezing the heading. */
    .ks-cart-head__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 13px 0;
    }

    .ks-cart-head__title {
        font-size: 22px;
    }
}

/* Flex rather than the inherited floats, which is what lets the two columns sit
   side by side without the shorter one being cleared oddly.
   align-items: flex-start, not stretch — each panel is bordered, so stretching
   the shorter one to match its neighbour just drew its bottom border a long way
   below its own content. Each card now ends where its content ends. */
body.woocommerce-cart .woocommerce {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
    padding: 26px 0 34px;
}

body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce > .cart-collaterals {
    flex: 0 0 100%;
}

body.woocommerce-cart form.woocommerce-cart-form {
    float: none;
    width: auto;
    flex: 1 1 0;
    min-width: 0;
}

body.woocommerce-cart .cart-side_bar-total.cart_totals {
    float: none;
    width: auto;
    flex: 0 0 400px;
}

/* An empty collaterals block would still reserve height below the cart. */
body.woocommerce-cart .cart-collaterals:not(:has(*)) {
    display: none;
}

/* ------------------------------------------------------------- item panel */

/* The page behind this is white, so the panel needs a border to read as one —
   a shadow alone is not enough separation. */
body.woocommerce-cart form.woocommerce-cart-form {
    background: #ffffff;
    border: 1px solid #e6e2d4;
    border-radius: 16px;
    padding: 20px 22px;
}

/* --------------------------------------------------------- free shipping */

body.woocommerce-cart .cart-free-shipping {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid #e6e2d4;
    border-radius: 12px;
    background: #ffffff;
}

body.woocommerce-cart .cart-free-shipping .free-shipping-message {
    margin-bottom: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: #212529;
}

body.woocommerce-cart .cart-free-shipping .free-shipping-message strong {
    color: #4a6230;
}

body.woocommerce-cart .cart-free-shipping .free-shipping-progress {
    height: 8px;
    border-radius: 6px;
    background: #e4e1d3;
    overflow: hidden;
}

/* The old bar hung a pointer and a "$100" chip off its right edge; both go. */
body.woocommerce-cart .cart-free-shipping .free-shipping-progress::before,
body.woocommerce-cart .cart-free-shipping .free-shipping-progress::after,
body.woocommerce-cart .cart-free-shipping .free-shipping-progress .progress-bar::before,
body.woocommerce-cart .cart-free-shipping .free-shipping-progress .progress-bar::after {
    content: none;
}

body.woocommerce-cart .cart-free-shipping .free-shipping-progress .progress-bar {
    background: #4a6230;
    border-radius: 6px;
}

/* --------------------------------------------------------------- rows */

/* The cell has to be widened too — it sizes to the old 50px thumbnail, and the
   image's max-width resolves against it. */
body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
    width: 92px;
}

/* !important because ".woocommerce-cart table.cart img" sets width in both
   woocommerce.css (32px) and earlier in this file (50px). The selector below
   already out-specifies both, but those two rules are the reason a plain
   declaration here is easy to lose track of — keep the flag if you edit this. */
body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e6e2d4;
    border-radius: 12px;
    object-fit: contain;
}

body.woocommerce-cart table.shop_table.cart td.product-name a {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2420;
}

body.woocommerce-cart table.shop_table.cart td.product-subtotal {
    font-size: 16px;
    font-weight: 700;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #e6e2d4;
    border-radius: 50%;
    background: #ffffff;
    color: #8a8f88;
    font-size: 15px;
    line-height: 1;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
    background: #233a23;
    border-color: #233a23;
    color: #ffffff;
}

/* -------------------------------------------------------- coupon + update */

/* ".woocommerce table.cart td.actions button" already colours both buttons, and
   it is more specific than a plain [name="…"] selector — which left Update cart
   as white text on the white background set here. These repeat the full chain so
   they win outright. */
/* Coupon field and Apply button read as one control rather than a square input
   butting into a rounded pill. The rounding and the border live on the wrapper,
   the children are stripped flat, and overflow: hidden clips the button's square
   corners to the wrapper's radius.

   The input is addressed by id because the theme sets border-radius: 0 on cart
   inputs with a selector a class chain could not beat. */
body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #ffffff;
    flex-wrap: wrap;
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon input#coupon_code {
    border: 1px solid #e6e2d4;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    height: 49px;
    min-width: 170px;
    padding: 0 20px;
    background: transparent;
}

/* !important on the radius only: the button carries a 24px pill radius from an
   earlier rule, which left white wedges where it meets the input. The wrapper
   supplies the outer rounding now, so the button itself must be square. */
body.woocommerce-cart .woocommerce table.cart td.actions .coupon button[name="apply_coupon"] {
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
    margin: 0;
    height: 49px;
    background-color: #233a23;
    border-color: #233a23;
    color: #ffffff;
}

/* Update cart keeps a dark fill rather than the ghost treatment it has in the
   mockup. ".woocommerce table.cart td.actions button" forces
   "color: #fff !important" on every button in this row, so a white button left
   the label invisible — and overriding that colour proved unreliable. Giving the
   button a dark fill makes the forced white text correct instead of fighting it.
   Mid green keeps it clearly secondary to the deep green Apply coupon. */
body.woocommerce-cart .woocommerce table.cart td.actions button[name="update_cart"] {
    border-radius: 24px;
    background-color: #4a6230;
    border-color: #4a6230;
}

body.woocommerce-cart .woocommerce table.cart td.actions button[name="update_cart"]:disabled {
    opacity: .55;
    cursor: default;
}

/* ------------------------------------------------------------ summary card */

body.woocommerce-cart .cart-side_bar-total.cart_totals {
    display: flex;
    flex-direction: column;
    background: #f7f6f0;
    border: 1px solid #e6e2d4;
    border-radius: 16px;
    padding: 20px;
}

/* Checkout moves below the totals instead of sitting above them. */
body.woocommerce-cart .cart-side_bar-total .cart_totals_inner {
    order: 1;
}

body.woocommerce-cart .cart-side_bar-total .wc-proceed-to-checkout {
    order: 2;
    padding-top: 16px;
    padding-bottom: 0px;
}

/* Guarantee graphic replaced by the icon row added in functions.php. */
body.woocommerce-cart .cart-side_bar-total.cart_totals::after {
    content: none;
}

body.woocommerce-cart .woocommerce .cart_totals_inner {
    background: none;
    padding: 0;
}

body.woocommerce-cart .cart_totals_inner::before {
    content: none;
}

/* The heading carries a light background so it can sit over the divider rule that
   ::before draws behind it. The divider is gone, so the background goes too. */
body.woocommerce-cart .cart_totals_inner h2 {
    color: #212529;
    background: transparent !important;
    font-size: 24px;
}

body.woocommerce-cart .cart-side_bar-total,
body.woocommerce-cart .cart-side_bar-total th,
body.woocommerce-cart .cart-side_bar-total td,
body.woocommerce-cart .cart-side_bar-total th *,
body.woocommerce-cart .cart-side_bar-total td * {
    color: #3d423c;
}

body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr th,
body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr td {
    color: #3d423c;
    border-color: #e6e2d4;
}

/* Amounts are coloured separately from their cells, so colouring th/td alone
   leaves the figures at the inherited tone rather than full-strength ink. */
body.woocommerce-cart .cart-side_bar-total .woocommerce-Price-amount,
body.woocommerce-cart .cart-side_bar-total .woocommerce-Price-amount bdi,
body.woocommerce-cart .cart-side_bar-total .woocommerce-Price-currencySymbol,
body.woocommerce-cart .cart-side_bar-total .order-total .amount {
    color: #212529;
}

/* Secondary print steps back without dropping out of contrast. */
body.woocommerce-cart .cart-side_bar-total td small,
body.woocommerce-cart .cart-side_bar-total th small,
body.woocommerce-cart .woocommerce .cart_totals_inner ul#shipping_method li label,
body.woocommerce-cart .woocommerce .cart_totals_inner p.woocommerce-shipping-destination,
body.woocommerce-cart .woocommerce .cart_totals_inner .woocommerce-shipping-destination {
    color: #6f7570;
}

/* The totals "table" is laid out as blocks rather than a real table.
 *
 * Table layout sizes both columns from their widest content, so the label column
 * stayed narrow and every long value — the shipping sentence, the recurring block
 * — was crushed into whatever was left, wrapping one word per line. Setting
 * display:block on the cells alone does not help: the row is still a table-row,
 * so the cells keep the column widths the table computed. The whole chain has to
 * come out of table layout, which is what these three rules do.
 *
 * Rows are then flex: label left, figure right, sized by content instead of by a
 * shared column. Rows whose value is prose opt out into full-width blocks below. */
body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table,
body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody {
    display: block;
    width: 100%;
}

body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    width: 100%;
}

body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr th {
    flex: 0 1 auto;
    text-align: left;
    background: transparent;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr td {
    flex: 0 1 auto;
    text-align: right;
    white-space: nowrap;
}

/* Shipping: its value is a sentence, not a figure, so the row drops out of the
   two-column arrangement and reads left to right across the full width. */
body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr.woocommerce-shipping-totals {
    display: block;
}

/* !important on width because ".cart_totals table.shop_table td" pins every
   totals cell to "width: 50% !important", which is what kept the value column
   half-width and the sentence wrapping. */
body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr.woocommerce-shipping-totals th,
body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr.woocommerce-shipping-totals td {
    display: block;
    width: 100% !important;
    text-align: left;
    white-space: normal;
}

body.woocommerce-cart .woocommerce .cart_totals_inner table.shop_table tbody tr.woocommerce-shipping-totals td {
    padding-top: 2px !important;
    font-size: 13.5px;
    line-height: 1.5;
    color: #6f7570;
}

/* ------------------------------------------------- recurring block (compact)

   Rendered by woocommerce/checkout/recurring-totals.php, which replaces the stock
   row-per-figure table with one line per billing schedule. Picked out in white
   with a green edge — the same device as the points bar on the product page — so
   the subscription part of the order still draws the eye on a light card. */

/* Full width, like the shipping row — the block inside lays itself out. */
body.woocommerce-cart .cart-side_bar-total tr.ks-recurring-row {
    display: block;
    width: 100%;
}

body.woocommerce-cart .cart-side_bar-total tr.ks-recurring-row th.ks-recurring-cell {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    background: none;
    white-space: normal;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring {
    margin-top: 14px;
    padding: 13px 15px;
    background: #ffffff;
    border: 1px solid #d6e3bd;
    border-left: 4px solid #a3c440;
    border-radius: 12px;
    text-align: left;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring__title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4a6230;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring__plan {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring__plan + .ks-recurring__plan {
    border-top: 1px dashed #dcdcd0;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring__name {
    font-weight: 700;
    color: #212529;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring__meta {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: #6f7570;
}

/* The discount figure sits inside the meta line, so it takes that tone rather
   than the full-strength ink the amount rule above would otherwise give it. */
body.woocommerce-cart .cart-side_bar-total .ks-recurring__meta .woocommerce-Price-amount,
body.woocommerce-cart .cart-side_bar-total .ks-recurring__meta .woocommerce-Price-amount bdi,
body.woocommerce-cart .cart-side_bar-total .ks-recurring__meta .woocommerce-Price-currencySymbol {
    color: inherit;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring__amount {
    font-weight: 800;
    white-space: nowrap;
    color: #212529;
}

body.woocommerce-cart .cart-side_bar-total .ks-recurring__note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #6f7570;
}

/* A dark green button on a dark green card would disappear. !important because
   ".cart_totals .wc-proceed-to-checkout a.checkout-button" earlier in this file
   sets the same property to #35492d. */
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    background-color: #fab333 !important;
    color: #3a2a00 !important;
    border-radius: 26px;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #e89f22 !important;
    border-color: #e89f22;
    color: #3a2a00 !important;
}

/* --------------------------------------------------------------- trust row */

body.woocommerce-cart .ks-cart-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

body.woocommerce-cart .ks-cart-trust span {
    display: block;
    padding: 12px 6px;
    text-align: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.35;
    color: #4a5245;
    background: #ffffff;
    border: 1px solid #e6e2d4;
    border-radius: 12px;
}

body.woocommerce-cart .ks-cart-trust svg {
    display: block;
    margin: 0 auto 6px;
    color: #4a6230;
}

@media only screen and (max-width: 991px) {
    body.woocommerce-cart .woocommerce {
        padding: 18px 0 26px;
        gap: 16px;
    }

    /* Stacked: both panels take the full width rather than the 340px basis. */
    body.woocommerce-cart form.woocommerce-cart-form,
    body.woocommerce-cart .cart-side_bar-total.cart_totals {
        flex: 0 0 100%;
        padding: 16px;
    }
}
@media only screen and (min-width:992px) and (max-width:1024px){
    body.woocommerce-cart .cart-side_bar-total.cart_totals {
        flex: 0 0 350px;
    }
}
/* ==========================================================================
   Empty cart
   ==========================================================================
   Left as WooCommerce ships it this was a 271px grey notice and a pale lilac
   "Return to shop" button, both jammed against the left edge of an otherwise
   empty page. The left-edge part is this stylesheet's own doing: .woocommerce is
   a flex row for the two-column layout, so with no table to fill it the two small
   blocks simply sat at the start of the row.
   ========================================================================== */

/* Back to a centred block when there is nothing to lay out in columns. */
body.woocommerce-cart .woocommerce:has(.wc-empty-cart-message) {
    display: block;
    padding: 34px 0 52px;
    text-align: center;
}

body.woocommerce-cart .wc-empty-cart-message {
    max-width: 520px;
    margin: 0 auto;
}

/* .woocommerce-info ships with a tinted bar, a left accent and an ℹ pseudo-icon.
   None of that suits a normal, expected state — an empty cart is not a warning. */
body.woocommerce-cart .cart-empty.woocommerce-info {
    display: block;
    background: #ffffff;
    border: 1px solid #e6e2d4;
    border-top-color: #e6e2d4;
    border-radius: 16px;
    /* WooCommerce's notice styling nudges this box with position:relative/left:11px
       and reserves a left gutter (30px) for the ℹ glyph. Both have to go explicitly,
       or the card sits 11px right of the wrapper that is centring it. */
    position: static;
    left: auto;
    padding: 36px 28px 30px !important;
    margin: 0;
    font-family: 'Bree Serif', serif;
    font-size: 22px;
    line-height: 1.35;
    color: #233a23;
    text-align: center;
}

body.woocommerce-cart .cart-empty.woocommerce-info::after {
    content: none;
}

/* A cart outline above the message, drawn as a mask so it takes the green from
   colour rather than needing its own asset. */
body.woocommerce-cart .cart-empty.woocommerce-info::before {
    content: "";
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    background-color: #a3c440;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/></svg>") no-repeat center / contain;
    position: static;
    font-size: 0;
}

body.woocommerce-cart p.return-to-shop {
    margin: 18px auto 0;
    text-align: center;
}

/* WooCommerce's default button here is pale lilac (#e9e6ed) with grey text —
   the only place on the site wearing that palette. Amber matches the primary
   action on the cart and checkout. */
body.woocommerce-cart p.return-to-shop a.button.wc-backward {
    display: inline-block;
    background-color: #fab333 !important;
    color: #3a2a00 !important;
    border: 0;
    border-radius: 26px;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.woocommerce-cart p.return-to-shop a.button.wc-backward:hover {
    background-color: #e89f22 !important;
    color: #3a2a00 !important;
}
.woocommerce table.shop_table button.minus, .woocommerce table.shop_table button.plus{
	color: #000 !important;
}
