

/* PRESI MOBILE PRODUCT GRIDS CLEAN */
@media (max-width: 768px) {
    body.woocommerce.archive .inside-article {
        padding-left: 8px;
        padding-right: 8px;
    }

    body.home .presi-product-section__products,
    body.single-product .presi-sideselling > .woocommerce,
    body.single-product .related,
    body.single-product .up-sells {
        width: calc(100% + 44px); max-width: none; margin-left: -22px; margin-right: -22px; }

    body.woocommerce.archive #wc-column-container,
    body.woocommerce.archive #wc-column-container ul.products {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    body.woocommerce.archive #wc-column-container ul.products,
    body.home .presi-product-section__products ul.products,
    body.single-product .presi-sideselling ul.products,
    body.single-product .related ul.products,
    body.single-product .up-sells ul.products {
        position: static !important;
        left: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 8px !important;
        row-gap: 20px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    body.woocommerce.archive #wc-column-container ul.products::before,
    body.woocommerce.archive #wc-column-container ul.products::after,
    body.home .presi-product-section__products ul.products::before,
    body.home .presi-product-section__products ul.products::after,
    body.single-product .presi-sideselling ul.products::before,
    body.single-product .presi-sideselling ul.products::after,
    body.single-product .related ul.products::before,
    body.single-product .related ul.products::after,
    body.single-product .up-sells ul.products::before,
    body.single-product .up-sells ul.products::after {
        display: none !important;
    }

    body.woocommerce.archive #wc-column-container ul.products li.product,
    body.home .presi-product-section__products ul.products li.product,
    body.single-product .presi-sideselling ul.products li.product,
    body.single-product .related ul.products li.product,
    body.single-product .up-sells ul.products li.product {
        float: none !important;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        padding: 6px !important;
        box-sizing: border-box;
    }

    body.woocommerce.archive #wc-column-container ul.products li.product img,
    body.home .presi-product-section__products ul.products li.product img,
    body.single-product .presi-sideselling ul.products li.product img,
    body.single-product .related ul.products li.product img,
    body.single-product .up-sells ul.products li.product img {
        display: block;
        width: 100%;
        height: auto;
    }
}
/* PRESI MOBILE PRODUCT GRIDS CLEAN END */

/* PRESI CATEGORY GRID COMPACT */
body.tax-product_cat #main.site-main {
    margin-top: 0 !important;
}

body.tax-product_cat #main.site-main .inside-article {
    padding-top: 10px !important;
}

body.tax-product_cat #wc-column-container .woocommerce-ordering,
body.tax-product_cat #wc-column-container .woocommerce-result-count {
    display: none !important;
}
/* PRESI CATEGORY GRID COMPACT END */

/* PRESI SHOP PAGE COMPACT TOP */
body.woocommerce-shop .woocommerce-ordering,
body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering,
body.post-type-archive-product .woocommerce-result-count {
    display: none !important;
}

@media (max-width: 768px) {
    body.woocommerce-shop #wc-column-container,
    body.post-type-archive-product #wc-column-container {
        padding-top: 10px !important;
    }
}
/* PRESI SHOP PAGE COMPACT TOP END */

/* PRESI PRODUCT CARDS GLOBAL START */
body .products li.product,
body .wc-block-grid__products .wc-block-grid__product,
body .gb-query-loop-item.product {
    background: #e8e8e8 !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .16), 0 1px 3px rgba(0, 0, 0, .09) !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

body .products li.product img,
body .wc-block-grid__products .wc-block-grid__product img,
body .gb-query-loop-item.product img {
    border-radius: 9px;
}

@media (hover: hover) and (pointer: fine) {
    body .products li.product:hover,
    body .wc-block-grid__products .wc-block-grid__product:hover,
    body .gb-query-loop-item.product:hover {
        transform: translateY(-4px);
        box-shadow: 0 11px 26px rgba(0, 0, 0, .23) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .products li.product,
    body .wc-block-grid__products .wc-block-grid__product,
    body .gb-query-loop-item.product {
        transition: none;
    }
}
/* PRESI PRODUCT CARDS GLOBAL END */
