/*Button Scheda Tecnica*/
.button.wts-tech-sheet {
	border-radius: 999px; /* completamente pill-shaped */
}

/* Immagini della home: zoom-out leggero e morbido al passaggio del mouse */
body.home img[class*="attachment-"],
body.front-page img[class*="attachment-"],
.products .product-small img[class*="attachment-"],
.products.row .product .box-image img {
	display: block;
	transform: scale(1);
	transform-origin: center center;
	transition: transform .55s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

body.home .box-image:hover img[class*="attachment-"],
body.front-page .box-image:hover img[class*="attachment-"],
body.home img[class*="attachment-"]:hover,
body.front-page img[class*="attachment-"]:hover,
.products .product-small .box-image:hover img[class*="attachment-"],
.products .product-small img[class*="attachment-"]:hover,
.products.row .product:hover .box-image img {
	transform: scale(.965);
}

/* La griglia prodotti centra le immagini con translate: mantienilo insieme allo zoom. */
.products.row .product .box-image img {
	transform: translate(-50%, -50%) scale(1) !important;
	transition: transform .55s cubic-bezier(.22, .61, .36, 1) !important;
}

.products.row .product:hover .box-image img {
	transform: translate(-50%, -50%) scale(.965) !important;
}

@media (prefers-reduced-motion: reduce) {
	body.home img[class*="attachment-"],
	body.front-page img[class*="attachment-"],
	.products .product-small img[class*="attachment-"],
	.products.row .product .box-image img {
		transition: none;
		transform: translate(-50%, -50%) !important;
	}
}

/*Search Drop Menù*/
.live-search-results, .autocomplete-suggestions { border-radius: 12px !important; overflow: hidden !important; background: #ffffff !important; box-shadow: 0 10px 25px rgba(0,0,0,0.08); } .live-search-results a, .autocomplete-suggestions a { color: #333 !important; } .live-search-results a:hover, .autocomplete-suggestions a:hover { background: #ff0000 !important; color: #ffffff !important; }

/* Bordo griglia prodotti bianco spesso + bordo sottile interno */
.products.row .product {
    border: 10px solid #fff;           /* Bordo principale bianco spesso */
    border-radius: 20px;               /* Arrotondamento */
    padding: 10px;                     /* Spazio interno */
    box-sizing: border-box;            /* Include padding nel calcolo dimensione */
    background-color: #f2f2f2;         /* Sfondo visibile */
    overflow: hidden;                  /* Contenuto non esce dal box */
    box-shadow: inset 0 0 0 1px #ccc; /* Bordo interno sottile */
    transition: box-shadow 0.3s ease; /* Transizione smooth al passaggio del mouse */
}

/* Hover: bordo interno diventa colorato e spesso 5px */
.products.row .product:hover {
    box-shadow: inset 0 0 0 5px #05ab9e;   /* Bordo interno rosso spesso */
}

/* Custom Shortcode margin*/
.custom-shortcode-before-products {
  	margin-top: 20px;
    margin-bottom: 20px;
}

/*Cutom Imagebox*/
.custom-imagebox {
    border: 3px solid #f0f0f0 !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-imagebox:hover {
     border: 5px solid #05ab9e !important;             
}

/* Larghezza Header */
.header-inner {
  max-width: 90% !important;
  width: 90% !important;
}

/* Margine su descrizione prodotto catalogo */
.term-description {
    margin-top: 20px;
    margin-bottom: 20px;
	margin-left:10px;
}

/* ----------------  Customizzazione Catalogo Prodotti*/

/* SOLO DESKTOP */
@media (min-width: 850px){

  /* la riga principale occupa tutta la larghezza */
  .row.category-page-row{
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 5% !important;
	  margin-right: 5% !important;
  }

  /* sidebar fissa */
  .row.category-page-row > .col.large-3{
    flex: 0 0 400px !important;
    max-width: 400px !important;
    width: 400px !important;
  }

  /* colonna prodotti elastica fino a destra */
  .row.category-page-row > .col.large-9{
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
    padding-right: 30px !important;
  }

  /* contenitore prodotti senza limiti */
  .row.category-page-row > .col.large-9 .shop-container{
    width: 90% !important;
    max-width: 90% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }

  /* griglia prodotti a tutta larghezza */
  .row.category-page-row > .col.large-9 .products.row{
    width: 100% !important;
    max-width: 100% !important;
    margin: 5 !important;
  }

}
/* ----------------  Customizzazione Catalogo Prodotti*/

/* Testo Senza Ombra */
.box-text .no-shadow {
		text-shadow: none !important;
}

/* Rounded 15px */
.rounded {
	border-radius: 15px 15px 15px 15px !important;
  overflow: hidden !important;
}

/* Button Glow */
.button.glow:hover {
    box-shadow: 0 0 25px #05ab9e,
                0 0 500px #0f9186,
                0 0 200px #fff;
}

/* Badge quadrato con margine, bordo arrotondato e padding interno */
.badge-square {
	margin: 5px 0px 0px 10px;
	border-radius: 5px !important;
	overflow: hidden !important; 
}

/* Titoli Glow Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap');

.text-glow-italic,
h1.text-glow-italic,
h2.text-glow-italic,
h3.text-glow-italic,
.text-glow-italic * {
    display: inline-block !important; /* serve per skew */
    color: #fff !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
   

    text-shadow:
        0.5px 0   0 rgba(5,171,158,.9),
       -0.5px 0   0 rgba(5,171,158,.9),
        0   0.5px 0 rgba(5,171,158,.9),
        0  -0.5px 0 rgba(5,171,158,.9),
        0 0 6px rgba(5,171,158,.6),
        0 0 12px rgba(5,171,158,.35) !important;
}

/* Testo bold al passaggio del mouse (senza spostamenti) */
.hover-bold {
    font-weight: 400;
    cursor: pointer;
}

.hover-bold::after {
    content: attr(data-text);
    font-weight: 700;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    display: block;
}

.hover-bold:hover {
    font-weight: 700;
}

/* Tema icone menu */

[class*="icon-"] > a{
display:flex;
align-items:center;
gap:8px;
transition:gap 0.3s ease;

}

[class*="icon-"] > a:before{
content:"";
width:26px;
height:26px;
border-radius:50%;
background-size:cover;
background-position:center;
background-repeat:no-repeat;
display:inline-block;
transition:transform 0.35s cubic-bezier(.25,.8,.25,1);
}

/* Hover Icone Mega Menù */
[class*="icon-"]:hover > a{
gap:14px;
}

[class*="icon-"]:hover > a:before{
filter:grayscale(100%);
transform:scale(1.4);
}

/* ---------- ICONE MEGA MENU' ---------- */

.icon-accessori > a:before{
background-image:url("/wp-content/uploads/2026/04/FS-XX.png");}

.icon-cob > a:before{
background-image:url("/wp-content/uploads/2026/06/COB-11W-24V-XXXXK.png");}

.icon-zigzag > a:before{
background-image:url("/wp-content/uploads/2026/03/strisciaLed-zigzag-IP20-scaled-1-2048x2048.jpg");}

.icon-barre > a:before{
background-image:url("/wp-content/uploads/2026/03/Barra-OK-scaled-1.jpg");}

.icon-strip > a:before{
background-image:url("/wp-content/uploads/2026/03/3.jpg");}

.icon-flex > a:before{
background-image:url("/wp-content/uploads/2026/02/Cat.-Flex-Neon.jpg");}

.icon-split > a:before{
background-image:url("/wp-content/uploads/2026/03/SPLIT-6-WHITE.webp");}

.icon-ndwp > a:before{
background-image:url("/wp-content/uploads/2026/02/Categoria-Alimentatori-Esterno-1.jpg");}

.icon-ndnwp > a:before{
background-image:url("/wp-content/uploads/2026/02/Categoria-Alimentatori-Interno-1.jpg");}

.icon-ndus > a:before{
background-image:url("/wp-content/uploads/2026/02/Categoria-Ultra-Slim-1.jpg");}

.icon-rgb > a:before{
background-image:url("/wp-content/uploads/2026/02/categoria-RGB.jpg");}

.icon-pixel > a:before{
background-image:url("/wp-content/uploads/2026/02/Cat.-Pixel.jpg");}

.icon-moduli > a:before{
background-image:url("/wp-content/uploads/2026/02/Categoria-Moduli.jpg");}

.icon-cavi > a:before{
background-image:url("/wp-content/uploads/2026/02/2-1-510x510-1.jpg");}

.icon-lightbox > a:before{
background-image:url("/wp-content/uploads/2026/03/1-510x510-1.jpg");}

.icon-interno > a:before{
background-image:url("/wp-content/uploads/2026/04/4-2-510x510-1.jpg");}

.icon-esterno > a:before{
background-image:url("/wp-content/uploads/2026/02/Cat-Barre-IP65.jpg");}

.icon-bifacciali > a:before{
background-image:url("/wp-content/uploads/2026/03/BIF-2W-XXXXK-scaled.png");}

.icon-monofacciali > a:before{
background-image:url("/wp-content/uploads/2026/03/modulo-led-LIL0115.jpg");}

.icon-esterno > a:before{
background-image:url("/wp-content/uploads/2026/02/Categoria-Moduli.jpg");}

.icon-grandi > a:before{
background-image:url("/wp-content/uploads/2026/02/Categoria-Moduli.jpg");}

.icon-dimmer > a:before{
background-image:url("/wp-content/uploads/2026/02/3-3.jpg");}

.icon-controllerrgb > a:before{
background-image:url("/wp-content/uploads/2026/02/Centraline-1-1.jpg");}

.icon-controllerdigital > a:before{
background-image:url("/wp-content/uploads/2026/02/2-1.jpg");}

.icon-amplificatori > a:before{
background-image:url("/wp-content/uploads/2026/02/a.jpg");}

/* Pulsante menu mobile: verde acqua sfumato come il resto del sito. */
.flex-col.show-for-medium .mobile-nav.nav-left .header-button > a.icon.primary.button.round.is-small {
    color: #fff !important;
    background: linear-gradient(135deg, #4aaea2, #82d4ca) !important;
    border-color: transparent !important;
    box-shadow: 0 5px 14px rgba(74,174,162,.24) !important;
}

.flex-col.show-for-medium .mobile-nav.nav-left .header-button > a.icon.primary.button.round.is-small:hover,
.flex-col.show-for-medium .mobile-nav.nav-left .header-button > a.icon.primary.button.round.is-small:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #31998e, #68c6bb) !important;
    border-color: transparent !important;
    box-shadow: 0 7px 17px rgba(74,174,162,.32) !important;
}

/* Selettore lingue: lingua attiva e interazione nello stesso verde acqua. */
.efgd-translate-switcher .efgd-translate-switcher__links > a[aria-current="true"] {
    color: #fff !important;
    background: linear-gradient(135deg, #4aaea2, #82d4ca) !important;
    border-color: transparent !important;
    box-shadow: 0 5px 14px rgba(74,174,162,.24) !important;
}

.efgd-translate-switcher .efgd-translate-switcher__links > a:hover,
.efgd-translate-switcher .efgd-translate-switcher__links > a:focus-visible {
    color: #fff !important;
    background: linear-gradient(135deg, #31998e, #68c6bb) !important;
    border-color: transparent !important;
    box-shadow: 0 7px 17px rgba(74,174,162,.32) !important;
}

/* Carrello e profilo: stessa sfumatura del badge lingua attivo. */
.header-nav-main .cart-item .header-cart-link.icon.primary.button.circle.is-small,
.header-nav-main .account-item .account-link.icon.primary.button.circle.is-small {
    color: #fff !important;
    background: linear-gradient(135deg, #4aaea2, #82d4ca) !important;
    border-color: transparent !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 14px rgba(74,174,162,.24) !important;
}

.header-nav-main .cart-item .header-cart-link.icon.primary.button.circle.is-small:hover,
.header-nav-main .cart-item .header-cart-link.icon.primary.button.circle.is-small:focus,
.header-nav-main .account-item .account-link.icon.primary.button.circle.is-small:hover,
.header-nav-main .account-item .account-link.icon.primary.button.circle.is-small:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #31998e, #68c6bb) !important;
    border-color: transparent !important;
    border-radius: 10px !important;
    box-shadow: 0 7px 17px rgba(74,174,162,.32) !important;
}

/* CTA registrazione: cambia solo la tinta, lasciando invariati glow, hover e dimensioni. */
a.button.primary.is-xxlarge.box-shadow-5.box-shadow-5-hover.expand.glow[href="/my-account/?action=register"] {
    color: #fff !important;
    background: linear-gradient(135deg, #4aaea2, #82d4ca) !important;
    border-color: transparent !important;
}

a.button.primary.is-xxlarge.box-shadow-5.box-shadow-5-hover.expand.glow[href="/my-account/?action=register"]:hover,
a.button.primary.is-xxlarge.box-shadow-5.box-shadow-5-hover.expand.glow[href="/my-account/?action=register"]:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #31998e, #68c6bb) !important;
    border-color: transparent !important;
}

/* Tutti i pulsanti primary glow usano la stessa sfumatura verde acqua. */
.button.primary.glow,
a.button.primary.glow,
button.button.primary.glow {
    color: #fff !important;
    background: linear-gradient(135deg, #4aaea2, #82d4ca) !important;
    border-color: transparent !important;
}

.button.primary.glow:hover,
.button.primary.glow:focus,
a.button.primary.glow:hover,
a.button.primary.glow:focus,
button.button.primary.glow:hover,
button.button.primary.glow:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #31998e, #68c6bb) !important;
    border-color: transparent !important;
}
