/*
 Theme Name: Hello Elementor Child
 Template: hello-elementor
 Version: 1.0
*/


/* Font del progetto */
h1,h2,h3,h4,h5,h6,p,span, div, a{
	font-family: 'Gotham', sans-serif !important;
}

/* Carosello Prodotti HOME*/
.carousel {
  position: relative;
  z-index: 1;
  height: 145vh;
  overflow: hidden;
  pointer-events: none;
}

/* frecce di controllo */
.carousel-controls {
  position: absolute;
  top: 450px;
  right: 4%;
	
}
.carousel-controls span{
	color: #e0e0e0;
}
.contenitore-controlli {
  display: flex;
  gap: 10px;
  flex-direction: row;
  justify-content: start;
}
.contenitore-controlli-home{
  margin-top: 15px;
  justify-content: end !important;
}

.carousel-btn {
    background: #2c2c2c;
    color: #e0e0e0;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.2s ease;
	border: 1px solid #e0e0e0;
}
.carousel-btn:focus, .carousel-btn:focus {
    background: #2c2c2c;
}

.carousel-btn:hover {
    background: none;
}

.carousel-item {
	cursor: pointer;
  --items: 8;
  --width: clamp(150px, 30vw, 600px);
  --height: clamp(200px, 40vw, 550px);
  --x: calc(var(--active) * 750%);
  --y: calc(var(--active) * 150%);
  --rot: calc(var(--active) * 120deg);
  overflow: hidden;
  position: absolute;
  z-index: var(--zIndex);
  width: var(--width);
  border: 2px solid #e0e0e0;
  height: var(--height);
  margin: calc(var(--height) * -0.5) 0 0 calc(var(--width) * -0.5);
  border-radius: 10px;
  top: 50%;
  left: 50%;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transform-origin: 0% 100%;
  box-shadow: 0 10px 50px 10px rgba(0, 0, 0, 0.5);
  pointer-events: all;
  transform: translate(var(--x), var(--y)) rotate(var(--rot));
  transition: transform 0.8s cubic-bezier(0, 0.02, 0, 1);
}
.carousel-item .carousel-box {
  display: flex;
  align-items: end;
  z-index: 1;
  top: 0;
  left: 0;
  padding: 6% 5%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.carousel-item .carousel-box:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5));
}
.contenuto-box{
  border-top: 2px solid #e0e0e0;
  padding-top: 3%;
  width: 65%;
}
.carousel-item .titolo-prodotto {
  position: relative;
  z-index: 1;
  color: #e0e0e0;
  font-size: clamp(20px, 3vw, 30px);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 35px;
  font-weight: 600;
}

.bottone-prodotto{
  position: relative;
  z-index: 1;
  color: #e0e0e0;
  background-color: #7f7f7f;
  border: 1px solid #2c2c2c;
  border-radius: 25px;
  transition: 
	  background 0.4s ease,
	  color 0.4s ease,
	  border-color 0.4s ease;
  font-size: 20px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  padding: 2.5% 7%;
}
.bottone-prodotto:hover {
  background: none;
  border-color: #e0e0e0;
  color: #e0e0e0;
}


/* Media Query Tablet */
@media (min-width: 767px) and (max-width: 1024px){
	.carousel{
		height: 70vh;
	}
	.carousel-controls{
		top: 145px;
	}
	.contenuto-box{
		width: 85%;
	}
	.bottone-prodotto{
		font-size: 16px;
	}
	.carousel-item .titolo-prodotto{
		margin-bottom: 20px;
	}
	.carousel-item .carousel-box{
		padding: 10% 4%;
	}
}

/* Media Query Telefono */
@media (max-width: 767px){
	.carousel{
		height: 85vh;
	}
	.carousel-item{
		--width: clamp(270px, 30vw, 600px);
    	--height: clamp(375px, 40vw, 550px);
		--x: calc(var(--active) * 550%);
    	--y: calc(var(--active) * 50%);
	}
	.contenuto-box{
		width: 90%;
	}
	.bottone-prodotto{
		font-size: 16px;
	}
	.carousel-item .titolo-prodotto{
		margin-bottom: 20px;
	}
	.carousel-controls {
    position: absolute;
    top: 550px;
    left: 6%;
}
}

/* sezione FAQ */
.e-n-accordion-item-title{
  border-radius: 20px 20px 0px 0px !important;
	padding-top: 3% !important;
	padding-left: 3% !important;
	padding-right: 3% !important;
	transition: background-color 0.4s 
ease !important;
}
.e-n-accordion-item-body{
	  border-radius: 0px 0px 20px 20px !important;
	padding: 3% !important;
	transition: background-color 0.4s 
ease !important;
}

/* sezione contatti */
.pxl-contact-us-form{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center !important;
    justify-content: center;
}
.col-xl-6.col-lg-6.col-md-6.col-sm-6.col-12.pxl-field-wrap {
    width: 48%;
	background: none;
	border-bottom: 1px solid #e0e0e0;
}
.col-12{
	width: 98.5%;
	margin-top: 10px;
	
}
.wpcf7-list-item{
	color: #e0e0e0;
}
.wpcf7-list-item strong{
	color: #e0e0e0;
	text-decoration: underline;
}
.btn.pxl-btn-default.pxl-btn-large.pxl-btn-bg.pxl-btn-dark.pxl-hover-default.btn-submit {
  z-index: 1;
  color: #2c2c2c;
  background-color: #e0e0e0;
  border: 1px solid #2c2c2c;
  border-radius: 25px;
  transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
  font-size: 18px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  padding: 0.5% 4%;
}
input{
  background: none !important;
  border: none !important;
  color: #e0e0e0e0 !important;
  padding: 0 !important;
}
textarea{
	border-radius: 15px !important;
}

.testo-termini-condizioni{
	margin-bottom: 0px !important;
}
/* Media Query Tablet */
@media (min-width: 767px) and (max-width: 1024px){
	.col-xl-6.col-lg-6.col-md-6.col-sm-6.col-12.pxl-field-wrap{
		width: 47%;
	}
	span.wpcf7-list-item-label {
    	line-height: 1.4em;
}
}
/* Media Query Telefono*/
@media (max-width: 767px){
	.col-xl-6.col-lg-6.col-md-6.col-sm-6.col-12.pxl-field-wrap{
		width: 95%;
	}
	.wpcf7-list-item-label{
		line-height: 1.6em;
	}
}


/* Footer */
.paragrafo-no-margin{
	margin-bottom: 0px !important;
}

/* HEADER */
.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1001; /* sopra overlay blur */
}

/* MENU DESKTOP */
.scrolled{
	background-color: #2c2c2c !important;
}
.nav-menu {
    display: block;
}

.nav-menu .elenco-voci-menu {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-menu .voce-menu a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}



/* VOCE ATTIVA DESKTOP */
.nav-menu .voce-menu a.active {
    text-decoration: underline;
}
/* MENU MOBILE */
@media (max-width: 767px){
	.menu-sticky{
		background-color: #2c2c2c !important;
		border-bottom: 1px solid #c3c3c3;
	}
	.offcanvas a:hover{
		transform: none;
		color: #e0e0e0 !important;
	}
}
/* BURGER MENU */
.burger {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002; /* sopra overlay */
}

.burger span {
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    border-radius: 3px;
}

/* OFF CANVAS */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #111;
    color: #fff;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 1003;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.offcanvas.open {
    transform: translateX(0);
    opacity: 1;
}

.offcanvas .close-btn {
    align-self: flex-end;
    font-size: 28px;
    cursor: pointer;
}

.offcanvas ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.offcanvas a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover dinamico */
.nav-menu .voce-menu a,
.offcanvas a {
    display: inline-block; /* necessario per il translateX */
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu .voce-menu a:hover{
    transform: translateX(5px);
    opacity: 0.8 !important;
	color: #e0e0e0 !important;
}


/* OVERLAY SFOCATO */
.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1000;
    pointer-events: none;
}

.blur-overlay.active {
    opacity: 1 !important;
    pointer-events: auto;
}

/* MEDIA QUERY: sotto 1024px mostra burger menu e nascondi menu desktop */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .burger {
        display: flex;
    }
}
.offcanvas-menu .wpml-ls-legacy-list-horizontal, .offcanvas-menu .wpml-ls-link{
	padding: 0px;
}
.offcanvas-menu .wpml-ls-legacy-list-horizontal{
	margin-top: 55px;
}

.menu-sticky {
    transition: background-color 0.3s ease;
}

/* Stato dopo scroll */
.menu-sticky.scrolled {
    background-color: #2c2c2c;
	border-bottom: 1px solid #e0e0e0;
}

/* ============= SUBMENU DESKTOP (HOVER) ============= */

.nav-menu .has-submenu {
    position: relative;
}

.nav-menu .submenu {
    position: absolute;
    left: 0;
    background: #111;
    padding: 12px 0;
    list-style: none;
    min-width: 180px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-menu .has-submenu:hover .submenu {
    display: flex;
}

.nav-menu .submenu a {
    padding: 8px 16px;
    display: block;
	font-size: 1 em;
    color: #e0e0e0;
    text-decoration: none;
    white-space: nowrap;
}
.offcanvas-has-submenu .submenu li a{
	padding: 8px 16px;
    display: block;
	font-size: 1.1em;
    color: #e0e0e0;
    text-decoration: none;
    white-space: nowrap;
}
.nav-menu .submenu a:hover {
    background: #1a1a1a;
}


/* ========== OFFCANVAS SUBMENU ========== */
.offcanvas-has-submenu .submenu {
    list-style: none;
    padding-left: 10px;
    margin-top: 10px;
    flex-direction: column;
    gap: 8px;
	max-height: 0;            /* inizialmente chiuso */
    overflow: hidden;         /* nasconde il contenuto */
    transition: max-height 0.3s ease;
}

.offcanvas-has-submenu.open .submenu {
    display: flex;
}

/* Freccia per indicare submenu */
.toggle-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-submenu::after {
    content: "▾";
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.voce-sottomenu:after{
    content: "▾";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.offcanvas-has-submenu.open .toggle-submenu::after {
    transform: rotate(180deg);
}

.submenu.show{
	max-height: 300px;
}

/* sezione scroll gamma pagina shop */
.card-prodotto .bottone-prodotto{
	font-size: 16px;
}
.box-prodotto{
    height: 100%; 
    align-content: start !important;
}
.container-immagine{
    padding: 0px;
}
.img-evidenza-prod{
    border-radius: 25px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.contenuto-box-prodotto{
    padding: 2% 5% 7% 5%;
}
  .scroll-wrapper-gamma {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
.box-prodotto h3{
    color: #e0e0e0;
    margin-bottom: 30px;
}
.box-prodotto span{
    font-size: 0.8em !important;
    color: #e0e0e0;
}

  .scroll-container-gamma {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 35px;
    padding-top: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
    padding-left: 2%;
	padding-right: 10%;
  }

  .scroll-container-gamma::-webkit-scrollbar {
    display: none;
  }

  .card-prodotto {
    flex: 0 0 calc(60% - 20px);
    min-height: 45vh;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background: #2c2c2c;
  }

  .card-prodotto:hover {
    transform: scale(1.03);
  }
  
  @media (min-width: 767px) and (max-width: 1024px) {
	  .scroll-container-gamma{
		  gap: 15px;
	  }
    .card-prodotto {
      flex: 0 0 calc(90% - 20px);
	  min-height: 35vh;
    }
	.boundle{
	  flex: 0 0 calc(65% - 20px);
	  min-height: 30vh;
	}
  }

  @media(max-width: 768px) {
	  .scroll-container-gamma{
		  gap: 16px;
	  }
    .card-prodotto {
      flex: 0 0 calc(100% - 20px);
	  margin-left: 2%;
    }
	.boundle {
    flex: 0 0 calc(100% - 20px) !important;
}
	  
  }
.boundle{
	flex: 0 0 calc(35% - 20px);
}


/* Dettaglio di prodotto */
#wpgs-gallery img{
	margin: 0;
	width: 100%;
}
.wcgs-slider-image{
	width: 100%;
}
@media (max-width: 768px){
	.e-n-tab-title{
		padding: 5% 0% !important;
	}
}