/*
Theme Name: Hello Biz Child
Theme URI: https://github.com/elementor/hello-biz-child/
Description: Hello Biz Child is a child theme of Hello Biz, created by Elementor team
Author: Elementor Team
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.0.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/

/* Custom Cart Layout - Evaska Final Refinement */

/* Global Reset for Cart */
.woocommerce-cart .entry-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Flex Wrapper */
.evaska-cart-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
    color: #444;
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    /* Assuming a clean font */
}

.evaska-cart-main {
    flex: 2;
    min-width: 0;
}

/* ================== Cart Table ================== */
.woocommerce-cart .shop_table {
    border: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 12px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.03); */
    width: 100%;
    margin-bottom: 25px;
    border-collapse: separate;
    border-spacing: 0;
}

/* Table Header */
.woocommerce-cart .shop_table thead th {
    background: #fff;
    /* White bg for header */
    padding: 20px 30px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    text-transform: capitalize;
    font-size: 15px;
    line-height: 1.2;
}

/* First and Last th border radius */
.woocommerce-cart .shop_table thead th:first-child {
    border-top-left-radius: 12px;
}

.woocommerce-cart .shop_table thead th:last-child {
    border-top-right-radius: 12px;
}

/* Cells */
.woocommerce-cart .shop_table td {
    border-top: 1px solid #f5f5f5;
    padding: 30px;
    vertical-align: middle;
}

.woocommerce-cart .shop_table tr:first-child td {
    border-top: none;
}

/* Product Column */
.woocommerce-cart .product-thumbnail {
    width: 120px;
    /* Increased container width */
    padding-right: 20px !important;
}

.woocommerce-cart .product-thumbnail img {
    width: 100% !important;
    /* Force width to fill container */
    max-width: 110px !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: none !important;
}

.woocommerce-cart .product-name a.product-title {
    font-weight: 600;
    font-size: 16px;
    color: #222;
    text-decoration: none;
    display: block;
}

.woocommerce-cart .variation {
    font-size: 14px;
    color: #777;
    margin: 5px 0;
}

/* Remove Link styling - Heavy overrides for default 'a.remove' class */
.woocommerce-cart a.remove.remove-custom {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: #ae1f1f !important;
    /* Proper Red */
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-align: left !important;
    padding: 0 !important;
}

.woocommerce-cart a.remove.remove-custom:hover {
    color: #8a0c0c !important;
    background: transparent !important;
    text-decoration: underline !important;
}

.woocommerce-cart .remove-icon {
    font-size: 16px;
    line-height: 1;
    margin-right: 4px;
    display: inline-block;
    vertical-align: middle;
}

/* Centered Columns */
.woocommerce-cart .product-price,
.woocommerce-cart .product-quantity,
.woocommerce-cart .product-subtotal {
    text-align: center !important;
}

.woocommerce-cart .product-price .amount,
.woocommerce-cart .product-subtotal .amount {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Quantity Pill */
.quantity-custom-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    /* Smooth rounded corners */
    padding: 4px 6px;
    min-width: 100px;
}

.quantity-custom-wrapper button {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #222;
    width: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.quantity-custom-wrapper button:hover {
    color: #000;
    background: transparent;
}

.quantity-custom-wrapper input.qty {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    padding: 0;
    color: #333;
    -moz-appearance: textfield;
}

/* ================== Coupon Section ================== */
.cart-coupon-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    margin-top: 0;
    max-width: 450px;
}

.cart-coupon-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.coupon-form .coupon-input-group {
    display: flex;
    gap: 12px;
}

.coupon-form .input-text {
    flex: 1;
    border: 1px solid #eee;
    background: #fcfcfc;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    outline: none;
}

.coupon-form .input-text:focus {
    background: #fff;
    border-color: #ccc;
}

.coupon-form .button.apply-coupon {
    background: #fff;
    color: #222;
    border: 2px solid #222;
    /* Thick border as per design */
    border-radius: 6px;
    padding: 0 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    height: auto;
    text-transform: capitalize;
}

.coupon-form .button.apply-coupon:hover {
    background: #222;
    color: #fff;
}

/* Continue Shopping */
.return-to-shop {
    margin-top: 20px;
}

.return-to-shop a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.return-to-shop a:hover {
    text-decoration: underline;
}

/* ================== Cart Totals Sidebar ================== */
.evaska-cart-wrapper .cart-collaterals {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
}

/* Card Container */
.evaska-cart-wrapper .cart_totals {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.03); */
    width: 100% !important;
    float: none !important;
    margin-bottom: 25px;
}

.cart_totals h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border: none;
    padding: 0;
}

/* Table overrides */
.cart_totals table.shop_table {
    border: none;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.cart_totals table.shop_table tr:first-child th,
.cart_totals table.shop_table tr:first-child td {
    border-top: none;
}

.cart_totals th {
    font-weight: 500;
    color: #666;
    /* Muted/Grey text for labels */
    font-size: 15px;
    text-align: left;
}

.cart_totals td {
    text-align: right;
    font-weight: 600;
    color: #222;
    font-size: 15px;
}

/* Total Row */
.cart_totals .order-total th,
.cart_totals .order-total td {
    color: #222;
    font-size: 18px;
    font-weight: 700;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 5px;
}

/* Checkout Button */
.cart_totals .wc-proceed-to-checkout {
    margin: 25px 0 0 0;
    padding: 0;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button {
    background: #cba258;
    /* Gold */
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    padding: 15px;
    border-radius: 30px;
    /* Full pill */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.2s;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: #b8914b;
    transform: translateY(-1px);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button::after {
    content: '›';
    font-size: 20px;
    margin-left: 8px;
    line-height: 1;
    font-weight: 400;
}

/* Trust Badges */
.cart-trust-badges {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
}

.cart-trust-badges ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-trust-badges li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.cart-trust-badges li:last-child {
    margin-bottom: 0;
}

.cart-trust-badges .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e8f5e9;
    color: #4caf50;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Mobile Responsive Cards - Hoodie Design */
@media (max-width: 768px) {
    /* ---------------------------------------------------------
       1. MAIN CART ITEMS TABLE (Scoped to not affect Totals)
       --------------------------------------------------------- */

    /* Hide Header only for main table */
    .woocommerce-cart .woocommerce-cart-form__contents thead {
        display: none;
    }

    .woocommerce-cart .woocommerce-cart-form__contents tbody {
        display: block;
    }

    /* Card Container */
    .woocommerce-cart .woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item {
        display: grid;
        grid-template-columns: 80px 1fr 110px;
        /* Image | Content | Qty/Actions */
        grid-template-rows: auto auto;
        /* Content | Qty row */
        gap: 10px;
        background: #fff;
        border-radius: 16px;
        padding: 15px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
        position: relative;
    }

    /* FORCE TRANSPARENT BACKGROUNDS ON MAIN TABLE CELLS */
    .woocommerce-cart .woocommerce-cart-form__contents tr td {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        text-align: left !important;
        /* Force Left Align Globally for card items */
    }

    /* Hide Default Mobile Labels (Product:, Price:, etc) - Only for Main Table */
    .woocommerce-cart .woocommerce-cart-form__contents tr td::before {
        display: none !important;
        content: none !important;
    }

    /* 1. Thumbnail Area */
    .woocommerce-cart .product-thumbnail {
        grid-row: 1 / span 2;
        grid-column: 1;
        width: 100% !important;
        display: block !important;
        height: auto;
    }

    .woocommerce-cart .product-thumbnail img {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        object-fit: cover;
        border-radius: 10px;
        background: #f9f9f9;
        display: block;
    }

    /* 2. Product Name & Meta */
    .woocommerce-cart .product-name {
        grid-row: 1;
        grid-column: 2 / span 2;
        padding: 0 35px 0 0 !important;
        /* Right padding for delete btn */
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        /* Ensure flex items align left */
        text-align: left !important;
        min-height: 40px;
    }

    .woocommerce-cart .product-name .product-title {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 4px;
        color: #222;
        line-height: 1.3;
        display: block;
        text-align: left;
    }

    .woocommerce-cart .variation {
        font-size: 13px;
        color: #888;
        margin: 0;
        display: block;
        text-align: left;
    }

    /* 3. Price - Bottom Left */
    .woocommerce-cart .product-price {
        grid-row: 2;
        grid-column: 2;
        text-align: left !important;
        align-self: end;
        display: block !important;
    }

    .woocommerce-cart .product-price .amount {
        font-size: 18px;
        font-weight: 800;
        color: #222;
        text-align: left;
    }

    /* 4. Quantity - Bottom Right */
    .woocommerce-cart .product-quantity {
        grid-row: 2;
        grid-column: 3;
        text-align: right !important;
        /* Keep Quantity Right Aligned */
        display: flex !important;
        justify-content: flex-end;
        align-items: flex-end;
    }

    /* Hide the product-quantity-label if present */
    .woocommerce-cart .product-quantity::before {
        display: none;
    }

    /* Custom Qty Styling */
    .woocommerce-cart .quantity-custom-wrapper {
        background: #fff;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        padding: 4px;
        gap: 0;
        min-width: 85px;
        justify-content: space-between;
        display: inline-flex;
    }

    .woocommerce-cart .quantity-custom-wrapper button {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: transparent;
        border: none;
    }

    .woocommerce-cart .quantity-custom-wrapper button.minus {
        color: #333;
    }

    .woocommerce-cart .quantity-custom-wrapper button.plus {
        background: #cba258;
        color: #fff;
    }

    .woocommerce-cart .quantity-custom-wrapper button.plus:hover {
        background: #b58d46;
    }

    .woocommerce-cart .quantity-custom-wrapper input.qty {
        font-weight: 700;
        font-size: 15px;
        height: 28px;
        padding: 0;
        border: none;
        width: 30px;
        background: transparent;
    }

    /* Delete Button */
    .woocommerce-cart .remove-custom {
        position: absolute;
        top: 10px;
        right: 10px;
        margin: 0;
        padding: 0;
        width: 24px;
        height: 24px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        font-size: 0 !important;
        z-index: 10;
        border: none !important;
    }

    .woocommerce-cart .remove-custom .remove-icon {
        display: none;
        font-size: 20px;
        color: #aaa;
        font-weight: 300;
        margin: 0;
        line-height: 1;
    }

    .woocommerce-cart .remove-custom:hover .remove-icon {
        color: #ff4d4d;
        display: none;
    }

    /* Hide Table Elements */
    .woocommerce-cart .product-subtotal {
        display: none !important;
    }

    /* ---------------------------------------------------------
       2. CART TOTALS & COLLATERALS FIXES
       --------------------------------------------------------- */

    /* Ensure Totals table visibility */
    .cart_totals table.shop_table {
        display: table !important;
        /* Restore table display */
        width: 100%;
    }

    .cart_totals table.shop_table tbody {
        display: table-row-group !important;
    }

    .cart_totals table.shop_table tr {
        display: table-row !important;
        grid-template-columns: none !important;
        /* Reset any grid */
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
    }

    /* Make headers (Subtotal/Total) visible again */
    .cart_totals table.shop_table th {
        display: table-cell !important;
        width: 40%;
        text-align: left;
        padding: 10px 0;
    }

    .cart_totals table.shop_table td {
        display: table-cell !important;
        width: 60%;
        text-align: right !important;
        /* Totals right aligned */
        padding: 10px 0;
        background: transparent !important;
    }

    /* Reset borders for totals */
    .cart_totals .shop_table tr td,
    .cart_totals .shop_table tr th {
        border-bottom: 1px solid #eee !important;
    }

    .cart_totals .shop_table tr:last-child th,
    .cart_totals .shop_table tr:last-child td {
        border-bottom: none !important;
    }

    .woocommerce-cart .remove-custom .remove-icon {
        font-size: 20px;
        color: #aaa;
        font-weight: 300;
        margin: 0;
        line-height: 1;
    }

    .woocommerce-cart .remove-custom:hover .remove-icon {
        color: #ff4d4d;
    }

    /* Hide Table Elements */
    .woocommerce-cart .product-subtotal {
        display: none !important;
    }

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        text-align: left !important;
    }

    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        content: none !important;
    }

    /* Fix Cart Totals Alignment - Specific Override */
    .woocommerce .cart_totals table.shop_table tr th,
    .woocommerce-page .cart_totals table.shop_table tr th {
        text-align: left !important;
        display: table-cell !important;
    }

    .woocommerce .cart_totals table.shop_table tr td,
    .woocommerce-page .cart_totals table.shop_table tr td {
        text-align: right !important;
        display: table-cell !important;
    }
}

/* ================== Checkout Page Styling ================== */

/* Layout Wrapper */
.evaska-checkout-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
}

.evaska-checkout-left {
    flex: 1.4;
    /* Takes up more space */
    min-width: 0;
}

.evaska-checkout-right {
    flex: 1;
    min-width: 350px;
}

/* Billing Details Styling */
.woocommerce-checkout h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.woocommerce-billing-fields__field-wrapper p.form-row {
    margin-bottom: 20px;
}

.woocommerce-billing-fields__field-wrapper label {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    display: block;
    line-height: 1.2;
}

.woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-billing-fields__field-wrapper select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 15px;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border 0.3s;
    width: 100%;
    box-shadow: none;
}

.woocommerce-billing-fields__field-wrapper input.input-text:focus {
    border-color: #333;
}

/* Order Review Card */
.evaska-order-review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
}

.evaska-order-review-card h3#order_review_heading {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

/* Review Order Table */
.woocommerce-checkout-review-order-table {
    border: none !important;
    margin: 0 0 20px 0;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none !important;
    padding: 15px 0;
}

.woocommerce-checkout-review-order-table thead th {
    font-size: 13px;
    text-transform: uppercase;
    color: #777;
    font-weight: 600;
    padding-bottom: 10px;
}

.woocommerce-checkout-review-order-table td.product-total {
    text-align: right;
    font-weight: 500;
    color: #333;
}

.woocommerce-checkout-review-order-table .chk-product-image img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    background: #f9f9f9;
}

.woocommerce-checkout-review-order-table tr {
    border-bottom: 1px solid #f5f5f5;
}

.woocommerce-checkout-review-order-table tr:last-child {
    border-bottom: none;
}

/* Totals Area in Checkout */
.woocommerce-checkout-review-order-table tfoot th {
    text-align: left;
    color: #555;
    font-weight: 500;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    color: #333;
    font-weight: 600;
}

/* Big Total */
.woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    padding-top: 20px;
}

.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    padding-top: 20px;
}

/* Place Order Button */
#place_order {
    background-color: #cba258 !important;
    /* Gold */
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 18px !important;
    border-radius: 50px !important;
    /* Pill shape */
    width: 100%;
    margin-top: 20px;
    border: none;
    transition: background 0.3s;
}

#place_order:hover {
    background-color: #b08d4b !important;
}

/* Responsive Checkout */
@media (max-width: 900px) {
    .evaska-checkout-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .evaska-checkout-left,
    .evaska-checkout-right {
        width: 100%;
        flex: auto;
    }
}

/* ================== My Account Page Styling ================== */

.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Sidebar Navigation */
.woocommerce-MyAccount-navigation {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 5px;
    border: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #cba258;
    /* Gold */
    background: #fffaf0;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #b08d4b;
    font-weight: 700;
    border-left-color: #cba258;
    background: #fffaf0;
    /* Subtle gold tint bg */
}

/* My Account Content */
.woocommerce-MyAccount-content {
    flex: 3;
    min-width: 0;
}

.woocommerce-MyAccount-content p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content strong {
    color: #333;
    font-weight: 700;
}

/* Dashboard Cards */
.evaska-account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.evaska-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.3s ease;
    box-shadow: none;
}

.evaska-card:hover {
    border-color: #cba258;
}

.evaska-card .card-icon {
    margin-bottom: 20px;
    color: #999;
    transition: color 0.3s;
}

.evaska-card:hover .card-icon {
    color: #cba258;
}

.evaska-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.evaska-card .card-desc {
    font-size: 14px;
    color: #888;
}

/* Mobile Responsive My Account */
@media (max-width: 768px) {

    /* 1. Swap Order: Content First, Navigation Last */
    .woocommerce-account .woocommerce {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-MyAccount-content {
        order: 1;
        width: 100%;
    }

    .woocommerce-MyAccount-navigation {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin-top: 40px;
        border-top: 1px solid #eee;
        padding-top: 30px;
    }

    /* 2. Style Navigation as a Grid for Mobile */
    .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .woocommerce-MyAccount-navigation ul li {
        margin: 0;
    }

    .woocommerce-MyAccount-navigation ul li a {
        text-align: center;
        background: #fcfcfc;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 12px 5px;
        font-size: 14px;
        border-left: 1px solid #eee;
        /* Reset the left border style */
    }

    .woocommerce-MyAccount-navigation ul li.is-active a {
        background: #fffaf0;
        border-color: #cba258;
        color: #b08d4b;
    }

    /* 3. Compact Cards */
    .evaska-account-cards {
        grid-template-columns: 1fr;
        /* Stacked */
        gap: 15px;
    }

    .evaska-card {
        padding: 25px 20px;
        /* Reduced vertical padding */
        flex-direction: row;
        /* Horizontal layout for mobile cards? Optional, keeping stack for now based on image */
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 20px;
    }

    .evaska-card .card-icon {
        margin-bottom: 0;
    }

    .evaska-card h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .evaska-card .card-desc {
        font-size: 13px;
    }
}

/* ================== Instant Checkout Button Styling ================== */
/* Base button structure - Elementor inline styles will override these defaults */
.instant-checkout-wrapper {
    display: block;
}

.instant-checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    outline: none;
    padding: 15px 30px !important;
}

/* Disabled state */
.instant-checkout-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Loading state text visibility */
.instant-checkout-btn .button-loader {
    display: none;
}

.instant-checkout-btn:disabled .button-text {
    display: none;
}

.instant-checkout-btn:disabled .button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.instant-checkout-btn .button-loader::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}