/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.block_newsletter .alert:before {
    left: 10px;
    top: 8px;
}

.zoomContainer,
.zoomWindow,
.zoomLens {
    display: none !important;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1520px !important;
}

.thumbnail-container .product-price-and-shipping .price:nth-child(3) {
    margin: 0 5px 0 0;
    color: #305d29;
}

.product-list-default .add-to-cart {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 15px;
    background: #305d29;
    color: #fff;
}

.bread-top h1 {
    position: relative;
    font-size: 30px;
    margin-top: 0px!important;
    text-align: center;
}

.product-flags .product-flag.new {
    color: var(--new-badge-color);
    background: #87BE44!important;
}

@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 30px!important;
    }
}

.widget-tab-title.active {border: 1px solid #87BE44!important;background: #87BE44!important;}
.product-list-default .add-to-cart {background: #87be44;}
.product-list-default .add-to-cart:hover {background: #305d29;}

.block-carousel-container a:hover .item-title,
.block-carousel-container a:hover .item-title * {
    color: #ffffff !important;
}

.type-wr-h1 p.item-sub-title {background: #305d29!important;}

.icon-w #leo_search_block_top form#leosearchtopbox {
    right: 0px!important;
    z-index: 9999;
    top: 55px;
}

.product-flags li.product-flag {color: #fff; background: #666}


.thumbnail-container .product-thumbnail > img.img-fluid {
    transition: opacity .3s ease;
}
.thumbnail-container:hover .product-thumbnail:has(.second-image-style img) > img.img-fluid {
    opacity: 0;
}


.leo-plist-style-1 .thumbnail-container {
    margin: 0 0 30px;
    border-radius: 20px;
    border: 1px solid #87be444f;
    overflow: hidden;
}

#lightSlider .lslide img {
    border: 1px solid #87be444f;
    border-radius: 8px;
}

/* Chrome / Edge / Safari */
.sticky-filters-content::-webkit-scrollbar {
    width: 8px;
}
.sticky-filters-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}
.sticky-filters-content::-webkit-scrollbar-thumb {
    background: #87BE44;
    border-radius: 4px;
}
.sticky-filters-content::-webkit-scrollbar-thumb:hover {
    background: #6fa033;
}

/* Firefox */
.sticky-filters-content {
    scrollbar-width: thin;
    scrollbar-color: #87BE44 #f0f0f0;
}

#category #search_filters .ui-slider .ui-slider-handle {width: 21px;!important}

.brands-submenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
}
.brands-submenu-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.brands-submenu-grid a:hover {
  border-color: #87BE44;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.brands-submenu-grid img {
  padding-top: 0 !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.thumbnail-container .product-price-and-shipping .price:first-child:last-child {
    color: #87BE44;
}

.blog-detail .blog-cat {background: none;}

.product-actions .radio-label {
    color: #000 !important;
    background: #fff !important;
    font-size: 12px;
    border-radius: 8px;
    width: 80px;
    border: 2px solid #000;
    height: 40px;
    font-size: 13px;
    line-height: 37px;
    display: inline-block;
    text-align: center;
}

.product-actions .radio-label {
    border-radius: 5px !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
    border: 1px solid #000 !important;
    font-size: 13px !important;
    width: 80px !important;
    height: 40px !important;
    line-height: 38px !important;
    display: inline-block !important;
    text-align: center !important;
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased;
}

.product-actions .radio-label,
.product-actions .radio-label span {
    border-radius: 5px !important;
}

/* pasirinktas mygtukas */
.product-actions input:checked + .radio-label,
.product-actions .radio-label.active,
.product-actions .input-container.selected .radio-label {
    background: #7cb518 !important;
    color: #fff !important;
    border-color: #7cb518 !important;
}


/* Viskas vienoje eilutėje */
.product-actions .product-quantity.clearfix {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

/* Kiekio laukas - fiksuotas plotis */
.product-actions .product-quantity .qty {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* Add to cart - užima likusią vietą */
.product-actions .product-quantity .add {
    flex: 1 1 auto !important;
    margin: 0 !important;
}
.product-actions .product-quantity .add .add-to-cart {
    width: 100% !important;
}

/* Wishlist - tik širdelė, kvadratinis mygtukas */
.product-actions .product-quantity .leo-compare-wishlist-button {
    flex: 0 0 auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
}
.product-actions .product-quantity .leo-compare-wishlist-button .wishlist,
.product-actions .product-quantity .leo-wishlist-button {
    height: 100% !important;
    margin: 0 !important;
}

/* Paslepiam wishlist tekstą */
.product-actions .product-quantity .leo-wishlist-button .name-btn-product {
    display: none !important;
}

/* Wishlist mygtukas - kvadratinis, su rėmeliu */
.product-actions .product-quantity .leo-compare-wishlist-button .leo-wishlist-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 100% !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #7cb518 !important;   /* outline */
    border-radius: 5px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* Content bloką ištempiam per visą mygtuką ir centruojam */
.product-actions .product-quantity .leo-wishlist-button .leo-wishlist-bt-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Ikona: font-size:0 paslepia tuščią material-icons X kvadratą */
.product-actions .product-quantity .leo-wishlist-button .icon-wishlist {
    font-size: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

/* Širdis piešiama per :before su Font Awesome */
.product-actions .product-quantity .leo-wishlist-button .icon-wishlist:before {
    content: "\f004" !important;            /* fa-heart */
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 300 !important;            /* 300 = outline širdis, 900 = pilna */
    font-size: 24px !important;
    line-height: 1 !important;
    color: #7cb518 !important;
    display: inline-block !important;
}

.product-quantity #quantity_wanted {padding-left: 20px;}

/* Reassurance blokas produkto puslapyje */
.blockreassurance_product {
    margin-top: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Kiekviena skiltis - card */
.blockreassurance_product > div:not(.clearfix) {
    position: relative !important;
    padding: 16px 18px 16px 72px !important;   /* kairėje vieta ikonai */
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    transition: all .25s ease !important;
    margin: 0 !important;
}

.blockreassurance_product > div:not(.clearfix):hover {
    border-color: #87BE44 !important;
    box-shadow: 0 6px 18px rgba(135,190,68,0.18) !important;
    transform: translateY(-2px) !important;
}

/* Ikona - apvalus žalias fonas */
.blockreassurance_product .item-product {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(135,190,68,0.12) !important;
}
.blockreassurance_product .item-product img {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
}

/* Antraštė */
.blockreassurance_product .block-title {
    display: block !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #2c2c2c !important;
    margin: 0 0 3px 0 !important;
}

/* Aprašymas */
.blockreassurance_product p {
    display: block !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #777 !important;
}

.sidebar .block {
margin-bottom: 30px;
border-bottom: 1px solid 1px solid rgba(183, 183, 183, 0.5);
margin-top: 50px;
}

.js-customer-form .form-control-comment {
    display: none !important;
}

.blog-item .share_button {
    order: 4;
    display: none;
}

.product-variants > .product-variants-item select {width: 180px;}


.carrier-logo img {
    max-width: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

#search_filters .facet .facet-label a {
    width: calc(100% - 30px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;}







































@media (max-width: 767px) {
    .elementor-LeoProductCarousel .item {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .leo-plist-style-1 .thumbnail-container,
    .product-list-default .thumbnail-container {
        margin: 0 0 6px 0 !important;
    }
}


@media (max-width: 767px) {
    .product-list-default .wr-price-reviews {
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
    }
    .product-list-default .info-wr {
        display: contents;
    }
    .product-list-default .product-title {
        flex: 0 0 100%;
        margin: 0 0 2px 0;
    }
    .product-list-default .product-price-and-shipping {
        flex: 1;
    }
    .product-list-default .button-container.cart {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    .slick-manufacturers .slick-slide .item {
        padding: 3px 3px !important;
    }

    .slick-manufacturers .slick-slide {
        padding: 0 3px !important;
    }

    .slick-manufacturers .manufacturer-image-container {
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    .product_list .row.leo-product-ajax {
        margin-left: -3px !important;
        margin-right: -3px !important;
    }

    .product_list .ajax_block_product {
        padding-left: 3px !important;
        padding-right: 3px !important;
        margin-bottom: 6px !important;
    }
}

@media (max-width: 767px) {
    #btn_view_product {
        display: none !important;
    }

    .ajax_block_product {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 767px) {
    #leo_search_block_top .block_content.leoproductsearch-content {
        flex-wrap: wrap !important;
    }

    #leo_search_block_top .list-cate-wrapper {
        display: none !important;
    }

    #leo_search_block_top .leoproductsearch-result {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
    }

    #leo_search_block_top .search_query {
        width: 100% !important;
    }
    
    .icon-w #leo_search_block_top .leoproductsearch-result {
    width: 100%;
    margin-left: 0;
    right: 90px;
}
    
}


body#checkout section.checkout-step .step-title {font-size: 22px !important;}
body#checkout section.checkout-step .carrier-delay, body#checkout section.checkout-step .carrier-name {font-size: 16px !important;}

.cart-detailed-actions .btn-primary,
.checkout.cart-detailed-actions .btn-primary {
    background: #87BE44 !important;
    border-color: #87BE44 !important;
    color: #ffffff !important;
}

.cart-detailed-actions .btn-primary:hover,
.checkout.cart-detailed-actions .btn-primary:hover {
    background: #76a93a !important;
    border-color: #76a93a !important;
    color: #ffffff !important;
}
























