* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background-color: #F4F0E2;
  color: #1C1C1C;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}


h1:not(.slogan), h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  color: #8B2C2B;
}

.sidebar a,
button,
label,
input,
textarea,
select,
a {
  font-family: 'Quicksand', sans-serif;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 240px;
  height: 100vh;
  background-color: #8B2C2B;
  color: white;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  padding-top: 130px;
}

.sidebar.active {
  transform: translateX(0%);
}

.sidebar a {
  display: block;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-size: 1.1em;
}

.sidebar a:hover {
  background-color: #721F1E;
}

.sidebar-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  height: 60px; /* o altezza logo */
  overflow: hidden;
  padding: 16px 0 12px 0;
  margin-top: -100px; /* per portarlo sopra le voci visibili */
  z-index: 1;
  position: relative;
}

.sidebar-logo img.logo-sidebar {
  height: 50px;
  max-width: 80%;
  object-fit: contain;
}

.sidebar.active .sidebar-logo {
  opacity: 1;
}

.main-wrapper {
  flex-grow: 1;
  padding: 100px 30px 40px; /* spazio per la navbar */
  box-sizing: border-box;
}

.main-content {
  width: 100%;
  padding: 40px 35px;
  margin: 0 auto;
  background: transparent; /* ← niente bianco */
}

h1 {
  margin-bottom: 0.6em;
  font-weight: 600;
  color: #8B2C2B;
  font-size: 2em;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  cursor: pointer;
  padding: 12px 20px;
  background-color: #FFF8F4;
  border-radius: 6px;
  font-weight: 600;
  color: #8B2C2B;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #F2E5E4;
}

.faq-answer {
  display: none;
  padding: 15px 20px 20px;
  color: #1C1C1C;
}

footer {
  text-align: center;
  color: #8B2C2B;
  font-size: 0.9em;
  margin-top: 40px;
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: none;
  border: none;
  color: #8B2C2B;
  cursor: pointer;
  z-index: 1001;
  padding: 6px;  /* ✅ perfetto equilibrio per click e visibilità */
  margin: 0;     /* ✅ elimina lo sfasamento verticale */
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    right: 0; /* ✅ entra da destra */
    width: 220px;
    height: 100%;
    background-color: #8B2C2B;
    transform: translateX(100%); /* ✅ parte fuori a destra */
    transition: transform 0.3s ease;
    z-index: 10000;
    flex-direction: column;
    padding-top: 130px;
    display: flex;
  }

  .sidebar.active {
    transform: translateX(0); /* ✅ entra visibile */
  }
  .main-wrapper {
    padding-top: 80px;
  }

  .main-content {
    padding: 25px 20px;
  }
  .sidebar a {
    font-size: 0.95em;          /* ridotto di circa il 20% da 1.1em */
    padding: 12px 16px;         /* meno spazio verticale, più compatto */
  }
}

@media (min-width: 769px) and (max-width: 1399px) {
  .sidebar a {
    font-size: 1.15em;          /* un po' più grande rispetto al default */
    padding: 12px 20px;         /* padding leggermente aumentato */
  }
}

@media (max-width: 400px) {
  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    background-color: #8B2C2B;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    flex-direction: column;
    padding-top: 130px;
    display: flex;
}
  .sidebar a {
    font-size: 0.88em;         /* ancora più piccolo */
    padding: 10px 14px;         /* compattato per schermi strettissimi */
  }
}

@media (max-width: 1200px) and (orientation: landscape) {
  .sidebar {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
    padding: 130px 12px 12px 12px;
    gap: 0; /* nessuno spazio verticale tra le righe */
  }

  .sidebar a {
    width: 50%;
    box-sizing: border-box;
    font-size: 0.92rem;
    padding: 8px 8px;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1); /* linea separatrice leggera */
  }

  .sidebar a:nth-child(odd) {
    padding-right: 12px;
  }

  .sidebar a:nth-child(even) {
    padding-left: 12px;
  }

}

label {
  display: block;
  margin-top: 16px;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: 14px;
  font-size: 1.1em;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #F9F8F4;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  color: #1C1C1C;
}

input::placeholder,
textarea::placeholder {
  color: #8B2C2B;
  opacity: 0.7;
  font-size: 1em;
}

button {
  border-radius: 16px;
  padding: 12px 24px;
  margin-top: 30px;
  background-color: #8B2C2B;
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button {
  background-color: #721F1E;
  color: #fff;
}

.row {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.row > div {
  flex: 1;
}

.hidden {
  display: none;
}

.tooltip {
  line-height: 1.6;
  margin-bottom: 1em;
  display: inline-block;
  font-size: 0.7em;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  background-color: #8B2C2B;
  color: #F4F0E2;
  border-radius: 50%;
  margin-left: 6px;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}

.team-photo {
  width: 80%; /* ridotta al 80% del contenitore */
  max-width: 400px; /* limite massimo */
  display: block;
  margin: 60px auto 0; /* ↑ distacco maggiore sopra */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.password-wrapper {
  position: relative;
}

.toggle-password-text {
  margin-top: 8px;
  background: none;
  border: none;
  font-size: 0.95em;
  color: #8B2C2B;
  cursor: pointer;
  text-decoration: underline;
  display: inline-block;
}

.griglia-trofei {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.trofeo {
  background-color: #F4F0E2;
  border: 2px solid #8B2C2B;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  color: #1c1c1c;
}

.trofeo.locked .badge-icon {
  filter: grayscale(100%) brightness(0.4);
  opacity: 0.7;
}

.trofeo .badge-title {
  color: #8B2C2B;
  font-weight: bold;
  margin-bottom: 8px;
}

.badge-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

.trofeo video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 320px;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.hero-banner {
  position: relative;
  width: 100%; /* 💥 ora davvero full screen */
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
}

.hero-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120vh; /* 👈 aggiunta altezza extra per il parallax */
  object-fit: cover; /* 👈 copre l'intera area, senza deformarsi */
  transform: translateY(0);
  transition: transform 0.1s ease-out;
  will-change: transform;
  z-index: 1;
}

.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: 'Outfit', sans-serif;
  text-align: center;
}

.hero-text-overlay h1 {
  font-size: 4rem;
.knob-container[data-id="filtro-collezionismo"] .rs-container {
  width: 125px !important;
  height: 125px !important;
}
.knob-container[data-id="filtro-collezionismo"] .rs-handle {
  width: 24px !important;
  height: 24px !important;
  margin: -12px 0 0 -6px !important;
}
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
}
.image-section {
  text-align: center;
  margin: 60px 0;
}

.group-photo {
  width: 95%;
  max-width: 1000px;
  border-radius: 12px;
  margin-top: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

p {
  margin-bottom: 1.6em;
  line-height: 1.8;
  font-size: 1.1em;
  letter-spacing: 0.3px;
}

ul li {
  margin-bottom: 0.8em;
}

ul {
  font-size: 1.1em;
  line-height: 1.8;
  padding-left: 1.6em; /* margine per far vedere bene il pallino */
  list-style-position: outside;
}

/* Sezioni offerta e vantaggi */
.offerta-section, .vantaggi-section {
  margin-top: 60px;
  padding: 40px 20px;
  background-color: transparent;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 769px) and (max-width: 1100px),
       (max-height: 500px) and (orientation: landscape) {
  .slogan {
    font-size: clamp(2.2rem, 4vw, 3rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.privacy-wrapper {
  max-width: 800px;
  margin: 100px auto 40px;
  padding: 0 20px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .privacy-wrapper { padding: 100px 20px 40px; }
}

/* Contatti e newsletter (sfondo bianco) */
.contatti-section {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.newsletter-section {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-top: 80px; /* 👈 ECCO LA DISTANZA */
}

/* Titoli */
.offerta-section h2, .vantaggi-section h2,
.contatti-section h2, .newsletter-section h2 {
  color: #8B2C2B;
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center; /* centra i box */
}

@media (max-width: 1400px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.box {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

.box img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.box h3 {
  color: #8B2C2B;
  font-size: 1.2em;
  margin: 10px 0 8px;
}

.box p {
  font-size: 0.95em;
  color: #333;
}

/* Form contatti e newsletter */
.contatti-section form,
.newsletter-section form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.newsletter-section input[type="email"],
.contatti-section input,
.contatti-section textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.newsletter-section button,
.contatti-section button {
  background-color: #8B2C2B;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}

.newsletter-section button:hover,
.contatti-section button:hover {
  background-color: #721F1E;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #F4F0E2;
  color: #8B2C2B;
  font-family: 'Raleway', sans-serif;
  padding: 20px;
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 99999999;
  display: none;
}

.cookie-banner a {
  color: #8B2C2B;
  text-decoration: underline;
}

.cookie-buttons {
  margin-top: 10px;
}

.btn-accetta, .btn-rifiuta, .btn-gestisci {
  margin: 0 5px;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: 'Quicksand', sans-serif;
}

.btn-accetta {
  background-color: #8B2C2B;
  color: #fff;
}

.btn-rifiuta {
  background-color: #fff;
  color: #8B2C2B;
  border: 2px solid #8B2C2B;
}

.btn-gestisci {
  background-color: white;
  color: #C9A86A;
  border: 2px solid #C9A86A;
}

.cookie-modal {
  position: fixed;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
  background: rgba(0,0,0,0.4);
  z-index: 1000000000;

  /* Centrazione anche se è display:block */
  display: grid;
  place-items: center;
}

.cookie-modal-box {
  background-color: #fff;
  color: #333;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  font-family: 'Raleway', sans-serif;
  position: relative;
}

.cookie-modal-actions {
  margin-top: 20px;
  text-align: right;
}

.cookie-modal-box form label {
  display: flex;
  align-items: flex-start; /* testo su più righe se serve, ma accanto */
  gap: 10px;
  margin: 10px 0;
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
  color: #333;
  line-height: 1.4;
  cursor: pointer;
}

.cookie-modal-box form input[type="checkbox"] {
  margin-top: 3px; /* riallinea visivamente il box rispetto al testo */
  accent-color: #8B2C2B;
  width: 18px;
  height: 18px;
}


.btn-salva, .btn-chiudi {
  margin-left: 10px;
  padding: 8px 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-salva {
  background-color: #8B2C2B;
  color: #F4F0E2;
}

.btn-chiudi {
  background-color: #ccc;
  color: #333;
}

.btn-accetta:hover {
  background-color: #a03b3a;
}

.btn-rifiuta:hover {
  background-color: #D2A1A1;
  color: #fff;
  border: 2px solid #D2A1A1;
}

.btn-gestisci:hover {
  background-color: #C9A86A;
  color: #fff;
  border-color: #C9A86A;
}

.btn-salva:hover {
  background-color: #a03b3a;
  color: #fff;
}

.btn-chiudi:hover {
  background-color: #bbb;
  color: #111;
}

.cookie-banner a:hover {
  color: #C9A86A;
  text-decoration: none;
}

/* Link contatti e suggerimenti chatbot */
.contact-links {
  margin-top: 60px;
  text-align: center;
  padding: 0 20px;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.social-icons a {
  color: #8B2C2B;
  text-decoration: none;
  font-size: 1.2em;
}

.chatbot-tips {
  margin-top: 60px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Quicksand', sans-serif;
  padding: 0 20px;
}

.chatbot-tips ul {
  padding-left: 20px;
  list-style-type: disc;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  background-color: #FFF8F4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10001;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.logo-navbar {
  height: 40px;
  display: block;
  object-fit: contain;
}

.navbar {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.navbar.hidden {
  transform: translateY(-100%);
}

/* Notifiche su Navbar */
.notif-btn {
  background: none;
  border: none;
  color: #C9A86A;
  font-size: 1.4rem;
  position: absolute;
  right: 50px;
  bottom: 20px;
  cursor: pointer;
}

.notif-count-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: #8B2C2B;
  color: #F4F0E2;
  font-size: 0.7rem;
  border-radius: 10px;
  padding: 2px 6px;
  font-weight: bold;
  display: none;
}

.notifiche-container {
  position: fixed;
  top: 110px;
  right: 20px;
  width: 280px;
  background-color: #F4F0E2;
  color: #8B2C2B;
  border: 1px solid #C9A86A;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 9999;
  padding: 12px;
}

.notifiche-container h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #8B2C2B;
}

.notifiche-lista {
  list-style: none;
  padding-left: 0;
  max-height: 160px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.notifiche-lista li {
  font-size: 0.85rem;
  margin-bottom: 6px;
  border-bottom: 1px solid #C9A86A;
  padding-bottom: 4px;
}

.btn-messaggi {
  width: 100%;
  background-color: #8B2C2B;
  color: #F4F0E2;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.slide-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.titolo-centrale {
  text-align: center;
}


@media (max-width: 768px) {
  .mission-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .mission-image {
    margin-top: 30px;
  }
}

.slogan-intro {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 20px 0; /* 👈 dimezza lo spazio sopra */
  background-color: #F4F0E2;
}

.slogan {
  max-width: 90%;
  font-size: clamp(3.5rem, 8vw, 6rem); /* 💥 più grande, dinamico */
  font-weight: 800;
  text-align: center;
  color: #8B2C2B;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .slogan {
    font-size: clamp(2.4rem, 5vw, 4rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


@media (min-width: 769px) and (max-width: 1100px),
       (max-height: 500px) and (orientation: landscape) {
  .slogan {
    font-size: clamp(2.2rem, 4vw, 3rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {
  .slogan {
    font-size: 2.2rem;
  }
}

.slogan-black {
  color: #000000;
}

.slogan-rosso {
  color: #8B2C2B;
}

.founders-section {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* 🔒 blocca il ritorno a capo */
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.mission-text,
.founders-text {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(0.95em, 2.5vw, 1.1em);
  line-height: 1.6;
  font-family: 'Quicksand', sans-serif;
}

@media (max-width: 450px) {
.founders-text {
    flex: 1 1 50%;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(0.8em, 2vw, 0.8em);
    line-height: 1.6;
    font-family: 'Quicksand', sans-serif;
 }
}

.mission-image,
.founders-image {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.mission-image .group-photo,
.founders-image .group-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 451px) and (max-width: 600px) {
.founders-image .group-photo {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
 }
}

@media (max-width: 450px) {
.founders-image .group-photo {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
 }
}

.main-footer {
  padding: 40px 20px;
  background-color: #FFF8F4;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  margin-top: 60px;
}

.footer-social {
  margin-bottom: 10px;
}

.footer-social p {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-social a {
  margin: 0 10px;
  font-size: 28px;
  color: #8B2C2B;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: #000;
}

.footer-copy {
  font-size: 0.9em;
  color: #8B2C2B;
  margin-top: 10px;
}

.founders-signatures {
  gap: 40px;
  margin-top: 40px;
}

.desktop-only {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founders-signatures .firma-img {
  max-height: 90px;       /* 📈 più grande e visibile */
  height: auto;
  width: auto;
  object-fit: contain;
  filter: contrast(130%) brightness(1.15); /* 🔆 ancora più leggibile */
  transition: transform 0.3s ease;
}

.founders-signatures .firma-img:hover {
  transform: scale(1.05); /* 🔍 effetto elegante al passaggio */
}


@media (max-width: 480px) {
  .founders-signatures .firma-img {
    max-height: 70px; /* 👈 così su schermi molto piccoli restano proporzionate */
  }
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 100vh;
  }

  .hero-banner-img {
    height: 100vh;
    object-fit: cover;
  }
}


.hero-logo-bottom-left {
  position: absolute;
  bottom: 5%;
  right: 5%;
  z-index: 10;
  pointer-events: none;
}

.hero-logo-bottom-left img {
  width: 20vw;
  max-width: 380px;
  min-width: 160px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  opacity: 0.95;
  transition: width 0.3s ease;
}

/* Tablet (max 1023px) */
@media screen and (max-width: 1023px) {
  .hero-logo-bottom-left {
    bottom: 4%;
    right: 4%;
  }

  .hero-logo-bottom-left img {
    width: 26vw;
    max-width: 320px;
  }
}

/* Mobile verticale (max 768px) */
}@media screen and (max-width: 768px) {
  .hero-logo-bottom-left {
    bottom: 3%;
    right: 3%;
  }

  .hero-logo-bottom-left img {
    width: 32vw;
    max-width: 240px;
  }
}

/* Mobile piccoli e landscape basso */
@media screen and (max-width: 600px), (orientation: landscape) and (max-height: 500px) {
  .hero-logo-bottom-left {
    bottom: 2%;
    right: 2%;
  }

  .hero-logo-bottom-left img {
    width: 36vw;
    max-width: 180px;
  }
}


/* Mostra solo su mobile */
.mobile-only {
  display: none;
}

@media screen and (max-width: 768px) {

  .founders-section {
    flex-direction: column;
  }

  .founders-text {
    order: 1;
  }

  .founders-image {
    order: 2;
    margin-top: 30px;
  }

  .founders-signatures.mobile-only {
    order: 3;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }
}

@media screen and (min-width: 1024px) {
  .mission-section {
    flex-direction: row;
  }

  .founders-section {
    flex-direction: row;
  }

  .mission-text {
    order: 1;
  }

  .mission-image {
    order: 2;
  }

  .founders-image {
    order: 1;
  }

  .founders-text {
    order: 2;
  }

  .founders-signatures.mobile-only {
    display: none !important;
  }

  .founders-signatures.desktop-only {
    display: flex !important;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .mission-section,
  .founders-section {
    flex-direction: column;
  }

  .mission-text,
  .founders-text {
    order: 1;
  }

  .mission-image,
  .founders-image {
    order: 2;
    margin-top: 30px;
  }

  .founders-signatures.mobile-only {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  .founders-signatures.desktop-only {
    display: none !important;
  }
}

@media (orientation: landscape) and (max-width: 1023px) and (max-height: 600px) {
  .mission-section,
  .founders-section {
    flex-direction: column !important;
  }

  .mission-text,
  .founders-text {
    order: 1;
  }

  .mission-image,
  .founders-image {
    order: 2;
    margin-top: 30px;
  }

  .founders-signatures.mobile-only {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  .founders-signatures.desktop-only {
    display: none !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) and (min-height: 601px) {
  .mission-section, .founders-section {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
  }

  .mission-text, .founders-text {
    font-size: 0.85em;
    line-height: 1.5;
    flex: 1 1 50%;
    min-width: 0;
  }

  .mission-image, .founders-image {
    flex: 1 1 50%;
    min-width: 0;
    justify-content: center;
  }

  .founders-signatures.mobile-only {
    display: none !important;
  }

  .founders-signatures.desktop-only {
    display: flex !important;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
  }
}


/* 🔁 ANIMAZIONI LENTE E FLUIDE */

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-text {
  opacity: 0.3;
  color: #999;
  transition: opacity 1.2s ease, color 1.2s ease;
}
.fade-text.visible {
  opacity: 1;
  color: #1C1C1C;
}

h2.slide-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}

h2.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
  text-align: center;
}

.offerta-section .box {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  will-change: transform;
  cursor: pointer;
}

.offerta-section .box:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.group-photo {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  will-change: transform;
  cursor: pointer;
}

.group-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.mission-section {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 100px 30px;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  width: 100%;
}

.video-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.mission-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  background-color: rgb(244 240 227 / 82%);
  padding: 40px;
  border-radius: 12px;
  max-height: 90vh;
  overflow-y: auto;
}

.mission-text {
  color: #1C1C1C;
}

/* Responsive .mission-content simile a .founders-text */
@media screen and (max-width: 600px) {
  body, html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
  }

  .main-wrapper, .main-content, .mission-section {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
  }

  .mission-section {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .video-background-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden;
    z-index: 0;
  }

  .video-background {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .mission-content {
    position: relative;
    z-index: 2;
    width: 88vw !important;
    padding: 4vw !important;
    max-width: 88vw;
    max-height: fit-content;
    box-sizing: border-box;
    background-color: rgb(244 240 227 / 82%);
    border-radius: 12px;
    font-size: clamp(0.65rem, 2.5vw, 0.95rem);  /* 🔽 più piccolo ancora */
    line-height: 1.4;
    overflow-wrap: break-word;
    overflow: hidden; /* 🔒 evita scroll */
  }

  .mission-content h1,
  .mission-content h2 {
    font-size: clamp(1rem, 4vw, 1.4rem); /* ⬅️ RIMPIAZZATO */
    line-height: 1.2;
    margin-bottom: 0.5em;
  }

  .mission-content p,
  .mission-content li {
    font-size: clamp(0.7rem, 2.3vw, 0.9rem); /* ⬅️ PIÙ PICCOLO */
  }
}

@media screen and (max-width: 349px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
  }

  .main-wrapper, .main-content, .mission-section {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
  }

  .mission-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* ⬅️ centrale come <600px */
    height: 100vh;
    min-height: 100vh;
  }

  .video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
  }

  .video-background {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .mission-content {
    position: relative;
    z-index: 2;
    width: 88vw !important;     /* ⬅️ identico a <600 */
    max-width: 88vw;
    padding: 4vw !important;
    max-height: fit-content;
    box-sizing: border-box;
    background-color: rgb(244 240 227 / 82%);
    border-radius: 12px;
    font-size: clamp(0.55rem, 2vw, 0.8rem); /* ⬅️ più piccolo */
    line-height: 1.4;
    overflow-wrap: break-word;
    overflow: hidden;
  }

  .mission-content h1,
  .mission-content h2 {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem); /* ⬅️ più piccolo */
    line-height: 1.2;
    margin-bottom: 0.5em;
  }

  .mission-content p,
  .mission-content li {
    font-size: clamp(0.6rem, 2vw, 0.8rem); /* ⬅️ più piccolo */
  }
}


@media screen and (min-width: 601px) and (max-width: 1399px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
  }

  .main-wrapper, .main-content, .mission-section {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
  }

  .mission-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
  }

  .video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
  }

  .video-background {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .mission-content {
    position: relative;
    z-index: 2;
    width: 88vw;
    padding: 4vw;
    box-sizing: border-box;
    background-color: rgb(244 240 227 / 82%);
    border-radius: 14px;
    font-size: clamp(0.85rem, 2.2vw, 1.15rem);
    line-height: 1.6;
    overflow-wrap: break-word;
    overflow: hidden;
    max-height: 90vh;
  }

  .mission-content h1,
  .mission-content h2 {
    font-size: clamp(1.3rem, 4.8vw, 2rem);
    margin-bottom: 0.8em;
    line-height: 1.3;
  }

  .mission-content p,
  .mission-content li {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
  }
}

@media screen and (max-width: 700px) and (max-height: 400px) {
  .mission-content {
    width: 88vw !important;
    max-width: 88vw;
    padding: 4vw !important;
    margin: 0 auto;
    max-height: fit-content;
    box-sizing: border-box;
    background-color: rgb(244 240 227 / 82%);
    border-radius: 12px;
    font-size: clamp(0.5rem, 2vw, 0.75rem);  /* più piccolo */
    line-height: 1.4;
    overflow-wrap: break-word;
    overflow: hidden;
  }

  .mission-content h1,
  .mission-content h2 {
    font-size: clamp(0.75rem, 3vw, 1rem); /* più compatto */
    line-height: 1.2;
    margin-bottom: 0.5em;
  }

  .mission-content p,
  .mission-content li {
    font-size: clamp(0.55rem, 1.8vw, 0.75rem);
  }
}


@media screen and (min-width: 701px) and (max-height: 500px) {
  .mission-content {
    max-height: 80vh;
    overflow-y: auto;
  }
}

@media screen and (min-width: 701px) and (max-height: 500px) and (orientation: landscape) {
  .mission-content {
    width: 88vw !important;
    max-width: 88vw;
    padding: 4vw !important;
    margin: 0 auto;
    max-height: fit-content;
    box-sizing: border-box;
    background-color: rgb(244 240 227 / 82%);
    border-radius: 12px;
    font-size: clamp(0.65rem, 2.5vw, 0.95rem);
    line-height: 1.4;
    overflow-wrap: break-word;
    overflow: hidden;
  }

  .mission-content h1,
  .mission-content h2 {
    font-size: clamp(1rem, 4vw, 1.4rem);
    margin-bottom: 0.5em;
    line-height: 1.2;
  }

  .mission-content p,
  .mission-content li {
    font-size: clamp(0.7rem, 2.3vw, 0.9rem);
  }
}


/* Sezione base */
.parti-con-noi-section {
  background-color: #8B2C2B;
  color: white;
  padding: 60px 20px;
  border-radius: 16px;
  margin-top: 80px;
  text-align: center;
  overflow: hidden;
}

.parti-con-noi-section h2,
.parti-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 80px;
  color: #C9A86A;
}

.parti-con-noi-subtitle {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.2em;
  margin-bottom: 50px;
  font-style: italic;
}

/* Container avanzato per scroll dinamico 769-1399px */
.parti-slider-container {
  overflow-x: auto;
  display: flex;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 20px 0;
  scroll-padding: 0 20px;
}

.parti-box {
  flex: 0 0 80%;
  scroll-snap-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.parti-box:hover {
  transform: scale(1.03);
  background-color: rgba(255, 255, 255, 0.2);
}

.parti-box h3 {
  color: white;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.parti-box p {
  font-size: 0.95em;
  color: white;
}

.numero-step {
  font-size: 2em;
<option value="pocketwifi">Pocket Wi-Fi</option>  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  color: white;
}

/* Bottoni */
.parti-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-white, .btn-white-outline {
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  min-width: 220px;
  text-align: center;
  transition: background 0.3s ease;
}

.btn-white {
  background: white;
  color: #8B2C2B;
}

.btn-white-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-white:hover {
  background-color: #f4f0e2;
}

.btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* Layout 3 box fissi solo ≥1400px */
@media (min-width: 1400px) {
  .parti-slider-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: unset;
  }

  .parti-box {
    flex: 1;
    scroll-snap-align: unset;
  }
}

/* Layout mobile stack <768px */
@media (max-width: 768px) {
  .parti-slider-container {
    flex-direction: column;
    scroll-snap-type: none;
    overflow-x: hidden;
  }

  .parti-box {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .parti-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-white,
  .btn-white-outline {
    width: 100%;
    max-width: 320px;
  }
}

.parti-ready {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-top: 60px;
  margin-bottom: 20px;
  color: #C9A86A;
  font-family: 'Playfair Display', serif;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.parti-ready.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (min-width: 769px) and (max-width: 1399px) {
  .slider-arrow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #C9A86A;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
    border: none;
    padding: 0;
  }

  .slider-arrow::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 5px solid #8B2C2B;
    border-right: 5px solid #8B2C2B;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .slider-arrow.left::after {
    transform: translate(-50%, -50%) rotate(-135deg);
  }

  .slider-arrow.right::after {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .slider-arrow.left {
    left: 10px;
  }

  .slider-arrow.right {
    right: 10px;
  }

  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
  }
}


.parti-slider-wrapper {
  position: relative;
}

/* Nascondi frecce sotto 768px e sopra 1399px */
@media (max-width: 768px), (min-width: 1400px) {
  .slider-arrow {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1399px) {
  .parti-slider-container {
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 30px;
    overflow-x: auto;
  }

  .parti-box {
    flex: 0 0 47%; /* mostra ~2 box per volta */
    scroll-snap-align: center;
  }
}

.parti-bg-wrapper {
  margin-bottom: 120px; /* Distanza maggiore da contatti */
}

/* Nasconde la scrollbar orizzontale visivamente ma mantiene lo scroll */
.parti-slider-container {
  scrollbar-width: none; /* Firefox */
}
.parti-slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.bestseller-section {
  background-color: #FFF8F4;
  color: #1C1C1C;
  padding: 60px 20px;
  border-radius: 16px;
  margin-top: 80px;
  text-align: center;
  overflow: hidden;
}

.bestseller-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 80px;
  color: #8B2C2B;
}

/* wrapper identico a parti */
.bestseller-slider-wrapper {
  position: relative;
}

/* da 769 a 1399px */
.bestseller-slider-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scroll-padding: 0 20px;
  scrollbar-width: none;
}

.bestseller-slider-container::-webkit-scrollbar {
  display: none;
}

.bestseller-box {
  flex: 0 0 47%;
  scroll-snap-align: center;
  background-color: white;
  border-radius: 16px;
  padding: 30px 20px;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.bestseller-box:hover {
  transform: scale(1.03);
  background-color: #FFF0EA;
}

.bestseller-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.bestseller-box h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #8B2C2B;
}

.bestseller-box p {
  font-size: 0.95em;
  margin-bottom: 20px;
}

.bestseller-btn {
  display: inline-block;
  background-color: #8B2C2B;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.bestseller-btn:hover {
  background-color: #721F1E;
}

/* layout 3 colonne fisse */
@media (min-width: 1400px) {
  .bestseller-slider-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: unset;
  }

  .bestseller-box {
    flex: 1;
    scroll-snap-align: unset;
  }

  .slider-arrow {
    display: none !important;
  }
}

/* layout mobile stacked */
@media (max-width: 768px) {
  .bestseller-slider-container {
    flex-direction: column;
    scroll-snap-type: none;
    overflow-x: hidden;
  }

  .bestseller-box {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .slider-arrow {
    display: none !important;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  animation: scrollFade 2.5s infinite;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 1;
}

.arrow-down {
  display: inline-block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #8B2C2B; /* rosso Yume */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: pulse 2s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.arrow-down::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  width: 20px;
  height: 20px;
  border-left: 5px solid #C9A86A;  /* oro Yume */
  border-bottom: 5px solid #C9A86A;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}


@keyframes scrollFade {
  0%   { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%  { transform: translateX(-50%) translateY(10px); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
  text-align: left;
}

.icon-list li {
  margin-bottom: 6px;
}

  border-color: #721F1E;.icon-list li i {
  color: #8B2C2B;
  margin-right: 8px;
}

.bestseller-box {
  position: relative; /* 🔑 necessario per posizionare il bottone */
  padding-bottom: 80px; /* spazio per evitare che il bottone si sovrapponga al testo */
}

.modern-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  text-decoration: none;
  color: #C9A86A;
  border: 2px solid #8B2C2B;
  background-color: #8B2C2B;
  border-radius: 12px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  z-index: 2;
}

.modern-btn i {
  font-size: 0.95em;
  transition: transform 0.3s ease;
}

.modern-btn:hover {
  background-color: #721F1E;
  color: white;
  border-color: #721F1E;
}

.modern-btn:hover i {
  transform: translateX(5px);
}


/* Pacchetti Flessibili */
.sartoria-section {
  padding: 80px 30px;
  background-color: #FFF8F4;
  text-align: center;
  border-radius: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.sartoria-section h2 {
  font-size: 2.5rem;
  color: #8B2C2B;
  margin-bottom: 30px;
}

.intro-text {
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sartoria-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.sartoria-box {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 300px;
  flex: 1;
  color: #F4F0E2; /* beige chiaro */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Overlay per migliorare il contrasto */
.sartoria-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* puoi anche usare #FFF8F4 con opacity */
  border-radius: 16px;
  z-index: 0;
}

/* Posizionamento del contenuto sopra l'overlay */
.sartoria-box > * {
  position: relative;
  z-index: 1;
}

.sartoria-box h3 {
  font-size: 1.4rem;
  color: #C9A86A; /* oro Yume */
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.sartoria-box p {
  color: #F4F0E2;
  font-size: 0.95rem;
}

.sartoria-filosofia {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  max-width: 800px;
  margin: 50px;
}

.sartoria-filosofia .check {
  color: #8B2C2B;
  font-weight: bold;
  margin-right: 6px;
}

.sartoria-slider-wrapper {
  position: relative;
}

@media (min-width: 769px) and (max-width: 1399px) {
  #sartoriaSliderGruppo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  #sartoriaSliderGruppo .sartoria-box {
    flex: none;
    scroll-snap-align: unset;
  }
}

@media (min-width: 769px) and (max-width: 1399px) {
  #sartoriaSlider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    scroll-padding: 0 20px; /* ✅ Uniformato */
    scrollbar-width: none;
  }

  #sartoriaSlider::-webkit-scrollbar {
    display: none;
  }

  .sartoria-box {
    flex: 0 0 47%; /* ✅ uguale a parti e bestseller */
    scroll-snap-align: center;
  }
}

@media (max-width: 768px), (min-width: 1400px) {
  .slider-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .sartoria-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;   /* 👈 centra i box */
    gap: 30px;
    overflow: visible;
  }

  .sartoria-box {
    width: 100%;
    max-width: 360px;       /* 👈 non supera mai 360px */
    min-height: 320px;      /* 👈 altezza minima sostenuta */
    margin: 0 auto;
  }
}

@media (min-width: 1400px) {
  .sartoria-slider-container {
    display: flex;                    /* ✅ NECESSARIO */
    flex-wrap: nowrap;               /* tutti su una riga */
    justify-content: space-between;  /* spaziatura tra i box */
    align-items: stretch;            /* opzionale: altezza coerente */
    gap: 40px;
  }

  .sartoria-box {
    flex: 1;
    max-width: 400px;                /* evita box larghi su schermi enormi */
    min-height: 300px;               /* evita box bassi = no tozzi */
  }
}

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 60px;
  flex-direction: column;
}

.hero-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

h1.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #8B2C2B;
  margin-bottom: 20px;
  text-align: center;
}
  border-color: #721F1E;
p.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 2vw, 1.6rem);
  font-weight: 400;
  color: #C9A86A;
  text-align: center;
}

/* ----- Sezione Pacchetti Flessibili (esclusi elementi già presenti) ----- */
.pacchetti-flex-section {
  background-color: #FFF8F4;
  padding: 80px 30px;
  border-radius: 16px;
  margin-top: 80px;
  text-align: center;
}

.pacchetti-flex-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 80px;
  color: #8B2C2B;
}

.pacchetti-slider-wrapper {
  position: relative;
}

.pacchetti-slider-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 769px) and (max-width: 1399px) {
  .pacchetti-slider-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1400px) {
  .pacchetti-slider-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.pacchetti-box {
  background-color: white;
  border-radius: 16px;
  padding: 30px 20px;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pacchetti-box:hover,
.pacchetti-box:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  background-color: #fffefc;
  outline: none;
}

.pacchetti-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.pacchetti-box h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #8B2C2B;
}

.pacchetti-box p {
  font-size: 0.95em;
  margin-bottom: 20px;
}

.pacchetti-box .icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.pacchetti-box .icon-list li {
  margin-bottom: 6px;
  font-size: 0.95em;
}

.pacchetti-box {
  position: relative; /* 🔑 necessario per il posizionamento assoluto del bottone */
  padding-bottom: 80px; /* 🔽 spazio per il bottone */
}

/* ===== STILE PER FILTRI VISUALI CIRCOLARI ===== */

.pacchetti-filtri-section {
  padding: 60px 30px;
  background-color: #FFF8F4;
  text-align: center;
}

.pacchetti-filtri-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 40px;
  color: #8B2C2B;
}

.filtro-sliders {
  display: grid;
  gap: 40px 30px;
  justify-content: center;
  padding: 20px;
  justify-items: center;
}

.knob-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
  gap: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-top: 50px;
}

.knob-icon-wrapper i {
  font-size: 22px;
  color: #8B2C2B;
  margin-left: 20px;
}

.knob-icon-wrapper:hover {
  transform: scale(1.05);
}

/* Versione responsive */
/* MOBILE: 2 knob per riga */
@media (max-width: 768px) {
  .filtro-sliders {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TABLET E DESKTOP MEDIO: 4-3-3 */
@media (min-width: 769px) and (max-width: 1399px) {
  .filtro-sliders {
    grid-template-columns: repeat(4, 1fr);
  }

  /* facoltativo: assicura che oltre il 4° vada a capo */
  .filtro-sliders .knob-container:nth-child(n+5) {
    grid-column: span 1;
  }
}

/* DESKTOP GRANDE: 5 per riga (5 + 5) */
@media (min-width: 1400px) {
  .filtro-sliders {
    grid-template-columns: repeat(5, 1fr);
  }
}


.knob-container {
  width: 100px;
  height: 100px;
  position: relative;
}
.knob-container input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  visibility: hidden;
  position: absolute;
}
.knob-container canvas {
  display: block;
  margin: 0 auto;
}

.filtro-submit-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  width: 100%;
  background-color: #FFF8F4; /* stesso colore del contenitore */
  z-index: 5;
  position: relative;
  min-height: 120px;
}

#applicaFiltri.modern-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
.knob-icon-wrapper i {
  font-size: 22px;
  color: #8B2C2B;
  margin-left: 20px;
}  text-decoration: none;
  color: #C9A86A; /* oro Yume */
  border: 2px solid #8B2C2B;
  background-color: #8B2C2B;
  border-radius: 12px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  z-index: 2;
  cursor: pointer;
}

#applicaFiltri.modern-btn:hover {
  background-color: #721F1E;
  color: white;
  border-color: #721F1E;
}

#applicaFiltri.modern-btn i {
  font-size: 0.95em;
  transition: transform 0.3s ease;
}

#applicaFiltri.modern-btn:hover i {
  transform: translateX(5px);
}

/* === roundSlider - Yume style === */
.rs-control {
  background-color: #FFF8F4 !important;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rs-range-color {
  background-color: #8B2C2B !important; /* rosso Yume */
}

.rs-path-color {
  background-color: #F4F0E2 !important; /* beige */
}

.rs-handle {
  background-color: #8B2C2B !important;
  border: 2px solid #F4F0E2;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.knob-container .rs-container {
  width: 128px !important;
  height: 128px !important;
}

.knob-container .rs-handle {
  width: 24px !important;
  height: 24px !important;
  margin: -12px 0 0 -6px !important;
}

.filtro-sliders {
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-bottom: 50px; /* Aggiunge spazio sotto */
  overflow: visible;
}

.knob-icon-wrapper {
  overflow: visible;
}


@media (max-width: 400px) {
  .knob-container .rs-container {
    width: 110px !important;
    height: 110px !important;
  }

  .knob-container .rs-handle {
    width: 20px !important;
    height: 20px !important;
    margin: -10px 0 0 -5px !important;
  }

  .knob-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    gap: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-top: 25px;
  }

  .knob-icon-wrapper i {
    font-size: 22px;
    color: #8B2C2B;
    margin-left: 0;
  }

  .rs-tooltip-text {
    font-family: Verdana, sans-serif;
    font-size: 11px !important;
    border-radius: 7px;
    text-align: center;
    color: inherit;
  }
}



.form-pacchetto-wrapper {
  position: relative;
  background-color: #FFF8F4;
  padding: 80px 30px;
  border-radius: 16px;
  margin: 80px auto;
  max-width: 1000px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.form-pacchetto-wrapper h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 40px;
  color: #8B2C2B;
  text-align: center;
}

#formPacchetto {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#formPacchetto label {
  font-weight: 600;
  color: #8B2C2B;
  margin-bottom: 10px;
}

#formPacchetto input,
#formPacchetto select,
#formPacchetto textarea {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 1em;
  background-color: #F9F8F4;
  font-family: 'Quicksand', sans-serif;
  color: #1C1C1C;
}

#formPacchetto textarea {
  resize: vertical;
}

#formPacchetto select[multiple] {
  height: auto;
  min-height: 160px;
}

/* Avvicina richieste aggiuntive al campo città */
#richieste {
  margin-top: -8px;
}

/* CAMERE dinamiche */
.camera-group {
  background-color: #F4F0E2;
  border: 1px solid #ccc;
  padding: 16px;
  border-radius: 10px;
  margin-top: 10px;
}

.camera-group label {
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.camera-group select {
  width: 100%;
  margin-bottom: 10px;
}

.rimuoviCamera {
  background-color: #8B2C2B;
  color: #C9A86A;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.9em;
  cursor: pointer;
}

.rimuoviCamera:hover {
  background-color: #721F1E;
}

/* FEEDBACK */
.form-feedback-msg {
  font-size: 1em;
  margin-top: 20px;
  text-align: center;
}

.form-feedback-msg.success {
  color: green;
  font-weight: bold;
}

.form-feedback-msg.error {
  color: red;
  font-weight: bold;
}

.max-msg,
.citta-counter-msg,
.errore-msg {
  font-size: 0.95em;
  color: #8B2C2B;
  font-style: italic;
  margin-top: 4px;
}

/* MODERN BTN coerente col sito */
.modern-btn {
  position: absolute;
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #C9A86A;
  background-color: transparent;
  border: 2px solid #C9A86A;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 40px;
}

.modern-btn:hover {
  background-color: #C9A86A;
  color: #8B2C2B;
}

/* Bottone + Aggiungi camera */
#aggiungiCamera.modern-btn {
  font-size: 0.95rem;
  padding: 10px 18px;
  position: relative;
  margin-top: 10px;
}

/* Contenitore per bottone invio in basso a dx */
.submit-container {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
}

/* MODAL riepilogo */
.riepilogo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.riepilogo-content {
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  font-family: 'Quicksand', sans-serif;
  color: #1C1C1C;
}

.riepilogo-content h3 {
  margin-bottom: 16px;
  color: #8B2C2B;
}

.riepilogo-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.riepilogo-content ul li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

/* Bottoni in riga e distanziati */
.riepilogo-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  position: relative; /* forza il contesto per override di modern-btn */
}

.riepilogo-buttons .modern-btn {
  position: static !important;  /* override posizione assoluta */
  flex: 1 1 45%;
  max-width: 200px;
  text-align: center;
  padding: 10px 20px;
}

/* Pulsante Annulla */
.annulla-btn {
  border: 2px solid #C9A86A;
  color: #C9A86A;
  background-color: transparent;
  font-weight: bold;
  border-radius: 12px;
  transition: background-color 0.3s, color 0.3s;
}

.annulla-btn:hover {
  background-color: #C9A86A;
  color: #fff;
}

/* Pulsante Conferma */
.conferma-btn {
  background-color: #8B2C2B;
  color: #C9A86A;
  border: none;
  font-weight: bold;
  border-radius: 12px;
  transition: background-color 0.3s, color 0.3s;
}

.conferma-btn:hover {
  background-color: #721F1E;
  color: white;
}

/* Responsive per mobile */
@media (max-width: 500px) {
  .riepilogo-buttons {
    flex-direction: column;
    align-items: center;
  }

  .riepilogo-buttons .modern-btn {
    max-width: 100%;
  }
}

/* 🔠 DIMENSIONI FORM PACCHETTO PER TUTTE LE RISOLUZIONI */

/* 1. Mobile piccoli: fino a 500px */
@media (max-width: 500px) {
  #formPacchetto input,
  #formPacchetto select,
  #formPacchetto textarea,
  #formPacchetto button {
    font-size: 18px;
    padding: 18px;
  }

  #formPacchetto label,
  .camera-box,
  .rimuoviCamera,
  .modern-btn,
  #formPacchetto button {
    font-size: 18px;
  }
}

/* 2. Smartphone medi: 501–768px */
@media (min-width: 501px) and (max-width: 768px) {
  #formPacchetto input,
  #formPacchetto select,
  #formPacchetto textarea,
  #formPacchetto button {
    font-size: 18px;
    padding: 12px;
  }

  #formPacchetto label,
  .camera-box,
  .rimuoviCamera,
  .modern-btn,
  #formPacchetto button {
    font-size: 18px;
  }
}

/* 3. Tablet e laptop medi: 769–1399px */
@media (min-width: 769px) and (max-width: 1399px) {
  #formPacchetto input,
  #formPacchetto select,
  #formPacchetto textarea,
  #formPacchetto button {
    font-size: 18.5px;
    padding: 12px 14px;
  }

  #formPacchetto label,
  .camera-box,
  .rimuoviCamera,
  .modern-btn,
  #formPacchetto button {
    font-size: 18.5px;
  }
}

/* 4. Desktop grandi: 1400px e oltre */
@media (min-width: 1400px) {
  #formPacchetto input,
  #formPacchetto select,
  #formPacchetto textarea,
  #formPacchetto button {
    font-size: 18.5px;
    padding: 14px 16px;
  }

  #formPacchetto label,
  .camera-box,
  .rimuoviCamera,
  .modern-btn,
  #formPacchetto button {
    font-size: 18.5px;
  }
}

@media (min-width: 769px) {
  .due-colonne {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
  }

  .due-colonne > div {
    flex: 1 1 48%;
  }
}

  /* 📅 Campi data (partenza e ritorno) */
  #formPacchetto input[type="date"] {
    max-width: 180px;
  }

  /* 👥 Campi numero persone (partecipanti, adulti, bambini) */
  #formPacchetto input[type="number"] {
    max-width: 80px;
  }

  /* 🧑‍💻 Campi testo principali (nome, cognome, email, conferma) */
  #formPacchetto input[type="text"],
  #formPacchetto input[type="email"] {
    max-width: 300px;
  }

  /* 🏙️ Selezione città (multiple) */
  #formPacchetto select#citta {
    max-width: 450px;
  }

  /* ✅ Altri select (trasporto, fascia prezzo, connettività, tipologia gruppo) */
  #formPacchetto select:not(#citta) {
    max-width: 260px;
  }

  /* 📝 Textarea (dettagli gruppo, richieste) */
  #formPacchetto textarea {
    max-width: 600px;
    width: 100%;
  }

  /* ➕ Bottone aggiungi camera */
  #aggiungiCamera.modern-btn {
    font-size: 18px;
    padding: 10px 18px;
    max-width: 230px;
    margin-left: 20px;
  }
}


/* Avatar fisso in basso a destra */
#yuki-chat-avatar {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #FFF8F4;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease;
}

#yuki-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

#yuki-chat-avatar:hover {
  transform: scale(1.05);
}

/* Chatbox */
#yuki-chatbox {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 320px;
  height: 450px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  font-family: 'Quicksand', sans-serif;
}

#yuki-chatbox.hidden {
  display: none;
}

.chatbox-header {
  background-color: #8B2C2B;
  color: white;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbox-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 0.95em;
  color: #1C1C1C;
}

.chatbox-input {
  display: flex;
  border-top: 1px solid #ccc;
}

.chatbox-input input {
  flex: 1;
  padding: 12px;
  border: none;
  outline: none;
}

.chatbox-input button {
  background-color: #8B2C2B;
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
}

@media screen and (min-width: 1400px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  html body .hero-title {
    font-size: clamp(3rem, 5vw, 5.8rem);
    text-align: center;
    margin-bottom: 1.2em;
  }

  html body .hero-subtitle {
    font-size: clamp(2rem, 3vw, 2.8rem);
    text-align: center;
    margin-bottom: 1.5em;
  }

  html body  .info-box {
    background-color: #fff;
    border: 1px solid #C9A86A;
    border-radius: 10px;
    margin: 20px auto;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 1800px;
    width: 100%;
  }

  html body .indice-info-utili h2,
  html body .info-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  html body  .info-toggle {
    font-size: 1.6rem;
    padding: 32px 36px;
    justify-content: space-between;
    gap: 40px;
  }

  html body .indice-lista {
    font-size: 1.4rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  html body .indice-lista li {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    font-size: 1.3rem;
  }

  html body .indice-lista li::before {
    font-size: 1.2rem;
    color: #8B2C2B;
    left: 0;
  }

  html body .info-toggle {
    font-size: 1.4rem;
    padding: 28px 32px;
  }

  html body .info-content {
    font-size: 1.3rem;
    padding: 0 32px;
  }

  html body .info-box.aperto .info-content {
    padding: 28px 32px;
    margin-left: 28px;
  }

  html body .info-box {
    margin: 24px 0;
  }

  html body .info-boxes-container {
    max-width: 1120px;
    padding: 0 30px;
    margin-left: auto;
    margin-right: auto;
  }

  html body .info-boxes-container > .info-box:last-child {
    margin-bottom: 60px;
  }
}



/* -------------------------------
   INFO UTILI - INDICE E BOX
-------------------------------- */
body .indice-info-utili {
  background-color: #FFF8F4 !important;
  padding: 40px 20px;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.indice-info-utili h2 {
  color: #8B2C2B;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.indice-lista {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  font-size: 1rem;
}

.indice-lista li a {
  color: #C9A86A;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.indice-lista li a:hover {
  color: #8B2C2B;
  text-decoration: underline;
}



/* -------------------------------
   INFO UTILI - TOGGLE BUTTON STYLE
-------------------------------- */
.info-toggle {
  all: unset; /* Reset totale stile browser */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #8B2C2B;
  color: #C9A86A;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 22px 20px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}


.info-toggle:hover {
  background-color: #a73a39;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

.info-box {
  background-color: #fff;
  border: 1px solid #C9A86A;
  border-radius: 10px;
  margin: 20px auto;
  font-family: 'Quicksand', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 800px; /* ✅ Box più piccolo e centrato */
  width: 90%;        /* ✅ Responsive su mobile */
}

.info-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.info-box.aperto .info-content {
  max-height: 400px;
  overflow-y: auto;
  margin-left: 20px;
}

/* -----------------------------
   Stile per sezione "Prima di partire"
------------------------------ */

.info-section {
  padding: 40px 20px;
}

.info-section h2 {
  color: #8B2C2B;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.info-boxes-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}


/* -------------------------------
   INFO UTILI – RESPONSIVE TABLET / MOBILE
-------------------------------- */

@media screen and (max-width: 768px) {
  .info-toggle {
    font-size: 0.85rem;
    padding: 14px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .info-content {
    font-size: 0.8rem;
    padding: 0 16px;
  }

  .info-box.aperto .info-content {
    padding: 14px 16px;
    margin-left: 20px;
  }

  .info-section h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
  }

  .indice-info-utili h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 4.2vw, 4.5rem);
    text-align: center;
    margin-bottom: 0.5em;
  }

  .hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    text-align: center;
    margin-bottom: 1em;
  }

  .indice-lista {
    padding-left: 0;
    list-style: none;
    text-align: left;
    margin: 0 auto;
    max-width: 90%;
  }


  .info-box.aperto .info-content {
    padding: 12px 14px;
    margin-left: 16px;
  }

  .indice-lista li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    padding-left: 1rem;
    position: relative;
  }

  .indice-lista li::before {
    content: "•";
    color: #8B2C2B;
    position: absolute;
    left: 0;
    font-weight: bold;
  }

  .info-box {
    margin: 16px 0;
  }
.info-boxes-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  margin-left: 20px;
}
}


/* 🔄 Transizione apertura box */
.info-content {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* 🔄 Transizione icona */
.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}


/* -------------------------------
   INFO UTILI – RESPONSIVE MOBILE
-------------------------------- */

@media screen and (max-width: 400px) {
  .info-toggle {
    font-size: 0.75rem;
    padding: 12px 16px;
  }

  .info-content {
    font-size: 0.7rem;
    padding: 0px 16px;
  }

  .info-section h2 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .indice-info-utili h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.4rem, 3.2vw, 4.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1.2rem, 2.0vw, 1.6rem);
  }
  
  .info-boxes-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  margin-left: 20px;
 
}
}

/* -------------------------------------
   FORM AREA CLIENTI (profilo.html)
------------------------------------- */
.info-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);

  display: flex;              /* ✅ necessario per align-self */
  flex-direction: column;     /* ✅ disposizione verticale */
  align-items: flex-start;    /* mantiene tutto allineato a sinistra tranne se specificato */
  gap: 20px;                  /* spaziatura elegante tra i blocchi */
}

.info-form .form-group {
  margin-bottom: 20px;
  width: 100%
}

.info-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Quicksand', sans-serif;
}

.info-form input[type="text"],
.info-form input[type="email"],
.info-form input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Quicksand', sans-serif;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #8B2C2B; /* colore coerente con palette */
  cursor: pointer;
}


/* -------------------------------------
   RESPONSIVE FORM PROFILO
------------------------------------- */

/* < 400px */
@media screen and (max-width: 400px) {
  .info-form {
    padding: 20px;
    margin: 20px 10px;
  }
}

/* 401–768px */
@media screen and (min-width: 401px) and (max-width: 768px) {
  .info-form {
    padding: 25px;
  }
}

/* 769–1399px */
@media screen and (min-width: 769px) and (max-width: 1399px) {
  .info-form {
    padding: 30px;
  }
}

/* ≥ 1400px */
@media screen and (min-width: 1400px) {
  .info-form {
    padding: 35px;
  }
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-wrapper input {
  flex: 1;
}

.toggle-visibility {
  background: none;
  border: none;
  font-size: 0.9rem;
  color: var(--rosso);
  cursor: pointer;
  padding: 0;
  font-family: 'Raleway', sans-serif;
}

.password-message,
.email-message {
  margin-top: 6px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Quicksand', sans-serif;
}

.password-message.ok,
.email-message.ok {
  color: #4CAF50;
}

.password-message.ko,
.email-message.ko {
  color: #D32F2F;
}

.icon-ok,
.icon-ko {
  font-size: 1rem;
}

/* Bottone Registrazione solo per form */
.modern-btn.form-submit {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #C9A86A;
  background-color: transparent;
  border: 2px solid #C9A86A;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  align-self: flex-end;  /* ✅ spostato a destra */
  margin-top: 30px;
}

@media screen and (min-width: 769px) {
  .info-form input[type="email"] {
    min-width: 400px;
  }
}


/* -------------------------------
   AREA CLIENTI – CONSULENZA FORM
-------------------------------- */

.consulenza-section {
  background-color: #F4F0E2;
  padding: 50px 20px;
  font-family: 'Quicksand', sans-serif;
  color: #1C1C1C;
  border-top: 1px solid #ddd;
}

.consulenza-section h3 {
  font-size: 1.6rem;
  color: #8B2C2B;
  margin-bottom: 20px;
}

#formConsulenza textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Quicksand', sans-serif;
  resize: vertical;
  box-sizing: border-box;
  background-color: white;
}

#formConsulenza .form-feedback {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

#formConsulenza button {
  margin-top: 15px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  color: #C9A86A;
  background-color: #8B2C2B;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;

@media (max-width: 500px) {
  .modern-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-width: 1.5px;
    border-radius: 12px;
  }
}}

#formConsulenza button:hover {
  background-color: #A53433;
}

.message-list li {
  background-color: white;
  border-left: 5px solid #8B2C2B;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.form-wrapper-operatori {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 20px;
}


/* LISTA MESSAGGI */
.message-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 650px;
  font-family: 'Quicksand', sans-serif;
}

.message-list .msg-item {
  background-color: #ffffff;
  border-left: 5px solid #8B2C2B;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background-color 0.3s ease;
  width: 100%;
}

.message-list .msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: #8B2C2B;
  font-size: 1rem;
}

.message-list .msg-preview {
  color: #1C1C1C;
  font-size: 1rem;
  line-height: 1.5;
  max-height: 4.5em;
  overflow: hidden;
  white-space: pre-wrap;
  word-wrap: break-word;
  transition: max-height 0.4s ease;
}

.message-list .msg-item.expanded .msg-preview {
  max-height: 1000px;
  padding-top: 4px;
  transition: max-height 0.4s ease;
}

.message-list .toggle-msg {
  background: none;
  border: none;
  color: #C9A86A;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  text-align: left;
  transition: color 0.3s ease;
}

.message-list .toggle-msg:hover {
  color: #8B2C2B;
}

@media screen and (min-width: 769px) {
  .message-list .msg-item {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 480px) {
  .message-list .msg-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .message-list .msg-preview {
    font-size: 0.95rem;
  }
}

/* Ingrandimento sezioni info-form per schermi medi e grandi */

/* Medium: 769–1399px */
@media screen and (min-width: 769px) and (max-width: 1399px) {
  .info-form {
    padding: 35px;
    font-size: 1.05rem;
    max-width: 900px;
    width: auto; 
 }

  .info-form h3 {
    font-size: 1.6rem;
  }

  .info-form label,
  .info-form input,
  .info-form textarea {
    font-size: 1.05rem;
  }

  .documenti-lista li a {
    font-size: 1.05rem;
  }

  .modern-btn {
    font-size: 1.05rem;
    padding: 12px 26px;
  }
}

/* Large: 1400px in su */
@media screen and (min-width: 1400px) {
  .info-form {
    padding: 45px;
    font-size: 1.15rem;
    max-width: 1200px;
    width: auto;
  }

  .info-form h3 {
    font-size: 1.8rem;
  }

  .info-form label,
  .info-form input,
  .info-form textarea {
    font-size: 1.15rem;
  }

  .documenti-lista li a {
    font-size: 1.15rem;
  }

  .modern-btn {
    font-size: 1.15rem;
    padding: 14px 30px;
  }
}


.reply-box {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reply-box textarea {
  width: 100%;
  font-family: 'Quicksand', sans-serif;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
}

.reply-box button.send-reply {
  align-self: flex-end;
  padding: 6px 12px;
  font-weight: 600;
  background-color: #8B2C2B;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.reply-box button.send-reply:hover {
  background-color: #A33332;
}

.reply-box.hidden {
  display: none;
}

#messaggioRisposta {
  width: 100%;
  min-height: 120px;
  font-size: 1rem;
  padding: 14px;
  resize: vertical;
  box-sizing: border-box;
  border-radius: 10px;
}
@media (min-width: 769px) and (max-width: 1399px) {
  #messaggioRisposta {
    min-height: 160px;
    font-size: 1.1rem;
    min-width: 600px;
  }
}

@media (min-width: 1400px) {
  #messaggioRisposta {
    min-height: 200px;
    font-size: 1.2rem;
    min-width: 900px;
  }
}

/* --------- CARD CONSULENZE VIAGGI SU MISURA --------- */

#consulenze-viaggi .pacchetti-slider-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

#consulenze-viaggi .pacchetti-box {
  background-color: white;
  border-radius: 16px;
  padding: 30px 20px;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 100%;
  max-width: 520px;
  min-height: 520px;
}

#consulenze-viaggi .pacchetti-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

#consulenze-viaggi .pacchetti-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

#consulenze-viaggi .pacchetti-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #8B2C2B;
}

#consulenze-viaggi .pacchetti-box p {
  font-size: 0.95em;
  margin-bottom: 16px;
}

#consulenze-viaggi .pacchetti-box .icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.95em;
}

#consulenze-viaggi .pacchetti-box .icon-list li {
  margin-bottom: 8px;
}

#consulenze-viaggi .price-tag {
  font-size: 1.05rem;
  font-weight: bold;
  color: #C9A86A;
  display: block;
  margin-bottom: 16px;
}

@media (min-width: 769px) and (max-width: 1399px) {
  #consulenze-viaggi .pacchetti-box {
    flex: 1 1 calc(50% - 40px);
  }
}

@media (min-width: 1400px) {
  #consulenze-viaggi .pacchetti-box {
    flex: 1 1 calc(33.333% - 40px);
    max-width: 420px;
  }
}

@media (max-width: 400px) {
  #consulenze-viaggi .pacchetti-box {
    padding: 20px 15px;
  }

  #consulenze-viaggi .pacchetti-box h3 {
    font-size: 1.1rem;
  }

  #consulenze-viaggi .pacchetti-box p,
  #consulenze-viaggi .pacchetti-box .icon-list li,
  #consulenze-viaggi .price-tag {
    font-size: 0.88em;
  }

  #consulenze-viaggi .modern-btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

/* ==== Layout Specifico per Sartoria Consulenze (Lite, Smart, Premium) ==== */
#sartoriaConsulenze {
  padding: 80px 30px;
  background-color: #FFF8F4;
  text-align: center;
  border-radius: 16px;
  margin-top: 80px;
}

#sartoriaConsulenze h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 50px;
  color: #8B2C2B;
}

#sartoriaConsulenze .sartoria-slider-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

#sartoriaConsulenze .sartoria-box {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: 40px 20px 80px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #F4F0E2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 100%;
  max-width: 100%;
  margin: 20px;
  min-height: 340px;
}

/* Overlay */
#sartoriaConsulenze .sartoria-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  z-index: 0;
}

#sartoriaConsulenze .sartoria-box > * {
  position: relative;
  z-index: 1;
}

#sartoriaConsulenze .sartoria-box h3 {
  font-size: 1.4rem;
  color: #C9A86A;
  margin-bottom: 10px;
}

#sartoriaConsulenze .sartoria-box p {
  color: #F4F0E2;
  font-size: 0.95rem;
  margin-bottom: auto;
}

#sartoriaConsulenze .sartoria-box .price-tag {
  font-weight: bold;
  margin-top: 20px;
  font-size: 1.1rem;
}

#sartoriaConsulenze .sartoria-box a.modern-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.9rem;
  padding: 10px 20px;
}

/* Desktop > 1400px (3 colonne) */
@media (min-width: 1400px) {
  #sartoriaConsulenze .sartoria-box {
    flex: 1 1 calc(33.33% - 40px);
    max-width: 420px;
  }
}

/* Tablet 769–1399px (2+1) */
@media (min-width: 769px) and (max-width: 1399px) {
  #sartoriaConsulenze .sartoria-box {
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
    margin: auto;
  }

  /* Fai andare SOLO la terza card (Premium) da sola e centrata */
  #sartoriaConsulenze .sartoria-box:nth-child(3) {
    flex: 1 1 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile ≤ 768px (1+1+1) */
@media (max-width: 768px) {
  #sartoriaConsulenze .sartoria-box {
    flex: 1 1 100%;
    max-width: 360px;
    margin: 0 auto 30px;
  }
}

/* Mobile Piccolo ≤ 400px */
@media (max-width: 400px) {
  #sartoriaConsulenze .sartoria-box {
    padding: 30px 15px 70px;
    min-height: 280px;
  }

  #sartoriaConsulenze .sartoria-box h3 {
    font-size: 1.2rem;
  }

  #sartoriaConsulenze .sartoria-box p {
    font-size: 0.9rem;
  }

  #sartoriaConsulenze .sartoria-box a.modern-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* ==== Sezione Funzionamento Consulenze ==== */
#funzionamento-consulenze.step-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px auto 80px;
  max-width: 1200px;
  padding: 0 20px;
}

.step-box {
  background-color: #fffefc;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 30px 20px 80px;
  text-align: center;
  flex: 1 1 calc(33.33% - 30px);
  max-width: 360px;
  min-height: 260px;
  position: relative;
  transition: transform 0.3s ease;
}

.step-box:hover {
  transform: translateY(-6px);
}

.step-box i {
  font-size: 2.4rem;
  color: #8B2C2B;
  margin-bottom: 15px;
  display: block;
}

.step-box h3 {
  color: #C9A86A;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-box p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .step-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .step-box {
    padding: 20px 15px 70px;
  }

  .step-box h3 {
    font-size: 1rem;
  }

  .step-box i {
    font-size: 2rem;
  }

  .step-box p {
    font-size: 0.9rem;
  }
}

/* ==== Sezione Yume Atelier – Servizi Consulente ==== */
.sartoria-servizi-section {
  padding: 80px 30px;
  background-color: #F4F0E2;
  border-radius: 16px;
  max-width: 1100px;
  margin: 0 auto 80px;
  text-align: center;
}

.sartoria-servizi-section h2 {
  color: #8B2C2B;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.sartoria-servizi-intro {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 40px;
  font-family: 'Quicksand', sans-serif;
}

.sartoria-servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.servizio-box {
  background: white;
  padding: 20px 18px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-family: 'Quicksand', sans-serif;
}

.servizio-box i {
  color: #8B2C2B;
  font-size: 1.2rem;
  margin-top: 4px;
}

/* Responsive adattivo */
@media (max-width: 500px) {
  .sartoria-servizi-section h2 {
    font-size: 1.6rem;
  }
  .servizio-box {
    font-size: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Fissa il contenuto e bottone in colonna verticale */
#consulenze-viaggi .pacchetti-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding-bottom: 80px; /* spazio extra per il bottone */
}

/* Modern-btn che si posiziona sempre in fondo */
#consulenze-viaggi .modern-btn mt-2 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0; /* elimina margine extra */
}

.btn-group-step {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 30px;
}

.btn-step {
  position: relative; /* rimuove il comportamento flottante */
  display: flex;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #C9A86A;
  background-color: transparent;
  border: 2px solid #C9A86A;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
}

.btn-step:hover {
  background-color: #C9A86A;
  color: #8B2C2B;
  border-color: #721F1E;
}

/* FIX solo per sartoria-box con doppio bottone */
#sartoriaConsulenze .sartoria-box {
  position: relative;
  padding-bottom: 80px; /* spazio in basso per i bottoni */
}

#sartoriaConsulenze .sartoria-box .button-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: row; /* bottoni affiancati */
  gap: 12px;
  z-index: 2;
}

/* Mantiene lo stile originale */
#sartoriaConsulenze .sartoria-box .button-container .modern-btn {
  position: static !important;
  color: #C9A86A;
  background-color: transparent;
  border: 2px solid #C9A86A;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0; /* rimuove il margin-top: 40px */
  padding: 12px 24px;
  font-size: 1rem;
}

/* Hover coerente */
#sartoriaConsulenze .sartoria-box .button-container .modern-btn:hover {
    background-color: #C9A86A;
    color: #8B2C2B;
    border-color: #721F1E;
}

/* FIX layout bottoni affiancati per #consulenze-viaggi */
#consulenze-viaggi .pacchetti-box {
  position: relative;
  padding-bottom: 80px; /* spazio per i bottoni */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Contenitore dei due bottoni */
#consulenze-viaggi .button-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: row; /* 🔥 bottoni affiancati */
  gap: 12px;
  z-index: 2;
}

/* Bottoni moderni affiancati con stile coerente */
#consulenze-viaggi .button-container .modern-btn {
  position: static !important;
  color: #C9A86A;
  background-color: transparent;
  border: 2px solid #C9A86A;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 24px;
  font-size: 1rem;
  margin: 0;
}

#consulenze-viaggi .button-container .modern-btn:hover {
  background-color: #C9A86A;
  color: #8B2C2B;
  border-color: #721F1E;
}

.avatar-option {
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.avatar-option:hover {
  transform: scale(1.1);
  box-shadow: 0 0 5px #aaa;
}

.selected-avatar {
  border-color: #C9A86A;
  box-shadow: 0 0 10px #C9A86A;
}

#data_slot_select,
#data_calendario {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #C9A86A;
  border-radius: 10px;
  background-color: #F4F0E2;
  color: #333;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 16px;
  box-sizing: border-box;
}

#data_slot_select:hover,
#data_calendario:hover {
  border-color: #8B2C2B;
}

#data_slot_select:focus,
#data_calendario:focus {
  outline: none;
  border-color: #8B2C2B;
  box-shadow: 0 0 0 3px rgba(139, 44, 43, 0.15);
}

/* FullCalendar container styling */
#fullcalendar {
  background-color: #fff;
  border: 1px solid #C9A86A;
  border-radius: 12px;
  padding: 20px;
  font-family: 'Raleway', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

/* Colorazione dinamica slot occupati */
.fc-event {
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
}

/* Testo "Occupato" più discreto */
.fc-event-title {
  color: #8B2C2B;
  font-weight: 600;
}

/* Disabilita selezione e cursore interazione */
.fc-event.fc-event-background {
  pointer-events: none;
}

/* Styling migliorato dei giorni */
.fc-daygrid-day {
  background-color: #FDFBF7; }

/* Hover effetto su giorno */
.fc-daygrid-day:hover {
  background-color: #F4F0E2;
}

/* Sfondo base per griglia giornaliera */
.fc-timegrid-slot {
  background-color: #F4F0E2 !important; /* beige */
}

/* Slot occupati (override) */
.fc-event.inverse-slot {
  background-color: rgba(139, 44, 43, 0.3) !important; /* rosso trasparente */
}

.fc-event.yume-slot-count {
  background-color: #F4F0E2 !important; /* beige Yume */
  font-weight: 600;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 0.85rem;
  border: 2px solid #C9A86A;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Slot disponibile: beige */
.fc-event.libero-slot {
  background-color: #F4F0E2 !important;
  color: #000000 !important;
  --fc-event-text-color: #000 !important;
}

/* Forza colore nero nel titolo degli slot liberi */
.fc-event.libero-slot .fc-event-title {
  color: #000000 !important;
}

/* SLOT SELEZIONATO – Forza occupazione piena e stile Yume */
.fc-timegrid-event-harness .fc-event.yume-scelta {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 6px 10px;
  box-sizing: border-box;

  background-color: #009879 !important;   /* Verde smeraldo */
  color: #C9A86A !important;              /* Oro Yume */
  border: 2px solid #C9A86A !important;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

/* Testo dello slot selezionato */
.fc-event.yume-scelta .fc-event-title {
  color: #C9A86A !important;
}


/* Altezza maggiore per ogni riga oraria nella vista giorno */
.fc-timegrid-slot {
  height: 48px !important; /* default è ~36px */
}

/* FullCalendar ACQUISTO container styling */
#fullcalendarAcquisto {
  background-color: #fff;
  border: 1px solid #C9A86A;
  border-radius: 12px;
  padding: 20px;
  font-family: 'Raleway', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

/* Colorazione dinamica slot occupati (acquisto) */
.fc-event {
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
}

/* Testo "Occupato" */
.fc-event-title {
  color: #8B2C2B;
  font-weight: 600;
}

/* Disabilita selezione e cursore interazione */
.fc-event.fc-event-background {
  pointer-events: none;
}

/* Styling migliorato dei giorni */
#fullcalendarAcquisto .fc-daygrid-day {
  background-color: #FDFBF7;
}

/* Hover effetto su giorno */
#fullcalendarAcquisto .fc-daygrid-day:hover {
  background-color: #F4F0E2;
}

/* Sfondo base per griglia giornaliera */
#fullcalendarAcquisto .fc-timegrid-slot {
  background-color: #F4F0E2 !important;
}

/* Slot occupati (override) */
#fullcalendarAcquisto .fc-event.inverse-slot {
  background-color: rgba(139, 44, 43, 0.3) !important;
}

/* Conteggio slot nel mese */
#fullcalendarAcquisto .fc-event.yume-slot-count {
  background-color: #F4F0E2 !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 0.85rem;
  border: 2px solid #C9A86A;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Slot disponibile: beige */
#fullcalendarAcquisto .fc-event.acquisto-slot {
  background-color: #F4F0E2 !important;
  color: #000000 !important;
  --fc-event-text-color: #000 !important;
}

/* Forza colore nero nel titolo slot disponibili */
#fullcalendarAcquisto .fc-event.acquisto-slot .fc-event-title {
  color: #000000 !important;
}

/* SLOT SELEZIONATO – stile acquisto */
.fc-timegrid-event-harness .fc-event.acquisto-scelta {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 6px 10px;
  box-sizing: border-box;

  background-color: #009879 !important;
  color: #C9A86A !important;
  border: 2px solid #C9A86A !important;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

/* Testo dello slot selezionato (acquisto) */
#fullcalendarAcquisto .fc-event.acquisto-scelta .fc-event-title {
  color: #C9A86A !important;
}

/* Altezza maggiore per slot griglia oraria */
#fullcalendarAcquisto .fc-timegrid-slot {
  height: 48px !important;
}

.fc .fc-button-primary {
  background-color: #8B2C2B !important;   /* rosso Yume */
  border: 2px solid #C9A86A !important;   /* bordo oro */
  color: #C9A86A !important;              /* testo oro */
  font-weight: 600;
  border-radius: 8px;
}

.fc .fc-button-primary:not(:disabled):hover {
  background-color: #732321 !important;   /* variante più scura al passaggio mouse */
  border: 2px solid #C9A86A !important;   /* bordo oro */
  color: #F4F0E2 !important;              /* beige chiaro */
}

@media (max-width: 768px) {
  .slider-arrow { display: none; }
}

.yume-cart {
  position: fixed;
  right: 65px;
  bottom: 150px;
  width: 300px;
  max-height: 800px;
  background-color: #fff;
  border: 2px solid #C9A86A;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.yume-cart.hidden {
  display: none;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F4F0E2;
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

.cart-header h3 {
  font-size: 1.1rem;
  color: #8B2C2B;
  margin: 0;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #8B2C2B;
  cursor: pointer;
}

.cart-list {
  padding: 16px;
  margin: 0;
  list-style: none;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid #ddd;
  background-color: #fafafa;
}

.cart-total {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #8B2C2B;
}

.yume-cart-toggle {
  position: fixed;
  bottom: 24px;
  right: 45px;
  margin-bottom: 100px;
  background-color: #8B2C2B;
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 1.3rem;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yume-cart-toggle:hover {
  background-color: #6e2322;
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: #C9A86A;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.pulse {
  animation: pulse-scale 0.6s ease;
}

@keyframes pulse-scale {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.negozio.btn {
    background-color: #8B2C2B;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 16px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    margin-left: 70px;
  }

.checkbox-gdpr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.checkbox-gdpr input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.checkbox-gdpr label {
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}

/* Tag selezionati di Choices per il campo Città — rosso YUME */
#citta + .choices .choices__list--multiple .choices__item {
  display: inline-block;
  vertical-align: middle;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 3.75px;
  margin-bottom: 3.75px;
  background-color: #8B2C2B !important; /* rosso Yume */
  border: 1px solid #8B2C2B !important; /* rosso Yume */
  color: #fff !important;
  word-break: break-all;
  box-sizing: border-box;
}

/* ====== PRIORITÀ DI SOVRAPPOSIZIONE (Z‑INDEX) ====== */
/* Yuki sempre sopra a WA overlay, carrello, mappe ecc. */
#yuki-chat-avatar { z-index: 11000 !important; position: fixed; right: 25px; bottom: 25px; }
#yuki-chatbox  { z-index: 11001 !important; position: fixed; right: 25px; bottom: 120px; }

/* Overlay WA: sotto Yuki. Quando hidden, sparisce proprio. */
.wa-overlay { position: fixed; inset: 0; z-index: 10010; display: grid; align-items: end; justify-items: start; padding: 0; }
.wa-overlay.hidden { display: none !important; }

/* Carrello sotto Yuki */
.yume-cart-toggle { z-index: 10005; }
.yume-cart        { z-index: 10006; }

/* ====== MINI CHAT WHATSAPP (STILE/FORMAT DI YUKI) ====== */
/* Avatar in basso a sinistra (speculare a Yuki) */
#wa-chat-avatar{
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px; height: 60px;
  background: #FFF8F4;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  display: grid; place-items: center;
  color: #25D366;               /* icona verde su fondo chiaro */
  cursor: pointer;
  transition: transform .25s ease;
  z-index: 9998;                /* sotto Yuki */
}
#wa-chat-avatar:hover { transform: scale(1.05); }
#wa-chat-avatar .fa-whatsapp { font-size: 28px; line-height: 1; }

/* Box chat: stessa taglia/angoli/ombra di Yuki */
#wa-chatbox{
  position: fixed;               /* resta ancorata al viewport */
  bottom: 100px;                 /* 100px sopra l’avatar, come Yuki */
  left: 25px;
  width: 320px; height: 450px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
  display: flex; flex-direction: column;
  overflow: hidden;              /* header fisso, body scrollabile */
  z-index: 9998;
  font-family: 'Quicksand', sans-serif;
}
#wa-chatbox.hidden { display: none; }

/* Header allineato al tema Yume/Yuki */
#wa-chatbox .wa-header{
  background: #8B2C2B; color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  display:flex; align-items:center; justify-content: space-between;
}
#wa-chatbox .wa-header .wa-brand{
  display:flex; align-items:center; gap:8px;
}
#wa-chatbox .wa-header .wa-brand i{ font-size: 18px; }
#wa-chatbox .wa-header .wa-brand span{ font-size: 0.95rem; }

/* ✖️ Nascosto: chiusura SOLO tramite icona a sinistra (come richiesto) */
#wa-chatbox .wa-close{ display:none; }

/* Corpo: flessibile e scrollabile se serve */
#wa-chatbox .wa-body{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  overflow-y: auto;              /* se il contenuto supera l’altezza, si scrolla QUI */
}

/* Prefazione: molto ridotta; su mobile scompare */
.wa-preface{
  font-size: .78rem; line-height: 1.35;
  color: #8B2C2B;
  margin: 0 0 2px 0;
  opacity: .9;
}
@media (max-width: 480px){ .wa-preface{ display:none; } }

/* Textarea e hint coerenti con Yuki */
#waMessage{
  width: 100%;
  min-height: 140px;             /* sufficiente per leggere/scrivere */
  resize: vertical;
  border: 1px solid #e3d9c4;
  border-radius: 10px;
  padding: 10px 12px;
  background: #FFF8F4; color: #1C1C1C;
  font: inherit;
}
.wa-linkcheck{
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem; color:#1C1C1C;
  user-select: none;
}

/* Bottone invio come Yuki, ma gold on red */
.wa-send{
  width: 100%;
  margin-top: 6px;
  background: #8B2C2B; color: #C9A86A;
  border: none; border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700; cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .05s ease;
}
.wa-send:hover{ background:#721F1E; color:#fff; }
.wa-send:active{ transform: scale(.99); }

/* --- Responsive fine‑tuning --- */
@media (max-width: 768px){
  #wa-chatbox{
    left: max(12px, env(safe-area-inset-left,0));
    bottom: 100px;
    width: min(92vw, 340px);     /* resta “tipo Yuki”, ma un filo più stretta */
    height: 420px;               /* un po’ più bassa su mobile */
  }
  #wa-chat-avatar{
    left: max(12px, env(safe-area-inset-left,0));
  }
}

/* Riduce l’intensità delle transizioni se l’utente preferisce meno motion */
@media (prefers-reduced-motion: reduce){
  #wa-chat-avatar, .wa-send { transition: none; }
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -50px;      /* spostata più fuori */
  width: 200px;      /* più larga per il testo */
  text-align: center;
  line-height: 40px; /* più alto, più leggibile */
  transform: rotate(40deg);
  background: #8B2C2B;  /* Rosso Yume */
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 5;
}

.pacchetti-box {
  position: relative;
  overflow: hidden;
}

/* --- Consulenza: chips eleganti per giorni/fasce --- */
#box-consulenza fieldset {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 12px 0;
}
#box-consulenza fieldset legend {
  font-weight: 600;
  color: #4a4a4a;
  padding: 0 4px;
}

#box-consulenza .chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 6px;
}

/* trasforma i label esistenti in chip senza cambiare l'HTML */
#box-consulenza label.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: all .15s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
#box-consulenza label.chip:hover { border-color: #c9a86a66; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
#box-consulenza label.chip.active {
  background: #F7F1E3;           /* sabbia chiara */
  border-color: #C9A86A;          /* gold Yume */
}
#box-consulenza label.chip input { /* nasconde il checkbox ma resta accessibile */
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

/* input testo “Altro” coerente */
#fasce_altro {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
#fasce_altro:focus { border-color: #C9A86A; box-shadow: 0 0 0 3px rgba(201,168,106,.15); }


/* === CONTATTACI – spostato sopra a WhatsApp di almeno 80px === */
:root{
  /* dimensione avatar WA dichiarata nel tuo CSS (#wa-chat-avatar = 60px) */
  --wa-avatar-size: 60px;
  /* spazio minimo extra richiesto */
  --contattaci-gap: 0px;
  /* margine di sicurezza tra elementi */
  --contattaci-safety: 12px;
  /* calcolo: 25px (bottom WA) + 60px (WA) + 12px (aria) + 80px (gap) = 177px */
  --contattaci-bottom: calc(25px + var(--wa-avatar-size) + var(--contattaci-safety) + var(--contattaci-gap));
}

/* avatar tondo “Contattaci” a sinistra */
#contattaci-avatar{
  position: fixed;
  left: 20px !important;
  bottom: var(--contattaci-bottom) !important; /* ⬅️ sta sopra WA di 80px+ */
  width: 64px;
  height: 64px;
  border-radius: 50%;
  z-index: 9997; /* sotto a WA (9998) solo per sicurezza, ma non si sovrappone perché è più in alto */
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  background: #C9A86A;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .95;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
#contattaci-avatar a{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;
  border-radius:50%;
  color: #8B2C2B;
  text-decoration:none;
  font-weight:600;
  font-size:12px;font-family:"Raleway",sans-serif;
  text-align:center;padding:8px;
}
#contattaci-avatar:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.22); opacity:1; }

/* Mobile: manteniamo comunque il clear sopra WA */
@media (max-width: 640px){
  #contattaci-avatar{
    left: 16px !important;
    width: 56px; height: 56px;
    /* se vuoi tenerlo un filo più vicino su mobile, riduci solo il gap */
    --contattaci-gap: 70px; /* 25 + 60 + 12 + 70 = 167px */
    bottom: var(--contattaci-bottom) !important;
  }
  #contattaci-avatar a{ font-size:11px; padding:6px; }
}

