/*
Theme Name: Indaweb Child
Template: Divi
Theme URI: https://indaweb.it
Author: Indaweb
Author URI: https://indaweb.it
Description: Flexible Multi-Purpose Responsive WordPress Theme
Version: 1.0
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready

/* Below you can write your style */
p{
	letter-spacing:.5px!important;
}
/* ===============================
   CUSTOM BUTTON + SVG ICON (NO HTML)
   =============================== */

.custom-btn.et_pb_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 1.85rem;
  background-color: #2d2d2d !important;
  color: #f7f7f7 !important;
  font-family: 'Helvetica Now Display - Bold', Helvetica, Arial, Lucida, sans-serif;
  font-size: 20px;
  padding: 0.8rem 0rem .8rem 1.5rem;
  border: 0 !important;
  border-radius: 0.5em;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.custom-btn.et_pb_button span {
  color: #f7f7f7 !important;
  transition: transform 0.3s ease;
}

.custom-btn.et_pb_button:after{
    content: "" !important;
    display: flex;
    width: 50px;
    height: 35px;
    background-image: url(/wp-content/uploads/2026/01/arrow-right-red_1.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    transition: transform 0.3s ease;
    visibility: visible;
    opacity: 1;
    position: relative;
    margin-right: 15px;
}

/* ===============================
   HOVER: icona a sinistra
   =============================== */

.custom-btn.et_pb_button:hover{
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0rem!important;
	font-size: 20px;
	padding: 0.8rem 1.5rem .8rem 0rem;
	border: 0 !important;
	border-radius: 0.5em;
	transition: all 0.3s ease;
	flex-direction: row-reverse;
}
.custom-btn.et_pb_button:hover:after{
    width: 50px;
    background-position: left;
    margin-left: 15px;
	margin-right:0;
} 
/* ===============================
   CUSTOM BUTTON OUT + SVG ICON (NO HTML)
   =============================== */

.custom-btn-out.et_pb_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 1.85rem;
  background-color: #f7f7f7 !important;
  color: #2d2d2d !important;
  font-family: 'Helvetica Now Display - Bold', Helvetica, Arial, Lucida, sans-serif;
  font-size: 20px;
  padding: 0.8rem 0rem .8rem 1.5rem;
  border: 1px solid #2d2d2d !important;
  border-radius: 0.5em;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.custom-btn-out.et_pb_button span {
  color: #2d2d2d !important;
  transition: transform 0.3s ease;
}
.custom-btn-out.et_pb_button:after {
    content: "" !important;
    display: flex;
    width: 50px;
    height: 35px;
    background-image: url(/wp-content/uploads/2026/01/arrow-right-red_1.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    transition: transform 0.3s ease;
    visibility: visible;
    opacity: 1;
    position: relative;
    margin-right: 15px;
}
.custom-btn-out.et_pb_button:hover {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0rem!important;
	font-size: 20px;
	padding: 0.8rem 1.5rem .8rem 0rem;
	border: 1px solid #2d2d2d !important;
	border-radius: 0.5em;
	transition: all 0.3s ease;
	flex-direction: row-reverse;
}
.custom-btn-out.et_pb_button:hover:after{
    width: 50px;
    background-position: left;
    margin-left: 15px;
	margin-right:0;
} 
/* ================================
   BONATO ANIMATED TITLES (DIVI)
   ================================ */

:root{
  --bonato-red: #e2e419;

  --bonato-fill: 0.55s;
  --bonato-hold: 0.35s;
  --bonato-wipe: 0.55s;
  --bonato-stagger: 0.3s;/* delay tra righe */
}

/* wrapper generato via JS */
.bonato-title-lines{
  display: inline;
}

/* ogni riga */
.bonato-title-line{
  position: relative;
  display: inline-block;
  line-height: inherit;
}

/* sottolineatura */
.bonato-title-line::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  /* sotto al testo */
  bottom: -0.08em;

  /* alta come il testo */
  height: 1em;

  background-color: var(--bonato-red);

  transform: scaleX(0);
  transform-origin: left;

  z-index: -1;
  pointer-events: none;
}

/* stato animazione */
.bonato-title-animate .bonato-title-line::after{
  animation:
    bonatoFill var(--bonato-fill) ease forwards,
    bonatoWipe var(--bonato-wipe) ease forwards;

  animation-delay:
    var(--line-delay),
    calc(var(--line-delay) + var(--bonato-fill) + var(--bonato-hold));
}

/* riempimento sx -> dx */
@keyframes bonatoFill{
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* sparizione sx -> dx */
@keyframes bonatoWipe{
  from { transform: translateX(0) scaleX(1); }
  to   { transform: translateX(100%) scaleX(0); }
}
/*-------Contatti-------*/
/*Newsletter*/
@media screen and (min-width:981px){
.half-row{
	display: flex;
    flex-direction: row;
    column-gap: 30px;
	}
	.half-row div{
		width:50%!important;
	}
}
/*---------HOME-------*/
.slider-applicazioni img{
	height: 550px;
    object-fit: cover;
}
.slider-applicazioni .dipl_image_card_content_wrapper{
	position: absolute;
    z-index: 90;
    bottom: 0;
}
.slider-applicazioni .dipl_image_card_image_wrapper:before{
	content:'';
	background-color:#00000052;
	width:100%;
	height:100%;
	z-index: 50;
	position:absolute;
	border-radius:8px;
}
/*--------SCHEDA PRODOTTO--------*/
.indaweb-pdf-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.indaweb-pdf-item{
  text-align: center;
}

.indaweb-pdf-icon-wrap{
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}
.indaweb-pdf-icon-wrap img{
	width:15%;
}
.indaweb-pdf-icon{
  max-width: 90px;
  height: auto;
  display: block;
}
.indaweb-pdf-content h3{
	font-size:18px;
}
.indaweb-pdf-content p{
	font-size:15px;
}
.indaweb-pdf-content *:first-child{
  margin-top: 0;
}

.indaweb-pdf-content *:last-child{
  margin-bottom: 0;
}
.single-product .woocommerce-product-attributes-item__value a{
	color:#000!important;
	pointer-events:none!important;
}
/* Tablet: 2 colonne */
@media (max-width: 980px){
  .indaweb-pdf-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 colonna */
@media (max-width: 767px){
  .indaweb-pdf-grid{
    grid-template-columns: 1fr;
  }

  .indaweb-pdf-icon{
    max-width: 70px;
  }
}
.tabella-attributi .et_pb_tabs_controls.clearfix, .tabella-attributi span, .tabella-attributi h2{
	display:none!important;
}
.tabella-attributi .et_pb_tab{
	padding:0!important;
}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td  {
	width:50%!important;
}
.woocommerce table.shop_attributes {
	margin-bottom:0!important;
}

.tabella-attributi .woocommerce-product-attributes-item__value p {
	font-style: normal!important;
}
/*-----------Campi Applicazione---------*/
.campi-applicazione .effect-lily{
	height:40vh!important;
}
.campi-applicazione .effect-lily img{
	object-fit:cover!important;
}