/* ==========================================================================
   DROIX Cart Page
   Redesigned to match the checkout / side-cart design language.
   Token names + values mirror assets/css/checkout.css (scoped locally to the
   cart body — see AGENTS.md "scoped token" decision; checkout/side-cart are
   intentionally left untouched).
   ========================================================================== */

body.woocommerce-cart {
    /* Brand */
    --gpd-green: #B0CB1F;
    --gpd-green-dark: #74A401;
    --gpd-green-tint: #F3F8DC;
    --gpd-purple: #BB3DA1;
    /* Text */
    --fg-1: #0B0B0B;
    --fg-2: #242421;
    --fg-3: #484848;
    --fg-4: #666666;
    --fg-5: #999999;
    /* Surfaces & strokes */
    --bg-2: #F8F8F8;
    --stroke-1: #F0F0F0;
    --stroke-2: #EEEEEE;
    --stroke-3: #D9D9D9;
    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 6px rgba(38, 38, 38, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-cta: 0 8px 20px rgba(176, 203, 31, 0.35);
    /* Type */
    --font-ui: "Ubuntu", "Inter", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Ubuntu", system-ui, -apple-system, sans-serif;
    /* Semantic */
    --gpd-danger: #DC3545;
    --gpd-danger-wash: #FDECEE;
    --gpd-success: #6DA544;
    /* Radius */
    --r-md: 12px;
    --r-lg: 16px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body.woocommerce-cart {
    background-color: #fff;
}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .woocommerce-cart-form_block,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .gpd-addons-card--cart {
    font-family: var(--font-body);
    color: var(--fg-1);
}
body.woocommerce-cart .content-area {
    margin-bottom: 0 !important;
    padding-top: 20px;
}
body.woocommerce-cart p {
    padding: 0;
    margin: 0;
}
body.woocommerce-cart ins,
body.woocommerce-cart mark {
    font-weight: 500;
    background: none;
}
body.woocommerce-cart a:focus {
    outline: none;
}
.m-cart #chat-widget-container {
    bottom: 37px !important;
}
.topbar_contactus {
    z-index: 21;
}
.wt_sc_giveaway_products_cart_page {
    display: none;
}
table.shop_table_responsive dl.variation,
.backorder_notification,
.woocommerce-message {
    display: none;
}
body table.cart td,
body table.cart th {
    padding: 0;
}
body table.cart td {
    border-bottom: none;
}
table.cart td.product-subtotal {
    padding-bottom: 0;
}
/* Native notices region — cart uses its own coupon messaging */
body.woocommerce-cart .woocommerce-notices-wrapper {
    display: none;
}
body.woocommerce-cart .site-content {
    min-height: calc(100vh - 749.89px);
}

/* --------------------------------------------------------------------------
   Two-column layout (items | summary)
   -------------------------------------------------------------------------- */
body.woocommerce-cart .woocommerce-cart-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    width: 100%;
    float: none;
    column-gap: 32px;
    align-items: start;
}
body.woocommerce-cart .woocommerce-cart-form_block {
    min-width: 0;
}
/* Explicit placement: the Smart-Coupons plugin injects an (often empty)
   .wt_coupon_wrapper as a grid child which would otherwise steal the right
   column and push the summary onto a new row. Pin items/coupon to col 1 and
   the summary to col 2. Reset below 1200px (single column). */
body.woocommerce-cart .woocommerce-cart-form > .woocommerce-cart-form_block {
    grid-column: 1;
    grid-row: 1;
}
body.woocommerce-cart .woocommerce-cart-form > .wt_coupon_wrapper {
    grid-column: 1;
}
body.woocommerce-cart .woocommerce-cart-form > .cart-collaterals {
    grid-column: 2;
    grid-row: 1;
}

/* --------------------------------------------------------------------------
   Express checkout (inside the "My order" summary, under the Checkout button)
   + section labels
   -------------------------------------------------------------------------- */
body.woocommerce-cart .cart-label {
    font-family: var(--font-ui);
    color: var(--fg-2);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: 16px;
    padding-top: 8px;
}

/* "— or express checkout —" divider */
body.woocommerce-cart .gpd-or-express {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 14px;
}
body.woocommerce-cart .gpd-or-express::before,
body.woocommerce-cart .gpd-or-express::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--stroke-1);
}
body.woocommerce-cart .gpd-or-express span {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-5);
}

/* Express wallet row */
body.woocommerce-cart .gpd-cart-express {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* Hide Stripe's "— or —" separator so all express methods read as one group
   under the single "or express checkout" divider. */
body.woocommerce-cart .gpd-cart-express .wc-stripe-payment-method.or,
body.woocommerce-cart .gpd-cart-express li.or,
body.woocommerce-cart .gpd-cart-express .wc-stripe-cart-checkout-container .or {
    display: none !important;
}
#zoid-paypal-buttons-uid_d615a188bc_mtc6mdm6ntc > iframe { border: none; }
#zoid-paypal-buttons-uid_d615a188bc_mtc6mdm6ntc > iframe.visible { border-radius: 8px; }
body.woocommerce-cart .gpd-cart-express #wc-ppcp-cart-button-container .paypal-buttons,
body.woocommerce-cart .gpd-cart-express .wc-ppcp-cart-payments__container .paypal-buttons {
    height: 48px;
    z-index: 0;
}
body.woocommerce-cart .gpd-cart-express .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    margin: 0 !important;
}
body.woocommerce-cart .gpd-cart-express .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li {
    flex: 1 1 auto;
    min-width: 140px;
    height: 48px;
}
body.woocommerce-cart .gpd-cart-express .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li .wc-stripe-payment-method.payment_method_ppcp {
    background: #F6C557;
    z-index: 0;
}
body.woocommerce-cart .gpd-cart-express .wc-stripe-cart-checkout-container ul.wc_stripe_cart_payment_methods.active li .wc-stripe-payment-method.payment_method_ppcp .paypal-button.paypal-button-shape-rect {
    border-radius: 8px !important;
}
.gpay-card-info-container.gpay-card-info-custom-radius,
.gpay-button.gpay-card-info-custom-radius {
    border-radius: 8px !important;
    overflow: hidden !important;
    outline: none !important;
    height: 48px !important;
}
/* Hide the duplicated totals/checkout that WooCommerce prints in cart_totals */
.cart_totals .shop_table.shop_table_responsive,
.cart_totals .checkout-button.button.alt.wc-forward,
.cart_totals .wc-stripe-payment-method.or {
    display: none !important;
}
.wc-proceed-to-checkout {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Items card
   -------------------------------------------------------------------------- */
body.woocommerce-cart .woocommerce-cart-form .shop_table {
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--stroke-1);
    box-shadow: var(--shadow-sm);
    padding: 8px 24px;
    margin: 0;
    overflow-x: hidden;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table tbody {
    position: relative;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 0;
    border-bottom: 1px solid var(--stroke-1);
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item:last-of-type {
    border-bottom: none;
}
/* Empty spacer rows from the template */
body.woocommerce-cart .woocommerce-cart-form .shop_table .static-border-container {
    display: none;
}

/* Remove button */
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-remove {
    margin-right: 14px;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-remove a {
    width: 24px;
    height: 24px;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-remove a:before {
    width: 24px;
    height: 24px;
    background: var(--fg-4);
    transition: background 0.2s;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-remove a:hover::before {
    background: var(--gpd-purple);
}

/* Thumbnail */
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-thumbnail {
    width: 64px;
    height: 64px;
    margin-right: 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--stroke-1);
    background: var(--bg-2);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
}
table.cart .product-thumbnail img {
    max-width: 52px !important;
    height: auto;
    mix-blend-mode: multiply;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-thumbnail a {
    pointer-events: none;
}

/* Product info (name + meta) */
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info {
    flex: 1;
    min-width: 0;
    padding-right: 16px;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name {
    font-family: var(--font-body);
    color: var(--fg-1);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name a {
    color: var(--fg-1);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name .item-quantity,
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name .item-text {
    color: var(--fg-4);
    font-size: 12.5px;
    font-weight: 400;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name p {
    position: relative;
    font-size: 12.5px;
    color: var(--fg-4);
    margin-top: 2px;
}
/* Freebie callout ("Congratulations! You've got a freebie in your cart!") — WT Smart
   Coupons hardcodes inline color:green (#008000, not a brand colour); override to the
   DROIX brand green-dark per the cart spec. Inline style needs !important. */
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name p[style*="color"] {
    color: var(--gpd-green-dark) !important;
    font-weight: 600;
}
/* Desktop: per-row price lives in the subtotal cell */
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-price {
    display: none;
}

/* Quantity stepper */
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity {
    width: 124px;
    height: 48px;
    align-items: center;
    border-radius: var(--r-md);
    border: 1px solid var(--stroke-3);
    background: #fff;
    flex-shrink: 0;
}
body.woocommerce-cart .processing .product-quantity .buttons_added {
    border: 1px solid var(--fg-2);
    background: var(--gpd-green-tint);
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .qty {
    color: var(--fg-1);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-up::before,
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-down::before {
    background: var(--fg-3);
    height: 20px;
    width: 20px;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-up:hover:before,
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-down:hover:before,
body.woocommerce-cart .processing .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-up::before,
body.woocommerce-cart .processing .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-down::before {
    background: var(--fg-1);
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-up {
    right: 14px;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-down {
    left: 14px;
}
body.woocommerce-cart .quantity-up.plus.disabled,
body.woocommerce-cart .quantity-down.minus.disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* Line subtotal */
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-subtotal {
    margin-left: 16px;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    font-family: var(--font-ui);
    color: var(--gpd-purple);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    min-width: 84px;
    text-align: right;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-subtotal > span {
    color: var(--gpd-purple);
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-subtotal br {
    display: none;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-subtotal span bdi {
    color: var(--gpd-purple);
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-subtotal del,
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-subtotal del.regular-price {
    order: 2;
    color: var(--fg-5);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: line-through;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-subtotal ins.sale-price {
    color: var(--gpd-purple);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Free-shipping / savings strip (mirrors the side-cart .gpd-ship for consistency;
   replaces CommerceKit's native cart FSN bar)
   -------------------------------------------------------------------------- */
body.woocommerce-cart .gpd-ship--cart {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 18px 0 0;
    padding: 12px 16px;
    background: var(--gpd-green-tint);
    border-radius: var(--r-md);
}
body.woocommerce-cart .gpd-ship--cart .gpd-ship__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
body.woocommerce-cart .gpd-ship--cart .gpd-ship__msg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.3;
    color: var(--fg-2);
    font-weight: 600;
}
body.woocommerce-cart .gpd-ship--cart .gpd-ship__msg svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: var(--gpd-green-dark);
}
body.woocommerce-cart .gpd-ship--cart .gpd-ship__msg strong { font-weight: 700; color: var(--fg-1); }
body.woocommerce-cart .gpd-ship--cart .gpd-ship__msg .woocommerce-Price-amount { color: inherit; font-weight: 700; }
body.woocommerce-cart .gpd-ship--cart.is-progress .gpd-ship__msg svg { color: var(--fg-4); }
body.woocommerce-cart .gpd-ship--cart.is-savings .gpd-ship__msg { color: var(--gpd-green-dark); }
body.woocommerce-cart .gpd-ship--cart.is-savings .gpd-ship__msg svg { color: var(--gpd-green-dark); }
body.woocommerce-cart .gpd-ship--cart .gpd-ship__bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.75);
    overflow: hidden;
}
body.woocommerce-cart .gpd-ship--cart .gpd-ship__fill {
    height: 100%;
    background: var(--gpd-green);
    border-radius: 3px;
    transition: width 0.3s;
}

/* --------------------------------------------------------------------------
   Coupon + cart actions
   -------------------------------------------------------------------------- */
body.woocommerce-cart .actions {
    display: block;
    padding-top: 4px;
}
body.woocommerce-cart .have-coupon {
    color: var(--fg-3);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 20px;
    display: inline-block;
}
body.woocommerce-cart .have-coupon a {
    color: var(--gpd-green-dark);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: underline;
}
body.woocommerce-cart .have-coupon:hover a {
    color: var(--fg-1);
}
body.woocommerce-cart .coupon {
    position: relative;
    margin-top: 16px;
    max-width: 420px;
}
body.woocommerce-cart .coupon input {
    border-radius: var(--r-md);
    border: 1px solid var(--stroke-3);
    background: #fff;
    height: 54px;
    max-width: 100%;
    width: 100%;
    color: var(--fg-2);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    padding: 8px 130px 8px 16px;
    box-sizing: border-box;
}
body.woocommerce-cart .coupon input:focus {
    border-color: var(--fg-1);
    outline: none;
}
body.woocommerce-cart .coupon button {
    position: absolute;
    top: 7px;
    right: 7px;
    height: 40px;
    padding: 0 18px;
    align-items: center;
    border-radius: 8px;
    background: var(--gpd-green);
    color: #1c2400;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    border: 0;
    transition: background 0.2s, color 0.2s;
}
body.woocommerce-cart .coupon button:hover {
    background: var(--gpd-green-dark);
    color: #fff;
}
body.woocommerce-cart #coupon-message {
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 13px;
}
body.woocommerce-cart .coupon-alert-error p {
    color: var(--gpd-danger);
}
body.woocommerce-cart .coupon-alert-duplicate p {
    color: var(--gpd-green-dark);
}
body.woocommerce-cart .coupon-alert-success p {
    color: var(--gpd-green-dark);
}
/* Update cart button (secondary / ghost) */
body.woocommerce-cart .actions button[name="update_cart"] {
    margin-top: 16px;
    height: 44px;
    padding: 0 20px;
    border-radius: var(--r-md);
    border: 1px solid var(--stroke-3);
    background: #fff;
    color: var(--fg-3);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s;
}
body.woocommerce-cart .actions button[name="update_cart"]:hover {
    border-color: var(--fg-2);
    color: var(--fg-1);
}

/* --------------------------------------------------------------------------
   Summary card (right column)
   -------------------------------------------------------------------------- */
body.woocommerce-cart .cart-collaterals {
    float: none;
    width: 100%;
    margin: 0;
    position: sticky;
    top: 20px;
}
.cart-collaterals .checkout-button:before {
    display: none;
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary {
    padding: 0;
    margin: 0 0 16px;
    border-radius: var(--r-lg);
    border: 1px solid var(--stroke-1);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order {
    display: block;
}

/* Header bar (My order | Price) */
body.woocommerce-cart .cart-collaterals .your-order-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--stroke-1);
}
body.woocommerce-cart .cart-collaterals .your-order-title h2 {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--fg-2);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}
body.woocommerce-cart .cart-collaterals .your-order-title h2:last-child {
    color: var(--fg-4);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Item list inside summary */
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .product-carts-block {
    padding: 6px 20px 8px;
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .product-carts-block .cart_item {
    padding: 12px 0;
    border-bottom: 1px solid var(--stroke-1);
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .product-carts-block .cart_item:last-child {
    border-bottom: none;
}
body.woocommerce-cart .cart-collaterals .your-order .product-details {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
body.woocommerce-cart .cart-collaterals .your-order .product-name {
    font-family: var(--font-body);
    color: var(--fg-2);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 220px;
}
body.woocommerce-cart .cart-collaterals .your-order .product-total {
    font-family: var(--font-ui);
    color: var(--fg-2);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-align: right;
    display: grid;
    justify-items: end;
}
body.woocommerce-cart .cart-collaterals .your-order .product-total del {
    color: var(--fg-5);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    grid-row: 2;
    text-decoration: line-through;
}
body.woocommerce-cart .cart-collaterals .your-order .product-total ins.sale-price {
    color: var(--gpd-purple);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

/* Totals band */
body.woocommerce-cart .cart-collaterals .cart-summary-totals {
    margin: 4px 20px 16px;
    padding: 12px 14px;
    background: var(--bg-2);
    border-radius: var(--r-md);
}
body.woocommerce-cart .cart-collaterals .order-summary,
body.woocommerce-cart .cart-collaterals .coupons-order-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    margin: 0;
}
body.woocommerce-cart .cart-collaterals .product-total-label,
body.woocommerce-cart .cart-collaterals .shipping-label {
    font-family: var(--font-body);
    color: var(--fg-3);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.4;
}
body.woocommerce-cart .cart-collaterals .product-total-value,
body.woocommerce-cart .cart-collaterals .shipping-value {
    font-family: var(--font-ui);
    color: var(--fg-2);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
}
/* Coupon row */
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .coupons-order-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}
.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .coupons-order-summary .promo-code-label {
    color: var(--fg-3);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .coupons-order-summary .promo-code-label span {
    color: var(--gpd-green-dark);
    font-size: 13.5px;
    font-weight: 600;
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .coupons-order-summary .remove-coupon a {
    color: var(--fg-5);
    transition: color 0.2s;
    font-size: 12.5px;
    text-decoration: underline;
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .coupons-order-summary .remove-coupon a:hover {
    color: var(--gpd-danger);
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .coupons-order-summary .promo-code-value {
    margin-left: auto;
    text-align: right;
}
body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary .your-order .coupons-order-summary .promo-code-value bdi {
    color: var(--gpd-green-dark);
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 600;
}
.your-order .promo-code-value a {
    display: none;
}

/* Grand total */
body.woocommerce-cart .cart-collaterals .order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--stroke-1);
}
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-label {
    font-family: var(--font-ui);
    color: var(--fg-1);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-value {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-value bdi,
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-value bdi .woocommerce-Price-currencySymbol {
    color: var(--gpd-purple);
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-value small {
    width: 100%;
    color: var(--fg-4);
    text-align: right;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    margin-top: 2px;
}
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-value small bdi,
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-value small .woocommerce-Price-amount,
body.woocommerce-cart .cart-collaterals .your-order .order-total .total-value small .woocommerce-Price-currencySymbol {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--fg-4);
    line-height: 1.4;
}

/* Proceed to checkout CTA — matched to checkout #place_order */
body.woocommerce-cart .cart-collaterals .proceed-to-checkout a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 54px;
    color: #1c2400;
    background: var(--gpd-green);
    border: 0 !important;
    font-family: var(--font-ui) !important;
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 1.2;
    border-radius: 14px !important;
    box-shadow: var(--shadow-cta);
    transition: background 0.15s;
    text-transform: none;
    letter-spacing: 0;
}
body.woocommerce-cart .cart-collaterals .proceed-to-checkout a:hover {
    color: #1c2400;
    background: var(--gpd-green-dark);
    border: 0;
}

/* --------------------------------------------------------------------------
   Empty cart
   -------------------------------------------------------------------------- */
body.woocommerce-cart .entry-content > .woocommerce > .cart-empty.woocommerce-info,
body.woocommerce-cart .entry-content > .woocommerce > .wc-empty-cart-message > .cart-empty.woocommerce-info {
    width: 100% !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
    margin: 32px auto 24px !important;
    padding: 14px 18px 14px 50px !important;
    border: 1px solid #F6D98D !important;
    border-radius: var(--r-md) !important;
    background: #FFFBEB !important;
    color: #6F4700 !important;
    box-shadow: none !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    position: relative;
    overflow: visible !important;
    list-style: none !important;
}
body.woocommerce-cart .entry-content > .woocommerce > .cart-empty.woocommerce-info::before,
body.woocommerce-cart .entry-content > .woocommerce > .wc-empty-cart-message > .cart-empty.woocommerce-info::before {
    content: '!' !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 18px;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    border: 2px solid #B7791F;
    border-radius: 50%;
    color: #B7791F;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}
body.woocommerce-cart .entry-content > .woocommerce > .return-to-shop {
    margin: 0 auto 56px;
    text-align: center;
}
body.woocommerce-cart .entry-content > .woocommerce > .return-to-shop .button.wc-backward {
    min-height: 48px;
    padding: 14px 26px;
    border: 0;
    border-radius: 14px;
    background: var(--gpd-green);
    color: #1c2400;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: var(--shadow-cta);
    transition: background 0.18s ease;
}
body.woocommerce-cart .entry-content > .woocommerce > .return-to-shop .button.wc-backward:hover,
body.woocommerce-cart .entry-content > .woocommerce > .return-to-shop .button.wc-backward:focus {
    background: var(--gpd-green-dark);
    color: #1c2400;
    outline: none;
}

/* --------------------------------------------------------------------------
   Recommended add-ons grid (CommerceKit order bumps) — replaces the slider.
   Card markup is shared with the checkout add-ons (inc/woocommerce/checkout-addons.php);
   here it is laid out as a static 4-up / 2-up / 1-up grid (responsive rules below).
   -------------------------------------------------------------------------- */
body.woocommerce-cart .gpd-addons-card--cart {
    margin-top: 48px;
    margin-bottom: 80px;
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--stroke-1);
    box-shadow: var(--shadow-xs);
    padding: 24px;
    box-sizing: border-box;
}
body.woocommerce-cart .gpd-addons-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
body.woocommerce-cart .gpd-addons-chip {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gpd-green-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.woocommerce-cart .gpd-addons-chip svg { width: 18px; height: 18px; }
body.woocommerce-cart .gpd-addons-header-text { display: flex; flex-direction: column; min-width: 0; }
body.woocommerce-cart .gpd-addons-title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: var(--fg-2);
}
body.woocommerce-cart .gpd-addons-sub {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.35;
    color: var(--fg-4);
}

/* The grid: 4-up desktop (responsive overrides drop to 2-up / 1-up) */
body.woocommerce-cart .gpd-addons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Add-on card (ported from checkout.css, scoped to the cart) */
body.woocommerce-cart .gpd-addon-card {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--stroke-2);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    box-shadow: none;
    min-height: 132px;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
body.woocommerce-cart .gpd-addon-card.popular {
    border-color: var(--gpd-green);
    box-shadow: 0 0 0 4px var(--gpd-green-tint);
    padding-top: 22px;
}
body.woocommerce-cart .gpd-addon-card.added {
    background: var(--gpd-green-tint);
    border-color: var(--gpd-green);
    box-shadow: none;
}
body.woocommerce-cart .gpd-addon-card.unavailable { opacity: 0.72; }
body.woocommerce-cart .gpd-addon-popular-tab {
    position: absolute;
    top: 0;
    left: 16px;
    background: var(--gpd-green);
    color: #1c2400;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    min-height: 20px;
    padding: 0 10px;
    border-radius: 0 0 5px 5px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
}
body.woocommerce-cart .gpd-addon-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
body.woocommerce-cart .gpd-addon-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--stroke-1);
}
body.woocommerce-cart .gpd-addon-info { flex: 1; min-width: 0; }
body.woocommerce-cart .gpd-addon-title {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--fg-1);
    line-height: 1.3;
    margin: 0 0 5px;
}
body.woocommerce-cart .gpd-addon-pitch {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--fg-4);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.woocommerce-cart .gpd-addon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    align-self: end;
    min-width: 0;
}
body.woocommerce-cart .gpd-addon-price-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; }
body.woocommerce-cart .gpd-addon-price {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    color: var(--gpd-green-dark);
}
body.woocommerce-cart .gpd-addon-price--unavailable { color: var(--fg-4); font-size: 13px; }
body.woocommerce-cart .gpd-addon-was {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--fg-5);
    text-decoration: line-through;
}
body.woocommerce-cart .gpd-addon-vat { font-family: var(--font-body); font-size: 11.5px; color: var(--fg-5); }
body.woocommerce-cart .gpd-addon-add-btn {
    flex-shrink: 0;
    height: 44px;
    min-width: 92px;
    padding: 0 20px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--gpd-green);
    color: #1c2400;
    box-shadow: var(--shadow-cta);
    transition: background 0.15s, box-shadow 0.15s;
}
body.woocommerce-cart .gpd-addon-add-btn.added { background: var(--gpd-green-tint); color: var(--gpd-green-dark); box-shadow: none; }
body.woocommerce-cart .gpd-addon-add-btn.unavailable,
body.woocommerce-cart .gpd-addon-add-btn:disabled { cursor: default; box-shadow: none; }
body.woocommerce-cart .gpd-addon-add-btn.unavailable { background: var(--stroke-2); color: var(--fg-4); }
body.woocommerce-cart .gpd-addon-add-btn:hover:not(.added):not(.unavailable):not(:disabled) { background: var(--gpd-green-dark); }
body.woocommerce-cart .gpd-addon-add-btn .gpd-spin { animation: gpd-spin 0.7s linear infinite; }
@keyframes gpd-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Mobile swipe-to-reveal
   -------------------------------------------------------------------------- */
.woocommerce-cart-form__cart-item {
    position: relative;
    transition: transform 0.3s ease;
    will-change: transform;
    overflow: visible;
}
.woocommerce-cart-form__cart-item.swipe-left {
    transform: translateX(-50px);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    /* Tablet: add-ons grid drops to 2-up */
    body.woocommerce-cart .gpd-addons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.woocommerce-cart .woocommerce-cart-form {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    body.woocommerce-cart .woocommerce-cart-form > .woocommerce-cart-form_block,
    body.woocommerce-cart .woocommerce-cart-form > .wt_coupon_wrapper,
    body.woocommerce-cart .woocommerce-cart-form > .cart-collaterals {
        grid-column: auto;
        grid-row: auto;
    }
    body.woocommerce-cart .cart-collaterals {
        width: 100%;
        position: static;
    }
    body:not(.page-template-template-fullwidth-php) table.cart td,
    body:not(.page-template-template-fullwidth-php) table.cart th {
        padding: 0 !important;
    }
    #page table.cart td.product-remove {
        padding: 0;
    }
    table.cart .product-thumbnail img {
        max-width: 52px;
    }
    body.woocommerce-cart .woocommerce-cart-form_block {
        max-width: 100%;
    }
}

@media screen and (max-width: 992px) {
    body.woocommerce-cart .woocommerce-notices-wrapper {
        margin-top: 72px;
    }
}

@media screen and (max-width: 768px) {
    body.woocommerce-cart .entry-content > .woocommerce > .cart-empty.woocommerce-info,
    body.woocommerce-cart .entry-content > .woocommerce > .wc-empty-cart-message > .cart-empty.woocommerce-info {
        margin: 24px 20px 20px !important;
        width: auto !important;
        max-width: none !important;
    }
    .m-cart table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item {
        border-bottom: none !important;
    }
    .woocommerce-cart-form__cart-item.swipe-left .product-remove {
        right: 10px;
    }
    body .col-full {
        padding: 0;
    }
    body.woocommerce-cart .woocommerce-notices-wrapper {
        margin-top: 0;
    }
    body.woocommerce-cart .cart_totals {
        display: none;
    }
    /* Mobile: add-ons grid drops to 1-up */
    body.woocommerce-cart .gpd-addons-grid {
        grid-template-columns: 1fr;
    }
    body.woocommerce-cart .gpd-addons-card--cart {
        margin-top: 32px;
        padding: 20px;
    }
    body.woocommerce-cart .cart-label {
        padding: 0 20px 16px;
    }
    body.woocommerce-cart .have-coupon {
        margin-top: 0;
        padding: 0 0 0 20px;
    }
    body.woocommerce-cart .coupon {
        padding: 0 20px;
        margin-top: 12px;
        max-width: 100%;
    }
    body.woocommerce-cart .coupon button {
        right: 27px;
    }
    body.woocommerce-cart .actions button[name="update_cart"] {
        margin-left: 20px;
    }
    body.woocommerce-cart .woocommerce-cart-form_block #coupon-message {
        padding: 0 20px;
    }
    .m-cart .woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item {
        padding-left: 0;
        min-height: auto;
    }
    .m-cart #page table.woocommerce-cart-form__contents tr td::before {
        display: none !important;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table {
        border-radius: 0;
        padding: 8px 20px;
        box-shadow: none;
        border-left: 0;
        border-right: 0;
        overflow: hidden;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item {
        display: grid;
        grid-template-columns: 64px 1fr;
        column-gap: 12px;
        padding: 14px 0 !important;
        margin: 0;
    }
    .m-cart #page table.shop_table_responsive.woocommerce-cart-form__contents tr td {
        display: grid;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info {
        width: 100%;
        padding-right: 0;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name a {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
        width: 90%;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name span {
        display: none;
    }
    /* Show per-row price under the name on mobile */
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-price {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: flex-end;
        gap: 6px;
        margin-top: 4px;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-price bdi {
        color: var(--gpd-purple);
        font-family: var(--font-ui);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-price .regular-price span.amount bdi {
        color: var(--fg-5);
        font-size: 12px;
        font-weight: 400;
        text-decoration: line-through;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-price .sale-price span.amount bdi {
        color: var(--gpd-purple);
        font-size: 15px;
        font-weight: 700;
    }
    .entry-content:not(.wc-tab) .woocommerce-form-login p,
    body table.cart td {
        font-size: 13px;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity {
        width: 106px;
        height: 44px;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-up {
        right: 10px;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .quantity .quantity-nav .quantity-down {
        left: 10px;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-quantity {
        grid-column: 1 / -1;
        margin-top: 8px;
    }
    .m-cart #page table.shop_table_responsive.woocommerce-cart-form__contents tr td:last-child {
        display: none !important;
    }
    .m-cart .woocommerce-cart-form__contents td.product-thumbnail {
        position: static;
    }
    #page .cart-collaterals,
    #page .woocommerce-cart-form {
        padding-bottom: 32px;
    }
    /* Mobile summary: hide list/header, keep totals */
    body.woocommerce-cart .cart-collaterals .woocommerce-cart-summary {
        padding: 0;
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }
    body.woocommerce-cart .cart-collaterals .your-order-title,
    body.woocommerce-cart .cart-collaterals .product-carts-block {
        display: none;
    }
    body.woocommerce-cart .cart-collaterals .cart-summary-totals {
        margin: 16px 20px;
    }
    body.woocommerce-cart .cart-collaterals .order-total {
        padding: 16px 20px;
    }
    body.woocommerce-cart .cart-collaterals .proceed-to-checkout {
        padding: 0 20px;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-remove {
        top: 10px;
        height: 100%;
        transition: transform 0.3s ease;
        transform: translateX(170%);
        margin-right: 0;
    }
}

@media screen and (max-width: 490px) {
    body.woocommerce-cart .coupon button {
        font-size: 13px;
        height: 38px;
        padding: 0 14px;
    }
    body.woocommerce-cart .coupon input {
        height: 50px;
        font-size: 14px;
        padding: 7px 110px 7px 14px;
    }
    body.woocommerce-cart .woocommerce-cart-form .shop_table .woocommerce-cart-form__cart-item .product-info .product-name p {
        width: 100%;
    }
}
