/* Sottomenu - voci stato normale (grigio) */
#sp-header .sp-dropdown-items li.sp-menu-item > a {
  color: #4D4D4D !important;
}

/* Sottomenu - voci al passaggio del mouse o attive (viola) */
#sp-header .sp-dropdown-items li.sp-menu-item:hover > a,
#sp-header .sp-dropdown-items li.sp-menu-item.active > a {
  color: #A076B2 !important;
}

/* Logo */
#sp-header #sp-logo .logo .logo-image,
#sp-header.header-sticky #sp-logo .logo .logo-image {
  filter: none !important;
}

/* Mega menu Servizi - larghezza e posizione dal margine sinistro */
#sp-header #sp-menu,
#sp-header #sp-menu .sp-megamenu-parent > li.sp-has-child {
  position: static !important;
}
#sp-header #sp-menu .sp-megamenu-parent > li.sp-has-child > .sp-dropdown.sp-dropdown-mega {
  width: 640px !important;
  max-width: none !important;
  left: 45px !important;
  right: auto !important;
  margin-left: 0 !important;
}

/* Mega menu Servizi - sfondo semitrasparente e margini interni */
#sp-header #sp-menu .sp-dropdown-mega .sp-dropdown-inner {
  background: rgba(255, 255, 255, 0.85) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 20px 30px !important;
}

/* Mega menu Servizi - voci su una sola riga */
#sp-header #sp-menu .sp-dropdown-mega li > a {
  white-space: nowrap;
}

/* Voce principale attiva - box viola con testo bianco */
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.active > .sp-menu-heading {
  background: #BF96CD;
  color: #FFFFFF !important;
  padding: 10px 18px;
}

/* Servizi - colore scuro con header sticky */
#sp-header .sp-megamenu-parent > li:not(.active) > .sp-menu-heading {
  color: #1A1A1A !important;
}

/* Header trasparente - Servizi in viola chiaro */
#sp-header:not(.header-sticky) .sp-megamenu-parent > li:not(.active) > .sp-menu-heading {
  color: #BF96CD !important;
}

/* Header trasparente - voci bianche al passaggio del mouse */
#sp-header:not(.header-sticky) .sp-megamenu-parent > li:hover > a {
  color: #FFFFFF !important;
}

/* Mega menu Servizi - voci uguali, senza maiuscolo e grassetto */
#sp-header #sp-menu .sp-dropdown-mega .sp-mega-group li > a {
  text-transform: none !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  letter-spacing: -0.2px !important;
  color: #4D4D4D !important;
  margin: 0 !important;
  padding: 3px 0 !important;
  display: block !important;
  line-height: 1.6 !important;
}

#sp-header #sp-menu .sp-dropdown-mega .sp-mega-group li > a:hover {
  color: #A076B2 !important;
}

/* Mega menu Servizi - stessa spaziatura per tutte le righe */
#sp-header #sp-menu .sp-dropdown-mega .sp-mega-group > li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Banner cookie - link Cookie Policy nel testo */
#cookiesck .inner a:not([id]) {
  color: #A076B2 !important;
  text-decoration: underline;
}

/* Banner cookie - pulsanti Accetta tutti e Rifiuta tutti (stessa evidenza) */
#cookiesck .inner [id*="accept"],
#cookiesck .inner [id*="decline"] {
  background: #A076B2 !important;
  border: 2px solid #A076B2 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  padding: 8px 18px !important;
}
#cookiesck .inner [id*="accept"]:hover,
#cookiesck .inner [id*="decline"]:hover {
  background: #87529D !important;
  border-color: #87529D !important;
  color: #FFFFFF !important;
}

/* Banner cookie - pulsante Personalizza */
#cookiesck .inner [id*="settings"],
#cookiesck .inner [id*="options"] {
  background: transparent !important;
  border: 2px solid #A076B2 !important;
  color: #A076B2 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  padding: 8px 18px !important;
}
#cookiesck .inner [id*="settings"]:hover,
#cookiesck .inner [id*="options"]:hover {
  background: #A076B2 !important;
  color: #FFFFFF !important;
}
