/** Shopify CDN: Minification failed

Line 68:6 Expected identifier but found whitespace
Line 68:8 Unexpected "{"
Line 68:17 Expected ":"
Line 68:52 Expected ":"
Line 156:31 Expected identifier but found "/"
Line 248:0 Expected "}" to go with "{"

**/
  .animated-logo-header {
    position: relative;
    width: 100%;
  }
  
  .animated-logo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    text-align: center; 
    display: flex;
    justify-content: center;
  }
  
  .animated-logo-container.normal {
    background: transparent;
  }
  
  .animated-logo-container.merged {
    display: none; 
    background-color: transparent;
    padding: 2rem 1rem;
    box-sizing: border-box;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    border-bottom: none;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
  }

  .animated-logo-header.merged .animated-logo-container.normal {
    display: none;
  }
  .animated-logo-header.merged .animated-logo-container.merged {
    display: flex;
    justify-content: center;
  }
  
  .animated-logo-container.merged.bg-visible {
    background-color: #fff;
    border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
  }

  .animated-logo {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  
#logo-maison {
  position: absolute;
  top: {{ section.settings.logo_maison_distance }}px;
  margin-top: 1rem;
}

#logo-observe {
  position: absolute;
  top: auto;
  transition: top 0.3s ease-out;
  padding-bottom: 1rem;
}
  
  .logo-merged {
    display: inline-block;
  }
  
  @media screen and (max-width: 750px) {
    .animated-logo {
      transition: none !important;
    }
  }
  .animated-logo {
  opacity: 0;
  transition: opacity 0.3s ease;
}
  #logo-observe {
  transition: margin-top 0.3s ease-out;
}


  /* CSS COMPLETO PER BANNER */
  .is-hidden {
  display: none !important;
}
  
  @media (min-width: 1025px) {
.custom-hero-banner {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
  margin-bottom: -2rem !important;
  min-height: 595px; 
  aspect-ratio: 16/9;
   padding-bottom: 1rem;
}
  }
  @media (max-width: 1024px) {
  .custom-hero-banner {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
  margin-bottom: -2rem !important;
     padding-bottom: 1rem;
}
  }
/* Wrapper per l'immagine con gradient */
.custom-hero-banner__image-wrapper {
  position: relative;
  width: 100%;
  margin-bottom:-2rem;
}

.custom-hero-banner__image-wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.custom-hero-banner__image {
width: 100%;
  height: 100%;
  object-fit: contain; /* Mostra l'intera immagine senza ritagliarla */
  object-position: center top; /
  position: relative;
  z-index: 0;
}

/* 🔹 Nasconde l'immagine mobile su desktop */
.custom-hero-banner__image.mobile {
  display: none;
}

/* 🔹 Nasconde l'immagine desktop su mobile */
@media (max-width: 768px) {
  .custom-hero-banner__image.desktop {
    display: none;
  }
  .custom-hero-banner__image.mobile {
    display: block;
  }
}

/* 🔹 Testo sopra l'immagine */
.custom-hero-banner__content {
  position: absolute;
  z-index: 2;
  padding: 0 1rem;
  width: 100%;
  color: white;
  text-align: center;
  bottom: 15%;
}

.custom-hero-banner__title {
  font-size: 1.7rem;
  color: white;
  margin-bottom: -1.2rem;
}

.custom-hero-banner__subtitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.custom-hero-banner__buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* 🔹 Responsive Design */
@media (max-width: 1024px) {
  .custom-hero-banner__title {
    font-size: 1.7rem;
  }
  .custom-hero-banner__subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .custom-hero-banner__buttons {
    flex-direction: initial;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .custom-hero-banner__title {
    font-size: 1.6rem;
    margin-bottom: -0.8rem;
  }
  .custom-hero-banner__subtitle {
    font-size: 1.2rem;
  }
}
@media (min-width: 750px) {
.custom-hero-banner {
  min-height: 0px !important; aspect-ratio: unset !important; 
}

#logo-observe {
  position: absolute;   /* com’era prima, mantieni il posizionamento */
  top: 0;               /* il movimento lo fa il transform */
  will-change: transform, opacity;
}

.animated-logo {
  opacity: 0;
  transition: opacity .45s cubic-bezier(.19,1,.22,1);
}

