.product-flags {
    top: 5px;
    position: absolute;
    left: 5px;
    z-index: 2;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    width: 100%;
    pointer-events: none;
    gap: 3px;
    flex-wrap: wrap;
    margin: 0px;
}
article.product-miniature  picture {
    width: 100%;
}
.product-flags li.product-flag {
    pointer-events: auto;
    width: fit-content;
    color: rgb(255, 255, 255);
    pointer-events: auto;
    padding: 0px 11px;
    background: rgb(36, 185, 215);
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    min-height: 16px;
    font-size: 12px;
    font-weight: bold;
    line-height: 30px;
    border-radius: 20px;
}
li.product-flag.out_of_stock {
    background: #9D2B2B;
    display: none;
}
li.product-flag.on-sale {
    background: #9D2B2B;
}
.product-flags li.product-flag.discount-percentage, .product-flags li.product-flag.discount-amount, .product-flags li.product-flag.discount {
    background-color: rgb(231 76 60);
}

article.product-miniature .product-list-reviews {
    position: relative;
    top: 0px;
    margin-top: 0px;
    padding-top: 0px;
    display: flex;
    margin-left: -12px;
    justify-content: flex-start;
}

#products .products, .featured-products .products, .product-accessories .products, .product-miniature .products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-left: -10px;
    margin-right: -10px;
}

#products .product, .featured-products .product, .product-accessories .product, .product-miniature .product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

#products .product, .featured-products .product, .product-accessories .product, .product-miniature .product, section.page-product-box.grelated_products .product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* background: white; */
    /* border-radius: var(--border-radius-custom); */
    /* box-shadow: var(--box-shadow); */
    padding: 8px;


}

.products .owl-carousel.owl-loaded .product, .products.owl-carousel.owl-loaded .product {
    width: 100%
}


#products .product-thumbnail, .featured-products .product-thumbnail, .product-accessories .product-thumbnail, .product-miniature .product-thumbnail {
    display: block
}

#products .product-title a, .featured-products .product-title a, .product-accessories .product-title a, .product-miniature .product-title a {
    font-size: 14px;
    text-decoration: none;
}

#products .thumbnail-container, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container {
    position: relative;
    height: auto;
    margin-bottom: 0px;
    overflow: hidden;
    width: 100%;
}

#products .thumbnail-container:hover .highlighted-informations, #products .thumbnail-container:focus .highlighted-informations, .featured-products .thumbnail-container:hover .highlighted-informations, .featured-products .thumbnail-container:focus .highlighted-informations, .product-accessories .thumbnail-container:hover .highlighted-informations, .product-accessories .thumbnail-container:focus .highlighted-informations, .product-miniature .thumbnail-container:hover .highlighted-informations, .product-miniature .thumbnail-container:focus .highlighted-informations {
    top: calc(250px - 4.4rem);
    bottom: 5.5rem
}

#products .thumbnail-container:hover .highlighted-informations::after, #products .thumbnail-container:focus .highlighted-informations::after, .featured-products .thumbnail-container:hover .highlighted-informations::after, .featured-products .thumbnail-container:focus .highlighted-informations::after, .product-accessories .thumbnail-container:hover .highlighted-informations::after, .product-accessories .thumbnail-container:focus .highlighted-informations::after, .product-miniature .thumbnail-container:hover .highlighted-informations::after, .product-miniature .thumbnail-container:focus .highlighted-informations::after {
    opacity: 1
}

#products .thumbnail-container:hover .highlighted-informations.no-variants, #products .thumbnail-container:focus .highlighted-informations.no-variants, .featured-products .thumbnail-container:hover .highlighted-informations.no-variants, .featured-products .thumbnail-container:focus .highlighted-informations.no-variants, .product-accessories .thumbnail-container:hover .highlighted-informations.no-variants, .product-accessories .thumbnail-container:focus .highlighted-informations.no-variants, .product-miniature .thumbnail-container:hover .highlighted-informations.no-variants, .product-miniature .thumbnail-container:focus .highlighted-informations.no-variants {
    top: calc(250px - 2.5rem);
    bottom: 2.2rem
}

#products .thumbnail-container:hover .product-description::after, #products .thumbnail-container:focus .product-description::after, .featured-products .thumbnail-container:hover .product-description::after, .featured-products .thumbnail-container:focus .product-description::after, .product-accessories .thumbnail-container:hover .product-description::after, .product-accessories .thumbnail-container:focus .product-description::after, .product-miniature .thumbnail-container:hover .product-description::after, .product-miniature .thumbnail-container:focus .product-description::after {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    content: "";
    border-top: #7a7a7a 1px solid;
    opacity: 0.25
}

#products .thumbnail-container .product-thumbnail, .featured-products .thumbnail-container .product-thumbnail, .product-accessories .thumbnail-container .product-thumbnail, .product-miniature .thumbnail-container .product-thumbnail {
    position: relative;
}

#products .thumbnail-container .product-thumbnail img, .featured-products .thumbnail-container .product-thumbnail img, .product-accessories .thumbnail-container .product-thumbnail img, .product-miniature .thumbnail-container .product-thumbnail img {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    margin: auto
}

#products .products-section-title, .featured-products .products-section-title, .product-accessories .products-section-title, .product-miniature .products-section-title {
    margin: 2.5rem 0;
    text-align: center;
}
#products .product-title, .featured-products .product-title, .product-accessories .product-title, .product-miniature .product-title {
    margin-top: 5px;
    text-align: left;
    width: 100%;
    flex-grow: 1;
}

#products .product-price-and-shipping, .featured-products .product-price-and-shipping, .product-accessories .product-price-and-shipping, .product-miniature .product-price-and-shipping {
    font-weight: 700;
    text-align: left;
    width: 100%;
    font-size: 18px;
    margin-bottom: 11px;
}

#products .product-price-and-shipping .discount-product, .featured-products .product-price-and-shipping .discount-product, .product-accessories .product-price-and-shipping .discount-product, .product-miniature .product-price-and-shipping .discount-product {
    display: none
}

#products .variant-links, .featured-products .variant-links, .product-accessories .variant-links, .product-miniature .variant-links {
    position: relative;
    top: -0.25em;
    width: 100%;
    min-height: 2.5rem;
    padding-top: 0.1875rem;
    text-align: center;
    background: #fff
}

#products .highlighted-informations, .featured-products .highlighted-informations, .product-accessories .highlighted-informations, .product-miniature .highlighted-informations {
    position: absolute;
    top: 250px;
    bottom: 1.25rem;
    z-index: 2;
    width: 250px;
    height: auto;
    padding-top: 0.625rem;
    text-align: center;
    background: #fff;
    transition: top 0.3s, bottom 0.3s
}

#products .highlighted-informations .quick-view, .featured-products .highlighted-informations .quick-view, .product-accessories .highlighted-informations .quick-view, .product-miniature .highlighted-informations .quick-view {
    font-size: 1rem;
    color: #7a7a7a
}

#products .highlighted-informations .quick-view:hover, .featured-products .highlighted-informations .quick-view:hover, .product-accessories .highlighted-informations .quick-view:hover, .product-miniature .highlighted-informations .quick-view:hover {
    color: #24b9d7
}

#products .product-description, .featured-products .product-description, .product-accessories .product-description, .product-miniature .product-description {
    /*position:relative;*/
    bottom: 0;
    z-index: 3;
    height: auto;
    overflow: hidden;
    margin-top: 10px;
    padding: 18px 18px 0px 18px;
}
.product-add-to-cart-quick {
    padding: 15px 18px 18px 18px;
}

#products .product-miniature .product-flags li.product-flag.online-only, .featured-products .product-miniature .product-flags li.product-flag.online-only, .product-accessories .product-miniature .product-flags li.product-flag.online-only, .product-miniature .product-miniature .product-flags li.product-flag.online-only {
    top: 13.1rem
}

#products .comments_note, .featured-products .comments_note, .product-accessories .comments_note, .product-miniature .comments_note {
    color: #7a7a7a;
    text-align: center
}

#products .regular-price, .featured-products .regular-price, .product-accessories .regular-price, .product-miniature .regular-price {
    display: inline-block;
    font-size: 18px;
    color: #7a7a7a;
    text-decoration: line-through;
    font-weight: normal;
}

#products .count, .featured-products .count, .product-accessories .count, .product-miniature .count {
    position: relative;
    bottom: 0.5rem;
    font-weight: 700;
    color: #7a7a7a
}

#products .all-product-link, .featured-products .all-product-link, .product-accessories .all-product-link, .product-miniature .all-product-link {
    margin-bottom: 1.5rem;
    clear: both;
    font-weight: bold;
    color: black;
    float: right;
    font-size: 17px;
    margin-top: 0px;
}

.lang-rtl #products .all-product-link .material-icons, .lang-rtl .featured-products .all-product-link .material-icons, .lang-rtl .product-accessories .all-product-link .material-icons, .lang-rtl .product-miniature .all-product-link .material-icons {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg)
}

article.product-miniature {
    width: 100%;
    position: relative;
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    margin: 0px!important;
    flex-direction: column;
}
article.product-miniature:hover{

    box-shadow: 0 4px 16px rgba(28, 28, 28, 0.08);
    transform: translateY(-3px);
}

article.product-miniature * {
    /* width: 100%; */
}

.ecommhiddenshowfeaturescontent {
    display: block;
    width: 100%;
    height: 30px;
}

article.product-miniature .product-description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

article.product-miniature .product-description h3.product-title {
    flex-grow: 1;
}

article.product-miniature .product-thumbnail {
    display: flex;
}

div.list_mode article.product-miniature {
    display: flex;
}


/*media*/
@media (max-width: 991px) {
    .featured-products .products {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
}

.ref_name_container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
span.ref_product {
    text-align: left;
    width: 100%;
    font-size: 12px;
}

span#product-availability {
    margin-top: 10px;
    font-size: 12px;
    display: block;
}
span#product-availability.last_remaining_items {
    color: #d18905;
}
span#product-availability.available {
    color: #1AD598;
}

span#product-availability.nostock {
    color: #EA3A3D;
}

.price_container,.container_add_to_cart, .ref_name_container {
    width: 100%;
}
.list_mode .header_modal {
    display: none;
}
.container_table_megarelatedproducts {
    background: #eaeef0;
    border-radius: var(--border-radius-custom);
    padding: 25px 25px;
    margin-bottom: 25px;
    margin-top: -15px;
    /* max-width: 90%; */
    margin: 20px auto 0px;
    width: 100%;
    display: none;
}

div#js-product-list.list_mode .container_table_megarelatedproducts {

    width: 100%;
}
.container_table_product_comb {
    display: none;
}
.subcontainer_table_megarelatedproducts {
    max-width: 100%;
    margin: 0 auto;
    overflow: auto;
    width: 100%;
    background: white;
    padding: 10px;
    border-radius: var(--border-radius-custom);
}
.subcontainer_table_megarelatedproducts thead {
    background: white;
    border-radius: var(--border-radius-custom);
}
.container_table_product_comb.active {
    display: block;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px 0px;
}
.subcontainer_table_product_comb {
    background: white;
    max-width: 1380px;
    margin: 0 auto;
    padding: 10px;
    border-radius: var(--border-radius-custom);
}
.subcontainer_table_product_comb span.close.modal-header {
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 44px;
    cursor: pointer;
}
.subcontainer_table_product_comb .header_modal img.img-fluid {
    max-width: 160px;
}

.subcontainer_table_product_comb .header_modal {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

span.product_name_modal {
    font-weight: bold;
    font-size: 24px;
    display: block;
    line-height: 32px;
    margin-bottom: 10px;
}
span.product_desc_modal p {
    font-size: 14px;
}
.info_product a {
    width: 100%;
    max-width: 160px;
}
.subcontainer_table_megarelatedproducts tr:last-child td {
    border: none;
}
div#js-product-list.list_mode .container_table_product_comb.active .header_modal {
    display: none;
}
#mpd-table-combinations tr:last-child td {
    border: none;
}
div#js-product-list.list_mode .container_table_product_comb.active {
    position: initial;
    background: #eaeef0;
    border-radius: var(--border-radius-custom);
    padding: 25px 25px;
    margin-top: 25px;
    height: auto;
}
.show_more_options .btn {
    font-size: 14px;
    width: 100%;
    line-height: 40px;
}
.show_more_options i {
    color: white;
    font-size: 19px;
    margin-right: 5px;
}
.show_more_options {
    margin-top: 10px;

}
div#js-product-list.list_mode  .show_more_options {
    display:block;
}


.list_mode .productListBtnDiv {
    position: absolute;
    top: -4px;
    right: 4px;
}
.right_column {
    width: 100%;
}
.container_table_megarelatedproducts.active {
    display: block;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px 0px;
    margin: 0px;
    border-radius: 0px;
}
.container_table_megarelatedproducts.active .subcontainer_table_megarelatedproducts {
    max-width: 900px;
    position: relative;
}
.close_megarelatedproducts {
    display:none;
}
.active span.close_megarelatedproducts {
    display: block;
    color: black;
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 7px;
    cursor: pointer;
    z-index:1;
}

.product-add-to-cart-quick .add-to-cart{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 0px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.product-add-to-cart-quick .add-to-cart:hover{

}
.product-add-to-cart-quick .add-to-cart svg, .product-add-to-cart-quick .btn-secondary i{
    width: 12px;
    height: auto;
    font-size: 15px;
}
.product-add-to-cart-quick a.btn.btn-secondary
{
    width: 100%;
}
article.product-miniature .manufacturer-name{
    font-size: 12px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    display: block;
    text-align: left;
    width: 100%;
}
article.product-miniature .price{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #2980B9;
    line-height: 1;
}
ul.ecommhiddenfeatures_content {
    width: 100%;
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

ul.ecommhiddenfeatures_content li {
    background: #e5e5e5;
    color: grey;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
}
span.product-availability {
    float: right;
    margin-top: 6px;
    font-size: 13px;
}
span.product-availability::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #27AE60;
    border-radius: 50%;
    display: inline-block;
}
span.product-availability.text-danger::before {
    background: #dc3545;
}
span.product-availability::before {

}
@media(max-width:991px) {
    .subcontainer_table_product_comb {
        max-width: calc(100% - 24px);
    }
    div#js-product-list.list_mode .container_table_product_comb.active {
        padding: 15px;
        margin-top: 15px;
    }
    div#js-product-list.list_mode .subcontainer_table_product_comb {
        max-width: 100%;
    }
    div#js-product-list.list_mode .products {
        margin: 0px;
    }
}
@media(max-width:767px) {
    .subcontainer_table_product_comb .header_modal img.img-fluid {
        max-width: 70px;
        height: auto;
    }
    .show_more_options {
        margin-top: 0px;
    }
    div#js-product-list.list_mode .container_table_megarelatedproducts {
        padding: 0px;
    }
    .subcontainer_table_megarelatedproducts {
        padding: 0;
    }
    .subcontainer_table_megarelatedproducts tr td.column_name {
        padding: 6px 6px 6px 0px;
    }
    span.product_name_modal {
        font-weight: bold;
        font-size: 18px;
        display: block;
        line-height: 24px;
        margin-bottom: 5px;
        padding-right: 22px;
    }
    span.product_desc_modal {
        display: none;
    }
    .info_product a {
        line-height: 30px;
    }
    #products .product, .featured-products .product, .product-accessories .product, .product-miniature .product, section.page-product-box.grelated_products .product {
        padding: 10px;
    }
    div#js-product-list.list_mode .container_table_product_comb.active {
        padding: 0px;
        margin-top: 15px;
        background: none;
    }
    div#js-product-list.list_mode .subcontainer_table_product_comb {
        padding: 0px;
    }
}
@media(max-width: 450px){
    #products .product, .featured-products .product, .product-accessories .product, .product-miniature .product, section.page-product-box.grelated_products .product{
        width: 100%;
    }
    body .products-selection .sort-by-row {
        display: flex;
        /* width: 100%; */
        /* gap: 5px; */
        float: initial;
        flex-wrap: nowrap;
        /* overflow: hidden; */
    }
}