/*
Theme Name: Kretis Child
Description: This is a child theme for Kretis Theme
Author: kretis.lt
Template: kretis
Version: 1.35.23
*/

/* .products .product .price {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    background-color: black;
    color: white !IMPORTANT;
    padding: 5px 10px;
    font-size: 1rem !IMPORTANT;
} */

.io-slider-nav-wrap .owl-dots {
    grid-row-gap: unset;
}

.io-slider-nav-wrap .owl-dots button {
    margin-bottom: 7px;
    margin-top: 7px;
}

.woocommerce-product-gallery__wrapper.owl-carousel {
    display: block;
}

.rotate180 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.woocommerce span.onsale {
    color: #fff;
    background-color: #C72525;
    width: 54px;
    height: 54px;
    top: 0.7em !important;
    left: 0.7em !important;
}

.woocommerce div.product.purchasable span.price.discounted-price {
    display: flex;
    align-items: flex-end;
}

.woocommerce div.product.purchasable span.price.discounted-price ins,
.woocommerce div.product.purchasable span.price.discounted-price .woocommerce-price-suffix {
    font-weight: 400;
    text-decoration: none;
    color: #fff;
}
.woocommerce div.product span.price del, .woocommerce div.product p.price del {
    opacity: 1;
    font-size: 400 !important;
    font-size: 0.875em;
    color: #858585;
    margin-right: 5px;
}
.woocommerce div.product.purchasable span.price.discounted-price ins {
    color: #C72525;
    font-weight: 700 !important;
}
.woocommerce div.product.purchasable span.price.discounted-price .woocommerce-price-suffix {
    color: #555555;
}

.woocommerce div.product span.price del::after {
    content: '';
    width: 30px;
    height: 1px;
    display: block;
}

#woo-owl-gallery .owl-stage {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: box;
}

#woo-owl-gallery .owl-stage-outer.owl-height,
#woo-owl-gallery .owl-stage img {
    max-height: 625px;
}

#woo-owl-gallery .owl-item>div>a>img {
    margin: auto;
}


/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 600px) {
    .products .product .price {
        top: 0px;
        right: 0px;
        padding-right: 5px;
        padding-left: 5px;
        padding-top: 0px;
        padding-bottom: 0px;
    }
}


/*Download PDF on mobile issue fix.*/

@media only screen and (max-width: 768px) {
    .mobile-pdf-download-fix {}
    .woocommerce span.onsale {
        width: 45px;
        height: 45px;
        top: 1em !important;
        left: 1em !important;
    }
}

.term-akcijos .section {
    width: 100%;
}


/*Box view of subcategory*/

.subcategory-list-item--boxView {
    margin-bottom: .5rem !important;
}

.borderOnLinkDark {
    border: 1px solid #343434;
    padding: 1rem;
    display: inline-block;
}

.borderOnLinkDark:hover {
    background-color: #343434 !important;
}

.subcategory-list-item--boxView:hover>.borderOnLinkDark a {
    color: #fff !important;
}

.product_cat-akcijos>.add_to_cart_button {
    display: none !important;
}

.product-type-simple>.button {
    display: none !important;
}

.h-100.product .product-title h4 {
    font-size: 21px !important;
}

.h-100.product .product-title h3 {
    color: #000000;
    font-size: 21px !important;
    margin-bottom: 24px !important;
    min-height: 36px;
}


/*Mockup*/

.owl-dot-mockup {
    background: #E9E9E9;
    width: 17px;
    height: 17px;
    border-radius: 0;
    margin: 5px 10px;
    transition: all 0.4s;
    display: inline-block;
    border: none;
}

.owl-dot-mockup:hover {
    background: #B63426 !important;
}

.owl-dot-mockup.active {
    background: #B63426 !important;
}

.promotion-image-home {
    padding-left: 10px;
    padding-right: 10px;
}

.title-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-promotion-mockup {
    position: relative;
    margin-right: 1rem;
}

.label-new-mockup {
    background-color: #B63426;
    color: #fff;
    padding: .5rem 1.2rem;
}

@media only screen and (max-width: 768px) {
    .promotion-mockup {
        display: block;
        margin: auto;
    }
    .part-container-mockup {
        max-width: 90%;
        margin: auto;
    }
}

.archive.term-akcijos .boxed-subcategories {
    display: none!important;
}

.category-description {
    font-size: 20px;
    margin-top: 40px;
}
@media (max-width: 1200px) {
    .category-description {
        font-size: 16px;
        margin-top: 30px;
    }
}
.pagination {
    justify-content: center;
    gap: 15px;
}
.pagination > * {
    border: 1px solid #2A2A2A;
    padding: 0 10px;
    line-height: 45px;
    min-width: 45px;
    text-align: center;
}
.pagination > .current,
.pagination > a:hover {
    color: #fff;
    background: #2A2A2A;
}
.pagination > .dots {
    border-color: transparent!important;
    background: transparent!important;
}

.trust-block {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    background: #FAFAFA;
    padding: 50px 0 60px;
    position: relative;
    z-index: 1;
}
@media only screen and (max-width: 768px) {
    .trust-block {
        flex-direction: column;
        background: transparent;
        padding: 70px 0 0;
    }
}
.trust-block::before {
    position: absolute;
    z-index: -1;
    content: "";
    width: 200vw;
    top: 0;
    left: -50vw;
    height: 100%;
    background: #FAFAFA;
}
@media only screen and (max-width: 768px) {
    .trust-block::before {
        content: none;
    }
}
.trust-block .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
@media only screen and (max-width: 768px) {
    .trust-block .item {
        flex-direction: row;
    }
}
.trust-block .item img {
    aspect-ratio: 1/1;
    max-width: 138px;
    width: 100%;
    object-fit: contain;
}
@media only screen and (max-width: 768px) {
    .trust-block .item img {
        max-width: 66px;
    }
}
.trust-block .item span {
    margin: 10px 0 0 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    color: #212529;
    text-align: center;
}
@media only screen and (max-width: 768px) {
    .trust-block .item span {
        margin: 0 0 0 12px;
        text-align: left;
    }
}
.trust-block .item + .item {
    margin-left: 30px;
}
@media only screen and (max-width: 768px) {
    .trust-block .item + .item {
        margin-left: 0;
        margin-top: 5px;
    }
}

.text-block {
    display: flex;
    margin: 100px 0 0 0;
}
@media only screen and (max-width: 768px) {
    .text-block {
        flex-direction: column !important;
        margin: 70px 0 0 0;
    }
}
.text-block:last-child {
    margin: 100px 0;
}
@media only screen and (max-width: 768px) {
    .text-block:last-child {
        margin: 70px 0;
    }
}
.text-block:nth-child(odd) {
    flex-direction: row-reverse;
}
.text-block .photo {
    width: 48.8%;
    display: flex;
    justify-content: center;
    padding: 0 50px;
}
@media only screen and (max-width: 768px) {
    .text-block .photo {
        width: 100%;
        padding: 0 0 30px 0;
    }
}
.text-block .photo img {
    aspect-ratio: 1/1;
    object-fit: cover;
    max-width: 423px;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 768px) {
    .text-block .photo img {
        aspect-ratio: 1/1;
        max-width: 247px;
        width: 80%;
        height: unset;
    }
}
.text-block .text {
    width: calc(100% - 48.8%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media only screen and (max-width: 768px) {
    .text-block .text {
        width: 100%;
    }
}
.text-block .text h2,
.text-block .text h3 {
    margin: 0;
    font-weight: 500;
    font-size: 35px;
    line-height: 44px;
    color: #212529;
}
@media only screen and (max-width: 768px) {
    .text-block .text h2,
    .text-block .text h3 {
        font-size: 26px;
        line-height: 33px;
    }
}
.text-block .text p {
    margin: 30px 0 0 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #000000;
}
@media only screen and (max-width: 768px) {
    .text-block .text p {
        margin: 16px 0 0 0;
        font-size: 15px;
        line-height: 26px;
    }
}

.big-picture {
    width: 100%;
    margin: 100px 0 0 0;
}
@media only screen and (max-width: 768px) {
    .big-picture {
        margin: 70px 0 0 0;
    }
}
.big-picture ~ .text-block:nth-child(odd) {
    flex-direction: row;
}
.big-picture ~ .text-block:nth-child(even) {
    flex-direction: row-reverse;
}
.big-picture img {
    width: 100%;
    height: auto;
}
@media only screen and (max-width: 768px) {
    .big-picture img {
        min-height: 345px;
        object-fit: cover;
    }
}

.list-section {
    padding: 100px 0;
    margin: 100px 0 0 0;
    position: relative;
    z-index: 1;
}
@media only screen and (max-width: 768px) {
    .list-section {
        padding: 70px 0;
        margin: 70px 0 0 0;
    }
}
.list-section::before {
    position: absolute;
    z-index: -1;
    content: "";
    width: 200vw;
    top: 0;
    left: -50vw;
    height: 100%;
    background: #FAFAFA;
}
.list-section h2 {
    font-weight: 500;
    font-size: 35px;
    line-height: 44px;
    color: #212529;
    margin: 0;
}
@media only screen and (max-width: 768px) {
    .list-section h2 {
        font-size: 28px;
        line-height: 35px;
    }
}
.list-section .list-block {
    display: flex;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block {
        display: block;
    }
}
.list-section .list-block:nth-child(2) .title,
.list-section .list-block:nth-child(2) .text {
    padding: 56px 0 40px 0;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block:nth-child(2) .title,
    .list-section .list-block:nth-child(2) .text {
        padding: 0;
    }
    .list-section .list-block:nth-child(2) {
        padding: 30px 0 40px 0;
    }
}
.list-section .list-block:not(:nth-child(2)):not(:last-child) .title,
.list-section .list-block:not(:nth-child(2)):not(:last-child) .text {
    padding: 40px 0;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block:not(:nth-child(2)):not(:last-child) .title,
    .list-section .list-block:not(:nth-child(2)):not(:last-child) .text {
        padding: 0;
    }
    .list-section .list-block:not(:nth-child(2)):not(:last-child) {
        padding: 40px 0;
    }
}
.list-section .list-block:not(:nth-child(2)) .text {
    border-top: 1px solid #DEDEDE;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block:not(:nth-child(2)) .text {
        border-top: none;
    }
    .list-section .list-block:not(:nth-child(2)) {
        border-top: 1px solid #DEDEDE;
    }
}
.list-section .list-block:last-child .title,
.list-section .list-block:last-child .text {
    padding: 40px 0 0 0;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block:last-child .title,
    .list-section .list-block:last-child .text {
        padding: 0;
    }
    .list-section .list-block:last-child  {
        padding: 40px 0 0 0;
    }
}
.list-section .list-block .title {
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    text-transform: uppercase;
    color: #000000;
    width: calc(100% - 67.97%);
}
@media only screen and (max-width: 768px) {
    .list-section .list-block .title {
        font-size: 15px;
        line-height: 19px;
        width: 100%;
        margin: 0 0 20px 0;
    }
}
.list-section .list-block .text {
    width: 67.97%;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block .text {
        width: 100%;
    }
}
.list-section .list-block .text ul {
    list-style: none;
    padding: 0;
}
.list-section .list-block .text ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #000000;
    position: relative;
    padding-left: 24px;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block .text ul li {
        font-size: 15px;
        line-height: 26px;
    }
}
.list-section .list-block .text ul li::before {
    content: "";
    width: 14px;
    height: 1px;
    position: absolute;
    top: 14px;
    left: 0;
    background: #000000;
}
@media only screen and (max-width: 768px) {

}
.list-section .list-block .text ul li + li {
    margin: 14px 0 0 0;
}
@media only screen and (max-width: 768px) {
    .list-section .list-block .text ul li + li {
        margin: 10px 0 0 0;
    }
}

.single-product .site-content {
    overflow: hidden;
}

.popup-product {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 9999999999;
    transition: opacity 0.2s ease-out;
    padding: 0 15px;
}

.popup-product.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease-in;
}

.popup-product .popup-content {
    background-color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    transform: scale(0.1);
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    max-width: 800px;
}

.popup-product.active .popup-content {
    transform: scale(1);
    visibility: visible;
}

.popup-product .close-container {
    display: flex;
    justify-content: flex-end;
}

.popup-product .close-container .close-btn {
    border: none;
    background-color: transparent;
    offset: none;
    cursor: pointer;
    padding: 15px;
}

.popup-product .form-container {
    padding: 0 50px 50px;
}

@media screen and (max-width: 768px) {
    .popup-product .form-container {
        padding: 0 30px 30px;
    }

    .popup-product .popup-content .mt-3 {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 576px) {
    .popup-product .form-container {
        padding: 0 15px 30px;
    }
}


#woo-owl-gallery:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    overflow: hidden;
}
#woo-owl-gallery:not(.owl-loaded) > div {
    display: flex;
    height: 100%;
    margin: auto;
}
#woo-owl-gallery:not(.owl-loaded) > div:nth-child(n+2) {
    display: none;
}
.owl-carousel .owl-stage-outer {
    transition: unset !important;
}
#woo-owl-gallery:not(.owl-loaded) *,
#woo-thumbnail-slider:not(.owl-loaded) * {
    transition: unset !important;
}
#woo-thumbnail-slider:not(.owl-loaded) .owl-stage {
    transition: unset !important;
}
#woo-thumbnail-slider:not(.owl-loaded) {
    transition: unset !important;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow: hidden;
    gap: 45px;
    padding-bottom: 44px;
}
#woo-thumbnail-slider:not(.owl-loaded) > div,
#woo-thumbnail-slider:not(.owl-loaded) > li {
    display: flex;
}
#woo-thumbnail-slider:not(.owl-loaded) > div img,
#woo-thumbnail-slider:not(.owl-loaded) > li img {
    width: 100%;
    height: 165px;
    object-fit: contain;
}
#woo-thumbnail-slider:not(.owl-loaded) > div:nth-child(n+6),
#woo-thumbnail-slider:not(.owl-loaded) > li:nth-child(n+6) {
    display: none;
}
#relatedCarousel:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}
#relatedCarousel:not(.owl-loaded) > div:nth-child(n+4) {
    display: none;
}
#stepsCarousel2:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    overflow: hidden;
}
#stepsCarousel2:not(.owl-loaded) > div:nth-child(n+2) {
    display: none;
}
#stepsCarousel:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    overflow: hidden;
}
#stepsCarousel:not(.owl-loaded) > div:nth-child(n+2) {
    display: none;
}
#portfolioCarousel:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
}
#portfolioCarousel:not(.owl-loaded) > div:nth-child(n+3) {
    display: none;
}
#logoCarousel:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
}
#logoCarousel:not(.owl-loaded) > div:nth-child(n+6) {
    display: none;
}

.page-template-page-contact .company_details h1 {
    letter-spacing: -1px;
    font-size: 2.1875rem;
}

@media (max-width: 768px) {
    .page-template-page-contact .company_details h1 {
        font-size: 1.43rem;
    }
}

.top-products {
    background: #F5F8FA;
    padding: 45px 0 0 0 !important;
}
.top-products::before {
    position: absolute;
    z-index: -1;
    content: "";
    width: 200vw;
    top: 0;
    left: -50vw;
    height: 100%;
    background: #F5F8FA;
}
.top-products.home-products::before {
    content: none;
}
.top-products .product {
    background: #fff;
}
.top-products.home-products {
    background: #fff;
    padding: 45px 0 0 !important;
}
.related-articles {
    background: #fff;
    padding: 84px 0 0 !important;
    margin: 16px 0 0 !important;
    @media (max-width: 768px) {
        padding: 60px 0 0 !important;
        margin: 10px 0 0 !important;
    }
}
.related-articles::before {
    position: absolute;
    content: "";
    width: 200vw;
    top: 0;
    left: -50vw;
    height: 1px;
    background: #E7E7E7;
}
.related-articles .product {
    background: #fff;
}

@media (max-width: 1080px) {
    .subcategories-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem !important;
    }
    .subcategory-list-item:not(:last-child) {
        width: 100% !important;
        margin-right: 0 !important;
    }
    .subcategory-list-item--boxView {
        margin-bottom: 0 !important;
    }
}

.top-products .h-100.product {
    border: 1px solid #2A2A2A;
}

@media (max-width: 1380px) {
    .top-products {
        overflow-x: hidden !important;
    }
}
.single-product .button-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
@media screen and (max-width: 576px) {
    .single-product .button-wrap {
        grid-template-columns: repeat(1, 1fr);
    }
}

.cc-window {
    opacity: 1;
    transition: opacity 1s ease
}
.cookielist table{
    display: block;
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.cc-window.cc-invisible {
    opacity: 0
}
.cookielist b{
    font-weight: bold !important;

}
.cc-animate.cc-revoke {
    transition: transform 1s ease
}
.cc-link:hover{
    color: #fff !important;
    text-decoration: underline;
}
.cc-animate.cc-revoke.cc-top {
    transform: translateY(-2em)
}

.cc-animate.cc-revoke.cc-bottom {
    transform: translateY(2em)
}
.cookielist td, .cookielist th {
    border: 1px solid !important;
    padding-right: 5px;
    padding-left: 5px;
}
.cc-animate.cc-revoke.cc-active.cc-bottom,
.cc-animate.cc-revoke.cc-active.cc-top,
.cc-revoke:hover {
    transform: translateY(0)
}

.cc-grower {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s
}

.cc-link,
.cc-revoke:hover {
    text-decoration: underline
}

.cc-revoke,
.cc-window {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 9999
}

.cc-window.cc-static {
    position: static
}

.cc-window.cc-floating {
    padding: 2em;
    max-width: 24em;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 10px;
    max-width: none;
    text-align: center;
    font-size: 13px;
}

.cc-window.cc-banner {
    padding: 1em 1.8em;
    width: 465px;
    -ms-flex-direction: row;
    flex-direction: row;
}

.cc-revoke {
    padding: .5em
}

.cc-header {
    font-size: 18px;
    font-weight: 700
}

.cc-btn,
.cc-close,
.cc-link,
.cc-revoke {
    cursor: pointer
}
.cc-btn:hover{
    background-color: #27323e !important;
    transition: background-color 0.7s;
}
.cc-link {
    opacity: .8;
    display: inline-block;
}

.cc-link:hover {
    opacity: 1
}

.cc-link:active,
.cc-link:visited {
    color: initial
}

.cc-btn {
    display: block;
    padding: 0px 10px;
    font-size: 12px;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    white-space: nowrap;
}


.cc-highlight .cc-btn:first-child {
    background-color: transparent;
    border-color: transparent
}

.cc-highlight .cc-btn:first-child:focus,
.cc-highlight .cc-btn:first-child:hover {
    background-color: transparent;
    text-decoration: underline
}

.cc-close {
    display: block;
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 1.6em;
    opacity: .9;
    line-height: .75
}

.cc-close:focus,
.cc-close:hover {
    opacity: 1
}

.cc-revoke.cc-top {
    top: 0;
    left: 3em;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em
}

.cc-revoke.cc-bottom {
    bottom: 0;
    left: 3em;
    border-top-left-radius: .5em;
    border-top-right-radius: .5em
}

.cc-revoke.cc-left {
    left: 3em;
    right: unset
}

.cc-revoke.cc-right {
    right: 3em;
    left: unset
}

.cc-top {
    top: 1em
}

.cc-left {
    left: 1em
}

.cc-right {
    right: 1em
}

.cc-bottom {
    bottom: 1em
}

.cc-floating>.cc-link {
    margin-bottom: 1em
}

.cc-floating .cc-message {
    display: block;
    margin-bottom: 1em;
    margin-bottom: 5px;
}

.cc-window.cc-floating .cc-compliance {
    -ms-flex: 1;
    flex: 1
}

.cc-window.cc-banner {
    -ms-flex-align: center;
    align-items: center
}

.cc-banner.cc-top {
    left: 0;
    right: 0;
    top: 0
}

.cc-banner.cc-bottom {
    z-index: 123123123123;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    left: 20px;
    right: 0;
    bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

.cc-banner .cc-message {
    -ms-flex: 1;
    flex: 1;
    font-size: 13px;
    display: block;
    line-height: 18px;
    margin-bottom: 10px;
}

.cc-compliance {
    display: block;
    max-width: 140px;
    margin: 0 auto;
}

.cc-compliance>.cc-btn {
    -ms-flex: 1;
    flex: 1
}

.cc-btn+.cc-btn {
    margin-left: .5em
}
.cc-btn:hover{
    color: #fff !important;
}
@media print {
    .cc-revoke,
    .cc-window {
        display: none
    }
}

@media screen and (max-width:900px) {
    .cc-btn {
        white-space: normal
    }
}

@media (max-width: 767px){
    .cc-banner.cc-bottom{
        width: 100%;
        left: 0;
    }
    .cc-bottom{
        bottom: 0;
    }
}
.cc-floating.cc-theme-classic {
    padding: 1.2em;
    border-radius: 5px
}

.cc-floating.cc-type-info.cc-theme-classic .cc-compliance {
    text-align: center;
    display: inline;
    -ms-flex: none;
    flex: none
}

.cc-theme-classic .cc-btn {
    border-radius: 5px
}

.cc-theme-classic .cc-btn:last-child {
    min-width: 140px
}

.cc-floating.cc-type-info.cc-theme-classic .cc-btn {
    display: inline-block
}

.cc-theme-edgeless.cc-window {
    padding: 0
}

.cc-floating.cc-theme-edgeless .cc-message {
    margin: 2em 2em 1.5em
}

.cc-banner.cc-theme-edgeless .cc-btn {
    margin: 0;
    padding: .8em 1.8em;
    height: 100%
}

.cc-banner.cc-theme-edgeless .cc-message {
    margin-left: 1em
}

.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn {
    margin-left: 0
}
.cookielist table.table{
    display:block;
    width: 100%;
    overflow-x:scroll;
}

.product-stock {
    display: flex;
    align-items: center;
    border-radius: 150px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 10px 13px;
    max-width: max-content;
    margin: 0 0 20px;
}
.product-stock::before {
    content: "";
    background: url("../kretis-child/img/stock_18x14.svg") no-repeat center;
    background-size: contain;
    width: 18px;
    min-width: 18px;
    height: auto;
    aspect-ratio: 18/14;
    margin: 0 10px 0 0;
    transition: filter 0.3s;
}
.product-stock.instock {
    color: #259211;
    border: 1px solid #25900C;
}
.product-stock.instock::before {
    filter: brightness(0) saturate(100%) invert(44%) sepia(37%) saturate(6474%) hue-rotate(78deg) brightness(91%) contrast(91%);
}
.product-stock.outofstock {
    color: #C72525;
    border: 1px solid #C72525;
}
.home-products-carousel .item {
    padding: 3px;
}
.home-products .owl-stage {
    display: flex;
    align-items: stretch;
}
.home-products .item {
    height: 100%;
}

.h-100.product .expand-img {
    position: relative;
    z-index: 1;
}
.h-100.product .expand-img::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 1rem;
    background-image: var(--bg-img);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.56, 0.13, 0.15, 0.91);
}
@media (min-width: 1201px) {
    .h-100.product:hover .expand-img[style*="url"] img {
        opacity: 0;
    }
    .h-100.product:hover .expand-img[style*="url"]::before {
        opacity: 1;
    }
}
@media (max-width: 1200px) {
    h1, .h1 {
        font-size: 3rem;
    }
    h2, .h2 {
        font-size: 2rem;
    }
    h3, .h3 {
        font-size: 1.7rem;
    }
}


.news__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 80px 30px;
    padding-bottom: 100px;
    @media (max-width: 768px) {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
        padding-bottom: 55px;
    }

    & > article:nth-child(5n + 1),
    & > article:nth-child(5n + 2) {
        grid-column: span 3;
        @media (max-width: 768px) {
            grid-column: span 1;
        }
    }

    & > article:nth-child(5n + 3),
    & > article:nth-child(5n + 4),
    & > article:nth-child(5n) {
        grid-column: span 2;
        @media (max-width: 768px) {
            grid-column: span 1;
        }
    }

    .pagination {
        grid-column: span 6;
        @media (max-width: 768px) {
            grid-column: span 1;
        }
    }
}

.news__card {
    display: flex;
    flex-direction: column;
    @media (max-width: 768px) {
        max-width: 642px;
        width: 100%;
        margin-inline: auto;
    }

    @media (hover: hover) {
        &:hover {
            .card__photo::after {
                opacity: 1;
            }

            .card__title {
                color: #B63426;
            }
        }
    }

    .card__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 642/365;
        position: relative;

        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.10);
            opacity: 0;
            transition: opacity 0.15s ease-in-out;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: scale-down;
        }
    }

    .card__date {
        margin-top: 20px;
        color: #828282;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
    }

    .card__title {
        margin-top: 10px;
        color: #000;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 30px;
        transition: color 0.15s ease-in-out;
        @media (max-width: 768px) {
            font-size: 18px;
            line-height: 26px;
        }
    }
}

.news-grid__title {
    color: #212529;
    font-size: 54px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
    @media (max-width: 768px) {
        font-size: 48px;
        line-height: 58px;
    }
}

.news-inner__title {
    color: #212529;
    font-size: 54px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
    @media (max-width: 768px) {
        font-size: 34px;
        line-height: 44px;
    }
}


.news__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-bottom: 100px;
    @media (max-width: 768px) {
        gap: 50px;
        padding-bottom: 60px;
    }
}

.news__editor {
    &:first-child {
        p, .p {
            &:first-child {
                color: #000;
                font-size: 24px;
                font-style: normal;
                font-weight: 400;
                line-height: 36px;
                @media (max-width: 768px) {
                    font-size: 22px;
                    line-height: 32px;
                }
            }
        }
    }
}

.news__editor, .category__text .text__block {
    & > *:first-child {
        margin: 0 !important;
    }

    img {
        margin: 40px 0 0;
        max-width: 100%;
        height: auto;
        @media (max-width: 768px) {
            margin: 30px 0 0;
        }
    }

    h5, .h5 {
        margin: 60px 0 0;
        color: #000;
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 28px;
        @media (max-width: 768px) {
            margin: 50px 0 0;
            font-size: 22px;
        }
    }

    h6, .h6 {
        margin: 40px 0 0;
        color: #000;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 26px;
        @media (max-width: 768px) {
            font-size: 16px;
        }
    }

    p, .p {
        margin: 20px 0 0;
        color: #000;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
        @media (max-width: 768px) {
            font-size: 16px;
            line-height: 26px;
        }
    }

    ul, ol {
        list-style: inside;
        padding: 0;
        margin: 20px 0 0;
        @media (max-width: 768px) {
            margin: 10px 0 0;
        }

        li {
            color: #000;
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: 28px;
            @media (max-width: 768px) {
                font-size: 16px;
                line-height: 26px;
            }
        }
    }
}

.category__text {
  --text__padding-block: clamp(2.5rem, -8.9384rem + 13.6986vw, 7.5rem);
  @media (max-width: 768px) {
    --text__padding-block: 3.75rem;
  }

  &._zigzag .text__block:nth-child(even) {
    grid-template-areas:
      'title photo'
      'description photo';
    @media (max-width: 768px) {
        grid-template-areas:
        'title'
        'description'
        'photo';
    }
  }

  .text__block {
    display: grid;
    gap: 0 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
     grid-template-areas:
      'photo title'
      'photo description';
    @media (max-width: 768px) {
        gap: 0;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
        'title'
        'description'
        'photo';
    }

    & > .block__title {
        margin-top: auto !important;
        grid-area: title;
        padding-top: var(--text__padding-block);
    }
  }

  .block__description {
    grid-area: description;
    padding-bottom: var(--text__padding-block);
    margin-bottom: auto;
    @media (max-width: 768px) {
      padding-bottom: 30px;
    }
  }

  .block__photo {
    display: flex;
    align-items: center;
    grid-area: photo;
    @media (max-width: 768px) {
      width: calc(100% + calc(var(--padding) * 2));
      margin-inline: calc(var(--padding) * -1);
    }

    img {
        display: block;
        width: 100%;
        max-width: 930px;
        height: auto;
        aspect-ratio: 930 / 774;
        object-fit: scale-down;
        margin: 0 !important;
    }
  }
}

.related-articles-carousel {
    margin-top: 20px;

    .news__card .card__title {
        font-size: 18px;
        line-height: 28px;
        @media (max-width: 768px) {
            font-size: 18px;
            line-height: 26px;
        }
    }

    .owl-dots {
        margin-top: 20px;
    }

    .item {
        padding: 3px;
    }
}

.related-articles .owl-stage {
    display: flex;
    align-items: stretch;
}
.related-articles .item {
    height: 100%;
}

.header__search {
    --search__border: #212529;
    --search__padding-inline: clamp(1rem, 0.6203rem + 1.6878vw, 1.5rem);
    --search__block__translate: 100%;
    position: fixed;
    z-index: 99999999999999999;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    color: #231F20;
}
.header__search * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header__search {
    button,
    input,
    textarea,
    select {
        appearance: none;
        outline: none;
        background: none;
        border: none;
    }
}
.header__search ul {
    list-style: none;
}
.header__search ul li {
    position: unset;
    padding-left: unset;
}
.header__search ul li::before {
    content: none;
    position: unset;
    top: unset;
    left: unset;
}
.header__search a {
    text-decoration: none;
}
.header__search .search__overlay {
    background-color: #000000;
    position: absolute;
    inset: 0;
    opacity: 0.35;
}
.header__search .search__block {
    --block__width: clamp(22.5rem, 16.8038rem + 25.3165vw, 30rem);
    width: var(--block__width);
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin-left: auto;
    overflow-y: auto;
    transform: translateX(var(--search__block__translate));
    transition: transform 0.3s ease-out;
    position: relative;
    z-index: 1;
}
.header__search .block__header {
    display: flex;
    justify-content: flex-end;
    color: inherit;
    padding-top: 1.75rem;
    padding-bottom: 1rem;
    padding-inline: var(--search__padding-inline);
}
.header__search .header__close {
    width: 1.625rem;
    min-width: 1.625rem;
    height: auto;
    aspect-ratio: 1;
    cursor: pointer;
}
@media (hover: hover) {
    .header__search .header__close:hover {
        color: #BA3426;
    }
}
.header__search .header__close svg {
    width: 100%;
    min-width: 100%;
    height: auto;
    aspect-ratio: 1;
}
.header__search .header__close svg path {
    stroke: currentColor;
}
.header__search .block__search {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: calc(100% - var(--search__padding-inline) * 2);
    margin-inline: var(--search__padding-inline);
    padding-bottom: 0.5rem;
    border-bottom: 0.0625rem solid var(--search__border);
    color: inherit;
}
.header__search .search__button {
    width: 1.5rem;
    min-width: 1.5rem;
    height: auto;
    aspect-ratio: 1;
    display: flex;
    color: inherit;
    cursor: pointer;
}
@media (hover: hover) {
    .header__search .search__button:hover {
        color: #BA3426;
    }
}
.header__search .search__button svg {
    width: 100%;
    min-width: 100%;
    height: auto;
    aspect-ratio: 1;
}
.header__search .search__button svg path {
    stroke: currentColor;
}
.header__search .search__input {
    width: 100%;
    color: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
}
.header__search .block__products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.5rem;
    padding-inline: var(--search__padding-inline);
}
.header__search .block__actions {
    display: none;
    background-color: #fff;
    margin-top: auto;
    border-top: 0.0625rem solid #D9D9D9;
    padding-block: clamp(1.625rem, 1.3402rem + 1.2658vw, 2rem);
    position: sticky;
    bottom: 0;
}
.header__search .actions__more {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #231F20;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5rem;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
@media (hover: hover) {
    .header__search .actions__more:hover {
        color: #BA3426;
    }
}
body:has(#search__popup:checked) .header__search {
    --search__block__translate: 0;
    opacity: 1;
    visibility: visible;
}


.product._search {
    --product__photo__width: 4.3125rem;
    display: grid;
    grid-gap: 0rem 0.75rem;
    grid-template-columns: minmax(0, var(--product__photo__width)) minmax(0, 1fr);
    grid-template-areas: "photo text" "photo price";
}
.product._search .product__photo {
    width: var(--product__photo__width);
    min-width: var(--product__photo__width);
    height: auto;
    aspect-ratio: 1;
    grid-area: photo;
}
.product._search .product__photo img {
    width: 100%;
    min-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: scale-down;
}
.product._search .product__text {
    display: flex;
    flex-direction: column;
    grid-area: text;
    margin-top: auto;
}
.product._search .text__title {
    color: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
@supports (-webkit-line-clamp: 1) {
    .product._search .text__title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}
@media (hover: hover) {
    .product._search .text__title:hover {
        color: #BA3426;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }
}
.product._search .product__price {
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: auto;
    grid-area: price;
}
.product._search .product__price span:not(:only-child):first-child {
    text-decoration: line-through;
    font-size: 0.813rem;
    line-height: 1.25rem;
    font-weight: 400;
}
.product._search .product__price span:not(:only-child):last-child {
    color: #B53325;
}


h1.search__title {
    strong, b {
        font-weight: 700;
    }
}

.search__no-results {

    .no-results__description {
        margin: 1.5rem 0 0;

        p, .p {
            color: #212529;
            font-size: 1.125rem;
            font-style: normal;
            font-weight: 400;
            line-height: 1.625rem;
        }
    }

    .no-results__actions {
        margin: 2.5rem 0 0;

        .btn {
            height: 3.125rem;
            padding: 0.875rem 2.813rem;
            width: max-content !important;
            margin: 0;
            font-size: 0.813rem;
            font-weight: 500;
            line-height: 1.5rem;
            @media (max-width: 500px) {
                padding: 0.875rem;
                width: 100% !important;
            }
        }
    }
}
input[name="email_confirm"] {
    display: none;
}
