.spreen-most-viewed .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.spreen-most-viewed ul.products::before,
.spreen-most-viewed ul.products::after {
    display: none;
}

.spreen-most-viewed .woocommerce ul.products li.product {
    position: relative;
    float: none;
    clear: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    box-shadow: none !important;
}

.spreen-most-viewed ul.products li.product h3,
.spreen-most-viewed ul.products li.product .product-hoofdcategorie,
.spreen-most-viewed ul.products li.product .price,
.spreen-most-viewed ul.products li.product .voorraad-status,
.spreen-most-viewed ul.products li.product .stock,
.spreen-most-viewed ul.products li.product .onsale,
.spreen-most-viewed ul.products li.product .star-rating,
.spreen-most-viewed ul.products li.product .addtocartbutton,
.spreen-most-viewed ul.products li.product .add_to_cart_button {
    display: none !important;
}

.spreen-most-viewed ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column-reverse;
    align-items: center;
}

.spreen-most-viewed .servies-categorie-titel{
	background: none;
    border: none;
    padding: 0;
    margin: 0 0 -.5rem;
}

.spreen-most-viewed ul.products li.product .woocommerce-loop-product__title {
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    order: -1;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0;
    font-size: 1rem !important;
    line-height: 2.5;
    text-align: center;
}

.spreen-most-viewed ul.products li.product img {
    width: 50%!important;
    height: 50% !important;
    margin: 0 auto !important;
    max-width: 100%;
}

.spreen-most-viewed ul.products li.product :is(div, figure):not(.woocommerce-loop-product__link):has(> img) {
    width: 80px;
    max-width: 100%;
    margin: 0;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.spreen-most-viewed .woocommerce ul.products li.product .button {
    display: flex;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    margin: 0.4rem auto 0 !important;
    padding: 0 !important;
    line-height: 1.25;
}

/* Hide the original action only after JavaScript has connected the tile to it. */
.spreen-most-viewed .woocommerce ul.products li.product.spreen-quick-view-tile {
    cursor: pointer;
}

.spreen-most-viewed .woocommerce ul.products li.product .spreen-quick-view-trigger {
    display: none !important;
}

.spreen-most-viewed .woocommerce ul.products li.product.spreen-quick-view-tile:has(.woocommerce-loop-product__link:focus-visible) {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.spreen-most-viewed .woocommerce ul.products li.product[hidden] {
    display: none !important;
}

.spreen-most-viewed > button.spreen-most-viewed-toggle {
    display: block;
    margin: 0.8rem auto 0;
}

.sidebar-kolom[data-spreen-product-block][hidden] {
    display: none !important;
}
