/**
Theme Name: Kor
Author: Kordicepsas.info
Author URI: https://kordicepsas.info/
Description: Fohow kordicepsas
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kor
Template: astra
*/
.hide {
    display: none;
}

html[lang="lt-LT"] .show-lt,
html[lang="en-GB"] .show-en,
html[lang="ru-RU"] .show-ru {
    display: block;
}

.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 4em;
    margin-bottom: 4em;
}

.ast-above-header-bar .uagb-icon-list__source-wrap svg {
    fill: #fff;
}

header .widget_polylang ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    gap: 10px;
}

.ast-above-header-bar .site-header-above-section-left .wp-block-uagb-icon-list .wp-block-uagb-icon-list-child {
    margin-bottom: 0 !important;
}

/* Filters */
.irs--modern .irs-from, .irs--modern .irs-single, .irs--modern .irs-to {
    background-color: var(--ast-global-color-2);
}

.irs--modern .irs-bar {
    top: 25px;
    height: 5px;
    background: var(--ast-global-color-2);
    background: linear-gradient(to bottom, var(--ast-global-color-2) 0, #18891d 100%);
}

.bapf_ckbox_sqchck input[type=checkbox]:checked:after {
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.bapf_sfilter .bapf_hascolarr,
.bapf_sfilter .bapf_hasdesc {
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 12px;
}

.bapf_sfilter {
    margin-bottom: 40px;
}

/* Admin */
#customize-theme-controls .accordion-section-title button.accordion-trigger {
    height: auto !important;
}

/* Gallery */
.spectra-image-gallery__control-lightbox--main .swiper-slide img {
    max-height: 90%;
    max-width: 90%;
}

/* Single post */
.single .entry-header .post-thumb img {
    margin-top: 0;
    margin-bottom: 20px;
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

body.single-post #primary {
    padding-right: 30px;
}

body.single-post #primary .entry-meta {
    display: none;
}

body.single-post article .entry-header h1 {
    font-size: 42px !important;
    font-weight: 600;
}

body.single-post .entry-content h3 {
    margin-top: 30px;
    margin-bottom: 20px;
}

body.single-post .entry-content h3 strong {
    font-weight: 500;
}

body.single-post .ast-container #primary {
    border-right: 0;
}

body.single-post .ast-container #secondary {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}

body.single-post .ast-container .sidebar-main {
    margin: 0;
    box-shadow: 0 0.125rem 0.45rem rgba(0, 0, 0, 0.23);
    border-radius: 8px;
    padding: 20px 0;
}

body.single-post .ast-container .sidebar-main .widget {
    margin: 0 0 2em 0;
    border-bottom: 1px solid #0000001f;
    font-size: 15px;
    padding: 0 20px 20px;
}

body.single-post .ast-container .sidebar-main .widget:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

body.single-post .ast-container .sidebar-main .widget .wp-block-group {
    padding-top: 0;
    padding-bottom: 0;
}

body.single-post .ast-container .wc-block-product-categories-list li {
    padding-left: 0;
}

body.single-post .entry-content .wp-block-heading {
    margin-top: 20px;
    margin-bottom: 15px;
}

body.single-post .entry-content p {
    margin-bottom: 18px;
}

.widget-title, .widget .wp-block-heading {
    font-size: 20px;
    font-weight: 600;
}

/* Articles */
.articles-list .uagb-post-grid .uagb-post__image img {
    height: 300px !important;
    max-height: 300px;
    object-fit: cover;
}

.ast-related-post .post-thumb img {
    height: 300px !important;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Blog archive */
.ast-article-post .ast-article-inner .wp-post-image {
    height: 300px !important;
    max-height: 300px;
    object-fit: cover;
}

.ast-article-post .ast-article-inner {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.06);
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-style: solid;
    transition: box-shadow 0.2s ease;
}

.ast-article-post .ast-article-inner:hover {
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.13);
    transition: box-shadow 0.2s ease;
}

.ast-article-post h2.entry-title,
.ast-article-post h2.entry-title a {
    font-size: 24px;
    line-height: 1.25em;
    font-weight: 500;
}

body.archive.category .ast-archive-description {
    padding-left: 0;
}

body.archive.category .ast-archive-description .ast-archive-title {
    font-weight: 500;
}

/* Single products */
.single-product .entry-content p {
    margin-bottom: 10px;
}

.single-product .entry-content li {
    margin-bottom: 10px;
}

.single-product div.product .woocommerce-tabs .panel h1 {
    font-size: 35px;
    line-height: 59px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-product div.product .woocommerce-tabs .panel h2 {
    font-size: 28px;
    line-height: 49px;
    margin-top: 25px;
    margin-bottom: 12px;
}

.single-product div.product .woocommerce-tabs .panel h3 {
    font-size: 22px;
    line-height: 40px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.single-product div.product .woocommerce-tabs .panel h4 {
    font-size: 17px;
    line-height: 33px;
    margin-top: 15px;
    margin-bottom: 8px;
}

.single-product div.product .woocommerce-tabs .panel h5 {
    font-size: 13px;
    line-height: 27px;
    margin-top: 12px;
    margin-bottom: 6px;
}

.single-product div.product .woocommerce-tabs .panel h6 {
    font-size: 10px;
    line-height: 20px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.woocommerce-js .woocommerce-breadcrumb {
    margin-bottom: 25px;
    font-size: 15px;
}

.woocommerce-js div.product .product_title {
    font-weight: 600;
    font-size: 35px;
}

.woocommerce div.product p.price {
    color: var(--ast-global-color-1);
    font-size: 28px;
    line-height: 49px;
    margin-bottom: 25px;
}

.woocommerce div.product p.price .price-prefix {
    font-size: 18px;
    margin-right: 5px;
    font-weight: 500;
}

.woocommerce-js div.product .product_title {
    margin: 20px 0 10px 0;
}

.woocommerce-js div.product form.cart .variations {
    margin-top: 25px;
}

.woocommerce div.product span.price {
    color: var(--ast-global-color-1);
    font-size: 35px;
    line-height: 59px;
    margin-bottom: 25px;
}

.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    height: 45px;
}

.custom-shipping-message {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #0000000f;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-shipping-message svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.ast-sticky-add-to-cart .custom-shipping-message {
    display: none;
}

/* Product catalog */
body.archive.woocommerce .woocommerce-breadcrumb {
    display: none;
}

body.archive.woocommerce .page-title {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 35px;
    line-height: 59px;
}

.woocommerce-js ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    line-height: 25px;
    text-transform: unset;
}

.woocommerce ul.products li.product .price {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: var(--ast-global-color-2);
    margin-bottom: 0;
}

.woocommerce ul.products li.product .price .price-prefix {
    font-size: 13px;
    margin-right: 4px;
    font-weight: 500;
    color: #555;
    margin-bottom: 0;
}

.woocommerce-js ul.products li.product,
.woocommerce-page ul.products li.product {
    margin-bottom: 10px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    border-radius: 10px;
    padding: 15px;
    transition: 0.3s all;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    box-shadow: 1px 1px 10px #00000026;
    transition: 0.3s all;
}

.woocommerce-js .woocommerce-ordering select, .woocommerce-page .woocommerce-ordering select {
    border: 1px solid #00000000;
    font-size: 14px;
}

.bapf_sfilter.bapf_ckbox input[type=checkbox] {
    margin-right: 9px;
}

.bapf_ckbox_sqchck input[type=checkbox] {
    border: 1px solid #0000004f;
    border-radius: 3px;
    width: 18px;
    height: 18px;
}

.bapf_ckbox_sqchck input[type=checkbox]:checked:after {
    width: 6px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    top: 1px;
    left: 5px;
}

input[type="radio"]:checked, input[type=reset], input[type="checkbox"]:checked, input[type="checkbox"]:hover:checked, input[type="checkbox"]:focus:checked, input[type=range]::-webkit-slider-thumb {
    border-color: var(--ast-global-color-2);
    background-color: var(--ast-global-color-2);
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
    color: #666;
    font-size: 14px;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 20px;
}

.woocommerce-js span.onsale {
    min-width: 3.8em;
    min-height: 3.8em;
    line-height: 3.8em;
}

.woocommerce-js ul.products li.product strong {
    color: #666;
    line-height: 15px;
}

@media (min-width: 993px) {
    .ast-left-sidebar #secondary {
        padding-right: 20px;
    }

    .ast-left-sidebar #primary {
        padding-left: 20px;
    }
}

@media (min-width: 922px) {
    .archive.woocommerce-shop #secondary {
        width: 22%;
    }
}

@media (min-width: 922px) {
    .archive.woocommerce-shop #primary {
        width: 78%;
    }
}

/* Products category */
.term-description-wrapper .expandable-content {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    max-height: 6.8em;
    transition: max-height 0.3s ease-in-out;
    position: relative;
}

.term-description-wrapper .expandable-content p {
    margin-bottom: 15px;
}

.term-description-wrapper .expandable-content.p:not(:last-child) {
    margin-bottom: 10px;
}

.term-description-wrapper .expandable-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.term-description-wrapper .expandable-content.expanded::after {
    opacity: 0;
    visibility: hidden;
}

.term-description-wrapper .expandable-content.expanded {
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
}

.expand-description-btn {
    background: #fff;
    color: var(--ast-global-color-2);
    border: 1px solid var(--ast-global-color-2);
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s;
}

.expand-description-btn:hover {
    background: #fff;
    color: var(--ast-global-color-1);
    border: 1px solid var(--ast-global-color-1);
}

body.archive.tax-product_cat .woocommerce-result-count {
    display: none;
}

/* Checkout */
body.woocommerce-checkout #payment > div > div {
    margin-bottom: 30px;
}
body.woocommerce-checkout form .form-row label {
    line-height: 2.5;
    font-weight: 500;
}

.woocommerce-page.woocommerce-checkout form #order_review td {
    line-height: 1.7;
}

input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="reset"]:focus, input[type="search"]:focus, input[type="number"]:focus, textarea:focus, .wp-block-search__input:focus, [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus, .ast-mobile-popup-drawer.active .menu-toggle-close:focus, .woocommerce-ordering select.orderby:focus, #ast-scroll-top:focus, #coupon_code:focus, .woocommerce-page #comment:focus, .woocommerce #reviews #respond input#submit:focus, .woocommerce a.add_to_cart_button:focus, .woocommerce .button.single_add_to_cart_button:focus, .woocommerce .woocommerce-cart-form button:focus, .woocommerce .woocommerce-cart-form__cart-item .quantity .qty:focus, .woocommerce .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper > .input-text:focus, .woocommerce #order_comments:focus, .woocommerce #place_order:focus, .woocommerce .woocommerce-address-fields .woocommerce-address-fields__field-wrapper .woocommerce-input-wrapper > .input-text:focus, .woocommerce .woocommerce-MyAccount-content form button:focus, .woocommerce .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row .woocommerce-Input.input-text:focus, .woocommerce .ast-woocommerce-container .woocommerce-pagination ul.page-numbers li a:focus, body #content .woocommerce form .form-row .select2-container--default .select2-selection--single:focus, #ast-coupon-code:focus, .woocommerce.woocommerce-js .quantity input[type=number]:focus, .woocommerce-js .woocommerce-mini-cart-item .quantity input[type=number]:focus, .woocommerce p#ast-coupon-trigger:focus {
    border-style: solid;
    border-color: var(--ast-global-color-2) !important;
}

.woocommerce-shipping-totals.shipping > td {
    width: 100%;
}

.woocommerce-shipping-totals.shipping > td #shipping_method > li {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.woocommerce-shipping-totals.shipping > td #shipping_method > li:not(:nth-last-child(1)) {
    border-bottom: 1px solid #ededed;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

.woocommerce-shipping-totals.shipping > td #shipping_method > li > label {
    font-size: 14px;
}

/* Header */
.ast-primary-header-bar {
    border-bottom-width: 0;
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 9%);
}

.ast-site-header-cart .widget_shopping_cart, .woocommerce .ast-site-header-cart .widget_shopping_cart {
    width: 320px;
}

.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {
    background-color: var(--ast-global-color-2);
}

div.ast-above-header-wrap svg.dgwt-wcas-ico-magnifier-handler {
    fill: white;
}

/* Products carousel */
#sp-woo-product-slider-2732.sp-wps-custom-template .wps-product-image .wpsf-product-img {
    margin-bottom: .8em;
}

#wps-slider-section .wpsf-product {
    text-align: left;
}

#wps-slider-section .wpsf-product-title a {
    font-size: 17px;
    line-height: 28px;
    margin-bottom: .5em;
    padding: 0;
    font-weight: 500;
    font-family: 'Open Sans',sans-serif;
    text-align: left;
}

#wps-slider-section .wpsf-product-title a:hover {
    color: #000 !important;
}

#wps-slider-section .wpsf-product-price {
    font-size: 18px !important;
    line-height: 28px;
    color: #2c541d !important;
}

#wps-slider-section .wpsf-product .wpsf-product-title {
    line-height: 28px !important;
}

#wps-slider-section .wpsf-product {
    padding: 0;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.06);
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-radius: 8px;
    border-style: solid;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    background: #fff;
}

#wps-slider-section .wpsf-product:hover {
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.13);
}

#wps-slider-section .sp-wps-custom-template .wpsf-product .sp-wps-product-details {
    padding-top: 5px !important;
    padding-bottom: 20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Responsive */
@media (max-width: 921px) {
    /* Global */
    h2, .entry-content h2 {
        line-height: 40px;
    }

    /* Woocommerce */
    .woocommerce-js form .form-row label {
        line-height: 2.5;
        font-weight: 500;
    }

    .woocommerce-account .woocommerce-MyAccount-content fieldset legend {
        font-weight: 700;
    }

    /* Mobile Header */
    .ast-mobile-popup-drawer.active .ast-mobile-popup-inner .ast-mobile-popup-content {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 25px;
        align-items: center;
        align-content: center;
    }

    #ast-mobile-popup > div.ast-mobile-popup-inner > div.ast-mobile-popup-content .ast-header-html-1 {
        padding-top: 2px;
        padding-left: 15px;
    }

    /* Footer */
    footer #block-40 > p {
        max-width: 300px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    footer #block-45 {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    /* My account */
    .woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 30px;
    }

    /* Single blog post */
    body.single-post #primary {
        padding-right: 0;
    }

    body.single-post #primary .entry-content .uagb-cta__wrap {
        width: 100%;
        text-align: left;
    }

    body.single-post #primary .entry-content .wp-block-uagb-call-to-action {
        margin-bottom: 30px;
    }
}

/* Fixed header */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Ensure it stays on top of other elements */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

#masthead.hidden {
    transform: translateY(-100%); /* Hide the entire header */
}

#masthead.visible {
    transform: translateY(0); /* Show the entire header */
}

/* Products hover buttons */
/* Base Product Styles */
.woocommerce ul.products li.product {
    position: relative;
    overflow: hidden;
}

/* Overlay Effect */
.woocommerce ul.products li.product .product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Transparent by default */
    transition: background-color 0.3s ease-in-out;
    z-index: 1; /* Ensure it sits above the image */
    pointer-events: none;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    transition: all 0.3s;
}

.woocommerce ul.products li.product:hover .astra-shop-summary-wrap {
    filter: blur(1px);
    opacity: 0.3;
    transition: all 0.3s;
}

/* Hover Buttons */
.woocommerce ul.products li.product .custom-hover-buttons {
    position: absolute;
    bottom: 12px;
    right: -100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: right 0.3s ease-in-out;
    z-index: 2;
    align-content: center;
    width: 100%;
    align-items: flex-end;
    pointer-events: all;
}

.woocommerce ul.products li.product:hover .custom-hover-buttons {
    right: 15px;
}

/* Button Styles */
.woocommerce ul.products li.product .custom-hover-buttons a {
    background-color: var(--ast-global-color-2);
    color: white;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    margin: 3px;
    text-transform: unset;
    letter-spacing: 1px;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
    box-shadow: none;
    border-radius: 4px;
}

.woocommerce ul.products li.product .custom-hover-buttons a:hover {
    background-color: var(--ast-global-color-1);
}

.woocommerce ul.products li.product .custom-hover-buttons a.loading {
    margin-bottom: .5em;
}

.woocommerce ul.products li.product .custom-hover-buttons a.added {
    margin-bottom: .5em;
}

.woocommerce ul.products li.product .custom-hover-buttons a:empty {
    display: none;
}

/* Guternberg products slider hover buttons */
/* Base Product Styles */
.wpsf-product {
    position: relative;
    overflow: hidden;
}

/* Overlay Effect */
.wpsf-product .product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Transparent by default */
    transition: background-color 0.3s ease-in-out;
    z-index: 1; /* Ensure it sits above the image */
    pointer-events: none;
}

.wpsf-product .sp-wps-product-details {
    transition: all 0.3s;
}

.wpsf-product:hover .sp-wps-product-details {
    filter: blur(1px);
    opacity: 0.3;
    transition: all 0.3s;
}

/* Hover Buttons */
.wpsf-product .custom-hover-buttons {
    position: absolute;
    bottom: 12px;
    right: -100%; /* Start outside the product container */
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: right 0.3s ease-in-out; /* Smooth transition for sliding in and out */
    z-index: 2;
    align-content: center;
    width: 100%;
    align-items: flex-end;
    pointer-events: all;
}

.wpsf-product:hover .custom-hover-buttons {
    right: 15px; /* Slide into view on hover */
    transition: right 0.3s ease-in-out; /* Ensure smooth transition for both states */
}

/* Button Styles */
.wpsf-product .custom-hover-buttons a.added_to_cart {
    display: none;
}

.wpsf-product .custom-hover-buttons a {
    background-color: var(--ast-global-color-2);
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
    border-radius: 0;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 1px 1px 10px #00000026;
}

.wpsf-product .custom-hover-buttons a:hover {
    background-color: var(--ast-global-color-1);
}

.wpsf-product .custom-hover-buttons a:empty {
    display: none;
}

/* Banks links */
.bank-links {
    max-width: 48%;
    background: #fff;
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.06);
}

.bank-links h3 {
    font-size: 16px;
    margin-bottom: 0;
    padding: 10px 20px;
    background: #efefef;
}

.bank-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.bank-links li {
    list-style: none;
    display: flex;
    align-items: center;
    border-top: 1px solid #0000000d;
    padding: 0;
    transition: box-shadow 0.2s ease-in-out;
}

.bank-links li:hover {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);
}

.bank-links a {
    width: 100%;
    padding: 15px 0;
    color: #000;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.bank-links a .bank-logo-col {
    width: 50%;
    text-align: center;
}

.bank-links a .bank-name-col {
    width: 40%;
    text-align: left;
}

.bank-links a .bank-arrow-col {
    width: 10%;
    text-align: right;
    padding-right: 10px;
}

.bank-links img {
    height: auto;
    max-width: 180px;
    max-height: fit-content;

}

.bank-links .bank-logo-col img {
    height: 30px;
    margin-right: 10px;
}

.bank-links a .bank-arrow-col img  {
    height: 15px;
}

.bank-links span {
    font-size: 14px;
    line-height: 1.5;
}

/* Discount bulk table */
#sort_customizable_table {
    margin: 0;
}

#sort_customizable_table,
#sort_customizable_table th,
#sort_customizable_table td {
    border-color: rgb(255 255 255);
    background: #f0f7eb;
    color: #000000;
}

#sort_customizable_table th,
#sort_customizable_table td {
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    padding: 10px 20px;
    font-weight: 500;
}

@media (max-width: 967px) {
    .bank-links {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .bank-links a {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
        position: relative;
    }

    .bank-links .bank-logo-col {
        width: 100%;
    }

    .bank-links .bank-logo-col img {
        margin-right: 0;
        max-height: fit-content;
        max-width: 100%;
    }

    .bank-links a .bank-name-col {
        text-align: center;
        width: 100%;
    }

    .bank-links a .bank-arrow-col  {
        position: absolute;
        right: 0;
        top: 30%;
        width: 100%;
    }
}

/* Rating */
.woocommerce .star-rating::before {
    content: ' ';
}

/* Responsive */
@media (max-width: 544px) {
    .woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
        float: right;
        max-width: 190px;
    }

    .woocommerce-js .woocommerce-result-count {
        margin: 0.7em 0 1em;
    }
}


.woocommerce form .form-row label.checkbox, .woocommerce-page form .form-row label.checkbox {
    line-height: 1.5;
    font-size: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 15px;
    margin-bottom: 15px;
}

.woocommerce form .form-row.gdpr-consent label.checkbox, .woocommerce-page form .form-row label.checkbox {
    display: block;
}

.woocommerce-js form .form-row.gdpr-consent .input-checkbox {
    margin: 0 8px 2px 0;
}

.woocommerce-js form .form-row .input-checkbox {
    margin: 5px 8px 0 0;
}

body.woocommerce-checkout #payment > div > div {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 15px;
}

.kor-certificates {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-top: 20px;
}

.kor-certificates img {
    max-width: 380px;
}

.woocommerce-js ul.products li.product .onsale {
    top: 10px;
    right: 10px;
    color: #fff;
}

.woocommerce span.onsale, .wc-block-grid__product .wc-block-grid__product-onsale {
    color: #fff;
}

/* Coupon block */
.woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 600px;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
}

/* Lang switcher */
li.lang-item > a > img {
    height: 17px;
    width: auto;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 2px 0 rgb(0 0 0 / 37%);
}

li.lang-item > a:hover > img {
    filter: brightness(0.8);
}

@media (max-width: 967px) {
    li.lang-item > a > img {
        height: 14px;
    }
}

/* Massages pages */
.glsr.glsr-default.glsr-ltr .glsr-form-wrap,
.glsr.glsr-default.glsr-ltr .glsr-summary-wrap,
.glsr.glsr-default.glsr-ltr .glsr-reviews-wrap {
    border: 1px solid #ecf1ec;
    border-radius: 8px;
    padding: 20px 25px;
}

.glsr.glsr-default.glsr-ltr .glsr-form-wrap form.glsr-review-form.glsr-form {
    row-gap: 25px;
}

/* ================================================================
   Globalūs formos valdikliai.

   Tema ir Astra jau turi savų `input[type=checkbox]:checked` taisyklių
   su tokiu pat specifiškumu, todėl pažymėtos būsenos spalvos rašomos
   `!important` — kitaip laimi tai, kas eilėje paskutinis.
   Complianz slapukų juostai grąžinama numatytoji išvaizda.
   ================================================================ */

:root {
    --kor-ctl: #449141;
    --kor-ctl-dark: #296227;
    --kor-ctl-line: #cbd8c8;
    --kor-ctl-line-soft: #dfe7dd;
    --kor-ctl-ink: #1d2a1c;
    --kor-ctl-ring: rgba(68, 145, 65, .18);
    --kor-ctl-ease: cubic-bezier(.2, .8, .3, 1);
    --kor-ctl-pop: cubic-bezier(.2, 1.5, .4, 1);
}

/* ---------------------------------------- žymimieji ir radijo mygtukai */

/* WooCommerce `input.input-checkbox` gauna `display: inline` ir savo
   matmenis, todėl dydis ir tipas rašomi `!important`. */
input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    /* grid centruoja varnelę/tašką be pikselinių pataisų */
    display: inline-grid !important;
    place-items: center;
    box-sizing: border-box;
    position: relative;
    flex: 0 0 auto;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    margin: 0 10px 0 0;
    padding: 0;
    vertical-align: -5px;
    background-color: #fff;
    background-image: none;
    border: 2px solid var(--kor-ctl-line);
    cursor: pointer;
    transition:
        background-color .2s var(--kor-ctl-ease),
        border-color .2s var(--kor-ctl-ease),
        box-shadow .2s var(--kor-ctl-ease);
}

input[type="checkbox"] { border-radius: 7px; }
input[type="radio"]    { border-radius: 50%; }

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    border-color: var(--kor-ctl);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--kor-ctl-ring);
}

/* Pažymėta būsena */
input[type="checkbox"]:checked,
input[type="radio"]:checked,
input[type="checkbox"]:hover:checked,
input[type="radio"]:hover:checked,
input[type="checkbox"]:focus:checked,
input[type="radio"]:focus:checked {
    background-color: var(--kor-ctl) !important;
    background-image: none !important;
    border-color: var(--kor-ctl) !important;
}

/* Varnelė. Pasvirusio ženklo optinis centras yra šiek tiek žemiau ir
   dešiniau geometrinio, todėl kompensuojama nedidele paraštė. */
input[type="checkbox"]::after {
    content: "";
    position: static;
    margin: -2px 0 0 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    border-radius: 1px;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: transform .22s var(--kor-ctl-pop), opacity .12s linear;
}

input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

/* Radijo taškas */
input[type="radio"]::after {
    content: "";
    position: static;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    transform: scale(0);
    opacity: 0;
    transition: transform .22s var(--kor-ctl-pop), opacity .12s linear;
}

input[type="radio"]:checked::after {
    transform: scale(1);
    opacity: 1;
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Complianz juosta piešiasi pati — negadinam */
.cmplz-cookiebanner input[type="checkbox"],
.cmplz-cookiebanner input[type="radio"],
input[class*="cmplz"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    border-radius: 0;
    border: initial;
    background-color: initial;
    vertical-align: baseline;
}

.cmplz-cookiebanner input[type="checkbox"]::after,
.cmplz-cookiebanner input[type="radio"]::after,
input[class*="cmplz"]::after {
    content: none;
}

/* ------------------------------------------------------ įvesties laukai */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
    min-height: 46px;
    padding: 11px 14px;
    border: 1.5px solid var(--kor-ctl-line-soft);
    border-radius: 10px;
    background-color: #fff;
    color: var(--kor-ctl-ink);
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
    transition:
        border-color .18s var(--kor-ctl-ease),
        box-shadow .18s var(--kor-ctl-ease);
}

textarea {
    min-height: 92px;
    resize: vertical;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="password"]:hover,
select:hover,
textarea:hover {
    border-color: var(--kor-ctl-line);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    border-color: var(--kor-ctl) !important;
    box-shadow: 0 0 0 4px var(--kor-ctl-ring);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #9aa598;
    opacity: 1;
}

.woocommerce-invalid input.input-text,
.woocommerce-invalid select {
    border-color: #c0492c;
}

/* Select2 (šalis, atsiėmimo vieta) */
.select2-container--default .select2-selection--single {
    height: 46px;
    padding: 5px 6px;
    border: 1.5px solid var(--kor-ctl-line-soft);
    border-radius: 10px;
    transition: border-color .18s var(--kor-ctl-ease), box-shadow .18s var(--kor-ctl-ease);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--kor-ctl);
    box-shadow: 0 0 0 4px var(--kor-ctl-ring);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
    padding-left: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

.select2-dropdown {
    border: 1.5px solid var(--kor-ctl-line);
    border-radius: 10px;
    overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--kor-ctl);
}

@media (prefers-reduced-motion: reduce) {
    input[type="checkbox"],
    input[type="radio"],
    input[type="checkbox"]::after,
    input[type="radio"]::after {
        transition: none;
    }
}

/* ================================================================
   WooCommerce pranešimai (info / klaida / sėkmė) — vietoj pilkos
   juostos su žaliu brūkšniu viršuje.
   ================================================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce p.no-comments {
    position: relative;
    margin: 0 0 20px;
    padding: 15px 18px 15px 50px;
    border: 1px solid var(--kor-ctl-line-soft);
    border-left: 4px solid var(--kor-ctl);
    border-top: 1px solid var(--kor-ctl-line-soft);
    border-radius: 10px;
    background-color: #f4f8f3;
    color: var(--kor-ctl-ink);
    font-size: 15px;
    line-height: 1.5;
    list-style: none;
    box-shadow: 0 1px 2px rgba(29, 42, 28, .04);
}

/* Vietoj WooCommerce ikonų šrifto — savas apskritas ženkliukas */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--kor-ctl);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    text-indent: 0;
    content: "i";
}

.woocommerce-message::before {
    /* Simbolis rašomas tiesiogiai — `¹3` be tarpo pabaigoje
       naršyklėje virsdavo į „'13" */
    content: "✓";
    font-family: inherit;
    font-style: normal;
    font-size: 13px;
}

.woocommerce-error::before {
    content: "!";
    font-family: inherit;
    font-style: normal;
    background-color: #c0492c;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: var(--kor-ctl-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocommerce-message a:hover,
.woocommerce-info a:hover {
    text-decoration: none;
}

/* Mygtukas pranešimo viduje (pvz. „Peržiūrėti krepšelį") */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: right;
    margin-left: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* Klaida — raudona */
.woocommerce-error {
    border-left-color: #c0492c;
    background-color: #fdf4f2;
}

.woocommerce-error a {
    color: #a13a20;
}

/* Sėkmė — sodresnis žalias kraštas */
.woocommerce-message {
    border-left-color: var(--kor-ctl-dark);
}

/* Kelios klaidos viename bloke */
.woocommerce-error li {
    margin: 0 0 6px;
    list-style: none;
}

.woocommerce-error li:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        padding: 14px 14px 14px 44px;
        font-size: 14.5px;
    }

    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        float: none;
        display: block;
        margin: 12px 0 0;
        text-align: center;
    }
}

/* ================================================================
   Mygtukai ir formos po pranešimais (nuolaidos kodas, prisijungimas)
   ================================================================ */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button,
input[type="submit"] {
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    border: 0;
    transition:
        background-color .2s var(--kor-ctl-ease),
        transform .16s var(--kor-ctl-ease),
        box-shadow .2s var(--kor-ctl-ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -12px rgba(41, 98, 39, .9);
}

.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
input[type="submit"]:active {
    transform: translateY(0);
}

/* Nuolaidos kodo ir prisijungimo formos */
.woocommerce form.checkout_coupon,
.woocommerce form.woocommerce-form-login {
    margin: 0 0 20px;
    padding: 18px;
    border: 1px solid var(--kor-ctl-line-soft);
    border-radius: 12px;
    background-color: #fbfcfa;
}

.woocommerce form.checkout_coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.woocommerce form.checkout_coupon p {
    margin: 0;
    padding: 0;
}

.woocommerce form.checkout_coupon .form-row-first {
    flex: 1 1 240px;
    width: auto;
    max-width: 340px;
}

.woocommerce form.checkout_coupon .form-row-last {
    flex: 0 0 auto;
    width: auto;
}

.woocommerce form.checkout_coupon input[type="text"] {
    width: 100%;
    margin: 0;
}

.woocommerce form.checkout_coupon button {
    white-space: nowrap;
}

.woocommerce form.woocommerce-form-login .form-row {
    margin-bottom: 14px;
}

@media (max-width: 600px) {
    .woocommerce form.checkout_coupon .form-row-first,
    .woocommerce form.checkout_coupon .form-row-last,
    .woocommerce form.checkout_coupon button {
        flex: 1 1 100%;
        max-width: none;
        width: 100%;
    }
}

/* ================================================================
   Prisijungimo ir registracijos puslapis — kortelės kaip krepšelyje
   ================================================================ */

.woocommerce-account #customer_login,
.woocommerce-account .u-columns.col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
}

/* Tik prisijungimo/registracijos stulpeliai — adresų blokai turi savo
   kortelės stilių paskyros CSS faile */
.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 22px !important;
    border: 1px solid var(--kor-ctl-line-soft);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(29, 42, 28, .05), 0 8px 24px -16px rgba(29, 42, 28, .25);
}

.woocommerce-account #customer_login .u-column1 > h2,
.woocommerce-account #customer_login .u-column2 > h2 {
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--kor-ctl-line-soft);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--kor-ctl-ink);
}

.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.woocommerce-account .woocommerce-form-row,
.woocommerce-account form .form-row {
    margin: 0 0 16px;
    padding: 0;
    width: 100%;
}

.woocommerce-account form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--kor-ctl-ink);
}

.woocommerce-account form label.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    line-height: 22px;
    cursor: pointer;
}

.woocommerce-account form .woocommerce-form-login__submit,
.woocommerce-account form .woocommerce-form-register__submit {
    width: 100%;
    margin: 14px 0 0 !important;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
}

.woocommerce-account form .lost_password {
    margin: 12px 0 0;
    font-size: 14px;
}

.woocommerce-account form .lost_password a {
    color: var(--kor-ctl-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocommerce-account .woocommerce-privacy-policy-text p,
.woocommerce-account form .woocommerce-form-register p:not(.form-row) {
    font-size: 13px;
    line-height: 1.5;
    color: #6d7a6b;
}

.woocommerce-account .password-input,
.woocommerce-account .woocommerce-password-strength {
    width: 100%;
}

.woocommerce-account .show-password-input {
    top: 13px;
}

@media (max-width: 782px) {
    .woocommerce-account #customer_login,
    .woocommerce-account .u-columns.col2-set {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Slaptažodžio rodymo mygtukas */
.woocommerce .show-password-input {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%);
    width: 22px !important;
    height: 22px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--kor-ctl-dark);
    opacity: .55;
}

.woocommerce .password-input input.input-text,
.woocommerce .password-input input[type="password"] {
    padding-right: 42px;
}

.woocommerce .show-password-input:hover,
.woocommerce .show-password-input.display-password {
    opacity: 1;
}

.woocommerce .show-password-input:hover {
    opacity: 1;
}

.woocommerce .password-input {
    position: relative;
    display: block;
    width: 100%;
}

/* Kupono formos pranešimai neturi likti be stiliaus */
.woocommerce form.checkout_coupon .woocommerce-error,
.woocommerce form.checkout_coupon .woocommerce-message,
.woocommerce form.checkout_coupon .woocommerce-info,
.woocommerce td.actions .woocommerce-error {
    flex: 1 1 100%;
    width: 100%;
    margin: 12px 0 0;
}

/* Prisijungimo ir registracijos stulpeliai — aiškiai po vieną į langelį */
.woocommerce-account #customer_login .u-column1 {
    grid-column: 1;
    grid-row: 1;
}

.woocommerce-account #customer_login .u-column2 {
    grid-column: 2;
    grid-row: 1;
}

.woocommerce-account #customer_login > .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
    grid-row: auto;
}

@media (max-width: 782px) {
    .woocommerce-account #customer_login .u-column1,
    .woocommerce-account #customer_login .u-column2 {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ================================================================
   Kupono klaidos pranešimas (WooCommerce 11 įterpia <span>, ne notice)
   ================================================================ */

.woocommerce .coupon-error-notice,
.woocommerce span.coupon-error-notice {
    display: block;
    position: relative;
    flex: 1 1 100%;
    width: 100%;
    margin: 10px 0 0;
    padding: 11px 14px 11px 40px;
    border: 1px solid #f0d9d2;
    border-left: 3px solid #c0492c;
    border-radius: 9px;
    background-color: #fdf4f2;
    color: #8f3520;
    font-size: 13.5px;
    line-height: 1.45;
}

.woocommerce .coupon-error-notice::before {
    content: "!";
    position: absolute;
    left: 12px;
    top: 11px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #c0492c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* Laukas su klaida */
.woocommerce .form-row:has(> .coupon-error-notice) input[type="text"],
.woocommerce input.has-error {
    border-color: #c0492c !important;
}

/* ================================================================
   MOBILUS MENIU (Astra „popup" stalčius)
   ================================================================ */

#ast-mobile-popup .ast-mobile-popup-overlay {
    background-color: rgba(20, 30, 20, .45);
    backdrop-filter: blur(2px);
}

#ast-mobile-popup .ast-mobile-popup-inner {
    max-width: 340px;
    width: 88vw;
    background-color: #fff;
    box-shadow: -18px 0 40px -24px rgba(20, 30, 20, .55);
}

/* --------------------------------------------------------- antraštė */

#ast-mobile-popup .ast-mobile-popup-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 72px;
    padding: 0 14px 0 20px;
    border-bottom: 1px solid var(--kor-ctl-line-soft);
    background-color: #fff;
}

/* Logotipas antraštėje */
#ast-mobile-popup .ast-mobile-popup-header::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 132px;
    height: 47px;
    background-image: url("https://lm7.baltsaitas.lt/wp-content/uploads/2025/10/logo-4.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

#ast-mobile-popup #menu-toggle-close.menu-toggle-close {
    display: grid;
    place-items: center;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: var(--kor-ctl-line-soft) !important;
    color: var(--kor-ctl-ink) !important;
    box-shadow: none !important;
    transition: background-color .18s var(--kor-ctl-ease), transform .18s var(--kor-ctl-ease);
}

#ast-mobile-popup #menu-toggle-close.menu-toggle-close:hover {
    background-color: var(--kor-ctl) !important;
    color: #fff !important;
    transform: rotate(90deg);
}

#ast-mobile-popup #menu-toggle-close svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* ---------------------------------------------------------- turinys */

#ast-mobile-popup .ast-mobile-popup-content {
    padding: 18px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#ast-mobile-popup .ast-mobile-popup-content > .ast-builder-layout-element {
    padding: 0 20px;
    margin: 0;
}

/* Paieška */
#ast-mobile-popup .dgwt-wcas-search-wrapp {
    width: 100%;
    max-width: none;
    margin: 0 0 14px;
}

#ast-mobile-popup .dgwt-wcas-search-input {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    border: 1.5px solid var(--kor-ctl-line-soft);
}

/* Paskyros piktograma — su užrašu ir kaip mygtukas */
#ast-mobile-popup .ast-header-account-wrap {
    margin: 0 0 6px;
}

#ast-mobile-popup .ast-header-account-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--kor-ctl-line-soft);
    border-radius: 10px;
    color: var(--kor-ctl-ink);
    font-size: 14.5px;
    font-weight: 600;
    transition: border-color .18s var(--kor-ctl-ease), background-color .18s var(--kor-ctl-ease);
}

#ast-mobile-popup .ast-header-account-link:hover {
    border-color: var(--kor-ctl);
    background-color: #f4f8f3;
    color: var(--kor-ctl-dark);
}

#ast-mobile-popup .ast-header-account-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ------------------------------------------------------------ meniu */

#ast-mobile-popup .ast-builder-menu-1 {
    padding: 0 !important;
    margin-top: 8px;
}

#ast-mobile-popup .main-header-menu,
#ast-mobile-popup .main-header-menu .sub-menu {
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

#ast-mobile-popup .main-header-menu > .menu-item {
    border-bottom: 1px solid var(--kor-ctl-line-soft);
}

#ast-mobile-popup .main-header-menu > .menu-item:last-child {
    border-bottom: 0;
}

#ast-mobile-popup .main-header-menu .menu-link {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 20px !important;
    border: 0 !important;
    background-color: transparent !important;
    color: var(--kor-ctl-ink) !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.3;
    transition: color .18s var(--kor-ctl-ease), background-color .18s var(--kor-ctl-ease);
}

#ast-mobile-popup .main-header-menu .menu-item:hover > .menu-link,
#ast-mobile-popup .main-header-menu .current-menu-item > .menu-link,
#ast-mobile-popup .main-header-menu .current-menu-ancestor > .menu-link {
    color: var(--kor-ctl-dark) !important;
    background-color: #f4f8f3 !important;
}

/* Skleidimo mygtukas */
#ast-mobile-popup .ast-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 54px;
    padding: 0 !important;
    border: 0 !important;
    background-color: transparent !important;
    color: var(--kor-ctl-dark) !important;
}

#ast-mobile-popup .ast-menu-toggle svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    transition: transform .22s var(--kor-ctl-ease);
}

#ast-mobile-popup .menu-item.ast-submenu-expanded > .ast-menu-toggle svg {
    transform: rotate(180deg);
}

/* Antro lygio punktai */
#ast-mobile-popup .main-header-menu .sub-menu {
    margin: 0 0 8px;
    padding: 2px 0 2px 20px;
    border-left: 2px solid var(--kor-ctl-line-soft) !important;
    margin-left: 20px;
}

#ast-mobile-popup .main-header-menu .sub-menu .menu-link {
    min-height: 42px;
    padding: 0 !important;
    font-size: 14.5px;
    font-weight: 500;
    color: #4b5346 !important;
}

#ast-mobile-popup .main-header-menu .sub-menu .menu-item:hover > .menu-link {
    background-color: transparent !important;
    color: var(--kor-ctl-dark) !important;
}

#ast-mobile-popup .main-header-menu .sub-menu .menu-item {
    border: 0;
}

@media (max-width: 420px) {
    #ast-mobile-popup .ast-mobile-popup-inner {
        width: 92vw;
    }

    #ast-mobile-popup .ast-mobile-popup-header::before {
        width: 118px;
        height: 42px;
    }
}

/* Paieška ir paskyra stalčiuje — per visą plotį, su užrašais */

#ast-mobile-popup .ast-mobile-popup-content > .ast-builder-layout-element {
    display: block !important;
    width: 100%;
    justify-content: flex-start !important;
}

/* Paieška atrodo kaip laukas, nors plugin'as rodo tik piktogramą */
#ast-mobile-popup .dgwt-wcas-search-wrapp {
    display: block !important;
    width: 100% !important;
}

/* Matomas „laukas" — tik statinė nuoroda; virš jos plugin'as deda
   absoliučią nuorodą, kuri lieka nematomu paspaudimo sluoksniu. */
#ast-mobile-popup a.dgwt-wcas-search-icon {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--kor-ctl-line-soft);
    border-radius: 10px;
    color: var(--kor-ctl-ink) !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: border-color .18s var(--kor-ctl-ease), background-color .18s var(--kor-ctl-ease);
}

#ast-mobile-popup .dgwt-wcas-enable-mobile-form {
    display: block !important;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0 !important;
    background: transparent !important;
    font-size: 0 !important;
    z-index: 2;
}

#ast-mobile-popup .dgwt-wcas-enable-mobile-form::after,
#ast-mobile-popup .dgwt-wcas-enable-mobile-form svg {
    display: none !important;
    content: none !important;
}

#ast-mobile-popup a.dgwt-wcas-search-icon::after {
    content: attr(data-kor-label);
    color: var(--kor-ctl-ink);
}

#ast-mobile-popup a.dgwt-wcas-search-icon:hover {
    border-color: var(--kor-ctl);
    background-color: #f4f8f3;
}

#ast-mobile-popup .dgwt-wcas-search-wrapp svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* Paskyros nuoroda — per visą plotį su užrašu */
#ast-mobile-popup .ast-header-account-wrap {
    display: block !important;
    width: 100%;
}

#ast-mobile-popup .ast-header-account-link {
    display: flex !important;
    width: 100%;
    justify-content: flex-start;
}

#ast-mobile-popup .ast-header-account-link::after {
    content: attr(data-kor-label);
}

/* Paieškos nuorodoje plugin'as turi savo (paslėptą) tekstą — jis lipdavo
   ant mūsų užrašo. Paliekam tik piktogramą ir `::after`. */
#ast-mobile-popup a.dgwt-wcas-search-icon {
    font-size: 0 !important;
    position: relative;
}

#ast-mobile-popup a.dgwt-wcas-search-icon::after {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.2;
}

#ast-mobile-popup .dgwt-wcas-search-wrapp .dgwt-wcas-search-icon-arrow,
#ast-mobile-popup .dgwt-wcas-search-wrapp .screen-reader-text {
    display: none !important;
}

/* Pranešimų rėmelis ir juose esantys mygtukai — tema uždeda savo storą
   rėmelį ir kitokį mygtuko stilių */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: flex !important;
    align-items: center;
    gap: 14px;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--kor-ctl-line-soft) !important;
    border-left-width: 4px !important;
    border-left-color: var(--kor-ctl) !important;
    outline: 0 !important;
}

.woocommerce-error {
    border-left-color: #c0492c !important;
}

.woocommerce-message {
    border-left-color: var(--kor-ctl-dark) !important;
}

/* Tekstas užima likusį plotį, mygtukas lieka dešinėje */
.woocommerce-message > .button,
.woocommerce-info > .button,
.woocommerce-error > .button {
    order: 9;
    flex: 0 0 auto;
    float: none !important;
    margin: 0 0 0 auto !important;
    min-height: 42px;
    padding: 0 20px !important;
    display: inline-flex;
    align-items: center;
    border-radius: 10px !important;
    background-color: var(--kor-ctl) !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 13.5px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.woocommerce-message > .button:hover,
.woocommerce-info > .button:hover {
    background-color: var(--kor-ctl-dark) !important;
}

@media (max-width: 600px) {
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        flex-wrap: wrap;
    }

    .woocommerce-message > .button,
    .woocommerce-info > .button,
    .woocommerce-error > .button {
        flex: 1 1 100%;
        margin: 12px 0 0 !important;
        justify-content: center;
    }
}

/* Mygtukas pranešime: be pabraukimo ir su vertikaliai centruotu tekstu
   (tema jam palieka `display: block` ir nuorodos pabraukimą) */
.woocommerce-message > .button,
.woocommerce-info > .button,
.woocommerce-error > .button,
.woocommerce-message .button.wc-forward,
.woocommerce-info .button.wc-forward {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    line-height: 1.2 !important;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
}

/* Viršutinės juostos el. paštas mobiliajame buvo 7 px — blokas turi savo
   responsive nustatymą. Padidinam iki įskaitomo dydžio. */
@media (max-width: 921px) {
    .site-above-header-wrap .uagb-icon-list__label,
    .site-header-above-section-left .uagb-icon-list__label {
        font-size: 12.5px !important;
        line-height: 1.3 !important;
    }

    .site-above-header-wrap .uagb-icon-list__source-wrap svg,
    .site-header-above-section-left .uagb-icon-list__source-wrap svg {
        width: 14px !important;
        height: 14px !important;
    }

    .site-above-header-wrap .uagb-icon-list__wrap {
        gap: 6px;
    }
}

@media (max-width: 420px) {
    .site-above-header-wrap .uagb-icon-list__label,
    .site-header-above-section-left .uagb-icon-list__label {
        font-size: 11.5px !important;
    }
}
