/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
html{background:#ffffff;}
body{
  min-height:100vh;
  background:#ffffff;
}
/* ===== RF Geron — sfondo pagina sfumato (dal Figma): bianco -> crema -> pesca ===== */

/* ===== Frecce tonde (dal Figma) ===== */
.elementor-element-b0979a6,
.elementor-element-0a2be61,
.elementor-element-c3f6e6e{
  position:relative;
  padding-bottom:50px;
}
.elementor-element-b0979a6::after,
.elementor-element-0a2be61::after,
.elementor-element-c3f6e6e::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-40px;
  transform:translateX(-50%);
  width:82px;height:82px;
  border-radius:50%;
  background:#EC7026 url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2028%2028%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%273%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4.5%2021%20L23%208.3%27%2F%3E%3Cpath%20d%3D%27M12.5%208%20L23%208%20L23%2018.8%27%2F%3E%3C%2Fsvg%3E") center / 38px 38px no-repeat;
  box-shadow:0 4px 14px rgba(236,112,38,.35);
}
/* pulsante CONTATTACI: freccia tonda attaccata a destra */
.elementor-element-9cd21b5 .elementor-button{position:relative;overflow:visible;}
.elementor-element-9cd21b5 .elementor-button::after{
  content:"";
  position:absolute;
  left:calc(100% - 0px);
  top:50%;
  transform:translateY(-50%);
  width:52px;height:52px;
  border-radius:50%;
  background:#EC7026 url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2028%2028%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%273%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4.5%2021%20L23%208.3%27%2F%3E%3Cpath%20d%3D%27M12.5%208%20L23%208%20L23%2018.8%27%2F%3E%3C%2Fsvg%3E") center / 24px 24px no-repeat;
}
/* spazio sotto la fila delle 3 card */
.elementor-element-1feaba7{padding-bottom:120px;}
/* immagine gruppo-homepage a tutto box (full) */
.elementor-element-2aae1e0,
.elementor-element-2aae1e0 > .elementor-widget-wrap,
.elementor-element-5b1cc39,
.elementor-element-5b1cc39 .elementor-widget-container{padding:0 !important;height:100%;}
.elementor-element-5b1cc39 .elementor-widget-container{display:flex;}
.elementor-element-5b1cc39 img{width:100%;height:100%;object-fit:cover;display:block;}
/* radius immagine come il box */
.elementor-element-5b1cc39,
.elementor-element-5b1cc39 .elementor-widget-container{overflow:hidden;border-radius:20px;}
.elementor-element-5b1cc39 img{border-radius:20px;}

/* ===== Classe riutilizzabile: bagliore pesca in basso a sinistra ===== */
/* In Elementor: contenitore > Avanzate > Classi CSS -> scrivi: sfondo */
.sfondo{
  background-image:radial-gradient(85% 120% at 0% 100%,
      rgba(255,150,101,0.95) 0%,
      rgba(255,176,129,0.55) 24%,
      rgba(255,206,180,0.26) 48%,
      rgba(255,255,255,0) 72%) !important;
  background-repeat:no-repeat !important;
  background-position:left bottom !important;
}

/* bagliore pesca in basso a DESTRA (speculare di .sfondo) */
.sfondo_destra{
  background-image:radial-gradient(85% 120% at 100% 100%,
      rgba(255,150,101,0.95) 0%,
      rgba(255,176,129,0.55) 24%,
      rgba(255,206,180,0.26) 48%,
      rgba(255,255,255,0) 72%) !important;
  background-repeat:no-repeat !important;
  background-position:right bottom !important;
}

/* elenco-catalogo: ricerca su MOBILE - input sopra, bottone sotto */
@media (max-width:767px){
  .elementor-element-75e6826 .e-search-form{flex-wrap:wrap !important;row-gap:12px !important;}
  .elementor-element-75e6826 .e-search-input-wrapper{flex:1 1 100% !important;min-width:0 !important;width:100% !important;}
  .elementor-element-75e6826 .e-search-submit{flex:1 1 100% !important;width:100% !important;justify-content:center !important;}
}


/* Elenco categorie: titolo sempre su 2 righe = contenuto allineato tra le card */
.elementor-1358 .elementor-element-84d8db3 p,
.elementor-1358 .elementor-element-a3bd804 p,
.elementor-1358 .elementor-element-3043010 p,
.elementor-1358 .elementor-element-e4b520e p,
.elementor-1358 .elementor-element-662e2db p,
.elementor-1358 .elementor-element-6223ec9 p,
.elementor-1358 .elementor-element-3866e6d p,
.elementor-1358 .elementor-element-cbdaf7e p{min-height:50px;}


/* Spaziatura uniforme (20px) tra tutti i box categoria, a ogni breakpoint */
body .elementor-1358 .elementor-element.elementor-element-252aba6,
body .elementor-1358 .elementor-element.elementor-element-0382df4,
body .elementor-1358 .elementor-element.elementor-element-a85e8d3,
body .elementor-1358 .elementor-element.elementor-element-89a814c,
body .elementor-1358 .elementor-element.elementor-element-ebc04e7,
body .elementor-1358 .elementor-element.elementor-element-fadfc29,
body .elementor-1358 .elementor-element.elementor-element-fe3148e{
  --gap:20px 20px;
  --row-gap:20px;
  --column-gap:20px;
}


/* elenco-catalogo: bottone CERCA NEL CATALOGO angolo sinistro arrotondato (da grafica) */
body .elementor-1358 .elementor-element.elementor-element-75e6826{
  --e-search-submit-border-radius:20px 20px 20px 20px;
}
body .elementor-1358 .elementor-element.elementor-element-75e6826 .e-search-submit{
  border-radius:20px 20px 20px 20px;
  padding-left:40px;
  padding-right:40px;
}


/* elenco-catalogo: barra ricerca input radius 20 (uniforme col bottone) */
body .elementor-1358 .elementor-element.elementor-element-75e6826 .e-search-input{
  border-radius:20px;
}


/* elenco-catalogo: input sovrapposto al bottone (effetto mockup) - solo desktop */
@media(min-width:768px){
  body .elementor-1358 .elementor-element.elementor-element-75e6826 .e-search-input{
    width:106%;
    margin-right:-23px;
    position:relative;
  }
}


/* elenco-catalogo: bottone sopra input sovrapposto */
body .elementor-1358 .elementor-element.elementor-element-75e6826 .e-search-submit{
  position:relative;
  z-index:9;
}


/* ============================================================
   05/10/2026 — Feedback Cecilia (HOME)
   ============================================================ */

/* A) Menù in testa: hover/attivo nero -> arancio (fbff51a) */
.elementor-element-fbff51a .elementor-item{
  transition:color .2s ease;
}
.elementor-element-fbff51a .elementor-item:hover,
.elementor-element-fbff51a .elementor-item:focus,
.elementor-element-fbff51a .elementor-item.elementor-item-active,
.elementor-element-fbff51a .current-menu-item > .elementor-item{
  color:#EC7026 !important;
}

/* B) Ombra arancio sotto la foto "COMPONENTI TECNICI..." (5b1cc39) */
.elementor-element-5b1cc39{
  border-radius:20px;
  box-shadow:0 26px 48px -12px rgba(236,112,38,.50);
}

/* C) Effetto hover: pulsanti arancioni + 3 card */
.elementor-element-9cd21b5 .elementor-button,
.elementor-element-d08f4d2 .elementor-button,
.elementor-element-79b424b .elementor-button{
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.elementor-element-b0979a6,
.elementor-element-0a2be61,
.elementor-element-c3f6e6e{
  transition:transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  border-radius:16px;
}
/* hover SOLO su dispositivi con mouse vero: su touch/mobile l'hover si "incolla" (card pesca fissa) */
@media (hover: hover) and (pointer: fine){
  .elementor-element-9cd21b5 .elementor-button:hover,
  .elementor-element-d08f4d2 .elementor-button:hover,
  .elementor-element-79b424b .elementor-button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(236,112,38,.40);
    filter:brightness(1.07);
  }
  .elementor-element-b0979a6:hover,
  .elementor-element-0a2be61:hover,
  .elementor-element-c3f6e6e:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(236,112,38,.28);
    background-color:#F5C2AE;
    --background-color:#F5C2AE;
  }
}

/* D) Togliere switcher IT | EN dall'header (contenitore 44323c1 -> bottone 0759718) */
.elementor-element-44323c1,
.elementor-element-0759718{
  display:none !important;
}

/* E) MOBILE: riquadri categoria tutti larghi uguali + foto/scritta allineate (centrate) */
@media (max-width:767px){
  .elementor-element-a2452c1 > .elementor-element{
    width:100% !important;
    max-width:100% !important;
  }
  .elementor-element-a2452c1 .elementor-widget-image,
  .elementor-element-a2452c1 .elementor-widget-image .elementor-widget-container{
    text-align:center !important;
  }
  .elementor-element-a2452c1 .elementor-widget-image img{
    margin-left:auto !important;
    margin-right:auto !important;
    display:block !important;
  }
  .elementor-element-a2452c1 .elementor-widget-button{
    text-align:center !important;
  }
  .elementor-element-a2452c1 .elementor-widget-button .elementor-button{
    justify-content:center !important;
  }
}

/* ===== DESKTOP (versione approvata, pixel di pagina): bianco in alto -> crema + fascio a 1650px ===== */
body .elementor-8{
  background-color:#FFF7F3;
  background-image:
     url('../../uploads/2026/10/beam2.png'),
     linear-gradient(to bottom, #FFFFFF 0px, #FFFFFF 450px, #FFF7F3 1400px, #FFF7F3 100%);
  background-size: 100% auto, auto;
  background-position: center 1650px, center top;
  background-repeat: no-repeat, no-repeat;
}

/* ===== MOBILE/TABLET (<=1024px): sfondo ancorato alle SEZIONI, responsive (desktop NON toccato) ===== */
@media (max-width:1024px){
  /* via il fascio a pixel di pagina (sbagliato su mobile) */
  body .elementor-8{
    background-image:none;
    background-color:#FFF7F3;
  }
  /* banner in cima: bianco */
  body .elementor-8 .elementor-element.elementor-element-4cf3277{
    background-color:#FFFFFF !important;
    background-image:none !important;
  }
  /* categorie: bianco -> crema dentro la sezione (proporzionale) */
  body .elementor-8 .elementor-element.elementor-element-122f914{
    background-image:linear-gradient(to bottom, #FFFFFF 0%, #FFF7F3 100%) !important;
  }
  /* COMPONENTI: crema + fascio agganciato alla sezione (sui prodotti a ogni larghezza) */
  body .elementor-8 .elementor-element.elementor-element-c68a76c{
    background-color:#FFF7F3 !important;
    background-image:url('../../uploads/2026/10/beam2.png') !important;
    background-size:100% auto !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
  }
}

/* Descrizioni delle 3 card (azienda/catalogo/contatti): 16px SOLO su mobile, desktop invariato */
@media (max-width:767px){
  body .elementor-8 .elementor-element.elementor-element-21cd103,
  body .elementor-8 .elementor-element.elementor-element-be744b7,
  body .elementor-8 .elementor-element.elementor-element-b40819b{
    font-size:16px !important;
    line-height:1.4 !important;
  }
}

/* ===== FASCE "AMPIA DISPONIBILITA'" (47955fc) + "HAI BISOGNO..." (243b82b) su <=1024 =====
   Come su mobile: colonna centrata, spazio pulito. UN SOLO blocco (niente regole in conflitto). */
@media (max-width:1024px){
  body .elementor-8 .elementor-element.elementor-element-47955fc > .e-con-inner,
  body .elementor-8 .elementor-element.elementor-element-243b82b > .e-con-inner{
    flex-direction:column !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:32px !important;
    text-align:center !important;
  }
  body .elementor-8 .elementor-element.elementor-element-47955fc > .e-con-inner > *,
  body .elementor-8 .elementor-element.elementor-element-243b82b > .e-con-inner > *{
    width:100% !important;
    max-width:100% !important;
    align-items:center !important;
    text-align:center !important;
  }
  body .elementor-8 .elementor-element-47955fc img,
  body .elementor-8 .elementor-element-243b82b img{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body .elementor-8 .elementor-element.elementor-element-17dcef5 .elementor-heading-title,
  body .elementor-8 .elementor-element.elementor-element-4188e57 .elementor-heading-title,
  body .elementor-8 .elementor-element.elementor-element-de70fb8 .elementor-heading-title{
    font-size:22px !important;
  }
  body .elementor-8 .elementor-element.elementor-element-ad4d1e7 .elementor-heading-title{
    font-size:30px !important;
  }
}

/* 3 box azienda/catalogo/contatti: spazio quando impilate (<=1024) */
@media (max-width:1024px){
  body .elementor-8 .elementor-element.elementor-element-b0979a6,
  body .elementor-8 .elementor-element.elementor-element-0a2be61,
  body .elementor-8 .elementor-element.elementor-element-c3f6e6e{
    margin-bottom:24px !important;
  }
}

/* card (1feaba7): row-gap quando vanno a capo a larghezze intermedie; desktop largo invariato */
body .elementor-8 .elementor-element.elementor-element-1feaba7 > .e-con-inner{
  flex-wrap:wrap !important;
  row-gap:40px !important;
}

/* Band 47955fc: gap 0 su mobile/tablet (richiesto) */
@media (max-width:1024px){
  body .elementor-8 .elementor-element.elementor-element-47955fc > .e-con-inner{
    gap:0 !important;
    row-gap:0 !important;
  }
}

/* Stessa resa della home per la fascia "AMPIA DISPONIBILITA'" sulle ALTRE pagine.
   La fascia e' duplicata con ID diversi: prodotto/categoria = 1656a1b, contatti = 3bd3652.
   REGOLE CON ID ESPLICITI (sempre valide, NON raggruppate col :has()). */
@media (max-width:1024px){
  body .elementor-element.elementor-element-1656a1b > .e-con-inner,
  body .elementor-element.elementor-element-3bd3652 > .e-con-inner,
  body .elementor-element.elementor-element-fa3ee8c > .e-con-inner{
    flex-direction:column !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    row-gap:0 !important;
    text-align:center !important;
  }
  body .elementor-element.elementor-element-1656a1b > .e-con-inner > *,
  body .elementor-element.elementor-element-3bd3652 > .e-con-inner > *,
  body .elementor-element.elementor-element-fa3ee8c > .e-con-inner > *{
    width:100% !important;
    max-width:100% !important;
    align-items:center !important;
    text-align:center !important;
  }
  body .elementor-element-1656a1b img,
  body .elementor-element-3bd3652 img,
  body .elementor-element-fa3ee8c img{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body .elementor-element.elementor-element-e63d4d1 .elementor-heading-title,
  body .elementor-element.elementor-element-4b63488 .elementor-heading-title,
  body .elementor-element.elementor-element-b03b156 .elementor-heading-title,
  body .elementor-element.elementor-element-aed06f6 .elementor-heading-title,
  body .elementor-element.elementor-element-59d9b44 .elementor-heading-title,
  body .elementor-element.elementor-element-29c2165 .elementor-heading-title,
  body .elementor-element.elementor-element-da7b826 .elementor-heading-title,
  body .elementor-element.elementor-element-c28b6d0 .elementor-heading-title,
  body .elementor-element.elementor-element-b32ed1b .elementor-heading-title{
    font-size:22px !important;
  }
}

/* SELETTORE GENERICO via :has() per qualsiasi altra istanza della fascia (asterisco-geron).
   In regole SEPARATE: se :has() non e' supportato, salta solo questo, non gli ID sopra. */
@media (max-width:1024px){
  .e-con.e-con-boxed:has(> .e-con-inner > .e-con > .elementor-widget-image img[src*="asterisco-geron"]) > .e-con-inner{
    flex-direction:column !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    row-gap:0 !important;
    text-align:center !important;
  }
  .e-con.e-con-boxed:has(> .e-con-inner > .e-con > .elementor-widget-image img[src*="asterisco-geron"]) > .e-con-inner > *{
    width:100% !important;
    max-width:100% !important;
    align-items:center !important;
    text-align:center !important;
  }
  .e-con.e-con-boxed:has(> .e-con-inner > .e-con > .elementor-widget-image img[src*="asterisco-geron"]) .elementor-widget-image img{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .e-con.e-con-boxed:has(> .e-con-inner > .e-con > .elementor-widget-image img[src*="asterisco-geron"]) .elementor-widget-heading .elementor-heading-title{
    font-size:22px !important;
  }
}
