/*
Theme Name: Hello Elementor - InoxGastro Child
Template: hello-elementor
Version: 1.0.0
Description: Child theme gestito da InoxGastro Site Manager.
*/

body.inoxgastro-refrigerazione-page,
body.inoxgastro-refrigerazione-page #page {
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.035) 0%,
            rgba(110,125,135,0.025) 25%,
            rgba(255,255,255,0.045) 50%,
            rgba(120,135,145,0.02) 75%,
            rgba(255,255,255,0.035) 100%
        ),
        linear-gradient(
            115deg,
            rgba(255,255,255,0.82) 0%,
            rgba(225,231,235,0.88) 28%,
            rgba(248,250,251,0.94) 50%,
            rgba(214,222,227,0.88) 72%,
            rgba(247,249,250,0.92) 100%
        ) !important;

    background-attachment: fixed !important;
}

body.inoxgastro-refrigerazione-page #content,
body.inoxgastro-refrigerazione-page main,
body.inoxgastro-refrigerazione-page main.site-main,
body.inoxgastro-refrigerazione-page .site-main,
body.inoxgastro-refrigerazione-page .page-content,
body.inoxgastro-refrigerazione-page .woocommerce,
body.inoxgastro-refrigerazione-page .woocommerce-page,
body.inoxgastro-refrigerazione-page .woocommerce-products-header {
    background: transparent !important;
}

body.inoxgastro-refrigerazione-page .elementor,
body.inoxgastro-refrigerazione-page .elementor-location-archive,
body.inoxgastro-refrigerazione-page .elementor-section-wrap,
body.inoxgastro-refrigerazione-page .e-con,
body.inoxgastro-refrigerazione-page .e-con-inner,
body.inoxgastro-refrigerazione-page .elementor-widget-wrap,
body.inoxgastro-refrigerazione-page .elementor-widget-container {
    background-color: transparent !important;
}

#inoxgastro-home-categories {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    filter: none !important;
    clip-path: none !important;
    mask: none !important;
    transform: none !important;
    position: relative;
    z-index: 2;
    isolation: isolate;
    background: #dc3935;
    padding: 56px 32px 64px;
}

#inoxgastro-home-categories .igcat-inner,
#inoxgastro-home-categories .igcat-header,
#inoxgastro-home-categories .igcat-title,
#inoxgastro-home-categories .igcat-subtitle,
#inoxgastro-home-categories .igcat-grid,
#inoxgastro-home-categories .igcat-card,
#inoxgastro-home-categories .igcat-media,
#inoxgastro-home-categories .igcat-image,
#inoxgastro-home-categories .igcat-name,
#inoxgastro-home-categories .igcat-fallback {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    filter: none !important;
    clip-path: none !important;
    mask: none !important;
}

#inoxgastro-home-categories .igcat-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

#inoxgastro-home-categories .igcat-header {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}

#inoxgastro-home-categories .igcat-title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.15;
}

#inoxgastro-home-categories .igcat-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

#inoxgastro-home-categories .igcat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    transform: none !important;
    pointer-events: auto !important;
}

#inoxgastro-home-categories .igcat-card {
    display: flex !important;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    color: #1c1917;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(28, 25, 23, 0.055);
    transform: none !important;
    pointer-events: auto !important;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#inoxgastro-home-categories .igcat-card::before,
#inoxgastro-home-categories .igcat-card::after {
    content: none !important;
    display: none !important;
}

#inoxgastro-home-categories .igcat-card:hover,
#inoxgastro-home-categories .igcat-card:focus-visible {
    color: #1c1917;
    border-color: #d6d3d1;
    box-shadow: 0 14px 30px rgba(28, 25, 23, 0.09);
    transform: translateY(-3px) !important;
}

#inoxgastro-home-categories .igcat-card:focus-visible {
    outline: 2px solid #8b9499;
    outline-offset: 3px;
}

#inoxgastro-home-categories .igcat-media {
    display: flex !important;
    height: 198px;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #f1f0ef;
    transform: none !important;
}

#inoxgastro-home-categories .igcat-image {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
}

#inoxgastro-home-categories .igcat-fallback {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #9aa3a8;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #f3f5f6, #e5e9eb);
    border-radius: 8px;
    transform: none !important;
}

#inoxgastro-home-categories .igcat-name {
    display: flex !important;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    padding: 17px 16px 18px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    transform: none !important;
}

@media (max-width: 1024px) {
    #inoxgastro-home-categories {
        padding: 48px 24px 56px;
    }

    #inoxgastro-home-categories .igcat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    #inoxgastro-home-categories {
        padding: 40px 16px 48px;
    }

    #inoxgastro-home-categories .igcat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #inoxgastro-home-categories .igcat-media {
        height: 150px;
        padding: 12px;
    }

    #inoxgastro-home-categories .igcat-name {
        min-height: 62px;
        padding: 14px 10px 15px;
        font-size: 0.92rem;
    }
}

@media (max-width: 420px) {
    #inoxgastro-home-categories .igcat-grid {
        grid-template-columns: 1fr;
    }

    #inoxgastro-home-categories .igcat-media {
        height: 190px;
    }
}
