.elementor-5247 .elementor-element.elementor-element-d70a9ac{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-5247 .elementor-element.elementor-element-30ce74d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--margin-top:-2px;--margin-bottom:-2px;--margin-left:-2px;--margin-right:-2px;--padding-top:4px;--padding-bottom:4px;--padding-left:4px;--padding-right:4px;--z-index:980;}.elementor-5247 .elementor-element.elementor-element-30ce74d:not(.elementor-motion-effects-element-type-background), .elementor-5247 .elementor-element.elementor-element-30ce74d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F9F9F9;}.elementor-5247 .elementor-element.elementor-element-b07e085{z-index:998;}.elementor-5247 .elementor-element.elementor-element-b07e085 .elementor-heading-title{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );color:var( --e-global-color-secondary );}.elementor-5247 .elementor-element.elementor-element-594aa24 .e-search-submit{background-color:var( --e-global-color-primary );}.elementor-5247 .elementor-element.elementor-element-594aa24 .e-search-submit:hover{background-color:transparent;background-image:linear-gradient(180deg, var( --e-global-color-af3f1d1 ) 0%, #f2295b 100%);}.elementor-5247 .elementor-element.elementor-element-594aa24{margin:2px 2px calc(var(--kit-widget-spacing, 0px) + 2px) 2px;z-index:998;--e-search-placeholder-color:var( --e-global-color-secondary );--e-search-icon-label-color:var( --e-global-color-secondary );--e-search-submit-color:var( --e-global-color-20a4a5e );}.elementor-5247 .elementor-element.elementor-element-f134958{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-5247 .elementor-element.elementor-element-77150e0{--grid-columns:4;}.elementor-5247 .elementor-element.elementor-element-77150e0 .elementor-loop-container{grid-auto-rows:1fr;}.elementor-5247 .elementor-element.elementor-element-77150e0 .e-loop-item > .elementor-section, .elementor-5247 .elementor-element.elementor-element-77150e0 .e-loop-item > .elementor-section > .elementor-container, .elementor-5247 .elementor-element.elementor-element-77150e0 .e-loop-item > .e-con, .elementor-5247 .elementor-element.elementor-element-77150e0 .e-loop-item .elementor-section-wrap  > .e-con{height:100%;}.elementor-5247 .elementor-element.elementor-element-77150e0 .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-5247 .elementor-element.elementor-element-77150e0 .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-5247 .elementor-element.elementor-element-77150e0 .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-5247 .elementor-element.elementor-element-77150e0 .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-5247 .elementor-element.elementor-element-77150e0 .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}@media(min-width:768px){.elementor-5247 .elementor-element.elementor-element-30ce74d{--width:25%;}.elementor-5247 .elementor-element.elementor-element-f134958{--width:75%;}}@media(max-width:1024px){.elementor-5247 .elementor-element.elementor-element-77150e0{--grid-columns:2;}}@media(max-width:767px){.elementor-5247 .elementor-element.elementor-element-77150e0{--grid-columns:2;}}/* Start custom CSS for container, class: .elementor-element-d70a9ac *//* 1. Rendi tutte le card della stessa altezza */
.elementor-5247 .elementor-element.elementor-element-d70a9ac .woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    padding: 15px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 2. Effetto Hover sulla card (stile Pro) */
.elementor-5247 .elementor-element.elementor-element-d70a9ac .woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0,0,0,0.05);
}

/* 3. Immagini sempre allineate (Rapporto 1:1) */
.elementor-5247 .elementor-element.elementor-element-d70a9ac .woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    object-fit: contain; /* Mantiene l'immagine intera senza tagliarla */
    background: #f9f9f9; /* Sfondo neutro se l'immagine è trasparente */
    margin-bottom: 15px;
}

/* 4. Allinea i Titoli (Blocca a 2 righe massimo) */
.elementor-5247 .elementor-element.elementor-element-d70a9ac .woocommerce ul.products li.product h2 {
    font-size: 16px !important;
    line-height: 1.3em;
    height: 2.6em; /* Forza l'altezza di esattamente 2 righe */
    overflow: hidden;
    margin-bottom: 10px !important;
    color: #333;
}

/* 5. Sposta Prezzo e Bottone in fondo */
.elementor-5247 .elementor-element.elementor-element-d70a9ac .woocommerce ul.products li.product .price {
    margin-top: auto; /* Questo è il trucco magico */
    display: block;
    color: #0047AB; /* Blu K-Shop */
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

/* 6. Bottone Acquista sempre allineato */
.elementor-5247 .elementor-element.elementor-element-d70a9ac .woocommerce ul.products li.product .button {
    background-color: #FF8C00 !important; /* Arancio K-Shop */
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    padding: 10px 0;
    text-align: center;
}/* End custom CSS */