/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/*.viewcart-style-2.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    display: none!important;
} */

/* Pagina KIT FRESE: layout ampio e immagine hero responsive */
body.tax-product_cat.term-kit #main {
    width: calc(100% - 48px);
    max-width: 1760px;
    margin-right: auto;
    margin-left: auto;
}

body.tax-product_cat.term-kit #main > .container-fluid {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

body.tax-product_cat.term-kit #main .main-content-wrap {
    margin-right: 0;
    margin-left: 0;
}

body.tax-product_cat.term-kit #main .porto-woo-category-sidebar {
    display: none;
}

body.tax-product_cat.term-kit #main .main-content {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

body.tax-product_cat.term-kit img.category-image {
    display: block;
    width: 100%;
    max-width: none;
    height: clamp(420px, 48vw, 650px);
    object-fit: cover;
    object-position: center 46%;
    border-radius: 14px;
}

body.tax-product_cat.term-kit .term-description {
    margin-top: 22px;
}

@media (max-width: 991px) {
    body.tax-product_cat.term-kit #main {
        width: calc(100% - 30px);
    }

    body.tax-product_cat.term-kit img.category-image {
        height: clamp(280px, 62vw, 500px);
        border-radius: 10px;
    }
}

@media (max-width: 575px) {
    body.tax-product_cat.term-kit #main {
        width: calc(100% - 24px);
    }

    body.tax-product_cat.term-kit img.category-image {
        height: 72vw;
        min-height: 260px;
        max-height: 390px;
        object-position: center center;
        border-radius: 8px;
    }
}
