:root {
	--wd-text-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(61,54,45);
	--wd-text-font-size: 15px;
	--wd-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(61,54,45);
	--wd-entities-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(61,54,45);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(61,54,45);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(184,145,85);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: rgb(184,145,85);
	--btn-default-bgcolor-hover: rgb(139,104,52);
	--btn-accented-bgcolor: rgb(184,145,85);
	--btn-accented-bgcolor-hover: rgb(139,104,52);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(61,54,45);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery.thumbs-position-left {
	--wd-thumbs-width: 100px;
}

@media (max-width: 1024px) {
	.woocommerce-product-gallery.thumbs-position-left {
		--wd-thumbs-width: 100%;
	--wd-thumbs-height: 150px;
	}

}

@media (max-width: 768.98px) {
	.woocommerce-product-gallery.thumbs-position-left {
		--wd-thumbs-width: 100%;
	--wd-thumbs-height: 120px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: rgb(255,255,255);
}

/* =====================================================
   A-JUVELYRIKA – PRODUKTO INFORMACIJOS KORTELĖ
   Pakeičia ankstesnį produkto dešinės pusės CSS
   ===================================================== */

.single-product .product-image-summary .summary-inner,
.single-product .product-image-summary .summary-inner * {
    box-sizing: border-box;
}


/* =====================================================
   GALERIJOS IR INFORMACIJOS BLOKO SULYGIAVIMAS
   ===================================================== */

@media (min-width: 769px) {

    /* Abi produkto kolonos yra vienodo aukščio */

    .single-product
    .product-image-summary
    .product-image-summary-inner {
        align-items: stretch !important;
    }


    .single-product
    .product-image-summary
    .product-image-summary-inner
    > .product-images,
    .single-product
    .product-image-summary
    .product-image-summary-inner
    > .summary {
        align-self: stretch !important;
        min-height: 0 !important;
    }


    /* Dešinė kolona tampa lanksčiu konteineriu */

    .single-product
    .product-image-summary
    .product-image-summary-inner
    > .summary {
        display: flex !important;
        flex-direction: column !important;
    }


    /* Kortelė užpildo visą galerijos aukštį */

    .single-product
    .product-image-summary
    .summary
    > .summary-inner {
        flex: 1 1 auto !important;

        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
    }
}


/* =====================================================
   VISA DEŠINĖ PUSĖ – KORTELĖ
   ===================================================== */

.single-product
.product-image-summary
.summary
> .summary-inner {
    position: relative;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-content: start !important;
    align-items: start !important;

    column-gap: 22px !important;
    row-gap: 0 !important;

    min-width: 0;
    margin: 0 !important;
    padding: clamp(23px, 2.1vw, 32px) !important;

    color: #3d362d;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(184, 145, 85, 0.095),
            transparent 39%
        ),
        linear-gradient(
            145deg,
            rgba(252, 250, 246, 0.99),
            rgba(247, 242, 234, 0.98)
        );

    border: 1px solid rgba(139, 104, 52, 0.16);
    border-radius: 18px;

    box-shadow:
        0 18px 46px rgba(53, 44, 33, 0.085),
        0 4px 13px rgba(53, 44, 33, 0.035);

    overflow: hidden !important;
}


/* Tiesioginiai techniniai elementai nedalyvauja gride */

.single-product
.product-image-summary
.summary-inner
> link,

.single-product
.product-image-summary
.summary-inner
> style,

.single-product
.product-image-summary
.summary-inner
> script {
    display: none !important;
}


/* =====================================================
   NAVIGACIJOS KELIAS
   ===================================================== */

.single-product
.product-image-summary
.summary-inner
> .single-breadcrumbs-wrapper {
    grid-column: 1 / -1 !important;

    width: 100%;
    min-width: 0;

    margin: 0 0 22px !important;
    padding: 0 !important;
}


.single-product
.product-image-summary
.single-breadcrumbs-wrapper {
    color: #8b8175;

    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}


.single-product
.product-image-summary
.single-breadcrumbs-wrapper a {
    color: #8b8175 !important;
    text-decoration: none !important;

    transition: color 0.2s ease;
}


.single-product
.product-image-summary
.single-breadcrumbs-wrapper
.wd-last-link {
    color: #29241f !important;
    font-weight: 600;
}


@media (hover: hover) and (pointer: fine) {
    .single-product
    .product-image-summary
    .single-breadcrumbs-wrapper a:hover {
        color: #8b6834 !important;
    }
}


/* =====================================================
   PAVADINIMAS IR KAINA VIENOJE EILUTĖJE
   ===================================================== */

.single-product
.product-image-summary
.summary-inner
> h1.product_title {
    grid-column: 1 !important;
    grid-row: 2 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    color: #28231e !important;

    font-family: inherit !important;
    font-size: clamp(28px, 2vw, 36px) !important;
    font-weight: 500 !important;
    line-height: 1.13 !important;
    letter-spacing: -0.025em !important;

    text-align: left !important;
    overflow-wrap: anywhere;
}


/* Kaina dešinėje */

.single-product
.product-image-summary
.summary-inner
> p.price {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    justify-self: end !important;
    align-self: start !important;

    width: max-content !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 10px 16px !important;

    color: #8b6834 !important;
    background: rgba(240, 231, 217, 0.86) !important;

    border: 1px solid rgba(139, 104, 52, 0.19) !important;
    border-radius: 999px !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 6px 17px rgba(94, 73, 45, 0.055) !important;

    font-family: inherit !important;
    font-size: clamp(20px, 1.45vw, 25px) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;

    white-space: nowrap !important;
}


.single-product
.product-image-summary
.summary-inner
> p.price .amount {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}


.single-product
.product-image-summary
.summary-inner
> p.price del {
    margin-right: 8px;
    opacity: 0.42;

    font-size: 0.72em;
    font-weight: 500;
}


.single-product
.product-image-summary
.summary-inner
> p.price ins {
    color: inherit;
    background: transparent;
    text-decoration: none;
}


/* =====================================================
   AUTOMATINĖ PREKĖS BŪSENA
   ===================================================== */

.single-product
div.product
.summary-inner
> h1.product_title::after {
    display: none;

    width: max-content;
    max-width: 100%;

    margin-top: 13px;
    padding: 7px 12px 7px 29px;

    border-radius: 999px;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.075em;
    text-transform: uppercase;

    white-space: nowrap;
}


/* Produktas yra sandėlyje */

.single-product
div.product.instock
.summary-inner
> h1.product_title::after {
    content: "Turime vietoje";

    display: inline-flex;
    align-items: center;

    color: #8b6834;

    background:
        radial-gradient(
            circle at 14px 50%,
            #a8bb70 0 3px,
            rgba(168, 187, 112, 0.26) 3.5px 6px,
            transparent 6.5px
        ),
        rgba(184, 145, 85, 0.09);

    border: 1px solid rgba(184, 145, 85, 0.25);
}


/* Produkto šiuo metu nėra */

.single-product
div.product.outofstock
.summary-inner
> h1.product_title::after {
    content: "Šiuo metu neturime";

    display: inline-flex;
    align-items: center;

    color: #7c5c51;

    background:
        radial-gradient(
            circle at 14px 50%,
            #b87a68 0 3px,
            rgba(184, 122, 104, 0.22) 3.5px 6px,
            transparent 6.5px
        ),
        rgba(184, 122, 104, 0.08);

    border: 1px solid rgba(184, 122, 104, 0.20);
}


/* =====================================================
   APRAŠYMO SEKCIJA
   ===================================================== */

.single-product
.product-image-summary
.summary-inner
> .woocommerce-tabs {
    grid-column: 1 / -1 !important;

    width: 100%;
    min-width: 0;

    margin: 17px 0 0 !important;
    padding: 16px 0 0 !important;

    background: transparent !important;

    border-top: 1px solid rgba(139, 104, 52, 0.16) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;

    box-shadow: none !important;
}


/* Pašalinamos WoodMart dvigubos linijos */

.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs
.wd-accordion-item {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
}


.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs
.wd-accordion-item::before,

.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs
.wd-accordion-item::after {
    display: none !important;
    content: none !important;
}


/* „Aprašymas“ antraštė */

.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs
.wd-accordion-title {
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 0 13px !important;

    color: #a17639 !important;
    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.015em !important;
}


/* Aprašymo atidarymo rodyklė */

.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs
.wd-accordion-opener {
    color: #9a7137 !important;
    opacity: 0.66;
}


/* Aprašymo vidinis konteineris */

.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs
.wd-accordion-content {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* Aprašymo panelė */

.single-product
.product-image-summary
.summary-inner
.woocommerce-Tabs-panel {
    margin: 0 !important;
    padding: 0 !important;

    color: #62594f !important;
    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}


/* Aprašymo pastraipos */

.single-product
.product-image-summary
.summary-inner
.woocommerce-Tabs-panel p {
    margin: 0 0 12px !important;
    padding: 0 !important;

    color: #62594f !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}


.single-product
.product-image-summary
.summary-inner
.woocommerce-Tabs-panel p:last-child {
    margin-bottom: 0 !important;
}


.single-product
.product-image-summary
.summary-inner
.woocommerce-Tabs-panel strong {
    color: #3f372f !important;
    font-weight: 650 !important;
}


/* Pašalinamos apatinės accordion linijos */

.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs::before,

.single-product
.product-image-summary
.summary-inner
.woocommerce-tabs::after,

.single-product
.product-image-summary
.summary-inner
.woocommerce-Tabs-panel::before,

.single-product
.product-image-summary
.summary-inner
.woocommerce-Tabs-panel::after {
    display: none !important;
    content: none !important;
}


/* =====================================================
   PLANŠETĖ
   ===================================================== */

@media (min-width: 769px) and (max-width: 1100px) {

    .single-product
    .product-image-summary
    .summary
    > .summary-inner {
        column-gap: 15px !important;
        padding: 22px !important;

        border-radius: 16px;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > .single-breadcrumbs-wrapper {
        margin-bottom: 17px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > h1.product_title {
        font-size: 27px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > p.price {
        padding: 9px 12px !important;
        font-size: 19px !important;
    }


    .single-product
    div.product
    .summary-inner
    > h1.product_title::after {
        margin-top: 10px;
        padding-top: 6px;
        padding-bottom: 6px;

        font-size: 9px;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > .woocommerce-tabs {
        margin-top: 14px !important;
        padding-top: 14px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    .woocommerce-tabs
    .wd-accordion-title {
        padding-bottom: 10px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    .woocommerce-Tabs-panel,

    .single-product
    .product-image-summary
    .summary-inner
    .woocommerce-Tabs-panel p {
        font-size: 13px !important;
        line-height: 1.48 !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    .woocommerce-Tabs-panel p {
        margin-bottom: 9px !important;
    }
}


/* =====================================================
   MOBILUSIS
   ===================================================== */

@media (max-width: 768px) {

    /* Mobile galerija ir informacija jau yra viena po kita */

    .single-product
    .product-image-summary
    .product-image-summary-inner
    > .summary {
        display: block !important;

        height: auto !important;
        min-height: 0 !important;

        margin-top: 20px;
    }


    .single-product
    .product-image-summary
    .summary
    > .summary-inner {
        grid-template-columns: minmax(0, 1fr) auto !important;

        column-gap: 10px !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        padding: 20px !important;

        border-radius: 15px;

        overflow: visible !important;

        box-shadow:
            0 14px 34px rgba(53, 44, 33, 0.08),
            0 3px 10px rgba(53, 44, 33, 0.03);
    }


    .single-product
    .product-image-summary
    .summary-inner
    > .single-breadcrumbs-wrapper {
        margin-bottom: 18px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > h1.product_title {
        font-size: 24px !important;
        line-height: 1.17 !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > p.price {
        padding: 8px 11px !important;

        font-size: 17px !important;
    }


    .single-product
    div.product
    .summary-inner
    > h1.product_title::after {
        margin-top: 11px;
        padding: 6px 9px 6px 26px;

        font-size: 9px;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > .woocommerce-tabs {
        margin-top: 17px !important;
        padding-top: 16px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    .woocommerce-Tabs-panel,

    .single-product
    .product-image-summary
    .summary-inner
    .woocommerce-Tabs-panel p {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }
}


/* Labai siauri telefonai */

@media (max-width: 390px) {

    .single-product
    .product-image-summary
    .summary
    > .summary-inner {
        padding: 17px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > h1.product_title {
        font-size: 21px !important;
    }


    .single-product
    .product-image-summary
    .summary-inner
    > p.price {
        padding: 7px 9px !important;
        font-size: 15px !important;
    }
}
.single-product .wd-builder-off {
    --wd-single-spacing: 0px !important;
}
.wd-page-title .title {
    display: none;
}



/* =========================================================
   VIENODO AUKŠČIO PRODUKTAI
   ========================================================= */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product {
    display: flex !important;
    align-items: stretch !important;
    vertical-align: top !important;
}


/* Visa produkto kortelė */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper {
    position: relative !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto 58px !important;
    grid-template-areas:
        "photo photo"
        "title price" !important;

    align-items: center !important;
    column-gap: 10px !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: linear-gradient(
        135deg,
        rgba(250, 247, 242, 0.99),
        rgba(238, 230, 217, 0.98)
    ) !important;

    border: 1px solid rgba(139, 104, 52, 0.10) !important;
    border-radius: 14px !important;

    box-shadow:
        0 8px 26px rgba(53, 44, 33, 0.09),
        0 2px 7px rgba(53, 44, 33, 0.025) !important;

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease !important;
}


/* =========================================================
   VIENODO DYDŽIO NUOTRAUKOS
   ========================================================= */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb {
    position: relative !important;
    grid-area: photo !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: #e9e5de !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(92, 75, 51, 0.07) !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* Nuotraukos nuoroda */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb .product-image-link {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* Picture ir kiti galimi nuotraukos konteineriai */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb picture {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
}


/* Visos produkto nuotraukos automatiškai sulyginamos */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    transform: scale(1) !important;
    transform-origin: center !important;

    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s ease !important;
}


/* Lengvas šiltas sluoksnis užvedus */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb::after {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;

    display: block !important;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.01) 48%,
        rgba(132, 96, 47, 0.11) 100%
    ) !important;

    opacity: 0 !important;
    pointer-events: none !important;

    transition: opacity 0.35s ease !important;
}


/* =========================================================
   PAVADINIMAS IR KAINA VIENOJE EILUTĖJE
   ========================================================= */

/* Pavadinimo vieta */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-entities-title {
    grid-area: title !important;

    display: flex !important;
    align-items: center !important;

    min-width: 0 !important;
    width: auto !important;

    margin: 0 !important;
    padding: 9px 0 9px 12px !important;

    overflow: hidden !important;

    line-height: 1 !important;
    text-align: left !important;
}


/* Pavadinimo apvalus žymeklis */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-entities-title a {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 7px 10px !important;

    overflow: hidden !important;

    color: var(--aj-product-text) !important;
    background: rgba(255, 255, 255, 0.62) !important;

    border: 1px solid rgba(83, 67, 45, 0.10) !important;
    border-radius: 8px !important;

    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.025em !important;

    text-align: left !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease !important;
}


/* Kaina dešinėje */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper > .price {
    grid-area: price !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 9px 12px 9px 0 !important;

    overflow: hidden !important;

    color: var(--aj-product-gold) !important;
    background: transparent !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;

    text-align: right !important;
    white-space: nowrap !important;
}





/* WooCommerce kainos elementai paveldi mūsų stilių */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .price .amount,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .price bdi,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .price ins {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .price ins {
    text-decoration: none !important;
}

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .price del {
    margin-right: 5px !important;
    color: var(--aj-product-muted) !important;
    font-size: 10px !important;
    opacity: 0.65 !important;
}


/* Jeigu kaina neįvesta */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper > .price:empty {
    display: none !important;
}


/* =========================================================
   NEREIKALINGŲ WOODMART ELEMENTŲ PASLĖPIMAS
   ========================================================= */

/* Pirkimo mygtuko nereikia, nes gaminiai parduodami dirbtuvėse */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-add-btn {
    display: none !important;
}


/* Pašalinami standartiniai hover mygtukai virš nuotraukos */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-buttons,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-quick-shop-2 {
    display: none !important;
}


/* =========================================================
   HOVER EFEKTAS
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover {
        transform: translateY(-5px) !important;

        border-color: rgba(184, 145, 85, 0.24) !important;

        box-shadow:
            0 20px 44px rgba(53, 44, 33, 0.15),
            0 5px 14px rgba(53, 44, 33, 0.06) !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover .wd-product-thumb img {
        transform: scale(1.045) !important;

        filter:
            brightness(0.98)
            saturate(1.03) !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover .wd-product-thumb::after {
        opacity: 1 !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover .wd-entities-title a {
        color: #ffffff !important;
        background: #9a7949 !important;
        border-color: #9a7949 !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover > .price {
        color: #6f4e22 !important;
    }
}


/* Klaviatūros navigacija */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .product-image-link:focus-visible,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-entities-title a:focus-visible {
    outline: 2px solid #9a7949 !important;
    outline-offset: -3px !important;
}


/* =========================================================
   MOBILUSIS
   Stulpelių skaičiaus nekeičia
   ========================================================= */

@media (max-width: 700px) {

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper {
        grid-template-rows: auto 50px !important;
        column-gap: 6px !important;

        border-radius: 10px !important;

        box-shadow:
            0 6px 19px rgba(53, 44, 33, 0.09) !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-entities-title {
        padding: 7px 0 7px 8px !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-entities-title a {
        padding: 6px 7px !important;

        border-radius: 6px !important;

        font-size: 9px !important;
        letter-spacing: 0 !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper > .price {
        padding: 7px 8px 7px 0 !important;

        font-size: 10px !important;
        letter-spacing: 0 !important;
    }
}


/* Išjungiami judesiai, jei taip nustatyta įrenginyje */

@media (prefers-reduced-motion: reduce) {

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-thumb img,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-thumb::after,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-entities-title a {
        transition: none !important;
    }
}

.wd-shop-tools .woocommerce-ordering.wd-style-underline select {
    display: none;
}

/* =========================================
   VISŲ ENVIRA GALERIJŲ NUMERACIJA
   ========================================= */

html body .envira-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;

    float: none !important;

    width: fit-content !important;
    max-width: calc(100% - 24px) !important;

    margin: 34px auto 32px !important;
    padding: 6px !important;

    background: rgba(252, 250, 246, 0.96) !important;
    border: 1px solid rgba(139, 104, 52, 0.16) !important;
    border-radius: 15px !important;

    box-shadow:
        0 10px 30px rgba(53, 44, 33, 0.07),
        0 2px 8px rgba(53, 44, 33, 0.035) !important;

    font-family: inherit !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}


/* Visi numeracijos pasirinkimai */

html body .envira-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;

    margin: 0 !important;
    padding: 0 10px !important;

    color: #5f5549 !important;
    background: transparent !important;

    border: 1px solid transparent !important;
    border-radius: 10px !important;

    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    text-align: center !important;
    text-decoration: none !important;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease !important;
}


/* Aktyvus puslapis */

html body .envira-pagination .page-numbers.current,
html body .envira-pagination .page-numbers[aria-current="page"] {
    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #c7a66d 0%,
        #a77d3e 100%
    ) !important;

    border-color: #b89155 !important;

    box-shadow:
        0 7px 18px rgba(139, 104, 52, 0.24) !important;

    cursor: default !important;
    pointer-events: none !important;
}


/* Pirmyn ir atgal */

html body .envira-pagination .page-numbers.next,
html body .envira-pagination .page-numbers.prev {
    width: auto !important;
    min-width: 105px !important;

    padding-right: 17px !important;
    padding-left: 17px !important;

    color: #745329 !important;
    background: rgba(184, 145, 85, 0.11) !important;
    border-color: rgba(139, 104, 52, 0.19) !important;

    white-space: nowrap !important;
}


/* Hover */

@media (hover: hover) and (pointer: fine) {
    html body .envira-pagination a.page-numbers:hover {
        color: #6f4e22 !important;
        background: #f1e7d8 !important;
        border-color: rgba(139, 104, 52, 0.30) !important;

        transform: translateY(-2px) !important;

        box-shadow:
            0 7px 17px rgba(53, 44, 33, 0.09) !important;
    }

    html body .envira-pagination a.page-numbers.next:hover,
    html body .envira-pagination a.page-numbers.prev:hover {
        color: #ffffff !important;
        background: #a77d3e !important;
        border-color: #a77d3e !important;

        box-shadow:
            0 8px 20px rgba(139, 104, 52, 0.20) !important;
    }
}


/* Klaviatūros navigacija */

html body .envira-pagination a.page-numbers:focus-visible {
    outline: 2px solid #b89155 !important;
    outline-offset: 3px !important;
}


/* Paslepiamas tuščias numeracijos blokas */

html body .envira-pagination:empty {
    display: none !important;
}


/* Mobilusis */

@media (max-width: 600px) {
    html body .envira-pagination {
        gap: 5px !important;

        max-width: calc(100% - 16px) !important;

        margin-top: 26px !important;
        margin-bottom: 24px !important;
        padding: 5px !important;

        border-radius: 13px !important;
    }

    html body .envira-pagination .page-numbers {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;

        padding: 0 8px !important;

        border-radius: 9px !important;
        font-size: 12px !important;
    }

    html body .envira-pagination .page-numbers.next,
    html body .envira-pagination .page-numbers.prev {
        width: auto !important;
        min-width: 90px !important;

        padding-right: 12px !important;
        padding-left: 12px !important;
    }
}


/* Sumažintas judėjimas */

@media (prefers-reduced-motion: reduce) {
    html body .envira-pagination .page-numbers {
        transition: none !important;
    }
}
/* =========================================
   PADIDINTOS ENVIRA NUOTRAUKOS UŽAPVALINIMAS
   Taikoma visoms galerijoms
   ========================================= */

html body .envirabox-slide--image .envirabox-image-wrap {
    border-radius: 18px !important;
    overflow: hidden !important;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.28),
        0 6px 20px rgba(0, 0, 0, 0.16) !important;
}

html body .envirabox-slide--image img.envirabox-image {
    display: block !important;
    border-radius: 18px !important;
}


/* Mobiliajame šiek tiek mažesnis užapvalinimas */

@media (max-width: 700px) {
    html body .envirabox-slide--image .envirabox-image-wrap,
    html body .envirabox-slide--image img.envirabox-image {
        border-radius: 12px !important;
    }
}
/* =========================================
   A-JUVELYRIKA – VISŲ ENVIRA GALERIJŲ STILIUS V5

   • Desktop stulpelių skaičių valdo pati Envira
   • Desktop galima palikti 5 stulpelius
   • Nuotraukos rodomos visu savo formatu, be kampų apvalinimo
   • Pavadinimas ir kaina – be fono, glaudžiai po nuotrauka
   • Mobiliajame – viena natūralių proporcijų nuotrauka per visą plotį
   • Desktop hover be nuotraukos didinimo: švelnus tonas ir šešėlis
   • Jei kaina neįvesta, pavadinimas lieka kairėje
   • Taikoma visoms esamoms ir būsimoms Envira galerijoms
   ========================================= */


/* Galerijai nebetaikomas ankstesnis 1120 px pločio ribojimas. */

html body .envira-gallery-wrap {
    width: 100% !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}


/* Bendra dydžių skaičiavimo tvarka */

html body .envira-gallery-wrap .envira-gallery-public,
html body .envira-gallery-wrap .envira-gallery-public * {
    box-sizing: border-box !important;
}


/* =========================================
   GALERIJOS ELEMENTAI
   ========================================= */

html body .envira-gallery-wrap .envira-gallery-item {
    vertical-align: top !important;
}

html body .envira-gallery-wrap .envira-gallery-item-inner {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    overflow: visible !important;
    box-shadow: none !important;

    transform: none !important;
}


/* Pašalinami nereikalingi Envira kampų elementai */

html body .envira-gallery-wrap .envira-gallery-position-overlay {
    display: none !important;
}


/* =========================================
   NUOTRAUKOS FORMATAS
   ========================================= */

html body .envira-gallery-wrap a.envira-gallery-link {
    position: relative !important;

    display: block !important;
    flex: 0 0 auto !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    cursor: pointer !important;

    transition: box-shadow 0.3s ease !important;
}


/* Envira lazy-load konteineris */

html body .envira-gallery-wrap a.envira-gallery-link .envira-lazy {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}


/* Pati nuotrauka – be papildomo išdidinimo ir kirpimo */

html body .envira-gallery-wrap img.envira-gallery-image {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;

    object-fit: contain !important;
    object-position: center !important;

    border: 0 !important;
    border-radius: 0 !important;

    transform: none !important;
    filter: none !important;
    opacity: 1 !important;

    transition:
        filter 0.3s ease,
        opacity 0.28s ease !important;
}


/* Pašalinami ankstesni sluoksniai */

html body .envira-gallery-wrap a.envira-gallery-link::before,
html body .envira-gallery-wrap a.envira-gallery-link::after {
    display: none !important;
    content: none !important;
}


/* =========================================
   PAVADINIMAS IR KAINA
   Vienoje eilutėje, be fono, prie pat nuotraukos
   ========================================= */

html body .envira-gallery-wrap .envira-gallery-captioned-data {
    position: static !important;

    display: flex !important;
    flex: 0 0 auto !important;
    flex-flow: row nowrap !important;
    align-items: baseline !important;
    justify-content: space-between !important;

    gap: 8px !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 4px 1px 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}


/* Numeris / pavadinimas kairėje */

html body .envira-gallery-wrap .envira-title {
    display: block !important;
    flex: 0 1 auto !important;

    width: auto !important;
    max-width: 38% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    color: #3d362d !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em !important;

    text-align: left !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    transition: color 0.28s ease !important;
}


/* Kaina dešinėje */

html body .envira-gallery-wrap .envira-caption {
    display: block !important;
    flex: 0 1 auto !important;

    width: auto !important;
    max-width: 62% !important;
    min-width: 0 !important;

    margin: 0 0 0 auto !important;
    padding: 0 !important;

    overflow: hidden !important;

    color: #9a6f32 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.005em !important;

    text-align: right !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    opacity: 1 !important;
    visibility: visible !important;

    transition: color 0.28s ease !important;
}


/* Jeigu kaina neįvesta – pavadinimas paliekamas kairėje */

html body .envira-gallery-wrap .envira-gallery-captioned-data:not(:has(.envira-caption:not(:empty))) {
    justify-content: flex-start !important;
}

html body .envira-gallery-wrap .envira-gallery-captioned-data:not(:has(.envira-caption:not(:empty))) .envira-title {
    margin-right: 0 !important;
    margin-left: 0 !important;
}


/* Desktop pavadinimui rezervuojama vieta hover „rutuliukui“ */

@media (min-width: 768px) {
    html body .envira-gallery-wrap .envira-gallery-captioned-data {
        align-items: center !important;
        min-height: 31px !important;
        padding-top: 3px !important;
    }

    html body .envira-gallery-wrap .envira-title {
        padding: 5px 9px !important;

        background: transparent !important;
        border: 1px solid transparent !important;
        border-radius: 999px !important;

        transition:
            color 0.28s ease,
            background-color 0.28s ease,
            border-color 0.28s ease,
            box-shadow 0.28s ease !important;
    }
}


/* =========================================
   DESKTOP HOVER
   ========================================= */

@media (hover: hover) and (pointer: fine) {
    html body .envira-gallery-wrap .envira-gallery-item-inner:hover a.envira-gallery-link {
        box-shadow: 0 9px 24px rgba(53, 44, 33, 0.13) !important;
    }

    html body .envira-gallery-wrap .envira-gallery-item-inner:hover img.envira-gallery-image {
        transform: none !important;
        filter: brightness(0.985) contrast(1.025) saturate(1.04) !important;
        opacity: 1 !important;
    }

    html body .envira-gallery-wrap .envira-gallery-item-inner:hover .envira-title {
        color: #ffffff !important;
        background: #9a7949 !important;
        border-color: #9a7949 !important;

        box-shadow: 0 5px 14px rgba(111, 78, 34, 0.18) !important;
    }

    html body .envira-gallery-wrap .envira-gallery-item-inner:hover .envira-caption {
        color: #6f4e22 !important;
    }
}


/* Klaviatūros navigacija */

html body .envira-gallery-wrap a.envira-gallery-link:focus-visible {
    outline: 2px solid #a77d3e !important;
    outline-offset: -2px !important;
}


/* =========================================
   MOBILUSIS – VIENA NUOTRAUKA PER VISĄ PLOTĮ
   ========================================= */

@media (max-width: 767px) {
    html body .envira-gallery-wrap {
        width: 100% !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    html body .envira-gallery-wrap .envira-gallery-public {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    html body .envira-gallery-wrap .envira-gallery-item {
        float: none !important;
        clear: both !important;

        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 0 18px !important;
    }

    html body .envira-gallery-wrap .envira-gallery-item-inner {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border-radius: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
    }

    /*
       Mobiliajame nuimamas priverstinis kvadratas.
       Aukštį nustato pati realiai užkrauta nuotrauka, todėl po ja nelieka
       tuščios kvadratinio konteinerio dalies.
    */

    html body .envira-gallery-wrap a.envira-gallery-link {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border-radius: 0 !important;
    }

    html body .envira-gallery-wrap a.envira-gallery-link .envira-lazy {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border-radius: 0 !important;
    }

    html body .envira-gallery-wrap img.envira-gallery-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;

        object-fit: contain !important;
        object-position: center !important;

        transform: none !important;

        border-radius: 0 !important;
    }

    html body .envira-gallery-wrap .envira-gallery-captioned-data {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: baseline !important;
        justify-content: space-between !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        gap: 10px !important;
        margin: 0 !important;
        padding: 3px 1px 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    html body .envira-gallery-wrap .envira-title {
        flex: 0 1 auto !important;

        width: auto !important;
        max-width: 34% !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 13px !important;
        line-height: 1.35 !important;

        text-align: left !important;
        white-space: nowrap !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    html body .envira-gallery-wrap .envira-caption {
        flex: 0 1 auto !important;

        width: auto !important;
        max-width: 66% !important;
        min-width: 0 !important;

        margin: 0 0 0 auto !important;
        padding: 0 !important;

        font-size: 13px !important;
        line-height: 1.35 !important;

        text-align: right !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
}


/* =========================================
   LIGHTBOX – BE KAMPŲ APVALINIMO
   ========================================= */

html body .envirabox-slide--image .envirabox-image-wrap,
html body .envirabox-slide--image img.envirabox-image {
    border-radius: 0 !important;
}

html body .envirabox-slide--image .envirabox-image-wrap {
    box-shadow: none !important;
}


/* Sumažintas judėjimas */

@media (prefers-reduced-motion: reduce) {
    html body .envira-gallery-wrap img.envira-gallery-image,
    html body .envira-gallery-wrap .envira-title,
    html body .envira-gallery-wrap .envira-caption {
        transition: none !important;
    }
}


/* =========================================
   A-JUVELYRIKA – „TURIME VIETOJE“ KORTELĖS V7

   • Be kortelės ir nuotraukos kampų apvalinimo
   • Be nuolatinio fono po pavadinimu ir kaina
   • Išsaugomas pavadinimo aukso fonas tik užvedus pele
   • Nuotrauka per hover nedidinama
   ========================================= */


/* Visa WooCommerce produkto kortelė */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper {
    grid-template-rows: auto auto !important;
    row-gap: 0 !important;
    align-items: start !important;

    height: auto !important;
    overflow: visible !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* Kortelė nebetempiama iki aukščiausio tos eilės produkto aukščio. */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product {
    align-items: flex-start !important;
    align-self: start !important;
    height: auto !important;
}


/* Nuotrauka ir visi ją gaubiantys WoodMart elementai */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .product-element-top,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .product-image-link,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb picture,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-thumb img {
    border-radius: 0 !important;
}


/* Pavadinimas ir kaina – visiškai be nuolatinio fono */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-entities-title,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-entities-title a,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper > .price,
:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper > .price * {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* Kompaktiška teksto eilutė iškart po nuotrauka. */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-entities-title {
    align-self: start !important;
    padding: 4px 0 0 !important;
}

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-entities-title a {
    padding: 3px 6px !important;
    line-height: 1.2 !important;
}

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper > .price {
    align-self: start !important;
    margin: 0 !important;
    padding: 7px 0 0 !important;
    line-height: 1.2 !important;
}


/* Jei kainos nėra, pavadinimas lieka kairėje ir gali naudoti visą plotį. */

:where(
    body.tax-product_cat,
    body.post-type-archive-product
) .products .wd-product-wrapper:not(:has(> .price:not(:empty))) .wd-entities-title {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    text-align: left !important;
}


/* Lengvas desktop hover be nuotraukos didinimo */

@media (hover: hover) and (pointer: fine) {
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover {
        transform: translateY(-2px) !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover .wd-product-thumb {
        box-shadow: 0 9px 24px rgba(53, 44, 33, 0.13) !important;
    }

    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover .wd-product-thumb img {
        transform: none !important;
        filter: brightness(0.985) contrast(1.025) saturate(1.04) !important;
    }

    /* Aukso žymeklis rodomas tik užvedus – be užapvalinimo. */
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper:hover .wd-entities-title a {
        border-radius: 0 !important;
    }
}


/* Mobile taisyklė pakartojama su didesniu prioritetu. */

@media (max-width: 700px) {
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-thumb,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .product-element-top,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .product-image-link,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-entities-title,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-entities-title a,
    :where(
        body.tax-product_cat,
        body.post-type-archive-product
    ) .products .wd-product-wrapper > .price {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* AJ responsive galleries — 2026-09-08 */
html body .envira-gallery-wrap .envira-gallery-public {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 22px 14px !important;
  align-items: start !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body .envira-gallery-wrap .envira-gallery-public::before,
html body .envira-gallery-wrap .envira-gallery-public::after {
  display: none !important;
  content: none !important;
}
html body .envira-gallery-wrap .envira-gallery-item {
  position: relative !important;
  inset: auto !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  aspect-ratio: auto !important;
}
html body .envira-gallery-wrap .envira-gallery-item-inner {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}
/* A real aspect-ratio frame, with a non-zero content box before images load. */
html body .envira-gallery-wrap a.envira-gallery-link {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}
html body .envira-gallery-wrap a.envira-gallery-link > .envira-lazy {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
}
html body .envira-gallery-wrap img.envira-gallery-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body .envira-gallery-wrap .envira-gallery-captioned-data {
  display: flex !important;
  position: static !important;
  justify-content: flex-start !important;
  align-items: baseline !important;
  flex-flow: row wrap !important;
  gap: 2px 0.85em !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 2px 0 0 !important;
  text-align: left !important;
  font-size: 14px !important;
}
html body .envira-gallery-wrap .envira-title,
html body .envira-gallery-wrap .envira-caption {
  position: static !important;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  text-overflow: clip !important;
  visibility: visible !important;
  opacity: 1 !important;
}
html body .envira-gallery-wrap .envira-title:empty,
html body .envira-gallery-wrap .envira-caption:empty {
  display: none !important;
}
@media (min-width: 768px) {
  html body .envira-gallery-wrap .envira-gallery-public {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  html body .envira-gallery-wrap .envira-gallery-public {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1280px) {
  html body .envira-gallery-wrap .envira-gallery-public {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
/* Compact phone frames: 5:4, with room for two captions in the viewport. */
@media (max-width: 767px) {
  html body .envira-gallery-wrap a.envira-gallery-link {
    aspect-ratio: 5 / 4 !important;
  }
  @media (orientation: portrait) {
    @supports (height: 1svh) {
      html body .envira-gallery-wrap a.envira-gallery-link {
        max-height: max(180px, calc(50svh - 44px)) !important;
      }
    }
  }
}
/* Keep image painting independent of hover filters and fade transitions. */
html body .envira-gallery-wrap img.envira-gallery-image,
html body .envira-gallery-wrap .envira-gallery-item-inner:hover img.envira-gallery-image {
  filter: none !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* End AJ responsive galleries */
	
/* AJ storefront photo: preserve the complete entrance and sign */
html body .ajab-wpb-hero,
html body .ajab-wpb-hero-visual {
  min-height: 0 !important;
}
html body .ajab-wpb-hero-visual {
  display: flex !important;
  align-items: center !important;
  aspect-ratio: auto !important;
}
html body .ajab-wpb-hero-visual > .vc_column-inner,
html body .ajab-wpb-hero-visual > .vc_column-inner > .wpb_wrapper,
html body .ajab-wpb-hero-image,
html body .ajab-wpb-hero-image .wpb_wrapper,
html body .ajab-wpb-hero-image .vc_figure,
html body .ajab-wpb-hero-image .vc_single_image-wrapper,
html body .ajab-wpb-hero-image img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
html body .ajab-wpb-hero-image img {
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
}
/* End AJ storefront photo */
	
/* Keep the storefront image in document flow at mobile breakpoints. */
html body .ajab-wpb-hero-image img {
  position: static !important;
  inset: auto !important;
}

/* Keep desktop navigation on one row on landscape tablets and small laptops. */
@media (min-width: 1025px) and (max-width: 1199px) {
  html body .whb-main-header .wd-logo img { max-width: 220px !important; }
  html body #menu-navigacija { flex-wrap: nowrap !important; gap: 0 !important; }
  html body #menu-navigacija > li > a {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
}


/* AJ product captions: match gallery typography and left alignment */
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 2px 0.85em !important;
  font-size: 14px !important;
}
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper > .wd-product-thumb {
  flex: 0 0 100% !important;
  min-width: 0 !important;
  margin-bottom: 5px !important;
}
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper > .wd-entities-title,
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper > .price {
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: baseline !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
}
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper > .wd-entities-title {
  display: block !important;
}
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-entities-title > a {
  margin: 0 !important;
  padding: 0 !important;
  color: #3d362d !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  text-overflow: clip !important;
}
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper > .price {
  display: inline-flex !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 2px 6px !important;
  color: #9a6f32 !important;
  letter-spacing: 0.005em !important;
}
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper > .price bdi {
  white-space: nowrap !important;
}
html body:is(.tax-product_cat, .post-type-archive-product) .products .wd-product-wrapper > .price:empty {
  display: none !important;
}
/* End AJ product captions */


/* AJ gallery title hover: rectangular badge with room around the text */
html body .envira-gallery-wrap .envira-title {
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
@media (hover: hover) and (pointer: fine) {
  html body .envira-gallery-wrap .envira-title {
    padding: 3px 7px !important;
  }
  html body .envira-gallery-wrap .envira-gallery-item-inner:hover .envira-title {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
/* End AJ rectangular gallery badge */


/* AJ catalogue gallery dots — 2026-09-15 */
.product-grid-item .wd-product-grid-slider-pagin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    bottom: 12px;
    height: 10px;
    opacity: 1;
    visibility: visible;
    filter: none;
    transform: none;
    pointer-events: none;
}
.product-grid-item .wd-product-grid-slider-pagin .wd-product-grid-slider-dot {
    box-sizing: border-box;
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    background: rgba(33, 28, 22, .18);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    opacity: 1;
    transition: background-color .2s ease;
}
.product-grid-item .wd-product-grid-slider-pagin .wd-product-grid-slider-dot.wd-active {
    background: #fff;
    opacity: 1;
}
.product-grid-item:is(.product-swatched, .quick-shop-shown, .wd-variation-active, [class*="wd-loading"]) .wd-product-grid-slider-pagin {
    opacity: 0;
    visibility: hidden;
}
/* End AJ catalogue gallery dots. */

/* The theme clears the active class when restoring the first photo. */
.product-grid-item .wd-product-grid-slider-pagin:not(:has(.wd-active)) .wd-product-grid-slider-dot:first-child {
    background: #fff;
}


/* AJ mobile product thumbnails — equal size */
@media (max-width: 767px) {
  .single-product .wd-gallery-thumb .wd-carousel-item {
    height: auto !important;
    aspect-ratio: 7 / 6 !important;
    overflow: hidden !important;
  }

  .single-product .wd-gallery-thumb .wd-carousel-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}
/* End AJ mobile product thumbnails */
