/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/
.mobilemenu-item{
color:white !important;
font-weight:700;
}
@media (max-width: 959px) {
	.menu-mobile-default .menu-smart a{padding-left:0px !important;}
.menu-item .unmenu-title span {
  font-family: 'Helvetica Neue Light', Helvetica, Arial, sans-serif !important;
color:white !important;
}
	.unmenu-block a span {
  font-family: 'Helvetica Neue Light', Helvetica, Arial, sans-serif !important;
		color:white !important;
}
.menu-item-has-children > .unmenu-title {
  display: flex;
  align-items: center;
  width: 100%;
}
.unmenu-title {
	padding-bottom: 12px;}
.menu-item-has-children > .unmenu-title span {
  flex: 1;
}

.menu-item-has-children > .unmenu-title::after {
  content: "›";
  transition: transform 0.25s ease;
  opacity: 0.6;
color:white;
}

/* stato chiuso */
.menu-item-has-children.un-submenu-closed > .unmenu-title::after {
  transform: rotate(0deg);
}

/* stato aperto → punta verso il basso */
.menu-item-has-children.un-submenu-open > .unmenu-title::after {
  transform: rotate(90deg);
}
.menu-item:not(:last-child) > .unmenu-title {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}}

.white .social-icon > a{color: white !important;}

.daleo-related-grid{
  display:grid;
  gap:20px;
  margin-top:16px;
}
.daleo-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Gestione dell'aspect ratio per l'elemento singolo */
.daleo-cols-1 > * {
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.daleo-cols-2{ 
  grid-template-columns:repeat(2, minmax(0,1fr)); 
}

.daleo-cols-3{ 
  grid-template-columns:repeat(3, minmax(0,1fr)); 
}

.daleo-cols-4{ 
  grid-template-columns:repeat(4, minmax(0,1fr)); 
}
.daleo-cols-5{ grid-template-columns:repeat(5, minmax(0,1fr)); }

@media (max-width: 569px){
  .daleo-related-grid {
  justify-items: center !important;
}
}

@media (max-width: 959px){
  .daleo-cols-3, 
  .daleo-cols-4,
  .daleo-cols-5{ 
    grid-template-columns:repeat(2, minmax(0,1fr)); 
  }
}

@media (max-width: 569px){
  .daleo-cols-2, 
  .daleo-cols-3, 
  .daleo-cols-4{ 
    grid-template-columns:1fr; 
  }
}

.daleo-ambiente-card{
  position:relative;
  min-height:220px;
  border-radius:14px;
  background-size:cover;
  background-position:center;
  overflow:hidden;
  text-decoration:none;
  display:flex;
  align-items:flex-end;
  padding:16px;
  width:-webkit-fill-available;
}

.daleo-ambienti-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05));
}

.daleo-ambienti-title{
  position:relative;
  z-index:1;
  color:#fff;
  font-weight:600;
}

/* Stile pagina Ambiente */
.img-hero-ambiente{}
.intro-ambiente{}
.testo-ambiente{}

/* Stile pagina prodotto in pronta consegna */
.nome-prodotto-header{font-size:clamp(1.8rem,5vw,3rem);}
.descrizione-prodotto-header{font-size:clamp(1rem,2vw,1.5rem);}

.text-white, .text-white > *{color:white;}

.forminator-guttenberg .forminator-input, .forminator-textarea{border:2px solid grey;}

//ScrollTrigger per sezioni con GSAP
.scroll-video-section {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 250vh !important;
}

.scroll-video {
  position: sticky !important;
  top: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 56.25vw !important; /* 16:9 basato sulla width */
  max-height: 100vh !important;
  min-height: 220px !important;
  object-fit: cover !important;
  background: #000 !important;
}

@media (max-width: 959px) {
  .scroll-video-section {
    height: auto !important;
  }

  .servizi-fase-uno::after{display:none;}

  .scroll-video {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 56.25vw !important;
    min-height: 220px !important;
    max-height: none !important;
  }
}
.fasi-row {
  position: relative;
}

.fasi-row servizi-fase-uno {
  position: relative;
}

/* linea centrale */
.servizi-fase-uno::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 85%;
  width: 50%;
  border-top: 2px dashed #cfcfcf;
  transform: translateY(-50%);
  z-index: 0;
}

.promozione-template-default .prezzo .detail-value {
  position: relative;
  display: inline-block;
  color: #777;
}

.promozione-template-default .prezzo .detail-value::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 2px;
  background: #c62828;
  transform: rotate(-8deg);
}

@font-face {
  font-display: swap;
  font-family: 'Helvetica Neue Light';
  font-style: normal;
  src: url('fonts/HelveticaNeueLTW0545Light.otf') format('otf');
}
@font-face {
  font-display: swap;
  font-family: 'Helvetica Neue Roman';
  font-style: normal;
  src: url('fonts/HelveticaNeueLTW0555Roman.otf') format('otf');
}
@font-face {
  font-display: swap;
  font-family: 'Helvetica Neue Heavy';
  font-style: normal;
  src: url('fonts/HelveticaNeueLTW0585Heavy.otf') format('otf');
}
@font-face {
  font-display: swap;
  font-family: 'Helvetica Neue LT W0 155 Roman';
  font-style: normal;
  src: url('fonts/HelveticaNeueLTW0155Roman.woff2') format('woff2');
}