/* ==========================================
   KRUMPLD CART PAGE
   ========================================== */

/* ── Suppress WooCommerce responsive data-title labels ── */
body.woocommerce-cart table.woocommerce-cart-form__contents td::before,
body.woocommerce-cart table.shop_table td::before,
body.woocommerce-cart td.product-name::before,
body.woocommerce-cart td.product-subtotal::before,
body.woocommerce-cart td.product-thumbnail::before,
body.woocommerce-cart td.product-quantity::before {
    display: none !important;
    content: '' !important;
}
body.woocommerce-cart td.product-subtotal[data-title]::before {
    display: none !important;
    content: none !important;
}

/* ── BREAK OUT OF KADENCE SITE CONTAINER ── */
body.woocommerce-cart .content-container.site-container,
body.woocommerce-cart #primary .content-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.woocommerce-cart .entry-content-wrap,
body.woocommerce-cart .content-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── Hide "Cart totals" heading (Kadence + WooCommerce) ── */
body.woocommerce-cart .cart-summary h2,
body.woocommerce-cart .cart-summary > h2,
body.woocommerce-cart .woocommerce-cart-form .cart-summary h2,
body.woocommerce-cart .woocommerce-cart-form > h2,
body.woocommerce-cart .woocommerce-cart-form > h3,
body.woocommerce-cart .cart_totals > h2,
body.woocommerce-cart h2.cart-summary-title {
    display: none !important;
}

/* ── PAGE WRAPPER ── */
body.woocommerce-cart #primary .woocommerce,
body.woocommerce-cart .woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 0 64px !important;
    max-width: 1400px !important;
    width: 100% !important;
    margin: 16px auto 48px !important;
    padding: 0 64px !important;
    box-sizing: border-box !important;
}

/* ── KADENCE CART WRAPPER → TWO-COLUMN FLEX ── */
body.woocommerce-cart .kadence-woo-cart-form-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 64px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ── LEFT COLUMN (cart form) ── */
body.woocommerce-cart .kadence-woo-cart-form-wrap > form.woocommerce-cart-form,
body.woocommerce-cart .woocommerce > form.woocommerce-cart-form {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
}

/* ── RIGHT COLUMN (order summary) ── */
body.woocommerce-cart .kadence-woo-cart-form-wrap > .cart-collaterals,
body.woocommerce-cart .woocommerce > .cart-collaterals {
    flex: 0 0 360px !important;
    width: 360px !important;
    min-width: 0 !important;
    position: sticky !important;
    top: 80px !important;
    align-self: flex-start !important;
    float: none !important;
}

body.woocommerce-cart .kadence-woo-cart-form-wrap,
body.woocommerce-cart .cross-sells {
    max-width: 100% !important;
}

/* Strip Kadence grey box from cart actions area */
body.woocommerce-cart .woocommerce-cart-form .cart_item ~ tr .actions,
body.woocommerce-cart form.woocommerce-cart-form .actions,
body.woocommerce-cart .actions {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── BREADCRUMB ── */
body.woocommerce-cart .woocommerce-breadcrumb {
    font-size: 12px !important;
    color: #888 !important;
    margin-bottom: 24px !important;
}

/* ==========================================
   CART — PROGRESS STACK (UNIFIED)
   ========================================== */

.krumpld-cart-progress {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

/* Tighten shipping strip spacing */
.krumpld-shipping-strip {
    margin-top: 0 !important;
}

.shipping-strip-inner {
    font-size: 13px;
    color: #444;
}

/*mobile*/
@media (max-width: 767px) {

  body.woocommerce-cart .krumpld-cart-progress {
    text-align: center;
    width: 100%;
    display: block;
  }

  body.woocommerce-cart .krumpld-cart-progress span,
  body.woocommerce-cart .krumpld-cart-progress {
    margin-left: auto;
    margin-right: auto;
  }
}
/*Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    body.woocommerce-cart .krumpld-cart-progress {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

  body.woocommerce-cart .krumpld-cart-progress span,
  body.woocommerce-cart .krumpld-cart-progress {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Desktop */
@media (min-width: 1200px) {
    body.woocommerce-cart .krumpld-cart-progress {
        text-align: left !important;
        width: 100% !important;
        display: block !important;
        margin-left: 60px !important;
        margin-right: auto !important;
    }
}
/* ==========================================
CART NOTICE — FLOATING SUCCESS MESSAGE
========================================== */

body.woocommerce-cart .woocommerce-notices-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 20 !important;
    pointer-events: none !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 12px 18px !important;
    background: #F8F7F5 !important;
    border: 1px solid #1A1A1A !important;
    color: #444 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    max-width: 320px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
    pointer-events: none !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before {
    display: none !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper.is-hiding {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper.is-hiding .woocommerce-message {
    opacity: 0 !important;
    transform: translateY(-6px) !important;
}

body.woocommerce-cart .krumpld-cart-progress {
    position: relative !important;
    z-index: 1 !important;
}

/* Your cart is empty - Message */
.cart-empty.woocommerce-info {
    text-align: center;
    margin: 0 0 16px 0;
}
/* ==========================================
   FREE SHIPPING STRIP
   ========================================== */
.krumpld-shipping-strip {
    background: #F5F3EF;
    border: 1px solid #E0DDD8;
    padding: 14px 20px;
    margin-bottom: 24px;
    box-sizing: border-box;
    width: 100% !important;
}
.shipping-strip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #555;
}
.shipping-strip-bar {
    height: 2px;
    background: #EAEAEA;
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}
.shipping-strip-fill {
    height: 100%;
    background: #2C2C2C;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ==========================================
   CART ITEMS TABLE → GRID ROWS
   ========================================== */

body.woocommerce-cart table.woocommerce-cart-form__contents {
    display: block !important;
    border: none !important;
    width: 100% !important;
}
body.woocommerce-cart table.woocommerce-cart-form__contents thead {
    display: none !important;
}
body.woocommerce-cart table.woocommerce-cart-form__contents tbody {
    display: block !important;
}

body.woocommerce-cart tr.cart_item {
    display: grid !important;
    grid-template-columns: 90px 1fr auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
        "thumb name   remove"
        "thumb qty    price" !important;
    gap: 6px 16px !important;
    padding: 0 0 24px 0 !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #ECEAE6 !important;
    border-top: none !important;
}
body.woocommerce-cart tr.cart_item td {
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

/* Image */
body.woocommerce-cart td.product-thumbnail {
    grid-area: thumb !important;
    grid-row: 1 / 3 !important;
}
body.woocommerce-cart td.product-thumbnail img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Product name + variant */
body.woocommerce-cart td.product-name {
    grid-area: name !important;
    align-self: start !important;
}
body.woocommerce-cart td.product-name a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111 !important;
    text-decoration: none !important;
}
body.woocommerce-cart td.product-name a:hover {
    text-decoration: underline !important;
}
body.woocommerce-cart td.product-name .variation {
    font-size: 12px !important;
    color: #888 !important;
    margin: 3px 0 0 0 !important;
    display: block !important;
    line-height: 1.4 !important;
}
body.woocommerce-cart td.product-name .variation dt {
    display: none !important;
}
body.woocommerce-cart td.product-name .variation dd {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 400 !important;
    color: #888 !important;
}
body.woocommerce-cart td.product-name .variation dd p {
    display: inline !important;
    margin: 0 !important;
}
body.woocommerce-cart td.product-name .variation dd::after {
    content: ' · ' !important;
    color: #bbb !important;
}
body.woocommerce-cart td.product-name .variation dd:last-child::after {
    content: '' !important;
}

/* Unit price — hide */
body.woocommerce-cart td.product-price {
    display: none !important;
}

/* Kadence-style variant display */
body.woocommerce-cart td.product-name .product-item-data,
body.woocommerce-cart td.product-name .woocommerce-cart-item__meta,
body.woocommerce-cart td.product-name small {
    font-size: 12px !important;
    color: #888 !important;
    display: block !important;
    margin-top: 3px !important;
    font-weight: 400 !important;
}

/* Quantity control */
body.woocommerce-cart td.product-quantity {
    grid-area: qty !important;
    align-self: center !important;
}
body.woocommerce-cart td.product-quantity .quantity {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #EAEAEA !important;
    width: fit-content !important;
    height: 36px !important;
}
body.woocommerce-cart td.product-quantity .quantity input.qty {
    width: 36px !important;
    height: 34px !important;
    border: none !important;
    border-left: 1px solid #EAEAEA !important;
    border-right: 1px solid #EAEAEA !important;
    text-align: center !important;
    font-size: 14px !important;
    background: #fff !important;
    -moz-appearance: textfield !important;
    padding: 0 !important;
}
body.woocommerce-cart td.product-quantity .quantity input.qty::-webkit-inner-spin-button,
body.woocommerce-cart td.product-quantity .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}
.krumpld-qty-btn {
    width: 32px !important;
    height: 34px !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.krumpld-qty-btn:hover { color: #000 !important; }

/* Subtotal */
body.woocommerce-cart td.product-subtotal {
    grid-area: price !important;
    align-self: center !important;
    text-align: right !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #111 !important;
    white-space: nowrap !important;
}

/* Remove button */
body.woocommerce-cart td.product-remove {
    grid-area: remove !important;
    align-self: start !important;
    text-align: right !important;
    padding-top: 2px !important;
}
body.woocommerce-cart td.product-remove a {
    color: #AAA !important;
    text-decoration: none !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    font-size: 0 !important;
}
body.woocommerce-cart td.product-remove a::before {
    content: '×' !important;
    font-size: 16px !important;
    color: #AAA !important;
    font-weight: 400 !important;
}
body.woocommerce-cart td.product-remove a:hover::before { color: #222 !important; }
body.woocommerce-cart td.product-remove a.remove:hover {
    background: transparent !important;
    color: transparent !important;
}

/* ── CART ACTIONS ── */
body.woocommerce-cart .cart-collaterals .cross-sells { display: none !important; }
body.woocommerce-cart .woocommerce-cart-form .actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 8px !important;
}
body.woocommerce-cart .woocommerce-cart-form .actions .coupon {
    display: none !important;
}
body.woocommerce-cart .woocommerce-cart-form .actions button[name="update_cart"] {
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}
.krumpld-continue-shopping {
    font-size: 13px !important;
    color: #555 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
    padding: 6px 0 !important;
    background: transparent !important;
    border: none !important;
}
.krumpld-continue-shopping:hover {
    color: #000 !important;
    text-decoration: none !important;
}

/* ==========================================
   EMPTY CART — CENTERED STACK
   ========================================== */

body.woocommerce-cart .woocommerce-notices-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    margin: 56px auto 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
    margin: 0 0 18px 0 !important;
    max-width: 420px !important;
}

body.woocommerce-cart .cart-empty {
    margin: 16px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #555 !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ==========================================
   ORDER SUMMARY (RIGHT COLUMN)
   ========================================== */
body.woocommerce-cart .cart_totals {
    background: #F8F7F5 !important;
    border: 1px solid #E0DDD8 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

/* Section title */
.krumpld-order-summary-title {
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    color: #777 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid #E0DDD8 !important;
    padding-bottom: 12px !important;
}

/* ==========================================
   DELIVERY MODULE — top of summary
   ========================================== */
.krumpld-delivery-module {
    background: #F0EDE8;
    padding: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.delivery-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.delivery-date {
    font-size: 14px;
    color: #111;
    font-weight: 500;
    margin-bottom: 4px;
}
.delivery-sub {
    font-size: 12px;
    color: #888;
}

/* ==========================================
   GIFT WRAP BLOCK
   ========================================== */
.krumpld-gift-wrap {
    border: 1px solid #E0DDD8;
    background: #FDFCFA;
    padding: 12px 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
}
.gift-wrap-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}
.gift-wrap-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    accent-color: #1A1A1A !important;
}
.gift-wrap-icon {
    font-size: 16px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}
.gift-wrap-text {
    flex: 1 1 auto !important;
    white-space: nowrap !important;
}
.gift-wrap-subline {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    margin-left: 48px;
}

/* ==========================================
   PROMO CODE
   ========================================== */
.krumpld-promo-toggle {
    font-size: 13px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #EAEAEA;
    margin-bottom: 16px;
    user-select: none;
}
.krumpld-promo-toggle .toggle-arrow {
    font-size: 14px;
    transition: transform 0.2s;
}
.krumpld-promo-toggle.open .toggle-arrow { transform: rotate(180deg); }
.krumpld-promo-form {
    display: none;
    margin-bottom: 16px;
}
.krumpld-promo-form.open { display: flex; gap: 8px; }
.krumpld-promo-form input[type="text"] {
    flex: 1;
    border: 1px solid #EAEAEA;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}
.krumpld-promo-form input[type="text"]:focus { border-color: #000; }
.krumpld-promo-form button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

/* ==========================================
   CART TOTALS TABLE
   ========================================== */
body.woocommerce-cart .cart_totals h2 { display: none !important; }
body.woocommerce-cart table.shop_table.woocommerce-checkout-review-order-table,
body.woocommerce-cart .cart_totals table {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    margin-bottom: 0 !important;
}
body.woocommerce-cart .cart_totals table tr th,
body.woocommerce-cart .cart_totals table tr td {
    padding: 8px 0 !important;
    border: none !important;
    font-size: 13px !important;
    background: none !important;
}
body.woocommerce-cart .cart_totals table tr th {
    color: #666 !important;
    font-weight: 400 !important;
    text-align: left !important;
}
body.woocommerce-cart .cart_totals table tr td {
    text-align: right !important;
    color: #333 !important;
}
body.woocommerce-cart .cart_totals table tr.order-total th,
body.woocommerce-cart .cart_totals table tr.order-total td {
    border-top: 2px solid #1A1A1A !important;
    padding-top: 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #111 !important;
}

/* ── Ensure shipping + tax rows are always visible ── */
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals,
body.woocommerce-cart .cart_totals table tr.tax-rate,
body.woocommerce-cart .cart_totals table tr.tax-total {
    display: table-row !important;
}
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals th,
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals td,
body.woocommerce-cart .cart_totals table tr.tax-rate th,
body.woocommerce-cart .cart_totals table tr.tax-rate td,
body.woocommerce-cart .cart_totals table tr.tax-total th,
body.woocommerce-cart .cart_totals table tr.tax-total td {
    display: table-cell !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    border: none !important;
    background: none !important;
}
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals th,
body.woocommerce-cart .cart_totals table tr.tax-rate th,
body.woocommerce-cart .cart_totals table tr.tax-total th {
    color: #666 !important;
    font-weight: 400 !important;
    text-align: left !important;
}
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals td,
body.woocommerce-cart .cart_totals table tr.tax-rate td,
body.woocommerce-cart .cart_totals table tr.tax-total td {
    text-align: right !important;
    color: #333 !important;
}

/* Shipping label styles */
.krumpld-shipping-free {
    color: #2a7a2a;
    font-weight: 500;
}
.krumpld-shipping-paid {
    color: #888;
    font-style: italic;
    font-size: 12px;
}

/* ==========================================
   GST LABEL — FINAL CLEAN VERSION
   ========================================== */

/* Default (tablet & mid screens) */
.krumpld-gst-tooltip-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.krumpld-gst-tooltip-wrap small {
    display: inline;
    font-size: 11px;
    color: #888;
}

/* Desktop + Mobile → stacked layout */
/* Desktop + Mobile → stacked layout (FIXED) */
@media (max-width: 768px), (min-width: 1025px) {

    .krumpld-gst-tooltip-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
    }

    /* 🔥 Force order */
    .krumpld-gst-tooltip-wrap small {
        order: 2;
        flex-basis: 100%;
        display: block;
        margin-top: 2px;
    }

    .krumpld-gst-info-icon {
        order: 1;
        display: inline-flex;
        align-items: center;
    }
}

/* Icon styling (unchanged) */
.krumpld-gst-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #AAA;
    color: #AAA;
    font-size: 7px;
    cursor: pointer;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

/* Tooltip (unchanged) */
.krumpld-gst-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
}

.krumpld-gst-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.krumpld-gst-tooltip-wrap:hover .krumpld-gst-tooltip,
.krumpld-gst-tooltip-wrap.tooltip-open .krumpld-gst-tooltip {
    display: block;
}
/* ==========================================
   CTA BUTTON
   ========================================== */
body.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 16px !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 52px !important;
    background: #1A1A1A !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 2px !important;
    box-sizing: border-box !important;
    transition: background 0.2s !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #333 !important;
    opacity: 1 !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ==========================================
   TRUST SIGNALS
   ========================================== */
.cart-trust-item {
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 8px;
}


.krumpld-cart-trust {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-trust-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.cart-trust-item span {
    font-size: 12px;
    letter-spacing: 0.02em;
}

.cart-trust-item svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
    flex-shrink: 0;
}
/* ── Hide stray bottom elements ── */
body.woocommerce-cart table.woocommerce-cart-form__contents tfoot { display: none !important; }
body.woocommerce-cart .woocommerce-cart-form .actions {
    border-top: none !important;
    padding-top: 0 !important;
}

/* ==========================================
   TABLET (768px - 1199px)
   ========================================== */
@media (min-width: 768px) and (max-width: 1199px) {

    body.woocommerce-cart .woocommerce {
        padding: 0 24px !important;
        gap: 0 !important;
        margin: 16px auto 40px !important;
    }
    body.woocommerce-cart .kadence-woo-cart-form-wrap {
        flex-direction: column !important;
        gap: 32px !important;
    }
    body.woocommerce-cart .kadence-woo-cart-form-wrap > form.woocommerce-cart-form,
    body.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
    body.woocommerce-cart .kadence-woo-cart-form-wrap > .cart-collaterals,
    body.woocommerce-cart .woocommerce > .cart-collaterals {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
    }
    body.woocommerce-cart .cart_totals {
        max-width: 100% !important;
    }
    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        max-width: 100% !important;
        width: 100% !important;
    }
    body.woocommerce-cart tr.cart_item {
        grid-template-columns: 90px 1fr auto !important;
    }
    body.woocommerce-cart td.product-thumbnail img {
        width: 90px !important;
        height: 90px !important;
    }
}

/* ==========================================
   MOBILE (< 768px)
   ========================================== */
@media (max-width: 767px) {

    body.woocommerce-cart #main .content-wrap,
    body.woocommerce-cart .site-main .content-wrap,
    body.woocommerce-cart .entry-content-wrap,
    body.woocommerce-cart .entry-content,
    body.woocommerce-cart .woocommerce {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    body.woocommerce-cart .woocommerce {
        margin: 8px auto 32px !important;
        gap: 0 !important;
    }

    body.woocommerce-cart .kadence-woo-cart-form-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    body.woocommerce-cart .kadence-woo-cart-form-wrap > form.woocommerce-cart-form,
    body.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
    body.woocommerce-cart .kadence-woo-cart-form-wrap > .cart-collaterals,
    body.woocommerce-cart .woocommerce > .cart-collaterals {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.woocommerce-cart .kadence-woo-cart-form-wrap > .cart-collaterals {
        margin-top: 24px !important;
        border-top: none !important;
        flex: 1 1 auto !important;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form .actions {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        border-bottom: none !important;
    }

    .krumpld-shipping-strip {
        padding: 10px 14px !important;
        font-size: 12px !important;
    }

    body.woocommerce-cart tr.cart_item {
        grid-template-columns: 72px 1fr auto !important;
        gap: 0 12px !important;
        padding: 14px 0 !important;
    }

    body.woocommerce-cart td.product-thumbnail img {
        width: 72px !important;
        height: 72px !important;
    }

    body.woocommerce-cart td.product-name a {
        font-size: 13px !important;
    }

    body.woocommerce-cart .krumpld-qty-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }

    body.woocommerce-cart input.qty {
        width: 36px !important;
        height: 28px !important;
        font-size: 13px !important;
    }

    body.woocommerce-cart .cart-collaterals {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: -6px !important;
        padding-right: -6px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 16px !important;
    }

    .krumpld-continue-shopping {
        font-size: 12px !important;
        margin-top: 16px !important;
        display: flex !important;
    }

    .krumpld-delivery-module {
        margin-bottom: 16px !important;
        margin-top: 0 !important;
    }
    /* Strong Override */
    body.woocommerce-cart .entry-content-wrap,
    body.woocommerce-cart .content-wrap,
    body.woocommerce-cart .site-main .woocommerce,
    body.woocommerce-cart .kadence-woo-cart-form-wrap {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        margin-left: calc(50% - 50vw + 16px) !important;
        margin-right: calc(50% - 50vw + 32px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    body.woocommerce-cart .cart-collaterals {
        width: 100% !important;
        max-width: 100% !important;
        margin: 24px 0 0 !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
    }
    
    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 14px !important;
        box-sizing: border-box !important;
    }
}
/* ==========================================
   FIX: SHIPPING ALIGNMENT
   ========================================== */

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
    display: flex !important;
    justify-content: flex-end !important;
    text-align: right !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
    width: auto !important;
}

/* REMOVE SHIPPING DESTINATION TEXT */
body.woocommerce-cart .woocommerce-shipping-destination {
    display: none !important;
}

/* ==========================================
   MOBILE TOTALS — STABLE TABLE FIX
   ========================================== */

@media (max-width: 767px) {

  /* FORCE CLEAN TABLE BEHAVIOR */
  body.woocommerce-cart .cart_totals table {
      width: 100% !important;
      border-collapse: collapse !important;
  }

  body.woocommerce-cart .cart_totals table tbody {
      display: table-row-group !important;
  }

  body.woocommerce-cart .cart_totals table tr {
      display: table-row !important;
      border: none !important;
  }

  body.woocommerce-cart .cart_totals table th,
  body.woocommerce-cart .cart_totals table td {
      display: table-cell !important;
      padding: 10px 0 !important;
      border: none !important;
      vertical-align: middle !important;
  }

  /* LABEL (LEFT) */
  body.woocommerce-cart .cart_totals table th {
      font-size: 12px !important;
      color: #8A8A8A !important;
      font-weight: 400 !important;
      text-align: left !important;
      width: 60%;
  }

  /* VALUE (RIGHT) */
  body.woocommerce-cart .cart_totals table td {
      font-size: 14px !important;
      color: #111 !important;
      font-weight: 500 !important;
      text-align: right !important;
      width: 40%;
  }

  /* SHIPPING TEXT CLEAN */
  body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
      display: block !important;
      text-align: right !important;
  }

  /* TOTAL ROW */
  body.woocommerce-cart .cart_totals table tr.order-total th,
  body.woocommerce-cart .cart_totals table tr.order-total td {
      border-top: 1px solid #E8E6E2 !important;
      padding-top: 14px !important;
  }

  body.woocommerce-cart .cart_totals table tr.order-total td {
      font-size: 18px !important;
      font-weight: 600 !important;
      color: #000 !important;
  }
}

/* ==========================================
   FIX: CART NOTICE LAYOUT
   ========================================== */

.woocommerce-message {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px;

    white-space: normal !important;
    flex-wrap: wrap;

    width: auto !important;
    max-width: 100% !important;

    padding: 10px 14px !important;
}

/* Ensure text + undo stay inline */
.woocommerce-message a {
    white-space: nowrap !important;
}

/* ==========================================
   FIX: UNDO CLICKABILITY
   ========================================== */

.woocommerce-notices-wrapper,
.woocommerce-message {
    pointer-events: auto !important;
}

.woocommerce-message a {
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
}

/* ==========================================
   EMPTY CART — SAFE CENTER SYSTEM
   ========================================== */

body.woocommerce-cart .woocommerce-notices-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 40px !important;
}

body.woocommerce-cart .return-to-shop {
    text-align: center !important;
    margin-top: 24px !important;
}

body.woocommerce-cart .return-to-shop .button {
    display: inline-block !important;
    min-width: 160px !important;
    text-align: center !important;
}
body.woocommerce-cart .wc-empty-cart-message {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}
body.woocommerce-cart .cart-empty.woocommerce-info {
    text-align: center !important;
    margin: 0 !important;
}

@media (max-width: 480px) {
    body.woocommerce-cart .wc-empty-cart-message {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    body.woocommerce-cart .cart-empty {
        text-align: center !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.woocommerce-cart .cart-empty.woocommerce-info {
        display: block !important;
        width: max-content !important;
        max-width: calc(100% - 2px) !important;
        margin: 16px auto 0 !important;
        padding: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
        font-size: 15px !important;
        line-height: 1.4 !important;
        background: transparent !important;
        border: none !important;
        color: #555 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart p.return-to-shop {
        text-align: center !important;
        margin-top: 24px !important;
    }

    body.woocommerce-cart p.return-to-shop .button {
        display: inline-block !important;
        margin: 0 auto !important;
    }
}
body.woocommerce-cart p.return-to-shop {
    width: 100% !important;
    margin: 24px 0 0 0 !important;
    text-align: center !important;
}

body.woocommerce-cart p.return-to-shop .button {
    display: inline-block !important;
    min-width: 160px !important;
    text-align: center !important;
}


/* To update cart price after quantity is updated */
button[name="update_cart"],
input[name="update_cart"] {
    display: none !important;
}

/* ==========================================
   KRUMPLD TOAST (FLOATING)
   ========================================== */

/*.krumpld-toast {*/
/*  position: fixed;*/
/*  top: 20px;*/
/*  left: 50%;*/
/*  transform: translateX(-50%) translateY(-8px);*/

/*  background: #fff;*/
/*  border: 1px solid #111;*/

/*  padding: 10px 16px;*/
/*  font-size: 13px;*/

/*  opacity: 0;*/
/*  transition: opacity 0.25s ease, transform 0.25s ease;*/

/*  z-index: 99999;*/
/*  pointer-events: none;*/
/*  will-change: transform, opacity;*/
/*}*/

/*.krumpld-toast.show {*/
/*  opacity: 1;*/
/*  transform: translateX(-50%) translateY(0);*/
/*}*/

/*.woocommerce-notices-wrapper {*/
/*    display: none !important;*/
/*}*/


/* ==========================================
   KRUMPLD UNIFIED TOAST (FLOATING)
   ========================================== */
.krumpld-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);

    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    color: #fff;

    padding: 14px 18px;
    border-radius: 999px;

    font-size: 14px;
    letter-spacing: 0.02em;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);

    opacity: 0;
    transition: all 0.25s ease;

    z-index: 9999;
}

.krumpld-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.kr-toast-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kr-toast-text {
    color: #fff;          /* remove opacity wash */
    white-space: nowrap;  /* keeps pill clean */
}

.kr-toast-cta {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

/* Override theme link styles */
.krumpld-toast a,
.krumpld-toast a:hover,
.krumpld-toast a:focus,
.krumpld-toast a:active {
    color: #fff !important;
}