/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* ==========================================================================
   WCPT Floating Cart Widget Popup Styling
   ========================================================================== */

/* Main floating capsule container */
/* ==========================================================================
   WCPT Floating Cart Widget Popup Styling (Refined Minimalist Design)
   ========================================================================== */

/* Main floating capsule container */
.wcpt-cart-widget {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
    z-index: 99999 !important;
    display: flex;
    align-items: center !important;
    background-color: #1e293b !important;
    /* Premium dark background */
    color: #ffffff !important;
    border-radius: 9999px !important;
    /* Capsule/pill shape */
    padding: 18px 24px !important;
    /* Balanced padding */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box !important;
    height: 78px !important;
    width: auto !important;
    min-width: 360px !important;
    /* Gives text more breathing room */
}

@media(min-width:1200px) {
    .wcpt-cart-widget {
        display:
            flex;
    }
}

@media(max-width:1199px) {
    .wcpt-cart-widget {
        display: flex;
    }
}

.wcpt-cart-widget .wcpt-cw-half {
    width: unset !important;
    flex: 1 !important;
}

/* Left column containing totals (quantity and price) */
.wcpt-cart-widget .wcpt-cw-half:first-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
    flex-grow: 1 !important;
    padding-right: 20px !important;
    /* Added space before the divider line */
}

/* Inner row containing figures and labels */
.wcpt-cart-widget .wcpt-cw__totals {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    /* Prevents text wrapping or clipping */
}

/* Items count figure and label styling */
.wcpt-cart-widget .wcpt-cw-qty-total {
    font-size: 14px !important;
    color: #e2e8f0 !important;
    font-weight: 500 !important;
}

.wcpt-cart-widget .wcpt-cw-figure {
    font-weight: 700 !important;
    color: #b8d625 !important;
    /* Brand green text color */
    font-size: 15px !important;
}

/* Separator dot */
.wcpt-cart-widget .wcpt-cw-separator {
    display: inline-block !important;
    width: 4px !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
}

/* Price total layout styling */
.wcpt-cart-widget .wcpt-cw-price-total {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
}

/* exc.GST text wrapper styling */
.wcpt-cart-widget .wcpt-cw-price-total span {
    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 400 !important;
    margin-left: 4px !important;
    display: inline-block !important;
}

.wcpt-cart-widget .wcpt-cw-price-total span.wcpt-currency {
    margin-left: 0 !important;
}

/* Footer note message text styling */
.wcpt-cart-widget .wcpt-cw-footer {
    font-size: 10px !important;
    color: #94a3b8 !important;
    margin-top: 4px !important;
    font-weight: 400 !important;
}

/* Right column View Cart link (Weakened style with vertical divider) */
.wcpt-cart-widget a.wcpt-cw-half {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    /* Centered layout height */
    padding: 0 0 0 20px !important;
    /* Padding left only to space after divider */
    background-color: transparent !important;
    /* Removed bright green block background */
    color: #b8d625 !important;
    /* Text changed to brand green */
    border: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    /* Vertical divider line */
    border-radius: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    margin: 0 0 0 24px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.wcpt-cart-widget a.wcpt-cw-half:hover {
    color: #a4be1e !important;
    background-color: transparent !important;
}

/* Cart Icon layout within the link */
.wcpt-cart-widget .wcpt-cw-cart-icon {
    display: inline-flex !important;
    margin-left: 6px !important;
}

.wcpt-cart-widget .wcpt-cw-cart-icon svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    /* Inherits text color (brand green) */
    stroke-width: 2.5px !important;
}

/* Ajax loading indicator styling */
.wcpt-cart-widget .wcpt-cw-loading-icon {
    margin-right: 6px !important;
    display: none;
}

.wcpt-cart-widget.wcpt-cart-widget--loading .wcpt-cw-loading-icon {
    display: inline-flex !important;
}

.wcpt-cart-widget .wcpt-cw-loading-icon svg {
    width: 14px !important;
    height: 14px !important;
    animation: wcpt-spin 1s linear infinite !important;
    stroke: currentColor !important;
}

@keyframes wcpt-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile responsive layout overrides */
@media (max-width: 480px) {
    .wcpt-cart-widget {
        bottom: 16px !important;
        right: 16px !important;
        left: 16px !important;
        min-width: calc(100% - 32px) !important;
        width: calc(100% - 32px) !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        height: 68px !important;
    }

    .wcpt-cart-widget a.wcpt-cw-half {
        padding-left: 12px !important;
        font-size: 12px !important;
    }
}




/* ==========================================================================
   Checkout Page Styling
   ========================================================================== */

.itm-checkout-container .woocommerce-form-login-toggle {
    display: none;
}

.itm-checkout-container .wc_payment_methods .wc_payment_method {
    margin-bottom: 0;
}

.itm-checkout-container .wc_payment_methods .payment_box.payment_method_windcave>p {
    margin-bottom: 0;
}

.itm-checkout-container form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    gap: 30px;
    align-items: start;
}

.itm-checkout-container form.checkout.woocommerce-checkout> :not(.woocommerce-content-box):not(#order_review_heading):not(#order_review) {
    grid-column: 1;
}

.itm-checkout-container form.checkout.woocommerce-checkout>.woocommerce-content-box.full-width {
    grid-column: 2;
    grid-row: 1 / span 20;
    margin: 0 !important;
    padding: 30px !important;
    box-sizing: border-box;
    /* Visual card improvements */
    background-color: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    border-top: 3px solid #b8d625 !important;
    /* Brand green top accent */
}

.itm-checkout-container form.checkout.woocommerce-checkout #customer_details {
    width: 100% !important;
    display: block !important;
}

.itm-checkout-container form.checkout.woocommerce-checkout #customer_details .col-1,
.itm-checkout-container form.checkout.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 0 30px !important;
}

body:not(.avada-woo-one-page-checkout) .itm-checkout-container form.checkout.woocommerce-checkout .col-2,
body:not(.avada-woo-one-page-checkout) .itm-checkout-container form.checkout.woocommerce-checkout #order_review_heading,
body:not(.avada-woo-one-page-checkout) .itm-checkout-container form.checkout.woocommerce-checkout #order_review {
    display: block !important;
}

.itm-checkout-container .woocommerce-checkout-nav,
.itm-checkout-container form.checkout.woocommerce-checkout .continue-checkout {
    display: none !important;
}

@media (max-width: 900px) {
    .itm-checkout-container form.checkout.woocommerce-checkout {
        display: block !important;
    }

    .itm-checkout-container form.checkout.woocommerce-checkout #pi_checkout_field {
        margin-bottom: 30px;
    }

    .itm-checkout-container form.checkout.woocommerce-checkout>.woocommerce-content-box.full-width {
        margin-top: 30px !important;
    }
}


/* ==========================================================================
   Checkout Page Design & Typography Overrides
   ========================================================================== */

/* Headings Typography */
.itm-checkout-container h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

/* Back to Cart link */
.itm-checkout-container .back-to-cart-on-checkout {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    text-decoration: underline !important;
    letter-spacing: 0.5px !important;
    transition: color 0.2s ease !important;
}

.itm-checkout-container .back-to-cart-on-checkout:hover {
    color: #b8d625 !important;
}

/* Deliver to different address checkbox alignment */
.itm-checkout-container #ship-to-different-address label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
}

.itm-checkout-container #ship-to-different-address input[type="checkbox"] {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #b8d625 !important;
}


/* ==========================================================================
   Delivery Method Selector (Segmented Pill Style)
   ========================================================================== */
.itm-checkout-container #pi_delivery_type_field .woocommerce-input-wrapper {
    display: flex !important;
    background-color: #f1f5f9 !important;
    border-radius: 8px !important;
    padding: 4px !important;
    gap: 4px !important;
    margin-top: 8px !important;
}

/* Hide native inputs */
.itm-checkout-container #pi_delivery_type_field .woocommerce-input-wrapper input[type="radio"] {
    display: none !important;
}

/* Segment Labels */
.itm-checkout-container #pi_delivery_type_field .woocommerce-input-wrapper label.radio {
    flex: 1 !important;
    text-align: center !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Unselected segment hover state (soft light grey) */
.itm-checkout-container #pi_delivery_type_field .woocommerce-input-wrapper label.radio:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
}

/* Selected active segment style */
.itm-checkout-container #pi_delivery_type_field .woocommerce-input-wrapper input[type="radio"]:checked+label.radio {
    background-color: #c4d82e !important;
    /* Active brand green */
    color: #3e450d !important;
    /* Dark olive text color */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Selected active segment hover style */
.itm-checkout-container #pi_delivery_type_field .woocommerce-input-wrapper input[type="radio"]:checked+label.radio:hover {
    background-color: #b3c625 !important;
    /* Deeper active brand green */
    color: #3e450d !important;
}



/* ==========================================================================
   Form Inputs & Select Box Styling
   ========================================================================== */
.itm-checkout-container p.form-row {
    margin-bottom: 16px !important;
}

.itm-checkout-container p.form-row label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4a4a4a !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
}

/* Form input heights & borders */
.itm-checkout-container p.form-row input.input-text,
.itm-checkout-container p.form-row select,
.itm-checkout-container p.form-row textarea {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    background-color: #fafafa !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.itm-checkout-container p.form-row textarea {
    height: auto !important;
    min-height: 80px !important;
}

/* Input Focus ring overrides */
.itm-checkout-container p.form-row input.input-text:focus,
.itm-checkout-container p.form-row select:focus,
.itm-checkout-container p.form-row textarea:focus {
    border-color: #b8d625 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(184, 214, 37, 0.15) !important;
    outline: none !important;
}

/* Select2 dropdown custom override */
.itm-checkout-container .select2-container--default .select2-selection--single {
    height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #fafafa !important;
    display: flex !important;
    align-items: center !important;
}

.itm-checkout-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #1e293b !important;
    padding-left: 14px !important;
}

.itm-checkout-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}


/* ==========================================================================
   Order Review Table Styling
   ========================================================================== */
.itm-checkout-container table.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}

.itm-checkout-container table.woocommerce-checkout-review-order-table th,
.itm-checkout-container table.woocommerce-checkout-review-order-table td {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.itm-checkout-container table.woocommerce-checkout-review-order-table th {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

.itm-checkout-container table.woocommerce-checkout-review-order-table th.product-total {
    text-align: right !important;
}

.itm-checkout-container table.woocommerce-checkout-review-order-table td.product-total {
    text-align: right !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 14px !important;
}

.itm-checkout-container table.woocommerce-checkout-review-order-table td.product-name {
    text-align: left !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
}

.itm-checkout-container table.woocommerce-checkout-review-order-table td.product-name strong.product-quantity {
    color: #64748b !important;
    font-size: 13px !important;
}

/* Totals detail table within checkout review card */
.itm-checkout-container table.awb-cart-totals-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.itm-checkout-container table.awb-cart-totals-table tr {
    border-bottom: 1px solid #f1f5f9 !important;
}

.itm-checkout-container table.awb-cart-totals-table th {
    text-align: left !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: #64748b !important;
    padding: 12px 0 !important;
}

.itm-checkout-container table.awb-cart-totals-table td {
    text-align: right !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1e293b !important;
    padding: 12px 0 !important;
}

.itm-checkout-container table.awb-cart-totals-table tr.order-total th {
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 15px !important;
}

.itm-checkout-container table.awb-cart-totals-table tr.order-total td {
    font-size: 17px !important;
    /* Total price uses brand-green highlight */
}


/* ==========================================================================
   Payment Box & Methods Styling
   ========================================================================== */
.itm-checkout-container .woocommerce-checkout-payment {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 24px !important;
}

.itm-checkout-container .payment_methods {
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    list-style: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.itm-checkout-container .payment_methods li.wc_payment_method {
    padding: 14px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    transition: background-color 0.2s ease !important;
}

.itm-checkout-container .payment_methods li.wc_payment_method:last-child {
    border-bottom: none !important;
}

.itm-checkout-container .payment_methods li.wc_payment_method input[type="radio"] {
    margin-right: 8px !important;
    accent-color: #b8d625 !important;
}

.itm-checkout-container .payment_methods li.wc_payment_method label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Checked payment label bold style */
.itm-checkout-container .payment_methods li.wc_payment_method input[type="radio"]:checked+label {
    font-weight: 600 !important;
    color: #0f172a !important;
}

/* Info box panel beneath selected method */
.itm-checkout-container .payment_box {
    background-color: #f8fafc !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    border: 1px solid #f1f5f9 !important;
}

/* Privacy & Terms policy note text */
.itm-checkout-container .woocommerce-privacy-policy-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
}

.itm-checkout-container .woocommerce-privacy-policy-text a {
    color: #b8d625 !important;
    text-decoration: underline !important;
}

/* Place Order Submit CTA Button */
/* Place Order Submit CTA Button */
.itm-checkout-container #place_order,
.itm-checkout-container #place_order.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background-color: #c4d82e !important;
    /* Solid brand green */
    border: none !important;
    border-radius: 9999px !important;
    color: #3e450d !important;
    /* Dark olive text color */
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(184, 214, 37, 0.15) !important;
    margin-top: 12px !important;
}

.itm-checkout-container #place_order:hover,
.itm-checkout-container #place_order.button:hover {
    background-color: #b3c625 !important;
    /* Deeper hover brand green */
    color: #3e450d !important;
    /* Dark olive text color */
    box-shadow: 0 6px 16px rgba(184, 214, 37, 0.25) !important;
}


/* ==========================================================================
   Checkout Page Additions & Refinements
   ========================================================================== */
/* Turn required fields asterisks (*) red and remove default dotted underlines */
.itm-checkout-container label span.required,
.itm-checkout-container label abbr.required,
.itm-checkout-container label .required,
.itm-checkout-container .required_field .required,
.itm-checkout-container .required_field abbr {
    color: #ef4444 !important;
    /* Crimson Red */
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Hide product thumbnail in checkout review table to clean up layout space */
.itm-checkout-container .product-name .fusion-product-name-wrapper .product-thumbnail {
    display: none !important;
}


.itm-checkout-container .woocommerce-Price-amount.amount {
    display: block;
    line-height: 1;
}

.itm-checkout-container .tax_label {
    color: #64748b !important;
}

.itm-checkout-container .checkout .shop_table tfoot .order-total .amount {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.itm-checkout-container .shop_table tbody tr {
    height: unset;
}


.itm-checkout-container .validate-required.woocommerce-validated .select2-selection--single,
.itm-checkout-container .validate-required.woocommerce-validated input {
    box-shadow: none !important;
}

.itm-checkout-container .validate-required.woocommerce-invalid .select2-selection--single,
.itm-checkout-container .validate-required.woocommerce-invalid input {
    box-shadow: inset 0px 0px 0 1px red !important;
}

.itm-checkout-container .woocommerce-invalid:after {
    font-size: 14px;
}

/* ==========================================================================
   Checkout Fields Form Layout (Modern Grid Layout replacing floats)
   ========================================================================== */

/* Set field wrappers to CSS Grid */
.itm-checkout-container .woocommerce-billing-fields__field-wrapper,
.itm-checkout-container .woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

/* Ensure individual fields clear any existing float rules */
.itm-checkout-container p.form-row {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Left fields (e.g. First Name, Address 1) */
.itm-checkout-container p.form-row-first {
    grid-column: 1 !important;
}

/* Right fields (e.g. Last Name, Suburb) */
.itm-checkout-container p.form-row-last {
    grid-column: 2 !important;
}

/* Full-width fields (e.g. Company name, City, Email, Phone, Order Notes) */
.itm-checkout-container p.form-row-wide,
.itm-checkout-container p.notes {
    grid-column: 1 / -1 !important;
}

/* Mobile fallback: collapse to single column layout */
@media (max-width: 600px) {

    .itm-checkout-container .woocommerce-billing-fields__field-wrapper,
    .itm-checkout-container .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }

    .itm-checkout-container p.form-row-first,
    .itm-checkout-container p.form-row-last {
        grid-column: 1 / -1 !important;
    }
}


/* ==========================================================================
   Checkout Guest Page Styling (Direct Login Card Design)
   ========================================================================== */

/* Hide the redundant notice banner toggle wrapper */
.itm-checkout-container-guest .woocommerce-form-login-toggle {
    display: none !important;
}

/* Style the login form as a centralized card container */
.itm-checkout-container-guest form.login {
    display: block !important;
    /* Forces form to show by default */
    max-width: 480px !important;
    margin: 40px auto !important;
    padding: 36px 32px !important;
    background-color: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    /* Top brand green accent line */
    box-sizing: border-box !important;
}

/* Card top description paragraph styling */
.itm-checkout-container-guest form.login>p:first-of-type {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    text-align: center !important;
}

/* Make inputs full-width and remove floats */
.itm-checkout-container-guest form.login .form-row-first,
.itm-checkout-container-guest form.login .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-bottom: 18px !important;
}

/* Field labels */
.itm-checkout-container-guest form.login label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4a4a4a !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
}

/* Turn required fields asterisks (*) red */
.itm-checkout-container-guest label span.required,
.itm-checkout-container-guest label abbr.required,
.itm-checkout-container-guest label .required {
    color: #ef4444 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* TextInput and Password field layouts */
.itm-checkout-container-guest form.login input.input-text {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    background-color: #fafafa !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.itm-checkout-container-guest form.login input.input-text:focus {
    border-color: #c4d82e !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(196, 216, 46, 0.15) !important;
    outline: none !important;
}

/* Password eye button positioning */
.itm-checkout-container-guest .password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.itm-checkout-container-guest .password-input button.show-password-input {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    outline: none !important;
}

/* Actions Row layout (Remember Me & Submit Button) */
.itm-checkout-container-guest form.login p.form-row:not(.form-row-first):not(.form-row-last):not(.lost_password) {
    margin: 12px 0 0 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Remember me checkbox aligned styling */
.itm-checkout-container-guest .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: #64748b !important;
    cursor: pointer !important;
}

.itm-checkout-container-guest .woocommerce-form-login__rememberme input[type="checkbox"] {
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
    accent-color: #c4d82e !important;
}

/* Submit Button - Matches active theme layout colors */
.itm-checkout-container-guest button.woocommerce-form-login__submit {
    width: 100% !important;
    display: block !important;
    height: 48px !important;
    background-color: #c4d82e !important;
    /* Brand green */
    border: none !important;
    border-radius: 9999px !important;
    color: #3e450d !important;
    /* Specific dark olive text color */
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(196, 216, 46, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.itm-checkout-container-guest button.woocommerce-form-login__submit:hover {
    background-color: #b3c625 !important;
    color: #3e450d !important;
    box-shadow: 0 6px 16px rgba(196, 216, 46, 0.25) !important;
}

/* Lost Password Link Styling */
.itm-checkout-container-guest .lost_password {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    float: none !important;
}

.itm-checkout-container-guest .lost_password a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.itm-checkout-container-guest .lost_password a:hover {
    color: #b3c625 !important;
}

/* Raw warning text alignment (at the bottom of the container) */
.itm-checkout-container-guest .woocommerce {
    text-align: center !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #94a3b8 !important;
}


.woocommerce .login .button.woocommerce-form-login__submit {
    line-height: 1;
}

/* ==========================================================================
   My Account Dashboard Roles Styling
   ========================================================================== */
.itm-myaccount-user-role {
    font-size: 15px;
    color: #64748b !important;
    margin-bottom: 20px !important;
    background: #f8fafc !important;
    padding: 12px 18px !important;
    border-left: 4px solid #c4d82e !important;
    display: inline-block !important;
    border-radius: 0 8px 8px 0 !important;
    font-family: 'Poppins', sans-serif !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.itm-myaccount-user-role strong {
    color: #1e293b !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   My Account Order
   ========================================================================== */
@media only screen and (max-width: 640px) {

    .my_account_orders .woocommerce-orders-table__header-order-date,
    .my_account_orders .woocommerce-orders-table__cell-order-date {
        display: table-cell !important;
    }

    .my_account_orders .woocommerce-orders-table__header-order-status,
    .my_account_orders .woocommerce-orders-table__cell-order-status {
        display: none !important;
    }

    .my_account_orders .woocommerce-orders-table__header-order-total,
    .my_account_orders .woocommerce-orders-table__cell-order-total {
        display: none !important;
    }
}

.shop_table .product-thumbnail {
    display: none !important;
}