/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/
:root {
  --pink: #fd0140; /* global scope */
	--black: #000000;
	--white: #ffffff;
	--cyan: #00BCFC;
}
.main-titles h1,
.main-titles h2,
.main-titles h3,
.main-titles h4,
.main-titles p {
	font-size: 50px;
	line-height: 60px;
	margin-bottom: 30px;
}
.top-section {
	overflow: hidden;
	position: relative;
}
.top-section .l-section-h {
	height: 100%;
	display: flex;
    align-items: flex-end;
}
.text-topanimation {
	background: var(--pink);
	padding: 30px 0px;
	
}
.text-topanimation span,
.text-topanimation h1{
	font-size: 30px;
	line-height: 40px;
	color: var(--white);
	text-transform: uppercase;
	margin-bottom: 0px;
}









.text-topanimation {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.text-topanimation-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 25s linear infinite;
}

.text-topanimation-track span {
  padding-right: 10px;
  flex-shrink: 0;
}

/* LOOP PERFETTO */
@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.text-topanimation,
.text-topanimation * {
  white-space: nowrap;
}




.w-nav-control span {
	transform: rotate(-90deg);
	text-transform: uppercase;
	font-size: 12px;
	color: var(--white);
}
.yimage-logo img {
	height: 40px!important;
    object-fit: contain!important;
	mix-blend-mode: color-burn;
}
.w-nav-icon {
	margin-left: 0px;
}
.w-nav-icon {
	color: var(--white);
}
#page-header.sticky .w-nav-icon{
	color: var(--pink);
}
#page-header.sticky span {
	color: var(--black);
}
.img-shop {
	margin-bottom: 30px;
}
.ylist {
	list-style: none;
}
.ylist li {
	border-bottom: 1px solid var(--black);
	padding: 15px 10px;
}
.ytabs-horizontal {
  display: flex !important;
  gap: 0;
  overflow: hidden;
}
.ytabs-horizontal .ybox-products {
  position: relative;
  flex: 1 1 0;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  overflow: hidden;
  transition: flex 0.45s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
	min-height: 650px;
}
.ytabs-horizontal:hover .ybox-products {
  flex: 0.85 1 0;
}
.ytabs-horizontal .ybox-products:hover,
.ytabs-horizontal .ybox-products.is-active {
  flex: 1.4 1 0;
}
.ytabs-horizontal .ybox-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  transition: background 0.35s ease;
  z-index: 1;
  pointer-events: none;
}
.ytabs-horizontal .ybox-products:hover::before,
.ytabs-horizontal .ybox-products.is-active::before {
  background: rgba(0,0,0,0.08);
}
.ytabs-horizontal .ybox-products img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ytabs-horizontal .ybox-products .box-content,
.ytabs-horizontal .ybox-products .wpb_wrapper,
.ytabs-horizontal .ybox-products .w-text {
  position: relative;
  z-index: 2;
}

/* assicura contenitore corretto */
.ytabs-horizontal .ybox-products {
  position: relative;
  overflow: hidden;
}
/* fix wrapper WPBakery */
.ytabs-horizontal .ybox-products .vc_column-inner {
  height: 100%;
  position: relative;
}
.ytabs-horizontal .ybox-products .wpb_wrapper {
  height: 100%;
}
/* ===== TITOLO BASE (verticale) ===== */
.ytabs-horizontal .ybox-products h2 {
  position: absolute;
  left: 50px;
  bottom: 20px;
  margin: 0;
  color: var(--white);
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-size: 40px;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== STATO HOVER / ATTIVO ===== */
.ytabs-horizontal .ybox-products:hover h2,
.ytabs-horizontal .ybox-products.is-active h2 {
  transform: rotate(0deg);
  transform-origin: left bottom;
  left: 24px;
  bottom: 24px;
}
.ytabs-horizontal .ybox-products h2 {
  opacity: 0.8;
}
.ytabs-horizontal .ybox-products:hover h2 {
  opacity: 1;
  letter-spacing: -0.5px;
}
.clmn-home .vc_column-inner{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.ycontacts-box .w-iconbox-title {
	font-size: 20px;
}
.ycontacts-box:not(:last-child) {
	margin-bottom: 50px;
}
.cyan-section {
	background: var(--cyan);
}
.address-box:not(:last-child) {
	margin-bottom: 15px;
}
.contacts-title p,
.contacts-title h3,
.contacts-title h4 {
	text-transform: uppercase;
	margin-bottom: 10px;
	font-weight: 600;
}
.yrow-form p {
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
}
.yrow-form p label {
	width: 48%;
}
.footer-title {
	text-transform: uppercase;
}
.text-topanimation {
  width: 200%!important;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.text-topanimation__track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  animation: otticaMarquee 15s linear infinite;
  will-change: transform;
}
.text-topanimation__track span {
  display: inline-block;
  flex-shrink: 0;
  padding-right: 2rem; /* spazio tra fine e inizio */
}
@keyframes otticaMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
.logo-hp img {
	height: 60px;
	object-fit: contain;
}
.loghi-vista {
	margin: 0 auto;
}
.full-clmn .vc_column-inner {
	height: 100%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.full-clmn a {
	color: var(--pink);
}
.w-nav-icon {
	color: var(--pink)!important;
}
.w-nav-icon {
	z-index: 5!important;
}
.w-nav.type_mobile.m_layout_fullscreen .w-nav-list.level_1 .w-nav-close {
	display: none;
}
.ypopup-btn {
    position: absolute;
    left: 50%;
   top: 50%;
    transform: translateX(-50%);	
	width: 265px;
}
.ybox-products {
	position: relative;
}
.ybox-products:after {
	position: absolute;
	content: '';
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--cyan);
	opacity: 0;
	transition: 350ms;
}
.ybox-products:hover:after {
	opacity: 0.7;
}
.ybtn-gallery {
	position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 1;
	opacity: 0;
}
.ybox-products:hover .ybtn-gallery {
	opacity: 1;
}
@media (max-width: 767.98px) {

	/* Menu mobile */
	.ush_menu_1.type_mobile .w-nav-anchor.level_1 {
		font-size: 35px !important;
	}

	/* Testo scorrevole */
	.text-topanimation span,
	.text-topanimation h1{
		font-size: 24px;
		line-height: 24px;
	}

	/* ==================================================
	   BLOCCO CATEGORIE A FISARMONICA
	   ================================================== */

	.ytabs-horizontal {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 0 !important;

		width: 100% !important;
		height: 520px !important;
		min-height: 520px !important;

		overflow: hidden !important;
	}

	/* Colonne chiuse */
	.ytabs-horizontal > .ybox-products,
	.ytabs-horizontal:hover > .ybox-products,
	.ytabs-horizontal > .ybox-products:hover {
		position: relative !important;

		flex: 0 0 14% !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;

		height: 100% !important;
		min-height: 0 !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: hidden !important;

		background-size: cover !important;
		background-position: center !important;
		background-repeat: no-repeat !important;

		transition:
			flex-basis 0.45s cubic-bezier(0.4, 0, 0.2, 1),
			width 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
	}

	/* Colonna aperta */
	.ytabs-horizontal > .ybox-products.is-active,
	.ytabs-horizontal > .ybox-products.is-active:hover {
		flex: 0 0 58% !important;
	}

	/* Overlay scuro */
	.ytabs-horizontal > .ybox-products::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;

		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.42) 0%,
			rgba(0, 0, 0, 0.08) 55%,
			rgba(0, 0, 0, 0) 100%
		);

		pointer-events: none;
		transition: background 0.35s ease;
	}

	.ytabs-horizontal > .ybox-products.is-active::before {
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.32) 0%,
			rgba(0, 0, 0, 0.04) 55%,
			rgba(0, 0, 0, 0) 100%
		);
	}

	/* Disattiva l'overlay cyan presente nel CSS desktop */
	.ytabs-horizontal > .ybox-products::after {
		display: none !important;
	}

	/* ==================================================
	   CONTENITORE DEI TITOLI
	   ================================================== */

	.ytabs-horizontal > .ybox-products > .wpb_text_column {
		position: absolute !important;
		inset: 0 !important;
		z-index: 3 !important;

		width: 100% !important;
		height: 100% !important;

		margin: 0 !important;
		padding: 18px 0 !important;

		overflow: visible !important;
		pointer-events: none !important;
	}

	.ytabs-horizontal
	> .ybox-products
	> .wpb_text_column
	> .wpb_wrapper {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		width: 100% !important;
		height: 100% !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: visible !important;
	}

	/* Titoli: sempre verticali e centrati */
	.ytabs-horizontal .ybox-products h2,
	.ytabs-horizontal .ybox-products:hover h2,
	.ytabs-horizontal .ybox-products.is-active h2 {
		position: static !important;

		display: block !important;
		flex: 0 0 auto !important;

		width: auto !important;
		max-width: none !important;
		height: auto !important;
		max-height: none !important;

		margin: 0 !important;
		padding: 0 !important;

		color: var(--white) !important;
		font-size: 20px !important;
		font-weight: 400 !important;
		line-height: 1 !important;
		letter-spacing: 0 !important;

		white-space: nowrap !important;
		word-break: normal !important;
		overflow-wrap: normal !important;

		writing-mode: vertical-rl !important;
		text-orientation: mixed !important;

		transform: rotate(180deg) !important;
		transform-origin: center center !important;

		opacity: 1 !important;
		overflow: visible !important;
	}

	/* Pulsante nascosto su mobile */
	.ytabs-horizontal .ybtn-gallery,
	.ytabs-horizontal .w-btn-wrapper {
		display: none !important;
	}

	/* Link esteso su tutta la colonna */
	.ytabs-horizontal .w-vwrapper-link {
		position: absolute !important;
		inset: 0 !important;
		z-index: 5 !important;
		display: block !important;
	}


}
@media (min-width: 768px) and (max-width: 1279.98px) {
	.ush_menu_1.type_mobile .w-nav-anchor.level_1 {
    font-size: 35px!important;
}
	.text-topanimation span,
	.text-topanimation h1{
		font-size: 24px;
		line-height: 24px;
	}
		.ytabs-horizontal .ybox-products {
		width: 50%!important;
	}
	.ytabs-horizontal .ybox-products {
        min-height: 450px;
    }
    .ytabs-horizontal .ybox-products {
        min-height: 385px;
    }
	.main-titles h1, .main-titles h2, .main-titles h3, .main-titles h4, .main-titles p {
		font-size: 45px;
   		line-height: 48px;
		margin-bottom: 15px;
	}
		/* Menu */
	.ush_menu_1.type_mobile .w-nav-anchor.level_1 {
		font-size: 35px !important;
	}

	.text-topanimation span,
	.text-topanimation h1{
		font-size: 24px;
		line-height: 24px;
	}

	.main-titles h1,
	.main-titles h2,
	.main-titles h3,
	.main-titles h4,
	.main-titles p {
		font-size: 45px;
		line-height: 48px;
		margin-bottom: 15px;
	}

	/* ==========================================
	   CATEGORIE A FISARMONICA – TABLET
	   ========================================== */

	.ytabs-horizontal {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 0 !important;

		width: 100% !important;
		height: 540px !important;
		min-height: 540px !important;

		overflow: hidden !important;
	}

	/* Colonne chiuse */
	.ytabs-horizontal > .ybox-products,
	.ytabs-horizontal:hover > .ybox-products,
	.ytabs-horizontal > .ybox-products:hover {
		position: relative !important;

		flex: 0 0 18% !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;

		height: 100% !important;
		min-height: 0 !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: hidden !important;

		background-size: cover !important;
		background-position: center !important;
		background-repeat: no-repeat !important;

		transition:
			flex-basis 0.45s cubic-bezier(0.4, 0, 0.2, 1),
			width 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
	}

	/* Colonna attiva */
	.ytabs-horizontal > .ybox-products.is-active,
	.ytabs-horizontal > .ybox-products.is-active:hover {
		flex: 0 0 46% !important;
	}

	/* Overlay */
	.ytabs-horizontal > .ybox-products::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;

		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.42) 0%,
			rgba(0, 0, 0, 0.08) 55%,
			rgba(0, 0, 0, 0) 100%
		);

		pointer-events: none;
		transition: background 0.35s ease;
	}

	.ytabs-horizontal > .ybox-products.is-active::before {
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.30) 0%,
			rgba(0, 0, 0, 0.04) 55%,
			rgba(0, 0, 0, 0) 100%
		);
	}

	/* Disattiva l'overlay cyan desktop */
	.ytabs-horizontal > .ybox-products::after {
		display: none !important;
	}

	/* ==========================================
	   TITOLI
	   ========================================== */

	.ytabs-horizontal > .ybox-products > .wpb_text_column {
		position: absolute !important;
		inset: 0 !important;
		z-index: 3 !important;

		width: 100% !important;
		height: 100% !important;

		margin: 0 !important;
		padding: 24px 0 !important;

		overflow: visible !important;
		pointer-events: none !important;
	}

	.ytabs-horizontal
	> .ybox-products
	> .wpb_text_column
	> .wpb_wrapper {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		width: 100% !important;
		height: 100% !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow: visible !important;
	}

	/* Tutti i titoli verticali e centrati */
	.ytabs-horizontal .ybox-products h2,
	.ytabs-horizontal .ybox-products:hover h2,
	.ytabs-horizontal .ybox-products.is-active h2,
	.ytabs-horizontal .ybox-products.is-active:hover h2 {
		position: static !important;

		display: block !important;
		flex: 0 0 auto !important;

		width: auto !important;
		max-width: none !important;
		height: auto !important;
		max-height: none !important;

		margin: 0 !important;
		padding: 0 !important;

		color: var(--white) !important;
		font-size: 27px !important;
		font-weight: 400 !important;
		line-height: 1 !important;
		letter-spacing: 0 !important;

		white-space: nowrap !important;
		word-break: normal !important;
		overflow-wrap: normal !important;

		writing-mode: vertical-rl !important;
		text-orientation: mixed !important;

		transform: rotate(180deg) !important;
		transform-origin: center center !important;

		opacity: 1 !important;
		overflow: visible !important;
	}

	/* Nasconde i pulsanti */
	.ytabs-horizontal .ybtn-gallery,
	.ytabs-horizontal .w-btn-wrapper {
		display: none !important;
	}

	/* Link su tutta la categoria */
	.ytabs-horizontal .w-vwrapper-link {
		position: absolute !important;
		inset: 0 !important;
		z-index: 5 !important;
		display: block !important;
	}
}






