/** Shopify CDN: Minification failed

Line 35:37 Expected identifier but found whitespace
Line 35:39 Unexpected "{"
Line 35:48 Expected ":"
Line 42:13 Expected identifier but found whitespace
Line 42:15 Unexpected "{"
Line 42:24 Expected ":"
Line 43:10 Expected identifier but found whitespace
Line 43:12 Unexpected "{"
Line 43:21 Expected ":"
Line 56:8 Expected identifier but found whitespace
... and 30 more hidden warnings

**/


/* CSS from section stylesheet tags */
.style-hero {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 70vh, 780px);
  overflow: hidden;
  color: #fff;
  isolation: isolate; /* per z-index stacking */
}

/* IMG full-bleed */
.style-hero__media {
  position: absolute; inset: 0;
  z-index: -2;
}
.style-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: {{ section.settings.focal_point | default: "center center" }};
  display: block;
}

/* Overlay */
.style-hero__overlay {
  position: absolute; inset: 0;
  background: {{ section.settings.overlay_color }};
  opacity: {{ section.settings.overlay_opacity | divided_by: 100.0 }};
  z-index: -1;
}

/* Maxi testo centrale, dietro al soggetto */
.style-hero__bigtext {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(56px, {{ section.settings.bigtext_scale }}vw, 180px);
  color: {{ section.settings.bigtext_color }};
  opacity: {{ section.settings.bigtext_opacity | divided_by: 100.0 }};
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: {{ section.settings.bigtext_blend }};
  /* effetto bold “gommoso” */
  -webkit-text-stroke: {{ section.settings.bigtext_stroke_width }}px rgba(0,0,0,{{ section.settings.bigtext_stroke_opacity | divided_by: 100.0 }});
  text-shadow:
    0 2px 0 rgba(0,0,0,0.02),
    0 8px 18px rgba(0,0,0,0.25);
}

/* Contenuto */
.style-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(24px, 4vw, 48px);
  min-height: inherit;
}
.style-hero__stack {
  max-width: min(92vw, 900px);
  display: grid;
  gap: clamp(10px, 2.2vw, 18px);
}
.style-hero__title {
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.style-hero__sub {
  font-size: clamp(14px, 1.4vw, 18px);
  opacity: 0.92;
  margin: 0 auto;
  max-width: 60ch;
}

/* CTA */
.style-hero__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.style-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.style-btn--primary {
  background: {{ section.settings.primary_bg }}; color: {{ section.settings.primary_fg }};
}
.style-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0,0,0,0.22); }

.style-btn--ghost {
  background: transparent; color: {{ section.settings.ghost_fg }};
  border: 2px solid currentColor;
  box-shadow: none;
}
.style-btn--ghost:hover { transform: translateY(-1px); }

/* Mobile fine-tuning */
@media (max-width: 640px) {
  .style-hero__bigtext { letter-spacing: -0.01em; }
}
.horizontal-scroll-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 1rem 0;
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.card-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  animation: scroll-track linear infinite;
  white-space: nowrap;
}

.card-track.paused {
  animation-play-state: paused;
}

@keyframes scroll-track {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.horizontal-card {
  min-width: 250px;
  max-width: 300px;
  background: var(--card-bg-color, white);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  white-space: normal;
}

.horizontal-card:hover {
  transform: scale(1.05);
}

.horizontal-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
:root {
  --header-bg-color: {{ section.settings.background_color }};
  --header-accent-color: {{ section.settings.accent_color }};
  --header-text-color: {{ section.settings.text_color }};
  --header-height: 80px;
}

/* Base Header Styles */
.custom-header {
  background-color: var(--header-bg-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.custom-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1.5rem;
}

.custom-header__left,
.custom-header__center,
.custom-header__right {
  flex: 1;
}

.custom-header__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.custom-header__center {
  display: flex;
  justify-content: center;
}

/* Hamburger Toggle */
.custom-header__toggle {
  background: transparent;
  border: 2px solid var(--header-accent-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
}

.custom-header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--header-accent-color);
  transition: transform 0.3s ease;
}

/* Logo Styles */
.custom-header__logo-link {
  text-decoration: none;
  color: var(--header-text-color);
}
.custom-header__logo-link img {
  display: block;
  max-height: 40px;
  width: auto;
}
.custom-header__logo-link--desktop {
  display: none; /* Hidden on mobile */
}

/* Slide-out Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: var(--header-bg-color);
  z-index: 102;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
}

.mobile-menu__close-btn {
  background: none;
  border: none;
  color: var(--header-text-color);
  cursor: pointer;
}
.mobile-menu__close-btn svg {
  width: 30px;
  height: 30px;
}

.mobile-menu__nav {
  list-style: none;
  padding: 2rem;
  margin: 0;
}

.mobile-menu__nav-link {
  display: block;
  color: var(--header-text-color);
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0.8rem 0;
  transition: color 0.2s ease;
}
.mobile-menu__nav-link:hover {
  color: var(--header-accent-color);
}

/* Overlay for background */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s 0.4s linear;
}
.menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* Desktop Styles (min-width: 990px) */
@media screen and (min-width: 990px) {
  .custom-header__logo-link--mobile {
    display: none; /* Hide mobile logo on desktop */
  }
  .custom-header__logo-link--desktop {
    display: block; /* Show desktop logo */
  }
  .custom-header__logo-link--desktop img {
    max-height: 50px;
  }
}
.carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.card-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;                /* spazio uniforme tra TUTTE le card */
  will-change: transform;
  animation: marquee linear infinite;
  /* Valore impostato via JS dalla setting: durata di un giro */
  --duration: 20s;
}

/* Pausa */
.card-track.paused { animation-play-state: paused; }

/* Movimento: da 0 a -50% della larghezza del track,
   con DOPPIO set di card -> loop perfetto */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.horizontal-card {
  box-sizing: border-box;
  width: 280px;            /* fisso = nessun “taglio” a metà card */
  background: var(--card-bg-color, #fff);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex: 0 0 auto;          /* niente shrink, niente wrap */
  transition: transform 0.3s ease;
}

.horizontal-card:hover { transform: scale(1.05); }

.horizontal-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.horizontal-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .card-track { animation: none !important; transform: none !important; }
}