.elementor-10 .elementor-element.elementor-element-396be774{--display:flex;--padding-top:10px;--padding-bottom:50px;--padding-left:10px;--padding-right:10px;}.elementor-10 .elementor-element.elementor-element-4724fd3{--display:flex;}/* Start custom CSS for woocommerce-cart, class: .elementor-element-60f4db0 *//* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght=400;500;600;700&display=swap');

/* Main Wrapper & Base Typography */
.woocommerce,
.e-cart__container {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-rendering: optimizeLegibility;
}

/* Headings Styling */
.e-cart-totals h2,
.product-name a,
.cart-collaterals h2 {
    color: rgb(9, 23, 50) !important;
    font-weight: 600 !important;
}

/* Text and Labels Color */
.woocommerce-cart-form th,
.woocommerce-cart-form td,
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal,
.cart-subtotal th,
.cart-subtotal td,
.order-total th {
    color: rgba(9, 23, 50, 0.698) !important;
}

/* --- COLUMN 1: Cart Items Box Styling --- */
.e-cart__column-start {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(9, 23, 50, 0.04) !important;
    padding: 30px !important;
    border: 1px solid #f0f3f6 !important;
    box-sizing: border-box !important;
}

/* Custom Cart Table Layout */
table.shop_table.cart {
    border-collapse: collapse !important;
    border: none !important;
    width: 100% !important;
}

/* Table Header */
table.shop_table.cart thead th {
    border-bottom: 2px solid #f0f3f6 !important;
    padding: 16px 12px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-weight: 600 !important;
    color: rgb(9, 23, 50) !important;
    background: transparent !important;
}

/* Table Body Rows */
table.shop_table.cart tbody tr.cart_item {
    border-bottom: 1px solid #f0f3f6 !important;
    transition: background 0.3s ease !important;
}

table.shop_table.cart tbody tr.cart_item:hover {
    background: #fbfcfe !important;
}

table.shop_table.cart tbody tr.cart_item td {
    padding: 20px 12px !important;
    vertical-align: middle !important;
}

/* Remove 'X' Button Interaction */
a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: #f1f5f9 !important;
    color: rgba(9, 23, 50, 0.6) !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

a.remove:hover {
    background-color: #fee2e2 !important;
    color: #ef4444 !important;
    transform: rotate(90deg) scale(1.05) !important;
}

/* Thumbnail Image (Enlarged Standard Square Size) */
.woocommerce-cart td.product-thumbnail img {
    width: 350px !important; /* Perfect Premium Desktop Square Size */
    height: 80px !important; 
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease !important;
    box-shadow: 0 4px 12px rgba(9, 23, 50, 0.05) !important;
}

.woocommerce-cart td.product-thumbnail img:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 8px 24px rgba(9, 23, 50, 0.12) !important;
}

/* Product Link Hover */
.product-name a {
    text-decoration: none !important;
    font-size: 15px !important;
    transition: color 0.3s ease !important;
}

.product-name a:hover {
    color: rgb(17, 49, 255) !important;
}

/* Quantity Field Styling */
.woocommerce-cart td.product-quantity .quantity input.qty {
    width: 72px !important;
    height: 44px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 5px !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: rgb(9, 23, 50) !important;
    background-color: #f8fafc !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart td.product-quantity .quantity input.qty:focus {
    border-color: rgb(17, 49, 255) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(17, 49, 255, 0.12) !important;
    outline: none !important;
}

/* Subtotal text highlight */
.product-subtotal .amount {
    font-weight: 600 !important;
    color: rgb(9, 23, 50) !important;
}

/* --- BUTTONS: RGB(17, 49, 255) STYLING --- */
.woocommerce-cart .button,
.woocommerce-cart .checkout-button {
    background-color: rgb(17, 49, 255) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(17, 49, 255, 0.15) !important;
}

.woocommerce-cart .button:hover,
.woocommerce-cart .checkout-button:hover {
    background-color: rgb(10, 36, 204) !important;
    box-shadow: 0 8px 24px rgba(17, 49, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

.woocommerce-cart .button:active,
.woocommerce-cart .checkout-button:active {
    transform: translateY(0) !important;
}

/* Disabled Update Cart state */
.woocommerce-cart .button:disabled {
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* --- COUPON SECTION --- */
.woocommerce-cart .coupon {
    display: flex !important;
    align-items: center !important;
    margin-top: 35px !important;
    padding-top: 25px !important;
    border-top: 1px solid #f0f3f6 !important;
    gap: 15px !important;
}

.woocommerce-cart .coupon .coupon-col {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
}

.woocommerce-cart .coupon input#coupon_code {
    height: 48px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    width: 250px !important;
    background-color: #fafbfc !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
}

.woocommerce-cart .coupon input#coupon_code:focus {
    border-color: rgb(17, 49, 255) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(17, 49, 255, 0.1) !important;
    outline: none !important;
}

.woocommerce-cart .coupon button.e-apply-coupon {
    height: 48px !important;
    padding: 0 24px !important;
}

/* --- COLUMN 2: Cart Totals Box Styling --- */
.e-cart__column-end {
    background: #fafbfc !important;
    border-radius: 16px !important;
    border: 1px solid #eef2f6 !important;
    padding: 35px 30px !important;
    box-shadow: 0 10px 30px rgba(9, 23, 50, 0.02) !important;
    height: fit-content !important;
    box-sizing: border-box !important;
}

.e-cart-totals h2 {
    font-size: 20px !important;
    margin: 0 0 24px 0 !important;
    border-bottom: 2px solid #eef2f6 !important;
    padding-bottom: 12px !important;
}

.e-cart-totals table.shop_table {
    width: 100% !important;
    margin-bottom: 25px !important;
    border-collapse: collapse !important;
}

.e-cart-totals table.shop_table tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.e-cart-totals table.shop_table tr.order-total {
    border-bottom: none !important;
    padding-top: 20px !important;
}

.e-cart-totals table.shop_table tr th {
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 0 !important;
    text-align: left !important;
}

.e-cart-totals table.shop_table tr td {
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 0 !important;
    text-align: right !important;
    color: rgb(9, 23, 50) !important;
}

/* Order total strong highlight */
.e-cart-totals table.shop_table tr.order-total td strong {
    font-size: 22px !important;
    color: rgb(17, 49, 255) !important;
    font-weight: 700 !important;
}

/* Checkout Button custom scale */
.woocommerce-cart a.checkout-button {
    background-color: rgb(17, 49, 255) !important;
    padding: 16px 30px !important;
    font-size: 15px !important;
    display: block !important;
    width: 100% !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
}

/* --- RESPONSIVE OPTIMIZATION & MOBILE CARD LAYOUT --- */
@media (max-width: 991px) {
    .e-cart__container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .e-cart__column {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    /* Main Cart Card container padding adjustment */
    .e-cart__column-start {
        padding: 20px 15px !important;
    }

    /* Hide standard table headers on mobile */
    table.shop_table.cart thead {
        display: none !important;
    }

    /* Convert table to stacked blocks */
    table.shop_table.cart, 
    table.shop_table.cart tbody, 
    table.shop_table.cart tr, 
    table.shop_table.cart td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Format each cart row into a stand-alone premium card */
    table.shop_table.cart tbody tr.cart_item {
        position: relative !important;
        padding: 24px 16px 16px 16px !important;
        background: #ffffff !important;
        border: 1px solid #f0f3f6 !important;
        border-radius: 12px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 4px 15px rgba(9, 23, 50, 0.02) !important;
    }

    table.shop_table.cart tbody tr.cart_item td {
        padding: 10px 0 !important;
        border: none !important;
        text-align: right !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 14px !important;
    }

    /* Generate mobile headings using data-title attributes */
    table.shop_table.cart tbody tr.cart_item td::before {
        content: attr(data-title) ": " !important;
        font-weight: 600 !important;
        color: rgb(9, 23, 50) !important;
    }

    /* Position the remove close icon at the top-right of the card */
    table.shop_table.cart tbody tr.cart_item td.product-remove {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
    }
    table.shop_table.cart tbody tr.cart_item td.product-remove::before {
        display: none !important;
    }

    /* Center and format the product thumbnail inside card */
    table.shop_table.cart tbody tr.cart_item td.product-thumbnail {
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 12px !important;
        padding-bottom: 16px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    table.shop_table.cart tbody tr.cart_item td.product-thumbnail::before {
        display: none !important;
    }
    .woocommerce-cart td.product-thumbnail img {
        width: 80px !important; /* Scaled down nicely for mobile screens */
        height: 80px !important;
    }

    /* Center and make product title bold */
    table.shop_table.cart tbody tr.cart_item td.product-name {
        justify-content: center !important;
        font-size: 15px !important;
        text-align: center !important;
        margin-bottom: 12px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    table.shop_table.cart tbody tr.cart_item td.product-name::before {
        display: none !important;
    }

    /* Subtle divider lines between mobile price details */
    table.shop_table.cart tbody tr.cart_item td.product-price,
    table.shop_table.cart tbody tr.cart_item td.product-quantity,
    table.shop_table.cart tbody tr.cart_item td.product-subtotal {
        border-bottom: 1px dashed #f1f5f9 !important;
    }
    table.shop_table.cart tbody tr.cart_item td.product-subtotal {
        border-bottom: none !important;
    }

    /* Responsive Mobile Coupon Adjustments */
    .woocommerce-cart .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
        padding-top: 20px !important;
        gap: 12px !important;
    }
    .woocommerce-cart .coupon .coupon-col {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .woocommerce-cart .coupon input#coupon_code {
        width: 100% !important;
    }
    .woocommerce-cart .coupon button.e-apply-coupon {
        width: 100% !important;
    }
}/* End custom CSS */