/*
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 {
	font-size: 30px;
	line-height: 40px;
	color: var(--white);
	text-transform: uppercase;
}









.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;
    object-fit: contain;
}
.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;
}
@media (max-width: 900px) {
  .ytabs-horizontal {
    flex-direction: column !important;
    height: auto;
  }
  .ytabs-horizontal .ybox-products,
  .ytabs-horizontal:hover .ybox-products,
  .ytabs-horizontal .ybox-products:hover,
  .ytabs-horizontal .ybox-products.is-active {
    flex: none;
  }
  .ytabs-horizontal .ybox-products {
    min-height: 240px;
  }
}
/* 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;
}
