.products-title {
    text-transform: uppercase
}

.products-title span {
    color: #7eaa6d;
    display: inline-block !important
}

.products-title label {
    color: #456039;
    display: inline-block !important
}

.products {
    gap: 26px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    place-content: center;
    justify-items: center;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[4];
    grid-template-columns: repeat(4, 1fr);
    padding: 0 15px;
}

.products.wd-spacing-20{
    --wd-sp: 30px;
}

.products .wd-add-btn .add-to-cart-loop span {
    padding: 0 !important;
    font-size: 16px;
    height: auto;
    line-height: 1;
    display: block;
    min-height: 0
}

.products::-webkit-scrollbar {
    display: none
}

.products .short_description{
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    padding-top: 0 !important;
}

.products .short_description .short_text{
    height: 3em;
    opacity: 0.8;
}

.products .wd-star-rating {
    z-index: 2;
    position: absolute;
    top: 15px;
    right: 13px;
    margin: 0;
    pointer-events: none;
    
}

.products .wd-star-rating .star-rating:before{
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNiAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjc1NDMgMC42MTAyMzNDNy4wMTk3OSAtMC4yMDM0MTMgOC4xNzI4OSAtMC4yMDM0MSA4LjUxNzI1IDAuNjEwMjMzTDkuOTAyMzQgMy44ODI3MkMxMC4wNDY3IDQuMjIzOTMgMTAuMzY3OSA0LjQ1NzMzIDEwLjczNzEgNC40ODkyNEwxNC4yNzc0IDQuNzk1MjNDMTUuMTU3NiA0Ljg3MTMxIDE1LjUxMzkgNS45Njc5NyAxNC44NDY1IDYuNTQ2OTJMMTIuMTYyMiA4Ljg3NTQyQzExLjg4MjMgOS4xMTgyIDExLjc1OTYgOS40OTU4NSAxMS44NDMzIDkuODU2NzVMMTIuNjQ2MyAxMy4zMTg0QzEyLjg0NiAxNC4xNzkxIDExLjkxMzEgMTQuODU2OSAxMS4xNTYzIDE0LjQwMUw4LjExMjI4IDEyLjU2NzZDNy43OTQ4OCAxMi4zNzY1IDcuMzk3OCAxMi4zNzY1IDcuMDgwNCAxMi41Njc2TDQuMDM2MzcgMTQuNDAxQzMuMjc5NTIgMTQuODU2OSAyLjM0NjY0IDE0LjE3OTEgMi41NDYzIDEzLjMxODRMMy4zNDkzIDkuODU2NzVDMy40MzMwMiA5LjQ5NTg1IDMuMzEwMzIgOS4xMTgyIDMuMDMwNDMgOC44NzU0MkwwLjM0NjExMyA2LjU0NjkxQy0wLjMyMTI5NSA1Ljk2Nzk3IDAuMDM1MDM0IDQuODcxMzEgMC45MTUyNzMgNC43OTUyM0w0LjQ1NTU5IDQuNDg5MjRDNC44MjQ3MyA0LjQ1NzMzIDUuMTQ1OTcgNC4yMjM5MyA1LjI5MDM5IDMuODgyNzJMNi42NzU0MyAwLjYxMDIzM1oiIGZpbGw9IiM3RUFBNkQiLz4KPC9zdmc+Cg==');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 17px;
    height: 17px;
    content: '';
    display: block;
}

.products .wd-star-rating .star-rating:after{
    content: attr(aria-label);
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--wd-link-color);
    font-family: "BlackerSansPro",
        Arial,
        Helvetica,
        sans-serif;
    width: 40px;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0 25px 0 0px;
}

.products .wd-star-rating .star-rating{
    display: flex;
    align-items: center;
}

.products .wd-star-rating .star-rating span{
    display: none;
}

.products .product-grid-item {
    background-color: #f7f7f7;
    border-radius: 20px;
    padding: 15px 13px;
    max-width: 270px;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
}

.products .product-grid-item .product-wrapper{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.products .product-grid-item .hover-img>a,
.products .product-grid-item .product-image-link {
    display: block;
    padding-bottom:114%
}

.products .product-grid-item .hover-img img,
.products .product-grid-item .product-image-link img {
    position: absolute;
    width: 100%;
    height: 85%;
    left: 0;
    top: 15%;
    -o-object-fit: contain;
    object-fit: contain;
    mix-blend-mode: multiply
}

.products .product-grid-item .product-element-top {
    margin-bottom: 15px !important;
}

.products .product-grid-item .wd-entities-title {
    margin-bottom: 8px !important;
    font-weight: 400;
    color: #143109;
    text-align: left;
    flex: 1 1 auto;
}

.products .product-grid-item .wd-entities-title a {
    font-size: 16px !important;
    line-height: 1.2
}

.products .product-grid-item .price {
    text-align: left;
    margin-bottom: 12px
}

.products .product-grid-item .price .amount {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: #143109
}

.products .product-grid-item .wd-add-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify!important;
    -ms-flex-pack: justify!important;
    justify-content: space-between !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

}

.products .product-grid-item .wd-add-btn>a {
    padding: 15px 6px;
    background: #456039;
    border-radius: 100px;
    text-transform: none;
    margin: 0 9px 0 0 !important;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-transform: unset !important;
}

.products .product-grid-item .add-to-cart-loop span {
    padding: 0;
    line-height: 1.2;
    font-style: normal;
    font-weight: 500;
    font-size: 16px !important;
    min-height: 0 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-transform: unset !important;
}

.products .product-grid-item .wd-add-btn-replace .add-to-cart-loop:before {
    position: static !important;
    margin-right: 8px;
    width: 18px;
    height: 18px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 18px;
    flex: 0 0 18px;
    background-image: url(/wp-content/themes/woodmart-child/img/svg/cart-fff.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    -webkit-transform: translate(0, 0) !important;
    -ms-transform: translate(0, 0) !important;
    transform: translate(0, 0) !important
}

.products .product-grid-item .add-to-cart-loop:hover span {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important
}

.products .product-grid-item .quantity input[type=button] {
    padding: 0;
    min-width: 14px;
    border: none;
    background: 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    color: #143109;
    height: 48px !important
}

.products .product-grid-item .quantity input[type=number] {
    width: 48px;
    height: 48px !important;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 48px;
    flex: 0 0 48px;
    border: 1px solid #e1e1e1 !important;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    color: #456039;
    margin-left: 3px;
    margin-right: 3px;
    margin-inline: 3px
}

.products .product-grid-item .quantity {
    margin: 0 !important
}

.products .product-grid-item .hover-img {
    background-color: rgba(255, 255, 255, 0)
}

.products .product-grid-item .product-label.featured {
    background-color: #143109
}

.products .product-grid-item .product-labels {
    top: 0;
    left: 0
}

.products .product-grid-item .product-label {
    padding: 4px 12px;
    min-width: 0;
    font-size: 14px;
    border-radius: 100px;
    line-height: 1.2;
    font-weight: 400;
    text-transform: unset;
}




.products .product-grid-item .wd-buttons {
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    border-radius: 0;
    background: 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    top: 1px;
    right: 50%;
    transform: translate(50%,0) !important;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.products .product-grid-item .wd-buttons .wd-action-btn>a {
    width: 16px;
    height: 16px;
    background: transparent;
    border-radius: 0
}

.products .product-grid-item .product-compare-button {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin:  0 10px
}

.products .product-grid-item .woodmart-wishlist-btn {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1
}

.products .product-grid-item .wd-quick-view-icon {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.wd-buttons :is(.wd-quick-view-icon, .wd-compare-btn){
    display: none !important;
}

.products .product-grid-item .product-compare-button a,
.products .product-grid-item .wd-quick-view-icon a {
    opacity: 1
}

.products-title.max-width900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto
}

.products-title.max-width640 {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto
}


.products .product-grid-item .wd-buttons[class*="wd-pos-r"] .wd-tooltip-label {
    top: 100%;
    right: 50%;
    margin-top: 0;
    margin-right: 0;
    transform: translate(50%, 15%);
}

.products .product-grid-item .wd-buttons[class*="wd-pos-r"] .wd-tooltip-label:before {
   display: none;
}

.products .product-grid-item .wd-action-btn.wd-style-icon>a:before{
    font-size: 16px;
}


@media (max-width:1024px) {
    .products {
        grid-template-columns: repeat(3,1fr);
        margin-inline: 0;
        padding: 0;
        -ms-grid-columns: (1fr)[3];
    }

    .products .product-grid-item {
        width: 100%;
        max-width: none;
    }

    .products .wd-add-btn .add-to-cart-loop span {
        font-size: 14px
    }

    .products .product-grid-item .quantity input[type=button] {
        height: 40px !important
    }

    .products .product-grid-item .quantity input[type=number] {
        width: 40px;
        height: 40px !important;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 40px;
        flex: 0 0 40px;
        font-size: 14px
    }

    .products .product-grid-item .wd-add-btn>a {
        padding: 11px 6px
    }

    .products .product-grid-item .quantity input[type=button] {
        min-width: 10px
    }

    .products-title {
        font-size: 24px !important
    }


    .products .wd-add-btn .add-to-cart-loop span {
        font-size: 13px
    }

    .products .product-grid-item {
        border-radius: 16px;
        padding: 11px
    }


    .products .product-grid-item .wd-entities-title a {
        font-size: 14px !important
    }

    .products .product-grid-item .price {
        margin-bottom: 10px
    }

    .products .product-grid-item .price .amount {
        font-size: 16px
    }

    .products .product-grid-item .wd-add-btn>a {
        padding: 12.5px 6px;
        margin: 0 10px 0 0 !important
    }

    .products .product-grid-item .add-to-cart-loop span {
        font-size: 14px !important;
    }

    .products .product-grid-item .wd-add-btn-replace .add-to-cart-loop:before {
        width: 15px;
        height: 15px;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 15px;
        flex: 0 0 15px
    }

    .products .product-grid-item .product-label {
        min-width: 0;
        font-size: 12px
    }


    .products .product-grid-item .product-compare-button {
        margin:  0 5px
    }
}

@media (max-width:1024px){
    .products .wd-star-rating{
        top: 11px;
        right: 11px;
    }
}   


@media (max-width:768.98px){
    .products {
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-columns: (1fr)[2];
    }

    .products .wd-star-rating .star-rating:before{
        width: 16px;
        height: 16px;
    }

    .products .wd-star-rating .star-rating:after{
        font-size: 12px;
        width: 35px;
        padding: 0 20px 0 0;
    }

    .products .product-grid-item{
        margin-bottom: 0;
    } 

    .products .product-grid-item .wd-entities-title {
        flex: 1 1 auto;
    }

    .products .product-grid-item .product-label {
        font-size: 10px;
        padding: 2px 8px;
    }
}

@media (any-hover:hover) {
    .products .product-grid-item .wd-buttons:hover a {
        opacity: 1
    }

    .faq__popup-close:hover img {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg)
    }
}

@media (max-width:540px){
    .products{
        gap: 20px 10px;
    }

    .products .product-grid-item .add-to-cart-loop span{
        display: none !important;;
    }

    .products .product-grid-item .wd-add-btn-replace .add-to-cart-loop:before{
        margin-right: 0;
    }

    .products .product-grid-item .wd-add-btn>a {
        width: 40px;
        flex: 0 0 auto;
    }
}

@media (any-hover:none) {
    .products .product-grid-item .wd-buttons a {
        opacity: 1
    }
}

.search .catalog-title{
    display: none;
}

.products .product-grid-item .wd-buttons {
    gap: 5px;
}