.wcfmmp-user-locaton-map {
    display:none!important;
}
.entry-title {
    font-weight: 500;
    text-align: center;
    margin-bottom:40px;
}
#billing_country_field .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height:1;
    padding: 5px 8px;
}
.checkout-loyalty-points {
    display: flex;
    align-items: center;
    gap:15px;
}

.checkout-loyalty-points input {
    width: 15px!important;
    height: 15px;
    margin:0!important;
}
.wc-block-cart .wc-block-components-sidebar {
    margin-left: auto;
    padding: 0;
    width: 100%;
    max-width:300px;
}
.wp-block-button__link {
    max-width: 150px;
    height: 38px;
    padding: 0;
}
.remove-cart-item {
    font-size: 25px;
    position: absolute;
    right: -6px;
    top: calc(50% - 13px);
    line-height: 1;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item {
    position: relative;
    align-items: center;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
    padding-right:20px;
}
.wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block h2, .wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-coupon-form-block, .wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block > div.wp-block-woocommerce-cart-order-summary-totals-block, .wc-block-cart .wc-block-components-sidebar .wc-block-cart__submit {
    display:none!important;
}
.wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper {
    border-top: none;
    padding: 0;
}
.wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-item {
    padding:0!important;
}
body .wc-block-components-sidebar-layout.wc-block-cart {
    background-color: #FCFCFC;
    padding:20px 10px;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items {
    border-bottom:none;
    margin-bottom:10px;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items th.wc-block-cart-items__header-image::before {
    content: 'Krepšelis';
    font-size: 14px;
    color: #7C7C7C;
    text-transform: none;
    font-weight: 600;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items th {
    font-size: 0;
    text-align: left;
}
.wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__value, .wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item__label {
    font-size: 24px;
    font-weight: 500;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main {
    padding:0;
    width:100%;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-item__image{
    padding-left:30px!important;
    padding-right:10px!important;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-item__image a{
    display: block;
    height: 90px;
    width: 90px;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-components-quantity-selector {
    position: absolute;
    left:0;
    top:50%;
    width: 20px;
    margin: 0!important;
    flex-direction: row-reverse;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-components-quantity-selector:after {
    position: static;
    border:none;
    content:'x';
    color: #7C7C7C;
    font-size: 12px;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-components-quantity-selector button{
    display:none;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input{
    pointer-events: none;
    border: none;
    color: #7C7C7C;
    font-size: 12px;
    width:20px;
    min-width: unset;
    padding: 0;
}
body table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    position: absolute;
    top: 30px;
    right: 0;
    width: 15px;
    height: 19px;
    font-size: 0;
    background-image: url(/wp-content/themes/inhoby/assets/images/trash.svg)!important;
    background-position: center!important;
    background-size: contain!important;
    background-repeat: no-repeat!important;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items__row {
    position: relative;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items__row:not(:first-child) td {
    border-top:none;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items__row td {
    padding-top:30px;
    vertical-align: bottom;
    padding-bottom:0;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items__row td.wc-block-cart-item__product,
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items__row td.wc-block-cart-item__total
{
    border-bottom: 1px solid var(--color-border)
}

body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items__row td.wc-block-cart-item__product {
    padding-left:0;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-items__row td.wc-block-cart-item__total {
    font-size: 24px;
    font-weight:500;
    padding-right:0;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-item__image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-cart-item__prices {
    display:none;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-components-product-name{
    margin-bottom:10px;
    color: #1C1C1C;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-components-product-details__name {
    font-weight: 400;
    color: #7C7C7C;
}
body .wc-block-components-sidebar-layout.wc-block-cart .wc-block-components-main .wc-block-components-product-details__value {
    font-weight: 600;
}
.wc-bacs-bank-details-account-name, .wc-block-components-shipping-rates-control__package-header, .wc-block-checkout__order-notes, .wc-block-components-checkout-return-to-cart-button {
    display:none!important;
}
.wc-block-components-checkout-place-order-button {
    background-color: var(--color-primary);
    color:#FFF;
    border:none;
    border-radius:0;
    margin-left:auto;
}

h2 {
    font-size: 25px;
}
.woocommerce ul.order_details {
    padding:0;
}
/*.wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url] {*/
/*    border-color: #E2E2E2;*/
/*}*/
/*.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {*/
/*    box-shadow: inset 0 0 0 1.5px #E2E2E2;*/
/*}*/
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content, .wc-block-checkout .wc-block-components-product-metadata , .wc-block-checkout .wc-block-components-order-summary-item__individual-prices{
    display:none!important;
}
.wc-block-components-checkbox__label a {
    color:#000;
    font-weight: 600;
    text-decoration: none;
}
.wc-block-components-checkbox__label a:hover {
    color: var(--color-primary);
}
.woocommerce-order-details h2:nth-of-type(2), .woocommerce-order-details table:nth-of-type(2) {
    display:none;
}
.woocommerce-table--order-details .woocommerce-table__product-name .wc-item-meta > li:nth-child(1) {
    display:none;
}
.neopay-extra-info {
    display:none!important;
}
.policy a {
    color: var(--color-primary);
}
.custom-checkout-cart {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 30px;
    background: #fff;
}
.custom-cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.custom-thumb img {
    width: 60px;
    height: auto;
    margin-right: 15px;
}
.custom-info {
    flex: 1;
    font-size: 14px;
}
.custom-price {
    min-width: 80px;
    text-align: right;
    font-weight: bold;
}
.custom-remove a {
    color: #888;
    text-decoration: none;
    padding-left: 10px;
}
.custom-cart-total {
    text-align: right;
    padding-top: 10px;
    font-size: 16px;
    font-weight: bold;
}
.ship-from {
    font-size: 12px;
    color: #666;
}
.custom-checkout-wrapper {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

.checkout-left,
.checkout-middle,
.checkout-right,
.woocommerce-checkout-review-order-table,
.payment-wrap,
.shipping-wrap,
.woocommerce table.shop_table
{
    background: #fff!important;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 0px;
}
.payment-wrap {
    margin-bottom:20px;
}
#payment {
    background: #fff!important;
    border-radius: 0px;
}
.checkout-left {
    flex: 1 1 45%;
    min-width: 300px;
    order: 1;
}

.woocommerce-checkout-review-order-table {
    flex: 1 1 30%;
    min-width: 250px;
    order: 3;
}

#payment {
    flex: 1 1 25%;
    min-width: 250px;
    order: 2;
}


.woocommerce-checkout .col2-set,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.woocommerce-checkout form.checkout input,
.woocommerce-checkout form.checkout textarea,
.woocommerce-checkout form.checkout select {
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 15px;
}

.woocommerce-checkout .shop_table {
    border: none;
    width: 100%;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    border: none;
    padding: 8px 5px;
}

.woocommerce-checkout .payment_box {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}

.woocommerce-checkout .place-order .button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 6px;
    background-color: #326fff;
    color: white;
    font-weight: 600;
}
#order_review_heading {
    display: none;
}
.payment_box.payment_method_bacs, .woocommerce-privacy-policy-text {
    display:none!important;
}
.woocommerce-checkout #payment ul.payment_methods li , .woocommerce-checkout #payment ul#shipping_method li{
    display: flex!important;
    flex-wrap: wrap;
    align-items: center;
}

.woocommerce-checkout #payment ul.payment_methods li input , .woocommerce-checkout #payment ul#shipping_method li input{
    width: 15px;
    margin-right:10px!important;
}
#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none;
}
.product-name .variation:nth-of-type(1) {
    display:none!important;
}
.woocommerce-billing-fields h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.woocommerce-billing-fields h3 span {
    font-size: 12px;
    color: #7C7C7C;
    font-weight: 400;
}
.woocommerce-billing-fields h3 span a {
    color: var(--color-primary);
    font-weight: 600;
    font-style: italic;
}

.woocommerce-billing-fields h3, .payment-wrap h3 , .shipping-wrap h3 {
    font-size: 14px !important;
    border-bottom: 1px solid #E2E2E2;
    padding-bottom: 10px;
}
.woocommerce table.shop_table thead .product-name {
    padding-top:0;
    font-size: 14px !important;
    padding-bottom: 7px;
    font-weight: 600;
    position: relative;
}
.woocommerce table.shop_table {
    padding: 15px;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color: #FCFCFC!important;
}
.woocommerce-checkout #payment ul.payment_methods {
    padding:0;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #FCFCFC!important;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background-color: var(--color-primary) !important;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover
{
    background-color: #155aff !important;
}
#payment label , .woocommerce form .form-row label, .woocommerce table.shop_table td.product-name{
    color: #7C7C7C;
    font-size: 12px;
}
.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot td strong, .woocommerce table.shop_table tfoot th {
    font-weight: 600;
    font-size: 12px;
}
.woocommerce table.shop_table td.product-total {
    font-weight: 600;
    font-size: 12px;
}
.woo_lithuaniapost_lpexpress_terminal_id, .woo_lithuaniapost_lpexpress_terminal_select_container {
    margin-bottom:0!important;
    border-radius: 0!important;
}
#ship-to-different-address .woocommerce-form__label-for-checkbox  {
    display: flex
;
    flex-direction: row-reverse;
    width: 100%;
    margin-top: 30px;
    justify-content: flex-end;
    gap: 15px;
}
#ship-to-different-address .woocommerce-form__label-for-checkbox input {
    width:15px;
}
#ship-to-different-address .woocommerce-form__label-for-checkbox  span {
    font-weight: 600;
    font-size: 12px;
}
.woocommerce-additional-fields {
    border:none!important;
    padding: 0!important;
}
.leaflet-control-search .search-input , #wcfmmp-user-locaton-map{
    width:100%!important;
}

button[name="woocommerce_checkout_place_order"] {
    display: flex!important;
    justify-content: center;
    gap: 8px;
    align-items: center;
}
button[name="woocommerce_checkout_place_order"]::before {
    content:'';
    width:15px;
    height:15px;
    background-image: url('/wp-content/themes/inhoby/assets/images/lock.svg');
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

@media(max-width:1024px) {
    .custom-checkout-wrapper {
        flex-wrap:wrap;
    }
}

/* Mobile Checkout Styles - Accordion Design */
@media(max-width:768px) {
    /* Error highlighting for terminal select */
    .woo_lithuaniapost_lpexpress_terminal_id.error-highlight {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }
    .woo_lithuaniapost_lpexpress_terminal_select_container {
        width:100%;
    }
    /* Hide desktop layout */
    .custom-checkout-wrapper {
        gap:0;
        background: #F5F5F5 !important;
        padding: 10px !important;
        flex-direction:column;
    }
    
    /* Entry title styling */
    .entry-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
        text-align: left;
    }
    
    /* Cart section - Collapsible on mobile */
    .custom-checkout-cart {
        border: 1px solid #E2E2E2 !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
        background: #FFFFFF !important;
        border-radius: 8px !important;
    }
    
    .custom-checkout-cart h3 {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1C1C1C !important;
        margin: 0 !important;
        padding: 16px !important;
        border: none !important;
        border-bottom: 1px solid #E2E2E2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        cursor: pointer !important;
    }
    
    .custom-checkout-cart h3::before {
        content: '' !important;
        width: 18px !important;
        height: 18px !important;
        background-image: url('/wp-content/themes/inhoby/assets/images/blue-cart.svg') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
    }
    
    .custom-checkout-cart h3::after {
        content: '' !important;
        width: 22px !important;
        height: 22px !important;
        background-image: url('/wp-content/themes/inhoby/assets/images/grey-chevron-down3.svg') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        transition: transform 0.3s ease !important;
        margin-left: auto !important;
    }
    
    /* Cart content */
    .custom-checkout-cart .custom-cart-item,
    .custom-checkout-cart .custom-cart-total {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .custom-checkout-cart.collapsed .custom-cart-item,
    .custom-checkout-cart.collapsed .custom-cart-total {
        display: none !important;
    }
    
    .custom-checkout-cart.collapsed h3::after {
        transform: rotate(180deg) !important;
    }
    
    .custom-cart-item {
        background: #FFFFFF;
        border: none;
        border-radius: 0;
        padding: 15px;
        margin-bottom: 10px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        position: relative !important;
    }
    .custom-checkout-wrapper {
        padding: 0!important;
    }
    
    .custom-thumb img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 4px;
        margin-right: 0;
    }
    
    .custom-info {
        flex: unset;
        font-size: 14px;
        font-weight: 600;
        color: #1C1C1C;
        width: calc(100% - 92px);
        padding-bottom:12px;
        border-bottom: 1px solid #eee;
    }
    .custom-remove a {
        padding-left: 0;
    }
    .ship-from span {
        font-size: 12px;
        color: #7C7C7C;
        font-weight: 400;
    }
    
    .custom-price {
        font-size: 16px;
        font-weight: 600;
        color: #1C1C1C;
        min-width: auto;
        width: calc(100% - 45px);
        order: 3;
    }
    
    /*.custom-remove {*/
    /*    position: absolute;*/
    /*    right: 15px;*/
    /*    top: 15px;*/
    /*}*/
    .custom-cart-item {
        flex-wrap: wrap;
        align-items: flex-end;
    }
    .custom-remove img {
        width: 25px;
        height: 25px;
    }
    
    .custom-cart-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        font-size: 16px;
        font-weight: 600;
        color: #1C1C1C;
        border-top: 1px solid #E2E2E2;
        margin-top: 10px;
    }
    
    /* Checkout left section - buyer details */
    .checkout-left {
        background: #FFFFFF !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
        order: 1 !important;
        flex: unset;
        width: 100%;

    }
    
    /* Order review table - "Užsakymo informacija" section */
    .woocommerce-checkout-review-order-table {
        background: #FFFFFF !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
        order: 4 !important;
    }
    
    .woocommerce-checkout-review-order-table thead {
        display: block !important;
    }
    
    .woocommerce-checkout-review-order-table thead tr {
        display: flex !important;
        align-items: center !important;
        padding: 16px !important;
        border-bottom: none !important;
        cursor: pointer !important;
    }
    .woocommerce-checkout-review-order-table.expanded thead tr {
        border-bottom: 1px solid #E2E2E2 !important;
    }
    
    .woocommerce-checkout-review-order-table thead th {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1C1C1C !important;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
        flex: 1 !important;
        background: transparent !important;
    }

    
    .woocommerce-checkout-review-order-table thead th::after {
        content: '' !important;
        width: 22px !important;
        height: 22px !important;
        background-image: url('/wp-content/themes/inhoby/assets/images/grey-chevron-down3.svg') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        margin-left: auto !important;
        transition: transform 0.3s ease !important;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }
    
    /* Hide tbody and tfoot by default */
    .woocommerce-checkout-review-order-table tbody,
    .woocommerce-checkout-review-order-table tfoot {
        display: none ;
        padding: 15px 0;
    }
    .woocommerce-checkout-review-order-table tfoot {
        padding-top: 0;
    }
    /* Show when expanded */
    .woocommerce-checkout-review-order-table.expanded tbody,
    .woocommerce-checkout-review-order-table.expanded tfoot {
        display: block ;
    }
    
    .woocommerce-checkout-review-order-table.expanded thead th::after {
        transform: rotate(180deg) !important;
    }
    
    .woocommerce-checkout-review-order-table.expanded thead th::before {
        border-color: var(--color-primary, #326fff) !important;
        background: radial-gradient(circle, var(--color-primary, #326fff) 40%, transparent 40%) !important;
    }
    
    /* Table content styling */
    .woocommerce-checkout-review-order-table tbody tr,
    .woocommerce-checkout-review-order-table tfoot tr {
        display: table-row !important;
        border-bottom: 1px solid #E2E2E2 !important;
    }
    
    .woocommerce-checkout-review-order-table tbody tr:last-child,
    .woocommerce-checkout-review-order-table tfoot tr:last-child {
        border-bottom: none !important;
    }
    
    .woocommerce-checkout-review-order-table td,
    .woocommerce-checkout-review-order-table th {
        font-size: 12px !important;
        border: none !important;
    }
    .woocommerce-billing-fields__field-wrapper select.select2-hidden-accessible {
        width: 1px !important;
    }
    .woocommerce-checkout-review-order-table td.product-name {
        color: #7C7C7C !important;
        font-weight: 400 !important;
    }
    
    .woocommerce-checkout-review-order-table td.product-total {
        text-align: right !important;
        font-weight: 600 !important;
        color: #1C1C1C !important;
    }
    
    .woocommerce-checkout-review-order-table tfoot th,
    .woocommerce-checkout-review-order-table tfoot td {
        font-weight: 600 !important;
        color: #1C1C1C !important;
    }
    
    .woocommerce-checkout-review-order-table tfoot .order-total th,
    .woocommerce-checkout-review-order-table tfoot .order-total td {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    

    /* Payment and shipping wrappers */
    .payment-wrap,
    .shipping-wrap {
        background: #FFFFFF !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin-bottom: 10px !important;
    }
    
    #payment {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Section headers with radio buttons */
    .woocommerce-billing-fields > h3,
    .payment-wrap > h3,
    .shipping-wrap > h3 {
        display: flex !important;
        align-items: center !important;
        padding: 16px !important;
        margin: 0 !important;
        border: none !important;
        border-bottom:none !important;
        cursor: pointer !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1C1C1C !important;
        background: transparent !important;
    }
    .woocommerce-billing-fields.expanded > h3,
    .payment-wrap.expanded > h3,
    .shipping-wrap.expanded > h3 {
        border-bottom: 1px solid #E2E2E2 !important;
    }
    /* Radio button circle before sections */
    .woocommerce-billing-fields > h3::before,
    .payment-wrap > h3::before,
    .shipping-wrap > h3::before {
        content: '' !important;
        width: 20px !important;
        height: 20px !important;
        border: 2px solid #E2E2E2 !important;
        border-radius: 50% !important;
        margin-right: 12px !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
        background: #fff !important;
    }
    
    /* Active/in-progress state - blue dot */
    .woocommerce-billing-fields.expanded > h3::before,
    .payment-wrap.expanded > h3::before,
    .shipping-wrap.expanded > h3::before {
        border-color: var(--color-primary, #326fff) !important;
        /*background: radial-gradient(circle, var(--color-primary, #326fff) 40%, transparent 40%) !important;*/
    }
    
    /* Completed state - checkmark */
    .woocommerce-billing-fields.completed > h3::before,
    .payment-wrap.completed > h3::before,
    .shipping-wrap.completed > h3::before {
        background-color: var(--color-primary, #326fff) !important;
        border-color: var(--color-primary, #326fff) !important;
        background-image: url('/wp-content/themes/inhoby/assets/images/white-check-2.svg') !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 12px !important;
    }
    
    /* Chevron indicator */
    .woocommerce-billing-fields > h3::after,
    .payment-wrap > h3::after,
    .shipping-wrap > h3::after {
        content: '' !important;
        width: 22px !important;
        height: 22px !important;
        background-image: url('/wp-content/themes/inhoby/assets/images/grey-chevron-down3.svg') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        transition: transform 0.3s ease !important;
        margin-left: auto !important;
    }
    
    /* Rotate chevron when expanded */
    .woocommerce-billing-fields.expanded > h3::after,
    .payment-wrap.expanded > h3::after,
    .shipping-wrap.expanded > h3::after {
        transform: rotate(180deg) !important;
    }
    
    /* Hide content by default */
    .woocommerce-billing-fields__field-wrapper,
    .checkout-left .woocommerce-shipping-fields,
    .checkout-left .woocommerce-additional-fields,
    .checkout-left .mobile-checkout-nav,
    .payment-wrap .wc_payment_methods,
    .shipping-wrap #shipping_method {
        display: none !important;
        padding: 15px !important;
    }

    /* Show content when expanded */
    .woocommerce-billing-fields.expanded .woocommerce-billing-fields__field-wrapper,
    .woocommerce-billing-fields.expanded ~ .woocommerce-shipping-fields,
    .woocommerce-billing-fields.expanded ~ .woocommerce-additional-fields,
    .payment-wrap.expanded .wc_payment_methods,
    .shipping-wrap.expanded #shipping_method {
        display: block !important;
    }

    .woocommerce-billing-fields.expanded ~ .mobile-checkout-nav , .expanded  .mobile-checkout-nav{
        display: flex !important;
    }
    
    /* Form fields styling */
    .woocommerce-billing-fields__field-wrapper .form-row {
        margin-bottom: 12px !important;
    }
    
    .woocommerce-billing-fields__field-wrapper label {
        display: block !important;
        font-size: 12px !important;
        color: #7C7C7C !important;
        margin-bottom: 6px !important;
        font-weight: 400 !important;
    }
    
    .woocommerce-billing-fields__field-wrapper input,
    .woocommerce-billing-fields__field-wrapper select,
    .woocommerce-billing-fields__field-wrapper textarea {
        width: 100% !important;
        padding: 10px 12px !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 4px !important;
        font-size: 14px !important;
        color: #1C1C1C !important;
        background: #fff !important;
        box-sizing: border-box !important;
    }
    
    .woocommerce-billing-fields__field-wrapper .select2-container {
        width: 100% !important;
    }
    
    .woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single {
        height: 42px !important;
        padding: 10px 12px !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 4px !important;
    }
    
    .woocommerce-billing-fields__field-wrapper .select2-container .select2-selection__rendered {
        line-height: 22px !important;
        padding: 0 !important;
    }
    
    /* Payment methods */
    .payment-wrap .wc_payment_methods {
        padding: 15px !important;
    }
    
    .wc_payment_methods li {
        background: #FCFCFC !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        padding: 12px !important;
        margin-bottom: 10px !important;
        list-style: none !important;
    }
    
    .wc_payment_methods li label {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1C1C1C !important;
        cursor: pointer !important;
    }
    
    .wc_payment_methods li input[type="radio"] {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .wc_payment_methods li .payment_box {
        margin-top: 10px !important;
        padding: 10px !important;
    }
    
    /* Bank selection grid */
    .banks_grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }
    
    .bank_item {
        aspect-ratio: 1 !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }
    
    .bank_item label {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        padding: 8px !important;
        cursor: pointer !important;
        margin: 0 !important;
    }
    
    .bank_item input[type="radio"] {
        display: none !important;
    }
    
    .bank_item input[type="radio"]:checked + .neopay-bank-img {
        border-color: var(--color-primary, #326fff) !important;
    }
    
    .neopay-bank-img {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid transparent !important;
        border-radius: 4px !important;
        transition: border-color 0.2s !important;
    }
    
    .neopay-bank-img img {
        max-width: 70% !important;
        max-height: 70% !important;
        object-fit: contain !important;
    }
    
    /* Shipping methods */
    .shipping-wrap #shipping_method {
        padding: 15px !important;
    }
    
    #shipping_method li {
        background: #FCFCFC !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        padding: 12px !important;
        margin-bottom: 10px !important;
        list-style: none !important;
    }
    
    #shipping_method li label {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1C1C1C !important;
        cursor: pointer !important;
    }
    
    #shipping_method li input[type="radio"] {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Terminal selection dropdown */
    .woo_lithuaniapost_lpexpress_terminal_select_container {
        margin-top: 12px !important;
        padding: 0 12px !important;
    }
    
    .woo_lithuaniapost_lpexpress_terminal_id {
        width: 100% !important;
        padding: 10px 12px !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 4px !important;
        font-size: 14px !important;
    }
    

    
    .place-order .button.alt {
        width: 100%;
        padding: 14px;
        background-color: var(--color-primary, #326fff);
        color: #FFFFFF;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .place-order .button.alt:hover {
        background-color: #155aff !important;
    }
    
    /* Policy text */
    .place-order .policy {
        font-size: 11px !important;
        color: #7C7C7C !important;
        text-align: center !important;
        margin-bottom: 12px !important;
        line-height: 1.5 !important;
    }
    
    .place-order .policy a {
        color: var(--color-primary, #326fff) !important;
        text-decoration: underline !important;
    }
    
    /* Loyalty points section */
    .woocommerce-checkout-review-order-table .loyalty-points-discount {
        padding: 12px 15px !important;
    }
    
    .checkout-loyalty-points {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 12px !important;
        color: #7C7C7C !important;
    }
    
    .checkout-loyalty-points input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Shipping fields - part of buyer details */
    .checkout-left .woocommerce-shipping-fields {
        background: transparent !important;
        border: none !important;
        padding: 0 15px 0px 15px !important;
        margin: 0 !important;
    }
    
    .checkout-left .woocommerce-shipping-fields h3 label {
        margin-top:0!important;
    }
    
    /* Ship to different address checkbox */
    #ship-to-different-address {
        padding: 0 0 12px 0 !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
    }

    .woocommerce form .form-row#order_comments_field {
        margin: 0 0 15px;
    }

    #payment {
        flex: unset;
        width:100%;
    }

    
    #ship-to-different-address label {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        cursor: pointer !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    #ship-to-different-address input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Additional notes - part of buyer details */
    .checkout-left .woocommerce-additional-fields {
        background: transparent !important;
        border: none !important;
        padding: 0 15px 0 15px !important;
        margin: 0 !important;
    }
    
    .checkout-left .woocommerce-additional-fields h3 {
        display: none !important;
    }
    
    .checkout-left .woocommerce-additional-fields label {
        font-size: 12px !important;
        color: #7C7C7C !important;
        margin-bottom: 6px !important;
        display: block !important;
    }
    
    .checkout-left .woocommerce-additional-fields textarea {
        width: 100% !important;
        padding: 10px 12px !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 4px !important;
        font-size: 14px !important;
        min-height: 70px !important;
        box-sizing: border-box !important;
        resize: vertical !important;
        margin-bottom: 0 !important;
    }
    
    /* Right side link in billing header */
    .woocommerce-billing-fields h3 span {
        font-size: 12px !important;
        color: var(--color-primary, #326fff) !important;
        font-weight: 400 !important;
        margin-left: auto !important;
        padding-right: 30px !important;
    }
    
    .woocommerce-billing-fields h3 span a {
        color: var(--color-primary, #326fff) !important;
        text-decoration: none !important;
        font-style: italic !important;
    }
    
    
    /* Shipping method price display */
    #shipping_method li label .woocommerce-Price-amount {
        margin-left: auto !important;
        font-weight: 600 !important;
        color: #1C1C1C !important;
    }
    
    /* Hide the "arba Prisijunkite" text in header if present */
    .woocommerce-billing-fields > h3 span {
        display: none !important;
    }
    
    /* Additional fields label */
    .woocommerce-additional-fields label {
        font-size: 12px !important;
        color: #7C7C7C !important;
        margin-bottom: 6px !important;
        display: block !important;
    }
    
    /* Form row styling - half width fields */
    .woocommerce-billing-fields__field-wrapper .form-row-first,
    .woocommerce-billing-fields__field-wrapper .form-row-last {
        width: 48% !important;
        display: inline-block !important;
        vertical-align: top !important;
    }
    
    .woocommerce-billing-fields__field-wrapper .form-row-first {
        margin-right: 4% !important;
    }
    
    .woocommerce-billing-fields__field-wrapper .form-row-wide {
        width: 100% !important;
        clear: both !important;
    }
    
    /* Mobile checkout navigation buttons */
    .mobile-checkout-nav {
        display: none !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 15px !important;
        border-top: 1px solid #E2E2E2 !important;
    }
    .woocommerce table.shop_table  th, .woocommerce table.shop_table  td{
        width: 100%;
    }
    .woocommerce table.shop_table tfoot td{
    text-align: right;

    }
    .checkout-left .mobile-checkout-nav {
        padding: 15px 15px 15px 15px !important;
    }
    
    .checkout-back-btn,
    .checkout-next-btn {
        flex: 1 !important;
        padding: 12px !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
        background: #fff !important;
        color: #1C1C1C !important;
    }
    
    .checkout-next-btn {
        background: var(--color-primary, #326fff) !important;
        color: #FFFFFF !important;
        border-color: var(--color-primary, #326fff) !important;
    }
    
    .checkout-back-btn:hover {
        background: #F5F5F5 !important;
    }
    
    .checkout-next-btn:hover {
        background: #155aff !important;
    }
    
    /* Disable pointer events on non-completed future steps */
    .woocommerce-billing-fields:not(.completed) ~ .payment-wrap > h3,
    .woocommerce-billing-fields:not(.completed) ~ .shipping-wrap > h3,
    .payment-wrap:not(.completed) ~ .shipping-wrap > h3 {
        pointer-events: none !important;
        cursor: not-allowed !important;
    }
    
    /* Allow clicking on completed steps */
    .woocommerce-billing-fields.completed > h3,
    .payment-wrap.completed > h3,
    .shipping-wrap.completed > h3 {
        cursor: pointer !important;
    }
    

    /* Ensure proper mobile background */
    body.woocommerce-checkout {
        background: #F5F5F5 !important;
    }
    
    .site-main {
        background: #F5F5F5 !important;
    }
}

@media(max-width:425px) {
    .woocommerce td.product-name .wc-item-meta, .woocommerce td.product-name dl.variation {
        padding: 0;
        margin:0;
    }
    .woocommerce table.shop_table thead th,.woocommerce table.shop_table thead .product-name {
        font-size: 12px !important;
        padding:3px;

    }
    .woocommerce-checkout .col2-set, .woocommerce-checkout .woocommerce-additional-fields, .woocommerce-checkout #order_review {

        padding: 0;

    }
    .woocommerce table.shop_table td {
        font-size: 12px;
    }
}
@media(max-width:768px) {
    ul.woocommerce-order-overview.woocommerce-thankyou-order-details {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 0 20px 0 !important;
        border: 1px solid #E2E2E2 !important;
        border-radius: 8px !important;
        padding: 0 !important;
        background: #fff !important;
    }
    
    ul.woocommerce-order-overview.woocommerce-thankyou-order-details li {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #E2E2E2 !important;
        margin: 0 !important;
        padding: 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        float: none !important;
        font-size: 14px !important;
        color: #7C7C7C !important;
    }

    ul.woocommerce-order-overview.woocommerce-thankyou-order-details li:last-child {
        border-bottom: none !important;
    }
    
    ul.woocommerce-order-overview.woocommerce-thankyou-order-details li strong {
        font-weight: 600 !important;
        color: #1C1C1C !important;
        font-size:14px;
    }
}
