/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1778090338
Updated: 2026-05-06 17:58:58

*/
.card-home a{opacity:0;}
.card-home:hover a{opacity:1}
.variations tr:hover>th, .variations tr>th, .variations tr>td , .variations tr:hover>td{
	background-color: transparent !important;text-align:left}

.page-header{display:none}
.woocommerce-product-gallery__image {max-width:90%; pointer-events:none}
.woocommerce-product-gallery__trigger{display:none}
p {margin-block-end:0}
.anteprima-categorie {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.categoria-card {
    position: relative;
    display: flex;
    align-items: flex-end;          /* contenuto in basso */
    min-height: 200px;              /* altezza fissa della card */
    padding: 28px;
 
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background-size: cover;
  
    background-repeat: no-repeat;
    transition: transform .35s ease, box-shadow .35s ease;
    isolation: isolate;    
	 
	/* crea stacking context per overlay */
	   aspect-ratio: 4/3;   /* rettangolo più contenuto */
    width: 100%;
    height: auto;
}


/* overlay scuro per leggibilità */
.categoria-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(184 150 116 / 52%) 0%, rgb(0 0 0 / 0%) 50%, rgb(235 224 207 / 0%) 100%);
    z-index: 1;
    transition: background .35s ease;
}

.categoria-card:hover .categoria-card__overlay {
    background: linear-gradient(to top, rgb(107 89 71) 0%, rgb(0 0 0 / 0%) 50%, #b8967400 100%);
}

/* contenuto sopra l'overlay */
.categoria-card__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.categoria-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.categoria-card__desc {
    font-size: .9rem;
    line-height: 1.5;
    margin: 0 0 12px;
    color: rgba(255,255,255,.92);
}

.categoria-card__count {
    display: inline-block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(4px);
    color: #fff;
}

/* effetto zoom sull'immagine in hover (opzionale ma molto bello) */
.categoria-card {
    background-size: 115%;
}

@media (max-width: 900px) {
    .anteprima-categorie { grid-template-columns: repeat(2, 1fr); }
    .categoria-card { min-height: 280px; }
}

@media (max-width: 560px) {
    .anteprima-categorie { grid-template-columns: 1fr; }
    .categoria-card { min-height: 240px; }
}

/* =============================================
   Shop — Filtro categorie
   child-theme/style.css
   ============================================= */

.shop-cat-nav {
    margin-bottom: 2rem;
}

.shop-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-cat-btn {
    display: inline-block;
    padding: 0.45rem 1.25rem;
    border: 0;
	font-family:"agrandir", Sans-serif !important;
    border-radius: 2rem;
    background: transparent;
    color: inherit;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.shop-cat-btn:hover,
.shop-cat-btn.active {
    background: var(--e-global-color-accent);
    color: #fff;

}

/* --- Transizione card --- */
.e-loop-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.e-loop-item.shop-item-hidden {
    opacity: 0;
    transform: scale(0.97);
    pointer-events: none;
    position: absolute !important;
    visibility: hidden;
}

@media ( max-width: 600px ) {
    .shop-cat-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}