﻿/* Phase 8B Cart and Mini Cart UI migration. Source: reference/dtfshop.code-snippets.php cart snippets. */

/* ==================================================
   DTFSHOP CART PAGE BASE
================================================== */

body.woocommerce-cart {
    background: #ffffff !important;
}

body.woocommerce-cart .woocommerce {
    max-width: 1350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-bottom: 70px !important;
}

body.woocommerce-cart .woocommerce:after {
    content: "";
    display: block;
    clear: both;
}

/* Hide default Woo cross-sell if theme outputs it separately */
body.woocommerce-cart .cross-sells {
    display: none !important;
}

/* ==================================================
   DESKTOP CART POLISH
================================================== */

@media (min-width: 992px) {

    body.woocommerce-cart .woocommerce-cart-form {
        width: 67% !important;
        float: left !important;
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 18px !important;
        box-shadow: 0 14px 36px rgba(15, 23, 42, 0.045) !important;
        overflow: hidden !important;
    }

    body.woocommerce-cart .cart-collaterals {
        width: 31% !important;
        float: right !important;
        margin-top: 0 !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 26px !important;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.075) !important;
        position: sticky !important;
        top: 115px !important;
    }

    body.woocommerce-cart table.shop_table {
        border: 0 !important;
        margin-bottom: 0 !important;
    }

    body.woocommerce-cart table.shop_table th {
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        letter-spacing: .04em !important;
        text-transform: uppercase !important;
        color: #111827 !important;
        border-bottom: 1px solid #eef2f7 !important;
        padding: 14px 12px !important;
    }

    body.woocommerce-cart table.shop_table td {
        border-top: 0 !important;
        border-bottom: 1px solid #eef2f7 !important;
        padding: 18px 12px !important;
        vertical-align: middle !important;
    }

    body.woocommerce-cart table.cart td.product-thumbnail img {
        width: 74px !important;
        height: 74px !important;
        object-fit: contain !important;
        border: 1px solid #eef2f7 !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        padding: 6px !important;
    }

    body.woocommerce-cart table.cart td.product-name a {
        color: #111827 !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }
}

/* ==================================================
   ORDER SUMMARY
================================================== */

body.woocommerce-cart .cart_totals h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 22px !important;
    text-transform: none !important;
}

body.woocommerce-cart .cart_totals table {
    border: 0 !important;
    margin: 0 !important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
    border-color: #eef2f7 !important;
    font-size: 13px !important;
    color: #334155 !important;
    padding: 13px 0 !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #111827 !important;
    padding-top: 18px !important;
}

body.woocommerce-cart .cart_totals select,
body.woocommerce-cart .cart_totals input[type="text"] {
    width: 100% !important;
    height: 44px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 13px !important;
    padding: 0 12px !important;
    box-shadow: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 20px 0 0 !important;
    transform: none !important;
    z-index: auto !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #111827, #202936) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .22) !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, #000000, #111827) !important;
    transform: translateY(-1px) !important;
}

body.woocommerce-cart .dtf-cart-trust-line {
    margin-top: 13px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 7px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: #64748b !important;
    font-weight: 700 !important;
}

body.woocommerce-cart .dtf-cart-trust-line span {
    background: #f8fbff !important;
    border: 1px solid #e6eef8 !important;
    border-radius: 999px !important;
    padding: 6px 9px !important;
}

/* ==================================================
   COUPON AREA
================================================== */

body.woocommerce-cart table.cart td.actions {
    border-bottom: 0 !important;
    padding-top: 18px !important;
}

body.woocommerce-cart table.cart td.actions .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 420px !important;
}

body.woocommerce-cart table.cart td.actions .coupon .input-text {
    height: 44px !important;
    flex: 1 1 auto !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    box-shadow: none !important;
}

body.woocommerce-cart table.cart td.actions .coupon .button {
    height: 44px !important;
    border-radius: 10px !important;
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    padding: 0 18px !important;
}

/* ==================================================
   QUANTITY
================================================== */

body.woocommerce-cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus,
body.woocommerce-cart .quantity input.qty {
    width: 36px !important;
    height: 36px !important;
    border: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    text-align: center !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus {
    background: #f8fafc !important;
}

/* ==================================================
   MOBILE CART FIX
================================================== */

@media (max-width: 768px) {

    body.woocommerce-cart .woocommerce {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-bottom: 45px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 12px !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05) !important;
        overflow: hidden !important;
        margin-bottom: 18px !important;
    }

    body.woocommerce-cart .woocommerce table.shop_table.cart,
    body.woocommerce-cart .woocommerce table.shop_table.cart tbody,
    body.woocommerce-cart .woocommerce table.shop_table.cart tr,
    body.woocommerce-cart .woocommerce table.shop_table.cart td {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce table.shop_table.cart thead {
        display: none !important;
    }

    body.woocommerce-cart table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 0 14px !important;
        align-items: start !important;
        position: relative !important;
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 16px !important;
        padding: 15px !important;
        margin: 0 0 12px !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035) !important;
    }

    body.woocommerce-cart table.cart tr.cart_item td {
        border: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-cart table.cart tr.cart_item td:before {
        display: none !important;
    }

    body.woocommerce-cart table.cart td.product-thumbnail {
        grid-column: 1 !important;
        grid-row: 1 / span 5 !important;
    }

    body.woocommerce-cart table.cart td.product-thumbnail img {
        width: 78px !important;
        height: 78px !important;
        object-fit: contain !important;
        border: 1px solid #eef2f7 !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        padding: 6px !important;
    }

    body.woocommerce-cart table.cart td.product-name {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding-right: 24px !important;
    }

    body.woocommerce-cart table.cart td.product-name a {
        color: #111827 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        font-weight: 800 !important;
        text-align: left !important;
        text-decoration: none !important;
    }

    body.woocommerce-cart table.cart td.product-price {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 8px !important;
        color: #334155 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    body.woocommerce-cart table.cart td.product-quantity {
        grid-column: 2 !important;
        grid-row: 3 !important;
        margin-top: 10px !important;
    }

    body.woocommerce-cart table.cart td.product-subtotal {
        grid-column: 2 !important;
        grid-row: 4 !important;
        margin-top: 10px !important;
        color: #111827 !important;
        font-size: 17px !important;
        font-weight: 900 !important;
    }

    body.woocommerce-cart table.cart td.product-remove {
        position: absolute !important;
        top: 9px !important;
        right: 9px !important;
        width: 26px !important;
        height: 26px !important;
        z-index: 2 !important;
    }

    body.woocommerce-cart table.cart td.product-remove a {
        width: 26px !important;
        height: 26px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 999px !important;
        color: #111827 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .12) !important;
    }

    body.woocommerce-cart table.cart td.actions {
        padding: 8px 0 2px !important;
        border: 0 !important;
    }

    body.woocommerce-cart table.cart td.actions .coupon {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        gap: 7px !important;
    }

    body.woocommerce-cart table.cart td.actions .coupon .input-text {
        min-width: 0 !important;
        height: 42px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }

    body.woocommerce-cart table.cart td.actions .coupon .button {
        height: 42px !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        padding: 0 13px !important;
        border-radius: 10px !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 18px !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07) !important;
        margin-top: 0 !important;
        position: static !important;
        top: auto !important;
    }

    body.woocommerce-cart .cart_totals h2 {
        font-size: 17px !important;
        margin-bottom: 18px !important;
    }

    body.woocommerce-cart .cart_totals th,
    body.woocommerce-cart .cart_totals td {
        font-size: 12px !important;
    }

    body.woocommerce-cart .cart_totals .order-total th,
    body.woocommerce-cart .cart_totals .order-total td {
        font-size: 20px !important;
    }

    body.woocommerce-cart .wc-proceed-to-checkout,
    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
    body.woocommerce-cart a.checkout-button {
        position: static !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        transform: none !important;
        z-index: auto !important;
    }

    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        min-height: 52px !important;
        margin: 18px 0 0 !important;
    }

    body.woocommerce-cart .dtf-mobile-sticky-checkout,
    body.woocommerce-cart .dtf-cart-sticky-checkout,
    body.woocommerce-cart .dtf-sticky-checkout,
    body.woocommerce-cart .mobile-sticky-checkout,
    body.woocommerce-cart .cart-sticky-checkout,
    body.woocommerce-cart [class*="cart-sticky-checkout"],
    body.woocommerce-cart [class*="sticky-checkout"] {
        display: none !important;
    }
}

/* ==================================================
   COMPLETE YOUR DTF SETUP SECTION
================================================== */

body.woocommerce-cart .dtf-cart-complete-setup {
    clear: both !important;
    max-width: 1280px !important;
    margin: 64px auto 0 !important;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
    border: 1px solid #e1edf8 !important;
    border-radius: 22px !important;
    padding: 26px !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06) !important;
}

body.woocommerce-cart .dtf-cart-suggest-head {
    margin-bottom: 20px !important;
    text-align: left !important;
}

body.woocommerce-cart .dtf-cart-suggest-kicker {
    display: inline-flex !important;
    align-items: center !important;
    background: #eaf6ff !important;
    color: #0078b8 !important;
    border: 1px solid #cdeeff !important;
    border-radius: 999px !important;
    padding: 6px 11px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    margin-bottom: 10px !important;
}

body.woocommerce-cart .dtf-cart-suggest-head h2 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .dtf-cart-suggest-head p {
    margin: 7px 0 0 !important;
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
}

body.woocommerce-cart .dtf-cart-suggest-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

body.woocommerce-cart .dtf-cart-suggest-card {
    background: #ffffff !important;
    border: 1px solid #e8edf4 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.woocommerce-cart .dtf-cart-suggest-card:hover {
    transform: translateY(-3px) !important;
    border-color: #cdeeff !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .09) !important;
}

body.woocommerce-cart .dtf-cart-suggest-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 145px !important;
    background: #fbfdff !important;
    padding: 16px !important;
    text-decoration: none !important;
}

body.woocommerce-cart .dtf-cart-suggest-img img {
    max-width: 100% !important;
    max-height: 118px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

body.woocommerce-cart .dtf-cart-suggest-info {
    padding: 14px !important;
}

body.woocommerce-cart .dtf-cart-suggest-tag {
    display: inline-flex !important;
    width: fit-content !important;
    background: #f1f8ff !important;
    color: #0078b8 !important;
    border-radius: 999px !important;
    padding: 4px 8px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
}

body.woocommerce-cart .dtf-cart-suggest-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 40px !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.woocommerce-cart .dtf-cart-suggest-price {
    margin: 9px 0 12px !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .dtf-cart-suggest-price del {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

body.woocommerce-cart .dtf-cart-suggest-btn {
    width: 100% !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #111827, #202936) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
    border: 0 !important;
    padding: 0 12px !important;
}

body.woocommerce-cart .dtf-cart-suggest-btn:hover {
    background: linear-gradient(135deg, #000000, #111827) !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    body.woocommerce-cart .dtf-cart-suggest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {

    body.woocommerce-cart .dtf-cart-complete-setup {
        margin: 30px auto 0 !important;
        padding: 18px 14px !important;
        border-radius: 20px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-head h2 {
        font-size: 20px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-head p {
        font-size: 12px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 74% !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-grid::-webkit-scrollbar {
        display: none !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-card {
        scroll-snap-align: start !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-img {
        height: 130px !important;
    }
}

@media (max-width: 420px) {
    body.woocommerce-cart .dtf-cart-suggest-grid {
        grid-auto-columns: 82% !important;
    }
}

/* ==================================================
   RESET OLD V1 DAMAGE
================================================== */

body.woocommerce-cart .dtf-cart-complete-setup:not(.dtf-cart-complete-setup-v2) {
    display: none !important;
}

body.woocommerce-cart .cart-v2,
body.woocommerce-cart .cart-v2 * {
    box-sizing: border-box !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

body.woocommerce-cart .woocommerce {
    max-width: 1350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

body.woocommerce-cart .cross-sells {
    display: none !important;
}

/* ==================================================
   DESKTOP PORTO CART-V2 SAFE LAYOUT
================================================== */

@media (min-width: 992px) {

    body.woocommerce-cart .cart-v2 > .row {
        max-width: 1120px !important;
        margin: 0 auto 54px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 390px !important;
        gap: 28px !important;
        align-items: start !important;
    }

    body.woocommerce-cart .cart-v2 > .row > .col-lg-8,
    body.woocommerce-cart .cart-v2 > .row > .col-lg-4 {
        width: auto !important;
        max-width: none !important;
        flex: initial !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
    }

    body.woocommerce-cart .cart-v2 .woocommerce-cart-form,
    body.woocommerce-cart .cart-v2 .cart-collaterals,
    body.woocommerce-cart .cart-v2 .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        clear: none !important;
    }

    body.woocommerce-cart .cart-v2 .box-content {
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 18px !important;
        box-shadow: 0 14px 36px rgba(15, 23, 42, 0.045) !important;
        overflow: hidden !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals {
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 24px !important;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.075) !important;
        position: sticky !important;
        top: 116px !important;
    }
}

/* ==================================================
   CART TABLE
================================================== */

body.woocommerce-cart .cart-v2 table.shop_table {
    width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
}

body.woocommerce-cart .cart-v2 table.shop_table th {
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    color: #111827 !important;
    border-bottom: 1px solid #eef2f7 !important;
    padding: 13px 10px !important;
    white-space: nowrap !important;
}

body.woocommerce-cart .cart-v2 table.shop_table td {
    border-top: 0 !important;
    border-bottom: 1px solid #eef2f7 !important;
    padding: 16px 10px !important;
    vertical-align: middle !important;
}

body.woocommerce-cart .cart-v2 table.cart td.product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    border: 1px solid #eef2f7 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    padding: 6px !important;
}

body.woocommerce-cart .cart-v2 table.cart td.product-name a {
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.woocommerce-cart .cart-v2 table.cart td.product-price,
body.woocommerce-cart .cart-v2 table.cart td.product-quantity,
body.woocommerce-cart .cart-v2 table.cart td.product-subtotal {
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

/* ==================================================
   COUPON
================================================== */

body.woocommerce-cart .cart-v2 table.cart td.actions {
    border-bottom: 0 !important;
    padding: 18px 0 0 !important;
}

body.woocommerce-cart .cart-v2 table.cart td.actions .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 390px !important;
}

body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .input-text {
    height: 42px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .button {
    height: 42px !important;
    border-radius: 10px !important;
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
}

/* ==================================================
   ORDER SUMMARY
================================================== */

body.woocommerce-cart .cart-v2 .cart_totals h2,
body.woocommerce-cart .cart-v2 .cart_totals h4.card-sub-title {
    display: block !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: #111827 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
}

body.woocommerce-cart .cart-v2 .cart_totals table {
    width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
}

body.woocommerce-cart .cart-v2 .cart_totals th,
body.woocommerce-cart .cart-v2 .cart_totals td {
    width: auto !important;
    max-width: none !important;
    border-color: #eef2f7 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: #334155 !important;
    padding: 12px 0 !important;
    white-space: normal !important;
    word-break: normal !important;
}

body.woocommerce-cart .cart-v2 .cart_totals th {
    text-align: left !important;
}

body.woocommerce-cart .cart-v2 .cart_totals td {
    text-align: right !important;
}

body.woocommerce-cart .cart-v2 .cart_totals .order-total th,
body.woocommerce-cart .cart-v2 .cart_totals .order-total td {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #111827 !important;
    padding-top: 18px !important;
}

body.woocommerce-cart .cart-v2 .cart_totals select,
body.woocommerce-cart .cart-v2 .cart_totals input[type="text"],
body.woocommerce-cart .cart-v2 .cart_totals .select2-selection {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    box-shadow: none !important;
}

/* ==================================================
   CHECKOUT BUTTON REPAIR
================================================== */

body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 18px 0 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: auto !important;
}

body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout .sticky-checkout-bottom,
body.woocommerce-cart .cart-v2 .sticky-checkout-bottom {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: auto !important;
}

body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout a,
body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout .btn,
body.woocommerce-cart .cart-v2 .sticky-checkout-bottom a {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #111827, #202936) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .22) !important;
    transform: none !important;
}

body.woocommerce-cart .cart-v2 .dtf-cart-trust-line {
    margin-top: 13px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 7px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #64748b !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .cart-v2 .dtf-cart-trust-line span {
    background: #f8fbff !important;
    border: 1px solid #e6eef8 !important;
    border-radius: 999px !important;
    padding: 6px 9px !important;
}

/* ==================================================
   MOBILE CART
================================================== */

@media (max-width: 768px) {

    body.woocommerce-cart .woocommerce {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.woocommerce-cart .cart-v2 > .row {
        display: block !important;
        max-width: 100% !important;
        margin: 0 auto 34px !important;
    }

    body.woocommerce-cart .cart-v2 > .row > .col-lg-8,
    body.woocommerce-cart .cart-v2 > .row > .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
    }

    body.woocommerce-cart .cart-v2 .box-content {
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 12px !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05) !important;
        overflow: hidden !important;
        margin-bottom: 16px !important;
    }

    body.woocommerce-cart .cart-v2 .woocommerce-cart-form {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        border: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.woocommerce-cart .cart-v2 .woocommerce table.shop_table.cart,
    body.woocommerce-cart .cart-v2 .woocommerce table.shop_table.cart tbody,
    body.woocommerce-cart .cart-v2 .woocommerce table.shop_table.cart tr,
    body.woocommerce-cart .cart-v2 .woocommerce table.shop_table.cart td,
    body.woocommerce-cart .cart-v2 table.shop_table.cart,
    body.woocommerce-cart .cart-v2 table.shop_table.cart tbody,
    body.woocommerce-cart .cart-v2 table.shop_table.cart tr,
    body.woocommerce-cart .cart-v2 table.shop_table.cart td {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .cart-v2 table.shop_table.cart thead {
        display: none !important;
    }

    body.woocommerce-cart .cart-v2 table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 0 14px !important;
        align-items: start !important;
        position: relative !important;
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 16px !important;
        padding: 15px !important;
        margin: 0 0 12px !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035) !important;
    }

    body.woocommerce-cart .cart-v2 table.cart tr.cart_item td {
        border: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-cart .cart-v2 table.cart tr.cart_item td:before {
        display: none !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-thumbnail {
        grid-column: 1 !important;
        grid-row: 1 / span 5 !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-thumbnail img {
        width: 78px !important;
        height: 78px !important;
        object-fit: contain !important;
        border: 1px solid #eef2f7 !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        padding: 6px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-name {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding-right: 24px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-name a {
        color: #111827 !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        font-weight: 900 !important;
        text-align: left !important;
        text-decoration: none !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-price {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 8px !important;
        color: #334155 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-quantity {
        grid-column: 2 !important;
        grid-row: 3 !important;
        margin-top: 8px !important;
        color: #111827 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-subtotal {
        grid-column: 2 !important;
        grid-row: 4 !important;
        margin-top: 10px !important;
        color: #111827 !important;
        font-size: 16px !important;
        font-weight: 900 !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-remove {
        position: absolute !important;
        top: 9px !important;
        right: 9px !important;
        width: 26px !important;
        height: 26px !important;
        z-index: 2 !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-remove a {
        width: 26px !important;
        height: 26px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 999px !important;
        color: #111827 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .12) !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.actions {
        padding: 8px 0 2px !important;
        border: 0 !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.actions .coupon {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        gap: 7px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .input-text {
        min-width: 0 !important;
        height: 42px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .button {
        height: 42px !important;
        white-space: nowrap !important;
        font-size: 10px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
    }

    body.woocommerce-cart .cart-v2 .cart-collaterals,
    body.woocommerce-cart .cart-v2 .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals {
        background: #ffffff !important;
        border: 1px solid #e8edf4 !important;
        border-radius: 18px !important;
        padding: 18px !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07) !important;
        margin-top: 0 !important;
        position: static !important;
        top: auto !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals h2,
    body.woocommerce-cart .cart-v2 .cart_totals h4.card-sub-title {
        font-size: 16px !important;
        margin-bottom: 16px !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals .order-total th,
    body.woocommerce-cart .cart-v2 .cart_totals .order-total td {
        font-size: 20px !important;
    }

    body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout,
    body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout .sticky-checkout-bottom,
    body.woocommerce-cart .cart-v2 .sticky-checkout-bottom {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        z-index: auto !important;
    }

    body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout a,
    body.woocommerce-cart .cart-v2 .sticky-checkout-bottom a {
        min-height: 52px !important;
        margin: 0 !important;
    }
}

/* ==================================================
   COMPLETE YOUR DTF SETUP
================================================== */

body.woocommerce-cart .dtf-cart-complete-setup-v2 {
    clear: both !important;
    max-width: 1120px !important;
    margin: 50px auto 0 !important;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
    border: 1px solid #e1edf8 !important;
    border-radius: 22px !important;
    padding: 24px !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06) !important;
}

body.woocommerce-cart .dtf-cart-suggest-head {
    margin-bottom: 18px !important;
    text-align: left !important;
}

body.woocommerce-cart .dtf-cart-suggest-kicker {
    display: inline-flex !important;
    align-items: center !important;
    background: #eaf6ff !important;
    color: #0078b8 !important;
    border: 1px solid #cdeeff !important;
    border-radius: 999px !important;
    padding: 6px 11px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    margin-bottom: 10px !important;
}

body.woocommerce-cart .dtf-cart-suggest-head h2 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .dtf-cart-suggest-head p {
    margin: 7px 0 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
}

body.woocommerce-cart .dtf-cart-suggest-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body.woocommerce-cart .dtf-cart-suggest-card {
    background: #ffffff !important;
    border: 1px solid #e8edf4 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.woocommerce-cart .dtf-cart-suggest-card:hover {
    transform: translateY(-3px) !important;
    border-color: #cdeeff !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .09) !important;
}

body.woocommerce-cart .dtf-cart-suggest-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 136px !important;
    background: #fbfdff !important;
    padding: 14px !important;
    text-decoration: none !important;
}

body.woocommerce-cart .dtf-cart-suggest-img img {
    max-width: 100% !important;
    max-height: 110px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

body.woocommerce-cart .dtf-cart-suggest-info {
    padding: 13px !important;
}

body.woocommerce-cart .dtf-cart-suggest-tag {
    display: inline-flex !important;
    width: fit-content !important;
    background: #f1f8ff !important;
    color: #0078b8 !important;
    border-radius: 999px !important;
    padding: 4px 8px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
}

body.woocommerce-cart .dtf-cart-suggest-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 38px !important;
    color: #111827 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.woocommerce-cart .dtf-cart-suggest-price {
    margin: 9px 0 12px !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .dtf-cart-suggest-price del {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

body.woocommerce-cart .dtf-cart-suggest-btn {
    width: 100% !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #111827, #202936) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
    border: 0 !important;
    padding: 0 12px !important;
}

body.woocommerce-cart .dtf-cart-suggest-btn:hover {
    background: linear-gradient(135deg, #000000, #111827) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {

    body.woocommerce-cart .dtf-cart-complete-setup-v2 {
        max-width: 100% !important;
        margin: 30px auto 0 !important;
        padding: 18px 14px !important;
        border-radius: 20px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-head h2 {
        font-size: 20px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-head p {
        font-size: 12px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 78% !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-grid::-webkit-scrollbar {
        display: none !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-card {
        scroll-snap-align: start !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-img {
        height: 128px !important;
    }
}

@media (max-width: 420px) {
    body.woocommerce-cart .dtf-cart-suggest-grid {
        grid-auto-columns: 84% !important;
    }
}

:root {
    --dtf-cart-dark: #101827;
    --dtf-cart-dark-2: #1f2937;
    --dtf-cart-blue: #0b8fe8;
    --dtf-cart-soft-blue: #eef8ff;
    --dtf-cart-border: #e4edf7;
    --dtf-cart-text: #101827;
    --dtf-cart-muted: #64748b;
}

/* ==================================================
   PAGE WIDTH + SPACING
================================================== */

body.woocommerce-cart .woocommerce {
    max-width: 1350px !important;
}

body.woocommerce-cart .cart-v2 > .row {
    margin-top: 18px !important;
}

/* ==================================================
   PREMIUM CART STEPPER
================================================== */

body.woocommerce-cart .woo-page-header.page-header-8 {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    border-top: 1px solid #eef3f8 !important;
    border-bottom: 1px solid #eaf1f8 !important;
    padding: 28px 14px 24px !important;
    margin-bottom: 24px !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb {
    max-width: 850px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    list-style: none !important;
    background: transparent !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li .delimiter {
    display: none !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li a {
    min-height: 82px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 18px !important;
    background: #ffffff !important;
    border: 1px solid var(--dtf-cart-border) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
    color: var(--dtf-cart-text) !important;
    text-decoration: none !important;
    font-size: 0 !important;
    line-height: 1.2 !important;
    transition: all .22s ease !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li a:before {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    background: #f3f7fb !important;
    color: #94a3b8 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    box-shadow: inset 0 0 0 1px #e5edf6 !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(1) a:before {
    content: "ðŸ›’" !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(2) a:before {
    content: "ðŸ’³" !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(3) a:before {
    content: "âœ“" !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li a:after {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: var(--dtf-cart-muted) !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(1) a {
    font-size: 17px !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(1) a:after {
    content: "Review your items" !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(2) a {
    font-size: 17px !important;
    font-weight: 850 !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(2) a:after {
    content: "Shipping & payment" !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(3) a {
    font-size: 17px !important;
    font-weight: 850 !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li:nth-child(3) a:after {
    content: "Confirmation" !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li.current a {
    background: linear-gradient(135deg, #f7fbff 0%, #ffffff 50%, #eef8ff 100%) !important;
    border-color: #80caff !important;
    box-shadow: 0 16px 34px rgba(11, 143, 232, 0.14) !important;
}

body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li.current a:before {
    background: linear-gradient(135deg, #009fe3, #1469ff) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(0, 159, 227, 0.32) !important;
}

/* ==================================================
   DESKTOP CART LAYOUT LIKE MOCKUP
================================================== */

@media (min-width: 992px) {
    body.woocommerce-cart .cart-v2 > .row {
        max-width: 1160px !important;
        grid-template-columns: minmax(0, 1fr) 410px !important;
        gap: 22px !important;
        align-items: start !important;
    }

    body.woocommerce-cart .cart-v2 .box-content {
        min-height: 310px !important;
        padding: 26px !important;
        border-radius: 22px !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals {
        border-radius: 22px !important;
        padding: 28px !important;
    }
}

/* ==================================================
   CART PRODUCT ROW POLISH
================================================== */

body.woocommerce-cart .cart-v2 table.shop_table th {
    color: #0f172a !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .cart-v2 table.cart td.product-thumbnail img {
    width: 86px !important;
    height: 86px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff, #fbfdff) !important;
}

body.woocommerce-cart .cart-v2 table.cart td.product-name a {
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .cart-v2 table.cart td.product-name a:after {
    content: "In Stock  â€¢  Ships in 1â€“2 days" !important;
    display: block !important;
    width: fit-content !important;
    margin-top: 9px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: #ecfdf3 !important;
    color: #128a43 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
}

/* ==================================================
   QUANTITY BUTTON UI
================================================== */

body.woocommerce-cart .dtf-cart-qty,
body.woocommerce-cart .cart-v2 .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    min-width: 126px !important;
    border: 1px solid #dfe8f3 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .045) !important;
}

body.woocommerce-cart .dtf-cart-qty button,
body.woocommerce-cart .cart-v2 .quantity .minus,
body.woocommerce-cart .cart-v2 .quantity .plus {
    width: 40px !important;
    height: 44px !important;
    border: 0 !important;
    background: #f7faff !important;
    color: #0f172a !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

body.woocommerce-cart .dtf-cart-qty strong,
body.woocommerce-cart .cart-v2 .quantity input.qty {
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-align: center !important;
    box-shadow: none !important;
}

/* ==================================================
   COUPON AREA
================================================== */

body.woocommerce-cart .cart-v2 table.cart td.actions .coupon {
    max-width: 500px !important;
}

body.woocommerce-cart .cart-v2 table.cart td.actions .coupon:before {
    content: "Have a coupon code?" !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .input-text {
    height: 50px !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    border-color: #dfe8f3 !important;
    font-size: 13px !important;
}

body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .button {
    height: 50px !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, #f9fbfd, #eef3f8) !important;
    border: 1px solid #dfe8f3 !important;
    color: #101827 !important;
}

/* ==================================================
   ORDER SUMMARY PREMIUM CARD
================================================== */

body.woocommerce-cart .cart-v2 .cart_totals {
    background:
        radial-gradient(circle at top left, rgba(0,159,227,.10), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    border: 1px solid #dceaf7 !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.10) !important;
}

body.woocommerce-cart .cart-v2 .cart_totals .card {
    border: 1px solid #e7eef7 !important;
    border-radius: 18px !important;
    padding: 22px !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

body.woocommerce-cart .cart-v2 .cart_totals h4.card-sub-title,
body.woocommerce-cart .cart-v2 .cart_totals h2 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    color: #101827 !important;
    margin-bottom: 18px !important;
}

body.woocommerce-cart .cart-v2 .cart_totals h4.card-sub-title:before,
body.woocommerce-cart .cart-v2 .cart_totals h2:before {
    content: "ðŸ›¡" !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #eaf6ff !important;
    color: #009fe3 !important;
    font-size: 15px !important;
}

body.woocommerce-cart .cart-v2 .cart_totals table tr {
    border-bottom: 1px solid #edf2f7 !important;
}

body.woocommerce-cart .cart-v2 .cart_totals table tr:last-child {
    border-bottom: 0 !important;
}

body.woocommerce-cart .cart-v2 .cart_totals th,
body.woocommerce-cart .cart-v2 .cart_totals td {
    padding: 13px 0 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #334155 !important;
}

body.woocommerce-cart .cart-v2 .cart_totals .order-total th,
body.woocommerce-cart .cart-v2 .cart_totals .order-total td {
    padding-top: 19px !important;
    font-size: 24px !important;
    font-weight: 950 !important;
    color: #101827 !important;
}

body.woocommerce-cart .cart-v2 .cart_totals .order-total th h4 {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #101827 !important;
}

body.woocommerce-cart .cart-v2 .cart_totals select,
body.woocommerce-cart .cart-v2 .cart_totals input[type="text"],
body.woocommerce-cart .cart-v2 .cart_totals .select2-selection {
    height: 46px !important;
    border-radius: 12px !important;
    border-color: #dfe8f3 !important;
    background: #ffffff !important;
}

/* ==================================================
   BUTTON STYLE â€” SAME CATALOG DARK GRADIENT + LIGHT SHINE
================================================== */

body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout a,
body.woocommerce-cart .cart-v2 .sticky-checkout-bottom a,
body.woocommerce-cart .dtf-cart-suggest-btn {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #101827 0%, #1f2937 52%, #111827 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .24) !important;
}

body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout a:before,
body.woocommerce-cart .cart-v2 .sticky-checkout-bottom a:before,
body.woocommerce-cart .dtf-cart-suggest-btn:before {
    content: "" !important;
    position: absolute !important;
    top: -40% !important;
    left: -70% !important;
    width: 42% !important;
    height: 180% !important;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%) !important;
    transform: rotate(18deg) !important;
    animation: dtfCartButtonShine 4.5s ease-in-out infinite !important;
    pointer-events: none !important;
}

body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout a:hover,
body.woocommerce-cart .cart-v2 .sticky-checkout-bottom a:hover,
body.woocommerce-cart .dtf-cart-suggest-btn:hover {
    background: linear-gradient(135deg, #05070d 0%, #101827 55%, #1f2937 100%) !important;
    transform: translateY(-1px) !important;
}

@keyframes dtfCartButtonShine {
    0%, 72% { left: -70%; opacity: 0; }
    78% { opacity: 1; }
    100% { left: 135%; opacity: 0; }
}

/* ==================================================
   TRUST BADGES
================================================== */

body.woocommerce-cart .cart-v2 .dtf-cart-trust-line {
    gap: 8px !important;
    margin-top: 15px !important;
}

body.woocommerce-cart .cart-v2 .dtf-cart-trust-line span {
    min-width: 96px !important;
    text-align: center !important;
    background: #f3f9ff !important;
    border: 1px solid #d7ecff !important;
    color: #33536d !important;
    border-radius: 12px !important;
    padding: 9px 10px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

/* ==================================================
   RECOMMENDED PRODUCTS SECTION
================================================== */

body.woocommerce-cart .dtf-cart-complete-setup-v2 {
    max-width: 1160px !important;
    margin-top: 42px !important;
    padding: 26px !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at top left, rgba(0,159,227,.11), transparent 34%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .08) !important;
}

body.woocommerce-cart .dtf-cart-suggest-head h2 {
    font-size: 24px !important;
    color: #101827 !important;
}

body.woocommerce-cart .dtf-cart-suggest-card {
    border-radius: 18px !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .075) !important;
}

body.woocommerce-cart .dtf-cart-suggest-img {
    height: 150px !important;
}

body.woocommerce-cart .dtf-cart-suggest-title {
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .dtf-cart-suggest-price {
    font-size: 14px !important;
}

body.woocommerce-cart .dtf-cart-suggest-btn {
    min-height: 44px !important;
    border-radius: 12px !important;
}

/* ==================================================
   MOBILE RESPONSIVE
================================================== */

@media (max-width: 768px) {

    body.woocommerce-cart .woo-page-header.page-header-8 {
        padding: 18px 10px 18px !important;
        margin-bottom: 18px !important;
    }

    body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        max-width: 100% !important;
    }

    body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li a {
        min-height: 72px !important;
        padding: 10px 8px !important;
        border-radius: 15px !important;
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
        font-size: 11px !important;
        font-weight: 900 !important;
    }

    body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li a:before {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
    }

    body.woocommerce-cart .woo-page-header.page-header-8 .breadcrumb li a:after {
        display: none !important;
    }

    body.woocommerce-cart .cart-v2 .box-content {
        border-radius: 20px !important;
        padding: 12px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart tr.cart_item {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        border-radius: 18px !important;
        padding: 14px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-thumbnail img {
        width: 86px !important;
        height: 86px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-name a {
        font-size: 12px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.product-name a:after {
        font-size: 9px !important;
        margin-top: 7px !important;
    }

    body.woocommerce-cart .dtf-cart-qty,
    body.woocommerce-cart .cart-v2 .quantity {
        height: 42px !important;
        min-width: 112px !important;
    }

    body.woocommerce-cart .dtf-cart-qty button,
    body.woocommerce-cart .cart-v2 .quantity .minus,
    body.woocommerce-cart .cart-v2 .quantity .plus {
        width: 36px !important;
        height: 40px !important;
    }

    body.woocommerce-cart .dtf-cart-qty strong,
    body.woocommerce-cart .cart-v2 .quantity input.qty {
        width: 40px !important;
        height: 40px !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.actions .coupon {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .input-text,
    body.woocommerce-cart .cart-v2 table.cart td.actions .coupon .button {
        height: 46px !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals {
        border-radius: 20px !important;
        padding: 16px !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals .card {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals h4.card-sub-title,
    body.woocommerce-cart .cart-v2 .cart_totals h2 {
        font-size: 18px !important;
    }

    body.woocommerce-cart .cart-v2 .cart_totals .order-total th,
    body.woocommerce-cart .cart-v2 .cart_totals .order-total td {
        font-size: 22px !important;
    }

    body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout a,
    body.woocommerce-cart .cart-v2 .sticky-checkout-bottom a {
        min-height: 54px !important;
        border-radius: 13px !important;
    }

    body.woocommerce-cart .dtf-cart-complete-setup-v2 {
        margin-top: 28px !important;
        padding: 18px 14px !important;
        border-radius: 22px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-head h2 {
        font-size: 20px !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-grid {
        grid-auto-columns: 76% !important;
    }

    body.woocommerce-cart .dtf-cart-suggest-img {
        height: 132px !important;
    }
}

@media (max-width: 420px) {
    body.woocommerce-cart .dtf-cart-suggest-grid {
        grid-auto-columns: 84% !important;
    }
}

/* Remove Secure Payment / GST Invoice / WhatsApp Support badges */
body.woocommerce-cart .cart-v2 .dtf-cart-trust-line,
body.woocommerce-cart .dtf-cart-trust-line {
    display: none !important;
}

/* Make Order Summary cleaner after removing badges */
body.woocommerce-cart .cart-v2 .cart_totals {
    padding-bottom: 24px !important;
}

body.woocommerce-cart .cart-v2 .cart_totals .card {
    padding-bottom: 22px !important;
}

/* Shipping estimator section title feel */
body.woocommerce-cart .cart-v2 .shipping_calculator:before {
    content: "Estimate Shipping & Tax";
    display: block !important;
    margin: 4px 0 10px !important;
    color: #101827 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}

/* Two-column estimator:
   Left column: Country + State
   Right column: City + PIN Code
*/
body.woocommerce-cart .cart-v2 .shipping-calculator-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
        "country city"
        "state pin"
        "button button" !important;
    gap: 10px 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .cart-v2 #calc_shipping_country_field {
    grid-area: country !important;
}

body.woocommerce-cart .cart-v2 #calc_shipping_state_field {
    grid-area: state !important;
}

body.woocommerce-cart .cart-v2 #calc_shipping_city_field {
    grid-area: city !important;
}

body.woocommerce-cart .cart-v2 #calc_shipping_postcode_field {
    grid-area: pin !important;
}

body.woocommerce-cart .cart-v2 .shipping-calculator-form > p {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* Update totals button row */
body.woocommerce-cart .cart-v2 .shipping-calculator-form > p:last-of-type {
    grid-area: button !important;
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 2px !important;
}

body.woocommerce-cart .cart-v2 .shipping-calculator-form button[name="calc_shipping"] {
    min-height: 34px !important;
    border-radius: 9px !important;
    background: #f3f6fa !important;
    border: 1px solid #e0e8f2 !important;
    color: #101827 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    padding: 0 12px !important;
    box-shadow: none !important;
}

/* Field styling */
body.woocommerce-cart .cart-v2 .shipping-calculator-form input.input-text,
body.woocommerce-cart .cart-v2 .shipping-calculator-form select,
body.woocommerce-cart .cart-v2 .shipping-calculator-form .select2-container,
body.woocommerce-cart .cart-v2 .shipping-calculator-form .select2-selection {
    width: 100% !important;
    max-width: 100% !important;
}

body.woocommerce-cart .cart-v2 .shipping-calculator-form input.input-text,
body.woocommerce-cart .cart-v2 .shipping-calculator-form .select2-selection {
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 11px !important;
    border: 1px solid #dfe8f3 !important;
    background: #ffffff !important;
    color: #101827 !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

body.woocommerce-cart .cart-v2 .shipping-calculator-form .select2-selection__rendered {
    height: 40px !important;
    line-height: 40px !important;
    padding-left: 11px !important;
    padding-right: 28px !important;
    color: #334155 !important;
    font-size: 12px !important;
}

body.woocommerce-cart .cart-v2 .shipping-calculator-form .select2-selection__arrow {
    height: 40px !important;
}

/* Subtotal / tax / total rows align tighter */
body.woocommerce-cart .cart-v2 .cart_totals table tr.cart-subtotal th,
body.woocommerce-cart .cart-v2 .cart_totals table tr.cart-subtotal td {
    padding-bottom: 14px !important;
}

body.woocommerce-cart .cart-v2 .cart_totals tr.border-bottom-0 th {
    padding-top: 4px !important;
    padding-bottom: 14px !important;
}

body.woocommerce-cart .cart-v2 .cart_totals tr.tax-rate th,
body.woocommerce-cart .cart-v2 .cart_totals tr.tax-rate td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

body.woocommerce-cart .cart-v2 .cart_totals .order-total th,
body.woocommerce-cart .cart-v2 .cart_totals .order-total td {
    padding-top: 16px !important;
}

/* Checkout button now sits cleanly without trust badges below */
body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}

body.woocommerce-cart .cart-v2 .wc-proceed-to-checkout a,
body.woocommerce-cart .cart-v2 .sticky-checkout-bottom a {
    min-height: 52px !important;
    border-radius: 13px !important;
}

/* Mobile: keep 2 columns only where it is readable */
@media (max-width: 768px) {
    body.woocommerce-cart .cart-v2 .shipping-calculator-form {
        gap: 9px !important;
    }

    body.woocommerce-cart .cart-v2 .shipping-calculator-form input.input-text,
    body.woocommerce-cart .cart-v2 .shipping-calculator-form .select2-selection {
        height: 41px !important;
        min-height: 41px !important;
        font-size: 11px !important;
    }

    body.woocommerce-cart .cart-v2 .shipping-calculator-form .select2-selection__rendered {
        height: 39px !important;
        line-height: 39px !important;
        font-size: 11px !important;
    }
}

/* Very small mobile: stack to avoid squeezed fields */
@media (max-width: 390px) {
    body.woocommerce-cart .cart-v2 .shipping-calculator-form {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "country"
            "state"
            "city"
            "pin"
            "button" !important;
    }
}

/* Remove huge footer reveal reserved space */
html body .page-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Force footer to behave normally */
html body .footer-wrapper,
html body .footer-wrapper.footer-reveal {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    pointer-events: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove unwanted empty space after footer */
html body #footer,
html body .footer,
html body .footer-main,
html body .footer-bottom {
    margin-bottom: 0 !important;
}

/* Cart page specific safety */
body.woocommerce-cart #main,
body.woocommerce-cart .main-content,
body.woocommerce-cart .page-content,
body.woocommerce-cart .woocommerce {
    margin-bottom: 0 !important;
}

/* Keep Porto mobile bottom nav from adding strange page gap */
body.woocommerce-cart .porto-sticky-navbar {
    margin-bottom: 0 !important;
}

/* Mobile footer spacing clean */
@media (max-width: 768px) {
    html body .page-wrapper {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    html body .footer-wrapper,
    html body .footer-wrapper.footer-reveal {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    html body .footer-bottom {
        padding-bottom: 18px !important;
    }
}

/* ==================================================
   MINI CART SIDEBAR BASE
================================================== */

#mini-cart.minicart-offcanvas .cart-popup,
.minicart-offcanvas .cart-popup.widget_shopping_cart {
    width: 420px !important;
    max-width: calc(100vw - 34px) !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: -18px 0 45px rgba(15, 23, 42, 0.18) !important;
    overflow: hidden !important;
}

#mini-cart.minicart-offcanvas .widget_shopping_cart_content {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    background:
        radial-gradient(circle at top right, rgba(0,159,227,.10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    padding: 0 !important;
}

/* ==================================================
   TOP HEADER
================================================== */

#mini-cart.minicart-offcanvas .total-count {
    position: sticky !important;
    top: 0 !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 22px 24px 18px !important;
    margin: 0 !important;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid #e8edf4 !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
}

#mini-cart.minicart-offcanvas .total-count:before {
    content: "Your Cart";
    display: block !important;
    position: absolute !important;
    left: 24px !important;
    top: 8px !important;
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

#mini-cart.minicart-offcanvas .total-count a {
    color: #009fe3 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

/* ==================================================
   PRODUCT LIST AREA
================================================== */

#mini-cart.minicart-offcanvas ul.cart_list,
#mini-cart.minicart-offcanvas ul.product_list_widget {
    flex: 1 1 auto !important;
    padding: 18px 18px 16px !important;
    margin: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
}

#mini-cart.minicart-offcanvas ul.cart_list::-webkit-scrollbar {
    width: 5px !important;
}

#mini-cart.minicart-offcanvas ul.cart_list::-webkit-scrollbar-thumb {
    background: #dbeafe !important;
    border-radius: 999px !important;
}

/* Product card */
#mini-cart.minicart-offcanvas li.woocommerce-mini-cart-item,
#mini-cart.minicart-offcanvas li.mini_cart_item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    padding: 14px !important;
    margin: 0 0 14px !important;
    background: #ffffff !important;
    border: 1px solid #e8edf4 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06) !important;
}

/* Image left */
#mini-cart.minicart-offcanvas li.mini_cart_item .product-image {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    width: 92px !important;
    height: 92px !important;
    margin: 0 !important;
}

#mini-cart.minicart-offcanvas li.mini_cart_item .product-image .inner,
#mini-cart.minicart-offcanvas li.mini_cart_item .product-image a:not(.remove) {
    width: 92px !important;
    height: 92px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fbfdff !important;
    border: 1px solid #eef2f7 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

#mini-cart.minicart-offcanvas li.mini_cart_item .product-image img {
    width: 86px !important;
    height: 86px !important;
    object-fit: contain !important;
    padding: 6px !important;
    border-radius: 13px !important;
}

/* Product details */
#mini-cart.minicart-offcanvas li.mini_cart_item .product-details {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 26px 0 0 !important;
}

#mini-cart.minicart-offcanvas li.mini_cart_item .product-details > a,
#mini-cart.minicart-offcanvas li.mini_cart_item .product-details a.text-v-dark {
    display: block !important;
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    margin-bottom: 10px !important;
}

#mini-cart.minicart-offcanvas li.mini_cart_item .product-details > a:after {
    content: "In cart";
    display: inline-flex !important;
    width: fit-content !important;
    margin-top: 8px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: #ecfdf3 !important;
    color: #128a43 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

/* Quantity text */
#mini-cart.minicart-offcanvas li.mini_cart_item .quantity {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    margin-top: 2px !important;
}

#mini-cart.minicart-offcanvas li.mini_cart_item .quantity .woocommerce-Price-amount {
    color: #111827 !important;
    font-weight: 900 !important;
}

/* Remove button */
#mini-cart.minicart-offcanvas li.mini_cart_item a.remove,
#mini-cart.minicart-offcanvas li.mini_cart_item a.remove-product {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    color: #111827 !important;
    font-size: 0 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12) !important;
    z-index: 3 !important;
    opacity: 1 !important;
}

#mini-cart.minicart-offcanvas li.mini_cart_item a.remove:before,
#mini-cart.minicart-offcanvas li.mini_cart_item a.remove-product:before {
    content: "Ã—" !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

/* ==================================================
   SUBTOTAL + BUTTON AREA
================================================== */

#mini-cart.minicart-offcanvas .woocommerce-mini-cart__total,
#mini-cart.minicart-offcanvas p.total {
    margin: auto 18px 0 !important;
    padding: 18px 0 14px !important;
    border-top: 1px solid #e8edf4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #111827 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
}

#mini-cart.minicart-offcanvas .woocommerce-mini-cart__total strong,
#mini-cart.minicart-offcanvas p.total strong {
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

#mini-cart.minicart-offcanvas .woocommerce-mini-cart__total .amount,
#mini-cart.minicart-offcanvas p.total .amount {
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 950 !important;
}

/* Buttons */
#mini-cart.minicart-offcanvas .woocommerce-mini-cart__buttons,
#mini-cart.minicart-offcanvas p.buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 0 18px 22px !important;
    margin: 0 !important;
    background: transparent !important;
}

#mini-cart.minicart-offcanvas .woocommerce-mini-cart__buttons a,
#mini-cart.minicart-offcanvas p.buttons a {
    width: 100% !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 13px !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* View cart secondary */
#mini-cart.minicart-offcanvas .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout),
#mini-cart.minicart-offcanvas p.buttons a.wc-forward:not(.checkout) {
    background: #f3f6fa !important;
    color: #111827 !important;
    border: 1px solid #e0e8f2 !important;
}

/* Checkout primary - same catalog dark gradient */
#mini-cart.minicart-offcanvas .woocommerce-mini-cart__buttons a.checkout,
#mini-cart.minicart-offcanvas p.buttons a.checkout {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #101827 0%, #1f2937 52%, #111827 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .24) !important;
}

#mini-cart.minicart-offcanvas .woocommerce-mini-cart__buttons a.checkout:before,
#mini-cart.minicart-offcanvas p.buttons a.checkout:before {
    content: "" !important;
    position: absolute !important;
    top: -40% !important;
    left: -70% !important;
    width: 42% !important;
    height: 180% !important;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%) !important;
    transform: rotate(18deg) !important;
    animation: dtfMiniCartShine 4.5s ease-in-out infinite !important;
    pointer-events: none !important;
}

@keyframes dtfMiniCartShine {
    0%, 72% { left: -70%; opacity: 0; }
    78% { opacity: 1; }
    100% { left: 135%; opacity: 0; }
}

/* Bottom support line */
#mini-cart.minicart-offcanvas .woocommerce-mini-cart__buttons:after,
#mini-cart.minicart-offcanvas p.buttons:after {
    content: "Secure checkout â€¢ GST invoice â€¢ WhatsApp support";
    display: block !important;
    text-align: center !important;
    color: #64748b !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
    margin-top: 2px !important;
}

/* ==================================================
   EMPTY CART
================================================== */

#mini-cart.minicart-offcanvas .woocommerce-mini-cart__empty-message {
    margin: 22px 18px !important;
    padding: 22px !important;
    background: #f8fbff !important;
    border: 1px solid #e4edf7 !important;
    border-radius: 18px !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
    #mini-cart.minicart-offcanvas .cart-popup,
    .minicart-offcanvas .cart-popup.widget_shopping_cart {
        width: calc(100vw - 34px) !important;
        max-width: calc(100vw - 34px) !important;
    }

    #mini-cart.minicart-offcanvas .total-count {
        padding: 21px 18px 16px !important;
    }

    #mini-cart.minicart-offcanvas .total-count:before {
        left: 18px !important;
    }

    #mini-cart.minicart-offcanvas ul.cart_list,
    #mini-cart.minicart-offcanvas ul.product_list_widget {
        padding: 16px 14px !important;
    }

    #mini-cart.minicart-offcanvas li.woocommerce-mini-cart-item,
    #mini-cart.minicart-offcanvas li.mini_cart_item {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }

    #mini-cart.minicart-offcanvas li.mini_cart_item .product-image,
    #mini-cart.minicart-offcanvas li.mini_cart_item .product-image .inner,
    #mini-cart.minicart-offcanvas li.mini_cart_item .product-image a:not(.remove) {
        width: 82px !important;
        height: 82px !important;
    }

    #mini-cart.minicart-offcanvas li.mini_cart_item .product-image img {
        width: 78px !important;
        height: 78px !important;
    }

    #mini-cart.minicart-offcanvas li.mini_cart_item .product-details > a,
    #mini-cart.minicart-offcanvas li.mini_cart_item .product-details a.text-v-dark {
        font-size: 13px !important;
    }

    #mini-cart.minicart-offcanvas .woocommerce-mini-cart__total,
    #mini-cart.minicart-offcanvas p.total {
        margin-left: 14px !important;
        margin-right: 14px !important;
    }

    #mini-cart.minicart-offcanvas .woocommerce-mini-cart__buttons,
    #mini-cart.minicart-offcanvas p.buttons {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Hide Porto's confusing overlay-side X */
#mini-cart.minicart-offcanvas .minicart-overlay svg {
    display: none !important;
}

/* Make header space for close button */
#mini-cart.minicart-offcanvas .total-count {
    padding-right: 62px !important;
}

/* Visible close button inside cart drawer */
#mini-cart.minicart-offcanvas .dtf-mini-cart-panel-close {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e3ebf4 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #101827 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    z-index: 50 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12) !important;
    transition: all .18s ease !important;
}

#mini-cart.minicart-offcanvas .dtf-mini-cart-panel-close:hover {
    background: #101827 !important;
    color: #ffffff !important;
    border-color: #101827 !important;
    transform: rotate(90deg) !important;
}

/* Keep top View Cart link away from close button */
#mini-cart.minicart-offcanvas .total-count a {
    margin-right: 34px !important;
}

/* Mobile */
@media (max-width: 768px) {
    #mini-cart.minicart-offcanvas .dtf-mini-cart-panel-close {
        top: 15px !important;
        right: 14px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 21px !important;
    }

    #mini-cart.minicart-offcanvas .total-count {
        padding-right: 56px !important;
    }

    #mini-cart.minicart-offcanvas .total-count a {
        margin-right: 30px !important;
    }
}

