
/* CSS menu al-Rawḍah dallo snippet 6164 */
/* ============================================================

   MNA MENU AL-RAWDAH CSS — Madrassat an-Noor

   Data: 2026-05-19 · Autore: Claude Opus 4.7

   Obiettivo: ricreare la "card Al-Rawdah" (Proposta II "Giardino

   ordinato") sui dropdown esistenti del menu desktop. NON tocca

   l'HTML del menu, NON tocca il drawer mobile (sotto 900px resta

   il sistema attuale).

   Selettori target esistenti:

     .mn-custom-dropdown, .mn-custom-submenu, .mn-custom-mega-grid,

     .mn-custom-mega-col, .mn-custom-mega-kicker, .mn-custom-mega-item

   ============================================================ */



/* === VARIABILI palette rawdah === */

:root {

  --mn-rawdah-lilla:        #D9CCEE;

  --mn-rawdah-lilla-deep:   #B8A5D6;

  --mn-rawdah-salvia:       #98baad;

  --mn-rawdah-salvia-deep:  #7A9E8E;

  --mn-rawdah-azzurro:      #CFE7F7;

  --mn-rawdah-azzurro-deep: #8BB8D8;

  --mn-rawdah-borgogna:     #7d485e;

  --mn-rawdah-testo:        #3D2B33;

  --mn-rawdah-testo-light:  #8B7D83;

  --mn-rawdah-bianco:       #FFFFFF;

  --mn-rawdah-radius:       16px;

  --mn-rawdah-shadow:       0 2px 4px rgba(125,72,94,0.03),

                            0 15px 45px -8px rgba(125,72,94,0.10);

  --mn-rawdah-ease:         cubic-bezier(0.16, 1, 0.3, 1);

}



/* ============================================================

   APPLICAZIONE SOLO DESKTOP (≥ 900px)

   ============================================================ */

@media (min-width: 900px) {



  /* === 1) ITEM dropdown: relative per ancorare il submenu === */

  html body .mn-custom-header .mn-custom-dropdown {

    position: relative !important;

  }



  /* === 2) SUBMENU "CARD" Al-Rawdah === */

  html body .mn-custom-header .mn-custom-dropdown > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown > .mn-custom-submenu.mn-custom-submenu--mega {

    /* posizionamento */

    position: absolute !important;

    top: calc(100% + 14px) !important;

    left: 50% !important;

    right: auto !important;

    transform: translateX(-50%) translateY(10px) !important;

    margin: 0 !important;



    /* dimensione di base — adattata via :has() sotto */

    min-width: 320px !important;

    max-width: min(96vw, 920px) !important;

    width: max-content !important;



    /* aspetto rawdah */

    background: var(--mn-rawdah-bianco) !important;

    border: 0 !important;

    border-top: 3px solid var(--mn-rawdah-salvia-deep) !important;

    border-radius: 4px 4px 20px 20px !important;

    box-shadow: var(--mn-rawdah-shadow) !important;

    padding: 30px 32px 26px !important;

    box-sizing: border-box !important;



    /* visibilità + animazione (override del display:none/grid esistente) */

    display: block !important;

    visibility: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;

    transition: opacity .35s var(--mn-rawdah-ease),

                visibility .35s var(--mn-rawdah-ease),

                transform .35s var(--mn-rawdah-ease) !important;

    z-index: 1305 !important;



    /* niente backdrop o filtri eventuali residui */

    backdrop-filter: none !important;

    -webkit-backdrop-filter: none !important;

  }



  /* Freccia triangolare salvia in cima */

  html body .mn-custom-header .mn-custom-dropdown > .mn-custom-submenu::before {

    content: '' !important;

    position: absolute !important;

    top: -13px !important;

    left: 50% !important;

    transform: translateX(-50%) !important;

    width: 0 !important;

    height: 0 !important;

    border-left: 12px solid transparent !important;

    border-right: 12px solid transparent !important;

    border-bottom: 12px solid var(--mn-rawdah-salvia-deep) !important;

    background: transparent !important;

    display: block !important;

  }

  html body .mn-custom-header .mn-custom-dropdown > .mn-custom-submenu::after {

    content: none !important;

    display: none !important;

  }



  /* Apertura: hover OR [open] OR focus-within */

  html body .mn-custom-header .mn-custom-dropdown:hover > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown[open] > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown:focus-within > .mn-custom-submenu {

    visibility: visible !important;

    opacity: 1 !important;

    pointer-events: all !important;

    transform: translateX(-50%) translateY(0) !important;

  }



  /* Chevron ruota quando aperto/hover */

  html body .mn-custom-header .mn-custom-dropdown:hover .mn-custom-chevron,

  html body .mn-custom-header .mn-custom-dropdown[open] .mn-custom-chevron,

  html body .mn-custom-header .mn-custom-dropdown:focus-within .mn-custom-chevron {

    transform: rotate(180deg) !important;

    opacity: 1 !important;

  }

  html body .mn-custom-header .mn-custom-chevron {

    transition: transform .3s ease, opacity .3s ease !important;

    opacity: 0.55 !important;

  }



  /* === 3) GRID — adatta a 1/2/3 colonne automaticamente === */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-grid {

    display: grid !important;

    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;

    gap: 30px !important;

    align-items: start !important;

    margin: 0 !important;

    padding: 0 !important;

  }



  /* min-width adattivo in base al numero di colonne (:has supportato 2026) */

  html body .mn-custom-header .mn-custom-submenu:has(.mn-custom-mega-col:nth-child(2)) {

    min-width: 600px !important;

  }

  html body .mn-custom-header .mn-custom-submenu:has(.mn-custom-mega-col:nth-child(2)) .mn-custom-mega-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

  }

  html body .mn-custom-header .mn-custom-submenu:has(.mn-custom-mega-col:nth-child(3)) {

    min-width: 860px !important;

  }

  html body .mn-custom-header .mn-custom-submenu:has(.mn-custom-mega-col:nth-child(3)) .mn-custom-mega-grid {

    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

  }



  /* === 4) COLONNA: header con dot + titolo === */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-col {

    position: relative !important;

    padding: 0 !important;

    margin: 0 !important;

    background: transparent !important;

    border: 0 !important;

  }



  /* Kicker (titolo colonna) — uppercase Playfair, con dot ::before */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-kicker {

    position: relative !important;

    display: flex !important;

    align-items: center !important;

    gap: 10px !important;

    margin: 0 0 16px 0 !important;

    padding: 0 0 12px 0 !important;

    border-bottom: 1px solid rgba(61, 43, 51, 0.08) !important;

    font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;

    font-size: 12px !important;

    font-weight: 600 !important;

    letter-spacing: 1.8px !important;

    text-transform: uppercase !important;

    line-height: 1.2 !important;

  }



  /* Dot colorato prima del titolo (lilla / salvia / azzurro per col 1/2/3) */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-kicker::before {

    content: '' !important;

    display: inline-block !important;

    width: 8px !important;

    height: 8px !important;

    border-radius: 50% !important;

    flex-shrink: 0 !important;

    background: var(--mn-rawdah-lilla-deep) !important;

    margin: 0 !important;

  }



  /* Colore per ciascuna colonna */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-col:nth-child(1) .mn-custom-mega-kicker {

    color: var(--mn-rawdah-lilla-deep) !important;

  }

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-col:nth-child(1) .mn-custom-mega-kicker::before {

    background: var(--mn-rawdah-lilla-deep) !important;

  }

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-col:nth-child(2) .mn-custom-mega-kicker {

    color: var(--mn-rawdah-salvia-deep) !important;

  }

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-col:nth-child(2) .mn-custom-mega-kicker::before {

    background: var(--mn-rawdah-salvia-deep) !important;

  }

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-col:nth-child(3) .mn-custom-mega-kicker {

    color: var(--mn-rawdah-azzurro-deep) !important;

  }

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-col:nth-child(3) .mn-custom-mega-kicker::before {

    background: var(--mn-rawdah-azzurro-deep) !important;

  }



  /* === 5) ITEM (link nel dropdown) === */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item {

    display: block !important;

    padding: 10px 14px !important;

    margin: 0 0 2px 0 !important;

    border-radius: 12px !important;

    text-decoration: none !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    transition: background .35s var(--mn-rawdah-ease),

                color .35s var(--mn-rawdah-ease) !important;

    position: relative !important;

  }



  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item:hover {

    background: rgba(217, 204, 238, 0.18) !important;

  }



  /* highlight item (es. "Aiutami a scegliere") — sfumatura più calda */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item--highlight {

    background: rgba(244, 199, 195, 0.18) !important;

  }

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item--highlight:hover {

    background: rgba(244, 199, 195, 0.32) !important;

  }



  /* Titolo item — Quicksand 13px semibold */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item strong,

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item > strong:first-child {

    display: block !important;

    font-family: "Quicksand", "Segoe UI", Tahoma, sans-serif !important;

    font-size: 13.5px !important;

    font-weight: 600 !important;

    color: var(--mn-rawdah-testo) !important;

    margin: 0 0 3px 0 !important;

    letter-spacing: 0.2px !important;

    line-height: 1.3 !important;

    transition: color .3s ease !important;

  }

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item:hover strong {

    color: var(--mn-rawdah-borgogna) !important;

  }



  /* Descrizione item — Quicksand 11.5px */

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item span,

  html body .mn-custom-header .mn-custom-submenu .mn-custom-mega-item > span:last-child {

    display: block !important;

    font-family: "Quicksand", "Segoe UI", Tahoma, sans-serif !important;

    font-size: 11.5px !important;

    font-weight: 400 !important;

    color: var(--mn-rawdah-testo-light) !important;

    line-height: 1.5 !important;

    letter-spacing: 0.2px !important;

    margin: 0 !important;

  }



  /* === 6) FOOTER (iniettato via JS in 3 dropdown: percorsi, studia, risorse) === */

  html body .mn-custom-header .mn-custom-submenu .rawdah-footer {

    margin-top: 24px !important;

    padding-top: 20px !important;

    border-top: 1px solid rgba(152, 186, 173, 0.22) !important;

    display: flex !important;

    justify-content: space-between !important;

    align-items: center !important;

    gap: 16px !important;

    flex-wrap: wrap !important;

  }



  html body .mn-custom-header .mn-custom-submenu .rawdah-footer-text {

    font-family: "Playfair Display", Georgia, serif !important;

    font-size: 13px !important;

    font-style: italic !important;

    color: var(--mn-rawdah-testo-light) !important;

    letter-spacing: 0.2px !important;

    flex: 1 1 auto !important;

    margin: 0 !important;

    line-height: 1.4 !important;

  }



  html body .mn-custom-header .mn-custom-submenu .rawdah-footer-btn {

    display: inline-flex !important;

    align-items: center !important;

    gap: 6px !important;

    font-family: "Quicksand", "Segoe UI", sans-serif !important;

    font-size: 11px !important;

    font-weight: 600 !important;

    color: var(--mn-rawdah-salvia-deep) !important;

    text-decoration: none !important;

    letter-spacing: 0.8px !important;

    padding: 9px 18px !important;

    border: 1px solid rgba(152, 186, 173, 0.45) !important;

    border-radius: 100px !important;

    transition: background .35s var(--mn-rawdah-ease),

                border-color .35s var(--mn-rawdah-ease),

                color .35s var(--mn-rawdah-ease) !important;

    background: transparent !important;

    cursor: pointer !important;

    flex: 0 0 auto !important;

    white-space: nowrap !important;

  }

  html body .mn-custom-header .mn-custom-submenu .rawdah-footer-btn:hover {

    background: rgba(152, 186, 173, 0.15) !important;

    border-color: var(--mn-rawdah-salvia-deep) !important;

    color: var(--mn-rawdah-borgogna) !important;

  }



  /* === 7) Bridge: chiudi dropdown attivi quando il mouse esce

     dall'header (per esperienza più pulita) === */

  /* Lasciamo il comportamento naturale; il bridge gap di 14px tra summary

     e card è coperto dal padding del :hover sull'item dropdown perché

     position:relative inerita all'intero <details>. */



  /* === 8) Annulla regole legacy display:none su submenu === */

  html body .mn-custom-header .mn-custom-submenu {

    visibility: hidden;       /* sovrascritto da !important sopra */

  }



  /* === 9) Submenu fuori bordo a destra → riposiziona a destra del trigger === */

  html body .mn-custom-header .mn-custom-dropdown--risorse > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown:last-of-type > .mn-custom-submenu {

    left: auto !important;

    right: 0 !important;

    transform: translateX(0) translateY(10px) !important;

  }

  html body .mn-custom-header .mn-custom-dropdown--risorse:hover > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown--risorse[open] > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown--risorse:focus-within > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown:last-of-type:hover > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown:last-of-type[open] > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown:last-of-type:focus-within > .mn-custom-submenu {

    transform: translateX(0) translateY(0) !important;

  }

  html body .mn-custom-header .mn-custom-dropdown--risorse > .mn-custom-submenu::before,

  html body .mn-custom-header .mn-custom-dropdown:last-of-type > .mn-custom-submenu::before {

    left: auto !important;

    right: 28px !important;

    transform: none !important;

  }



  /* Voci a sinistra del menu: ancorare a sinistra del trigger se overflow */

  html body .mn-custom-header .mn-custom-dropdown--scopri > .mn-custom-submenu {

    left: 0 !important;

    right: auto !important;

    transform: translateX(0) translateY(10px) !important;

  }

  html body .mn-custom-header .mn-custom-dropdown--scopri:hover > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown--scopri[open] > .mn-custom-submenu,

  html body .mn-custom-header .mn-custom-dropdown--scopri:focus-within > .mn-custom-submenu {

    transform: translateX(0) translateY(0) !important;

  }

  html body .mn-custom-header .mn-custom-dropdown--scopri > .mn-custom-submenu::before {

    left: 28px !important;

    right: auto !important;

    transform: none !important;

  }



  /* === 10) Disabilita default browser triangle del <details><summary> === */

  html body .mn-custom-header .mn-custom-dropdown summary,

  html body .mn-custom-header .mn-custom-dropdown > summary {

    list-style: none !important;

  }

  html body .mn-custom-header .mn-custom-dropdown summary::-webkit-details-marker {

    display: none !important;

  }

  html body .mn-custom-header .mn-custom-dropdown summary::marker {

    content: '' !important;

  }



  /* === 11) Bridge invisibile sopra il dropdown per non perdere hover === */

  html body .mn-custom-header .mn-custom-dropdown > .mn-custom-submenu::after {

    content: '' !important;

    position: absolute !important;

    top: -14px !important;

    left: 0 !important;

    right: 0 !important;

    height: 14px !important;

    background: transparent !important;

    display: block !important;

  }

} /* end @media (min-width: 900px) */



/* FINE MNA MENU AL-RAWDAH CSS 20260519 */

/* ============================================================
   MaN REDESIGN CARDS SYSTEM - V3 (Premium, White, Gradient, Icons)
   ============================================================ */

:root {
  --mn-crema: #F6F1E9;
  --mn-sabbia: #E9DCC9;
  --mn-menta: #BFE7DA;
  --mn-rosa: #F4C7C3;
  --mn-lavanda: #D9CCEE;
  --mn-azzurro: #CFE7F7;
  --mn-oro: #E8D9A8;
  
  --mn-text-main: #111111;
  --mn-text-sub: #555555;
  
  --mn-shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
  --mn-shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.1);
  
  /* Gradiente per bordo e accenti */
  --mn-gradiente-brand: linear-gradient(135deg, #D9CCEE, #F4C7C3, #BFE7DA);
  --mn-gradiente-vibrant: linear-gradient(135deg, #b94285, #7b5ab8);
}

/* --- CARD BASE & PREZZO --- */
.mn-card, 
.mn-card-price, 
.mn-card-info, 
.mn-card-course {
  background-color: #FFFFFF !important;
  border-radius: 24px !important;
  padding: 40px 30px !important;
  box-shadow: var(--mn-shadow-soft) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(0,0,0,0.03) !important;
  text-align: center; /* Center by default for info cards */
}

.mn-card:hover, .mn-card-price:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--mn-shadow-hover) !important;
}

/* Fix title and text */
.mn-card h3, .mn-card-price h3 {
  color: var(--mn-text-main) !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 26px !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  line-height: 1.3 !important;
}

.mn-card p, .mn-card-price p {
  color: var(--mn-text-sub) !important;
  font-family: 'Quicksand', sans-serif !important;
  font-size: 16px !important;
  margin-bottom: 24px !important;
  line-height: 1.6 !important;
  flex-grow: 1 !important;
}

/* --- GRADIENT BORDER PER LE CARD PREZZO --- */
.mn-card-price::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 24px !important;
  padding: 3px !important;
  background: var(--mn-gradiente-brand) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  pointer-events: none !important;
}

/* --- ICONE DINAMICHE VIA CSS (Terzo Screenshot) --- */
/* Aggiunge icone pastello in cima a tutte le .mn-card */
.mn-card::before {
  content: "" !important;
  display: block !important;
  width: 72px !important; 
  height: 72px !important;
  border-radius: 50% !important;
  margin: 0 auto 24px auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 32px !important;
}

/* Lavanda + Libro */
.mn-card:nth-child(4n+1)::before {
  background-color: rgba(217, 204, 238, 0.3) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237b5ab8'%3E%3Cpath d='M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.1C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zM21 18.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z'/%3E%3C/svg%3E") !important;
}
/* Menta + Foglia */
.mn-card:nth-child(4n+2)::before {
  background-color: rgba(191, 231, 218, 0.3) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b7b6c'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c3.47.45 6.4-.33 8.34-2.27 2.39-2.39 3-6.84 3-6.84V8h-1zM20 2C15.14 2 11.23 4.8 9.5 9.07c-1.31 3.2-.82 6.51.5 9.4l1.73-1.04C10.74 15 10.37 12.3 11.37 9.8 12.8 6.22 16.21 4 20 4V2z'/%3E%3C/svg%3E") !important;
}
/* Rosa + Cuore/Compassione */
.mn-card:nth-child(4n+3)::before {
  background-color: rgba(244, 199, 195, 0.3) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c95a53'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") !important;
}
/* Azzurro + Stella */
.mn-card:nth-child(4n+4)::before {
  background-color: rgba(207, 231, 247, 0.3) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b89c2'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") !important;
}

/* Le card prezzo non hanno l'icona automatica */
.mn-card-price::before {
  display: none !important;
}

/* --- BADGE / PILLOLE (es. "Per chi parte da zero") --- */
.hero-pill, .mn-badge, .mn-dh-price-badge {
  display: inline-block !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  font-family: 'Quicksand', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin: 0 auto 16px auto !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: rgba(217, 204, 238, 0.15) !important;
  color: #7b5ab8 !important;
  border: 1px solid rgba(217, 204, 238, 0.5) !important;
}

/* --- PREZZI (Secondo screenshot) --- */
.mn-dh-price-block {
  margin: 16px 0 !important;
  display: block !important;
}
.mn-dh-price-old {
  text-decoration: line-through !important;
  color: var(--mn-text-sub) !important;
  font-size: 14px !important;
}
.mn-dh-price-new {
  font-family: 'Playfair Display', serif !important;
  font-size: 36px !important;
  color: var(--mn-text-main) !important;
  font-weight: 700 !important;
  display: block !important;
  margin-top: 4px !important;
}

/* --- LISTE CON SPUNTA VERDE (Primo screenshot) --- */
.mn-card ul, .mn-card-price ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px 0 !important;
  text-align: left !important;
}

.mn-card li, .mn-card-price li {
  position: relative !important;
  padding-left: 36px !important;
  margin-bottom: 16px !important;
  color: var(--mn-text-sub) !important;
  font-family: 'Quicksand', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.mn-card li::before, .mn-card-price li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  top: -2px !important;
  color: #2bc155 !important;
  background-color: #ebfcf2 !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: bold !important;
}

/* --- BOTTONI (Primo screenshot) --- */
.mn-premium-btn, .mn-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 32px !important;
  border-radius: 12px !important;
  font-family: 'Quicksand', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Bottone Outline (es. Choose Starter) */
.mn-premium-btn--outline, .mn-button-outline {
  background-color: #FFFFFF !important;
  color: #7b5ab8 !important;
  border: 2px solid #D9CCEE !important;
}

.mn-premium-btn--outline:hover, .mn-button-outline:hover {
  background-color: #f8efff !important;
  border-color: #c147e9 !important;
}





/* Bottoni Premium (Separati per Colore e Neuroscienza) */

/* TUTTI i bottoni pieni (menta, lavanda, rosa) diventano di base Fucsia (CTA ad alta conversione) */
.mn-premium-btn:not(.mn-premium-btn--outline), .mn-button:not(.mn-button-outline) {
  background-color: #b94285 !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(185, 66, 133, 0.3) !important;
}
.mn-premium-btn:not(.mn-premium-btn--outline):hover, .mn-button:not(.mn-button-outline):hover {
  background-color: #9d356f !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(185, 66, 133, 0.4) !important;
}

/* 
   LOGICA NEUROSCIENZA PER BOTTONI IMPILATI VERTICALMENTE (es. Contatti)
   Se ci sono 2 bottoni pieni consecutivi (gruppi di bottoni), il primo resta Fucsia, il SECONDO diventa Azzurro (#00aacc).
*/
/* Se sono fratelli diretti */
.mn-premium-btn:not(.mn-premium-btn--outline) + .mn-premium-btn:not(.mn-premium-btn--outline),
.mn-button:not(.mn-button-outline) + .mn-button:not(.mn-button-outline),
/* Se sono dentro un blocco Gutenberg wp-block-buttons */
.wp-block-buttons > .wp-block-button:nth-child(2) .mn-premium-btn:not(.mn-premium-btn--outline),
.wp-block-buttons > .wp-block-button:nth-child(2) .mn-button:not(.mn-button-outline),
/* Se sono dentro un blocco Kadence */
.wp-block-kadence-advancedbtn > .kt-btn-wrap:nth-child(2) .mn-premium-btn:not(.mn-premium-btn--outline),
.wp-block-kadence-advancedbtn > .kt-btn-wrap:nth-child(2) .mn-button:not(.mn-button-outline) {
    background-color: #00aacc !important;
    box-shadow: 0 4px 15px rgba(0, 170, 204, 0.3) !important;
}

.mn-premium-btn:not(.mn-premium-btn--outline) + .mn-premium-btn:not(.mn-premium-btn--outline):hover,
.mn-button:not(.mn-button-outline) + .mn-button:not(.mn-button-outline):hover,
.wp-block-buttons > .wp-block-button:nth-child(2) .mn-premium-btn:not(.mn-premium-btn--outline):hover,
.wp-block-buttons > .wp-block-button:nth-child(2) .mn-button:not(.mn-button-outline):hover,
.wp-block-kadence-advancedbtn > .kt-btn-wrap:nth-child(2) .mn-premium-btn:not(.mn-premium-btn--outline):hover,
.wp-block-kadence-advancedbtn > .kt-btn-wrap:nth-child(2) .mn-button:not(.mn-button-outline):hover {
    background-color: #008ba6 !important;
    box-shadow: 0 6px 20px rgba(0, 170, 204, 0.4) !important;
}

/* OVERRIDE GLOBALE NEUROSCIENZA PER CARD AFFIANCATE */
/* Qualsiasi griglia a 2 colonne: Prima Card = Azzurro (Informativa), Seconda Card = Fucsia (Azione) */
.mn-premium-grid-2 > article:first-of-type .mn-premium-btn:not(.mn-premium-btn--outline),
.mn-premium-grid-2 > article:first-of-type .mn-button:not(.mn-button-outline),
.mn-premium-grid-2 > .mn-card-price:first-of-type .mn-premium-btn:not(.mn-premium-btn--outline) {
    background-color: #3b89c2 !important;
    box-shadow: 0 4px 15px rgba(59, 137, 194, 0.3) !important;
}
.mn-premium-grid-2 > article:first-of-type .mn-premium-btn:not(.mn-premium-btn--outline):hover,
.mn-premium-grid-2 > article:first-of-type .mn-button:not(.mn-button-outline):hover,
.mn-premium-grid-2 > .mn-card-price:first-of-type .mn-premium-btn:not(.mn-premium-btn--outline):hover {
    background-color: #2e6d9e !important;
    box-shadow: 0 6px 20px rgba(59, 137, 194, 0.4) !important;
}

.mn-premium-grid-2 > article:last-of-type .mn-premium-btn:not(.mn-premium-btn--outline),
.mn-premium-grid-2 > article:last-of-type .mn-button:not(.mn-button-outline),
.mn-premium-grid-2 > .mn-card-price:last-of-type .mn-premium-btn:not(.mn-premium-btn--outline) {
    background-color: #b94285 !important;
    box-shadow: 0 4px 15px rgba(185, 66, 133, 0.3) !important;
}
.mn-premium-grid-2 > article:last-of-type .mn-premium-btn:not(.mn-premium-btn--outline):hover,
.mn-premium-grid-2 > article:last-of-type .mn-button:not(.mn-button-outline):hover,
.mn-premium-grid-2 > .mn-card-price:last-of-type .mn-premium-btn:not(.mn-premium-btn--outline):hover {
    background-color: #9d356f !important;
    box-shadow: 0 6px 20px rgba(185, 66, 133, 0.4) !important;
}




/* ============================================================
   MaN KIDS PREMIUM CARDS SYSTEM (Solo Pagine Bambini)
   Pagine: 1794 (Kids), 1914 (Corso Bambini), 4156 (Homeschooling)
   ============================================================ */

/* Base Kids Card Styling */
.page-id-1794 .mn-card-info, .page-id-1914 .mn-card-info, .page-id-4156 .mn-card-info,
.page-id-1794 .mn-dh-card, .page-id-1914 .mn-dh-card, .page-id-4156 .mn-dh-card,
.page-id-1794 .mn-dh-month-card, .page-id-1914 .mn-dh-month-card, .page-id-4156 .mn-dh-month-card,
.page-id-1794 .mn-card, .page-id-1914 .mn-card, .page-id-4156 .mn-card {
  background: #ffffff !important;
  border-radius: 28px !important; /* Più morbido per bimbi */
  border: 3px solid transparent !important;
  background-clip: padding-box !important;
  padding: 30px !important;
  margin-bottom: 25px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  position: relative !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

/* Colorful Kids Gradient Border (Più giocoso: Rosa, Menta, Lavanda, Crema) */
.page-id-1794 .mn-card-info::before, .page-id-1914 .mn-card-info::before, .page-id-4156 .mn-card-info::before,
.page-id-1794 .mn-dh-card::before, .page-id-1914 .mn-dh-card::before, .page-id-4156 .mn-dh-card::before,
.page-id-1794 .mn-dh-month-card::before, .page-id-1914 .mn-dh-month-card::before, .page-id-4156 .mn-dh-month-card::before,
.page-id-1794 .mn-card::before, .page-id-1914 .mn-card::before, .page-id-4156 .mn-card::before {
  content: "" !important;
  position: absolute !important;
  top: -3px !important; right: -3px !important; bottom: -3px !important; left: -3px !important;
  background: linear-gradient(135deg, #efd0db, #bfe7da, #d9ccee, #F6F1E9) !important;
  z-index: -1 !important;
  border-radius: 30px !important; 
  opacity: 1 !important;
}

/* Hover effect */
.page-id-1794 .mn-card-info:hover, .page-id-1914 .mn-card-info:hover, .page-id-4156 .mn-card-info:hover,
.page-id-1794 .mn-dh-card:hover, .page-id-1914 .mn-dh-card:hover, .page-id-4156 .mn-dh-card:hover,
.page-id-1794 .mn-dh-month-card:hover, .page-id-1914 .mn-dh-month-card:hover, .page-id-4156 .mn-dh-month-card:hover,
.page-id-1794 .mn-card:hover, .page-id-1914 .mn-card:hover, .page-id-4156 .mn-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(185, 66, 133, 0.15) !important;
}

/* Kids Interactive SVG Icons (Watermarks giocosi) */
.page-id-1794 .mn-card-info::after, .page-id-1914 .mn-card-info::after, .page-id-4156 .mn-card-info::after,
.page-id-1794 .mn-dh-card::after, .page-id-1914 .mn-dh-card::after, .page-id-4156 .mn-dh-card::after,
.page-id-1794 .mn-dh-month-card::after, .page-id-1914 .mn-dh-month-card::after, .page-id-4156 .mn-dh-month-card::after,
.page-id-1794 .mn-card::after, .page-id-1914 .mn-card::after, .page-id-4156 .mn-card::after {
  content: "" !important;
  position: absolute !important;
  bottom: -10px !important;
  right: -10px !important;
  width: 90px !important;
  height: 90px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  opacity: 0.12 !important;
  z-index: -1 !important;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Icona 1: Stella (Rosa vibrante) */
.page-id-1794 .mn-card-info:nth-child(3n+1)::after, .page-id-1914 .mn-card-info:nth-child(3n+1)::after, .page-id-4156 .mn-card-info:nth-child(3n+1)::after,
.page-id-1794 .mn-dh-card:nth-child(3n+1)::after, .page-id-1914 .mn-dh-card:nth-child(3n+1)::after, .page-id-4156 .mn-dh-card:nth-child(3n+1)::after,
.page-id-1794 .mn-card:nth-child(3n+1)::after, .page-id-1914 .mn-card:nth-child(3n+1)::after, .page-id-4156 .mn-card:nth-child(3n+1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b94285'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") !important;
}

/* Icona 2: Libro/Bambino (Lavanda Scuro) */
.page-id-1794 .mn-card-info:nth-child(3n+2)::after, .page-id-1914 .mn-card-info:nth-child(3n+2)::after, .page-id-4156 .mn-card-info:nth-child(3n+2)::after,
.page-id-1794 .mn-dh-card:nth-child(3n+2)::after, .page-id-1914 .mn-dh-card:nth-child(3n+2)::after, .page-id-4156 .mn-dh-card:nth-child(3n+2)::after,
.page-id-1794 .mn-card:nth-child(3n+2)::after, .page-id-1914 .mn-card:nth-child(3n+2)::after, .page-id-4156 .mn-card:nth-child(3n+2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237b5ab8'%3E%3Cpath d='M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zm0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z'/%3E%3C/svg%3E") !important;
}

/* Icona 3: Mongolfiera/Mappamondo (Azzurro intenso) */
.page-id-1794 .mn-card-info:nth-child(3n+3)::after, .page-id-1914 .mn-card-info:nth-child(3n+3)::after, .page-id-4156 .mn-card-info:nth-child(3n+3)::after,
.page-id-1794 .mn-dh-card:nth-child(3n+3)::after, .page-id-1914 .mn-dh-card:nth-child(3n+3)::after, .page-id-4156 .mn-dh-card:nth-child(3n+3)::after,
.page-id-1794 .mn-card:nth-child(3n+3)::after, .page-id-1914 .mn-card:nth-child(3n+3)::after, .page-id-4156 .mn-card:nth-child(3n+3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b89c2'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") !important;
}

/* Hover Animation Kids (rimbalzo divertente) */
.page-id-1794 .mn-card-info:hover::after, .page-id-1914 .mn-card-info:hover::after, .page-id-4156 .mn-card-info:hover::after,
.page-id-1794 .mn-dh-card:hover::after, .page-id-1914 .mn-dh-card:hover::after, .page-id-4156 .mn-dh-card:hover::after,
.page-id-1794 .mn-dh-month-card:hover::after, .page-id-1914 .mn-dh-month-card:hover::after, .page-id-4156 .mn-dh-month-card:hover::after,
.page-id-1794 .mn-card:hover::after, .page-id-1914 .mn-card:hover::after, .page-id-4156 .mn-card:hover::after {
  transform: rotate(-15deg) scale(1.2) translateY(-10px) !important;
  opacity: 0.2 !important;
}


/* CSS responsive dallo snippet 6163 */
/* ============================================================

   MNA FIX RESPONSIVE HEADER FULL-BLEED — Madrassat an-Noor

   Data: 2026-05-19 (rev. glass + pull-up)

   Autore: Claude Opus 4.7

   Obiettivo:

   1) header + announcement bar full-bleed su tutti i viewport

   2) effetto VETRO frosted (glass) come il design Kimi originale

   3) pull-up del contenuto su desktop (v13 ripristinato):

      il sito sale SOTTO l'header glass, niente fascia visibile

      tra menu e prima sezione

   4) mobile: NIENTE pull-up, padding-top dinamico via JS v19

   ============================================================ */



/* === 1) NIENTE OVERFLOW ORIZZONTALE === */

html, body {

  max-width: 100% !important;

  overflow-x: clip !important;

}



/* === 2) SHELL ESTERNO — FULL-BLEED + GLASS frosted forte === */

html body .mn-custom-header-shell {

  width: 100% !important;

  max-width: none !important;

  margin-left: 0 !important;

  margin-right: 0 !important;

  padding-left: 0 !important;

  padding-right: 0 !important;

  left: 0 !important;

  right: 0 !important;



  /* Trasparenza glass MOLTO marcata: il contenuto sotto traspare sfocato */

  background: rgba(255, 255, 255, 0.28) !important;

  -webkit-backdrop-filter: saturate(180%) blur(48px) !important;

  backdrop-filter: saturate(180%) blur(48px) !important;



  /* Bordo invisibile in cima, no shadow = no fascia */

  border-bottom: 1px solid rgba(180, 162, 145, 0.08) !important;

  box-shadow: none !important;



  box-sizing: border-box !important;



  /* Transizione smooth per stato scrolled */

  transition: background-color 0.45s ease,

              backdrop-filter 0.45s ease,

              -webkit-backdrop-filter 0.45s ease,

              border-bottom-color 0.45s ease,

              box-shadow 0.45s ease !important;

}



/* === 3) ANNOUNCEMENT BAR — full-bleed dentro shell === */

html body .mn-custom-header-shell .mn-custom-announcement,

html body .mn-custom-announcement {

  position: relative !important;

  width: 100% !important;

  max-width: none !important;

  margin: 0 !important;

  padding: 8px 20px !important;

  background: #cbeadf !important;

  color: #0f5e52 !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  min-height: 38px !important;

  font-family: "Quicksand", system-ui, -apple-system, sans-serif !important;

  font-size: 14px !important;

  line-height: 1.25 !important;

  text-align: center !important;

  box-sizing: border-box !important;

  border: 0 !important;

}

html body .mn-custom-announcement::before,

html body .mn-custom-announcement::after { content: none !important; display: none !important; }



@media (max-width: 1024px) {

  html body .mn-custom-announcement { font-size: 13px !important; padding: 7px 16px !important; }

}

@media (max-width: 768px) {

  html body .mn-custom-announcement {

    font-size: 12.5px !important; padding: 6px 14px !important;

    min-height: 34px !important; line-height: 1.2 !important;

  }

}

@media (max-width: 480px) {

  html body .mn-custom-announcement {

    font-size: 11.5px !important; padding: 5px 10px !important; min-height: 32px !important;

  }

}

@media (max-width: 360px) {

  html body .mn-custom-announcement {

    font-size: 10.5px !important; padding: 4px 8px !important; min-height: 30px !important;

  }

}



/* === 4) HEADER (sotto la barra) — full-width, trasparente === */

html body .mn-custom-header,

html body .mn-custom-header-shell .mn-custom-header {

  position: relative !important;

  inset: auto !important;

  width: 100% !important;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;

  background: transparent !important;

  border: 0 !important;

  border-bottom: none !important;

  box-shadow: none !important;

  box-sizing: border-box !important;

  min-height: 74px !important;

}

html body .mn-custom-header::before,

html body .mn-custom-header::after { content: none !important; display: none !important; }



/* === 5) INNER — qui si centra il contenuto del menu === */

html body .mn-custom-header-inner {

  position: relative !important;

  width: 100% !important;

  max-width: 1280px !important;

  margin: 0 auto !important;

  padding: 0 24px !important;

  box-sizing: border-box !important;

  display: grid !important;

  grid-template-columns: auto 1fr auto !important;

  align-items: center !important;

  gap: 18px !important;

  min-height: 74px !important;

}



@media (min-width: 1600px) {

  html body .mn-custom-header-inner { max-width: 1360px !important; }

}

@media (min-width: 1920px) {

  html body .mn-custom-header-inner { max-width: 1440px !important; }

}

@media (max-width: 1024px) {

  html body .mn-custom-header-inner { padding: 0 20px !important; }

}

@media (max-width: 899px) {

  html body .mn-custom-header-inner {

    grid-template-columns: auto auto !important;

    justify-content: space-between !important;

    padding: 0 16px !important;

    gap: 0.8rem !important;

    min-height: 64px !important;

  }

}

@media (max-width: 480px) {

  html body .mn-custom-header-inner { padding: 0 14px !important; min-height: 60px !important; }

}

@media (max-width: 360px) {

  html body .mn-custom-header-inner { padding: 0 12px !important; min-height: 58px !important; }

}



html body .mn-custom-header-inner > * { min-width: 0 !important; }



/* === 6) HOMEPAGE glass + scroll-state === */

html body.home .mn-custom-header-shell {

  background: rgba(255, 255, 255, 0.28) !important;

  border-bottom-color: rgba(180, 162, 145, 0.08) !important;

  box-shadow: none !important;

}

html body.home .mn-custom-header { background: transparent !important; border-bottom-color: transparent !important; }

html body.home.mn-home-scrolled .mn-custom-header-shell {

  background: rgba(255, 255, 255, 0.62) !important;

  border-bottom-color: rgba(180, 162, 145, 0.18) !important;

  box-shadow: 0 2px 16px rgba(61, 61, 61, 0.04) !important;

}



/* === 7) Decoratori home sotto l'header === */

.mn-home-deco, .mn-home-blob, .mn-home-circles,

.mn-home-hero::before, .mn-home-hero::after { z-index: 0 !important; }



/* === 8) Reset selettori-fantasma legacy === */

.mn-custom-header-shell-shell,

.mn-custom-header-shell-inner,

.mn-custom-header-shell-spacer { all: unset !important; }



/* === 9) Container globali — niente max-width che blocchi lo shell === */

.site, #page, .ct-container, .ct-container-full,

main.site-main, .entry-content {

  max-width: 100% !important;

}

.site, #page { overflow-x: clip !important; }



/* ============================================================

   10) PULL-UP DESKTOP — il sito sale SOTTO l'header glass

   (ripristino regola v13: il bg della hero/main parte da y=0,

    sotto l'header trasparente; il contenuto interno ha padding

    sufficiente per stare visibile fuori dall'area header).

   Senza questo c'è la "fascia" crema tra menu e hero.

   Solo desktop ≥ 1025px. Su mobile NIENTE pull-up.

   ============================================================ */

@media (min-width: 1025px) {



  /* HOMEPAGE: hero parte sotto header, contenuto padded */

  html body.home .mn-home-hero {

    margin-top: calc(-1 * var(--mn-real-header-h, 113px)) !important;

    padding-top: calc(var(--mn-real-header-h, 113px) + 32px) !important;

    position: relative !important;

    z-index: 1 !important;

  }



  /* PAGINE NON-HOME: pull-up del main */

  html body:not(.home) main.site-main,

  html body:not(.home) main.site-main > .ct-container,

  html body:not(.home) main.site-main > .ct-container-full {

    margin-top: calc(-1 * var(--mn-real-header-h, 113px)) !important;

    padding-top: calc(var(--mn-real-header-h, 113px) + 32px) !important;

    position: relative !important;

    z-index: 1 !important;

  }



  /* Pagine con hero proprio (.mn-premium-hero / .mn-flow-hero):

     niente doppio offset, il padding-top va sulla hero stessa */

  html body:not(.home) main.site-main:has(.mn-premium-hero),

  html body:not(.home) main.site-main:has(.mn-flow-hero),

  html body:not(.home) main.site-main:has(.mn-premium-hero) > .ct-container,

  html body:not(.home) main.site-main:has(.mn-flow-hero) > .ct-container,

  html body:not(.home) main.site-main:has(.mn-premium-hero) > .ct-container-full,

  html body:not(.home) main.site-main:has(.mn-flow-hero) > .ct-container-full {

    padding-top: 0 !important;

  }

  html body:not(.home) .mn-premium-hero,

  html body:not(.home) .mn-flow-hero {

    padding-top: calc(var(--mn-real-header-h, 113px) + 32px) !important;

  }

}



/* MOBILE: padding-top dinamico, NIENTE pull-up */

@media (max-width: 1024px) {

  html body.home .mn-home-hero,

  html body:not(.home) main.site-main,

  html body:not(.home) main.site-main > .ct-container,

  html body:not(.home) main.site-main > .ct-container-full {

    margin-top: 0 !important;

    padding-top: calc(var(--mn-real-header-h, 124px) + 18px) !important;

  }

}



/* === MNA Layout Coherence Overrides 2026-06-27 ===
   - elimina sfondo lavanda che affiora sotto l'header/home
   - nasconde il footer/copyright nativo del tema, sostituito dal custom MaN
*/

html {
  background: #F6F1E9 !important;
  background-color: #F6F1E9 !important;
}

body.theme-blocksy #main-container footer.ct-footer#footer.ct-footer,
body.theme-blocksy #main-container .ct-footer-copyright,
body.theme-blocksy footer.ct-footer .ct-footer-copyright {
  display: none !important;
}

/* FINE FIX 20260519 rev glass + pull-up */

/* Estratto header dallo snippet 5898 */
/* ENSURE CUSTOM HEADER IS VISIBLE */



.mn-custom-header-shell,



.mn-custom-header{



  display: block !important;



  visibility: visible !important;



  opacity: 1 !important;



  pointer-events: auto !important;



  z-index: 10000;



}

.mn-custom-header, .mn-custom-header-shell-shell{



  inset: 0 0 auto 0;



  pointer-events: none;



  position: fixed;



  z-index: 120;



}

body.admin-bar .mn-custom-header, .mn-custom-header-shell-shell{



  top: 32px;



}

.mn-custom-announcement,



.mn-custom-header, .mn-custom-header-shell,



.mn-custom-burger,



.mn-custom-nav, .mn-desktop-nav,



.mn-custom-dropdown summary,



.mn-custom-submenu,



.mn-custom-cta{



  pointer-events: auto;



}

.mn-custom-announcement{



  align-items: center;



  background: #cbeadf;



  color: #48524d;



  display: flex;



  font-size: 0.92rem;



  font-weight: 500;



  justify-content: center;



  min-height: 38px;



  padding: 0.35rem 1rem;



  text-align: center;



}

.mn-custom-announcement span{



  align-items: center;



  display: inline-flex;



  gap: 0.55rem;



}

.mn-custom-icon{



  color: #4f5e58;



  font-size: 0.95rem;



}

.mn-custom-icon--moon{



  color: #c8a753;



  font-size: 1rem;



}

.mn-custom-separator,



.mn-home-hero-separator{



  opacity: 0.72;



}

.mn-custom-header, .mn-custom-header-shell{



  background: rgba(249, 244, 236, 0.82);



  border-bottom: 1px solid rgba(180, 162, 145, 0.12);



  box-shadow: 0 14px 40px rgba(104, 88, 76, 0.06);



  position: relative;



}

.mn-custom-header, .mn-custom-header-shell::before{



  background:



    radial-gradient(circle at 20% 10%, rgba(217, 204, 238, 0.26), transparent 24%),



    radial-gradient(circle at 68% 25%, rgba(191, 231, 218, 0.2), transparent 24%),



    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(248, 243, 235, 0.72));



  content: "";



  inset: 0;



  position: absolute;



}

.mn-custom-header, .mn-custom-header-shell-inner{



  align-items: center;



  display: grid;



  gap: 1.5rem;



  grid-template-columns: 210px 1fr;



  margin: 0 auto;



  max-width: 1720px;



  min-height: 96px;



  padding: 0 2.8rem;



  position: relative;



}

.mn-custom-brand{



  display: inline-flex;



  justify-self: start;



}

.mn-custom-brand img{



  border-radius: 0;



  box-shadow: none;



  display: block;



  height: auto;



  max-width: 186px;



}

.mn-custom-nav, .mn-desktop-nav{



  align-items: center;



  display: flex;



  gap: 0.55rem;



  justify-content: center;



  position: relative;



}

.mn-custom-link,



.mn-custom-dropdown summary{



  align-items: center;



  color: #46413f;



  display: inline-flex;



  font-size: 0.965rem;



  font-weight: 400;



  justify-content: center;



  letter-spacing: -0.006em;



  min-height: 46px;



  padding: 0.84rem 1.02rem;



  position: relative;



  transition: color 280ms cubic-bezier(0.22, 1, 0.36, 1);



}

.mn-custom-link::after,



.mn-custom-dropdown summary::after{



  background: rgba(155, 124, 216, 0.78);



  border-radius: 999px;



  bottom: 0.5rem;



  content: "";



  height: 2px;



  left: 1.05rem;



  opacity: 0;



  position: absolute;



  right: 1.05rem;



  transform: scaleX(0.45);



  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);



}

.mn-custom-link:hover,



.mn-custom-dropdown summary:hover,



.mn-custom-dropdown[open] summary,



body.theme-blocksy .mn-custom-link--home,



body.page-id-159 .mn-custom-link--home,



body.page-id-11 .mn-custom-link--scopri,



body.page-id-1383 .mn-custom-link--scopri,



body.page-id-13 .mn-custom-link--percorsi,



body.page-id-2245 .mn-custom-link--percorsi,



body.page-id-1923 .mn-custom-link--percorsi,



body.page-id-2345 .mn-custom-link--percorsi,



body.page-id-2030 .mn-custom-link--percorsi,



body.page-id-1794 .mn-custom-link--kids,



body.page-id-1914 .mn-custom-link--kids,



body.page-id-2348 .mn-custom-link--kids,



body.page-id-16 .mn-custom-link--risorse,



body.page-id-123 .mn-custom-link--risorse,



body.page-id-1162 .mn-custom-link--risorse,



body.page-id-73 .mn-custom-link--risorse,



body.page-id-2352 .mn-custom-link--risorse,



body.archive.category .mn-custom-link--studia,



body.single-post .mn-custom-link--studia{



  color: #8f6ad0;



}

.mn-custom-link:hover::after,



.mn-custom-dropdown summary:hover::after,



.mn-custom-dropdown[open] summary::after,



body.theme-blocksy .mn-custom-link--home::after,



body.page-id-159 .mn-custom-link--home::after,



body.page-id-11 .mn-custom-link--scopri::after,



body.page-id-1383 .mn-custom-link--scopri::after,



body.page-id-13 .mn-custom-link--percorsi::after,



body.page-id-2245 .mn-custom-link--percorsi::after,



body.page-id-1923 .mn-custom-link--percorsi::after,



body.page-id-2345 .mn-custom-link--percorsi::after,



body.page-id-2030 .mn-custom-link--percorsi::after,



body.page-id-1794 .mn-custom-link--kids::after,



body.page-id-1914 .mn-custom-link--kids::after,



body.page-id-2348 .mn-custom-link--kids::after,



body.page-id-16 .mn-custom-link--risorse::after,



body.page-id-123 .mn-custom-link--risorse::after,



body.page-id-1162 .mn-custom-link--risorse::after,



body.page-id-73 .mn-custom-link--risorse::after,



body.page-id-2352 .mn-custom-link--risorse::after,



body.archive.category .mn-custom-link--studia::after,



body.single-post .mn-custom-link--studia::after{



  opacity: 1;



  transform: scaleX(1);



}

.mn-custom-dropdown{



  position: relative;



}

.mn-custom-dropdown summary{



  cursor: pointer;



  list-style: none;



}

.mn-custom-dropdown summary::-webkit-details-marker{



  display: none;



}

.mn-custom-chevron{



  border-bottom: 1.5px solid currentColor;



  border-right: 1.5px solid currentColor;



  flex: 0 0 auto;



  height: 7px;



  margin-left: 0.5rem;



  display: inline-block;



  transform: rotate(45deg);



  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);



  width: 7px;



}

.mn-custom-submenu{



  backdrop-filter: blur(18px);



  background: rgba(255, 255, 255, 0.94);



  border: 1px solid rgba(196, 185, 174, 0.14);



  border-radius: 28px;



  box-shadow:



    0 24px 46px rgba(95, 79, 69, 0.11),



    0 8px 18px rgba(95, 79, 69, 0.05);



  display: grid;



  gap: 0.15rem;



  min-width: 172px;



  opacity: 0;



  padding: 0.95rem;



  pointer-events: none;



  position: absolute;



  right: -0.4rem;



  top: calc(100% + 0.75rem);



  transform: translateY(12px) scale(0.985);



  transform-origin: top center;



  transition:



    opacity 350ms cubic-bezier(0.22, 1, 0.36, 1),



    transform 350ms cubic-bezier(0.22, 1, 0.36, 1);



  will-change: opacity, transform;



  z-index: 60;



}

.mn-custom-submenu--mega{



  gap: 1.2rem;



  left: 50%;



  max-width: calc(100vw - 120px);



  padding: 1.45rem 1.55rem;



  right: auto;



  top: calc(100% + 0.95rem);



  transform: translateX(-50%);



}

.mn-custom-submenu{



  opacity: 1;



  pointer-events: auto;



  transform: translateY(0) scale(1);



}

.mn-custom-submenu--mega{



  opacity: 1;



  pointer-events: auto;



  transform: translateX(-50%) translateY(0) scale(1);



}

.mn-custom-dropdown[open] .mn-custom-chevron{



  transform: rotate(225deg);



}

.mn-custom-dropdown--scopri .mn-custom-submenu--mega,



.mn-custom-dropdown--percorsi .mn-custom-submenu--mega{



  min-width: min(760px, calc(100vw - 120px));



}

.mn-custom-dropdown--percorsi .mn-custom-submenu--mega{



  min-width: min(980px, calc(100vw - 120px));



}

.mn-custom-dropdown--studia .mn-custom-submenu--mega{



  min-width: min(920px, calc(100vw - 120px));



}

.mn-custom-dropdown--kids .mn-custom-submenu--mega{



  min-width: min(520px, calc(100vw - 120px));



}

.mn-custom-dropdown--risorse .mn-custom-submenu--mega{



  min-width: min(420px, calc(100vw - 120px));



}

.mn-custom-mega-grid{



  display: grid;



  gap: 1.2rem 1.45rem;



}

.mn-custom-dropdown--scopri .mn-custom-mega-grid,



.mn-custom-dropdown--percorsi .mn-custom-mega-grid{



  grid-template-columns: repeat(2, minmax(0, 1fr));



}

.mn-custom-dropdown--percorsi .mn-custom-mega-grid{



  grid-template-columns: repeat(3, minmax(0, 1fr));



}

.mn-custom-dropdown--studia .mn-custom-mega-grid{



  grid-template-columns: repeat(3, minmax(0, 1fr));



}

.mn-custom-mega-col{



  align-content: start;



  display: grid;



  gap: 0.7rem;



}

.mn-custom-mega-kicker{



  color: #8e6f7d;



  font-size: 0.82rem;



  font-weight: 700;



  letter-spacing: 0.12em;



  margin: 0 0 0.15rem;



  text-transform: uppercase;



}

.mn-custom-mega-item{



  border-radius: 20px;



  color: #4f4a47;



  display: grid;



  gap: 0.28rem;



  padding: 0.95rem 1rem;



  text-decoration: none;



  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;



}

.mn-custom-mega-item strong{



  color: #3d2f51;



  display: block;



  font-size: 1.04rem;



  font-weight: 400;



  letter-spacing: -0.012em;



  line-height: 1.12;



}

.mn-custom-mega-item span{



  color: #8a8078;



  display: block;



  font-size: 0.96rem;



  letter-spacing: -0.01em;



  line-height: 1.52;



}

.mn-custom-mega-item:hover{



  background: rgba(246, 241, 233, 0.94);



  color: #8f6ad0;



  transform: translateY(-1px);



}

.mn-custom-mega-item:hover strong{



  color: #8f6ad0;



}

.mn-custom-mega-item--highlight{



  background: linear-gradient(135deg, rgba(248, 234, 243, 0.78), rgba(255, 255, 255, 0.94));



  border: 1px solid rgba(228, 196, 214, 0.58);



}

.mn-custom-submenu a{



  border-radius: 16px;



  color: #4f4a47;



  padding: 0.86rem 0.92rem;



  transition: background-color 260ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms cubic-bezier(0.22, 1, 0.36, 1);



}

.mn-custom-submenu a:hover{



  background: rgba(246, 241, 233, 0.86);



  color: #8f6ad0;



  transform: translateY(-1px);



}

.mn-custom-utility{



  display: none !important;



}

.mn-custom-mobile-extra,



.mn-custom-nav, .mn-desktop-nav-toggle,



.mn-custom-burger{



  display: none;



}

.mn-custom-header, .mn-custom-header-shell-spacer{



  height: 152px;



}

body.page-id-1794 .mn-custom-brand img,



body.page-id-1914 .mn-custom-brand img,



body.page-id-2348 .mn-custom-brand img{



  max-width: 112px;



  content: url("https://madrassatannoorscuola.it/wp-content/uploads/2026/11/MaN_malva_originale_pittogramma_1800px.png");



}

body.page-id-1794 .mn-custom-brand img,



body.page-id-1914 .mn-custom-brand img,



body.page-id-2348 .mn-custom-brand img{



  max-width: 148px;



}

@media (max-width: 899px){
body.admin-bar .mn-custom-header, .mn-custom-header-shell-shell{



    top: 46px;



  }

.mn-custom-header, .mn-custom-header-shell-inner{



    gap: 0.8rem;



    grid-template-columns: 1fr auto;



    min-height: 82px;



    padding: 0 1rem;



  }

.mn-custom-brand img{



    max-width: 154px;



  }

.mn-custom-burger{



    align-items: center;



    background: rgba(255, 255, 255, 0.78);



    border: 1px solid rgba(171, 155, 141, 0.16);



    border-radius: 18px;



    display: inline-flex;



    flex-direction: column;



    gap: 4px;



    height: 48px;



    justify-content: center;



    width: 48px;



  }

.mn-custom-burger span{



    background: #5c5652;



    border-radius: 999px;



    display: block;



    height: 2px;



    width: 18px;



  }

.mn-custom-nav, .mn-desktop-nav{



    background: rgba(255, 255, 255, 0.985);



    border: 1px solid rgba(183, 171, 159, 0.18);



    border-radius: 28px;



    box-shadow: 0 22px 45px rgba(95, 79, 69, 0.12);



    display: none;



    flex-direction: column;



    gap: 0.2rem;



    left: 1rem;



    padding: 1rem;



    padding-right: 1rem;



    position: absolute;



    right: 1rem;



    top: calc(100% + 0.65rem);



    z-index: 80;



  }

.mn-custom-nav, .mn-desktop-nav-toggle:checked ~ .mn-custom-nav, .mn-desktop-nav{



    display: flex;



  }

.mn-custom-link,



  .mn-custom-dropdown summary,



  .mn-custom-mobile-extra a{



    justify-content: flex-start;



    width: 100%;



  }

.mn-custom-utility{



    display: none;



  }

.mn-custom-dropdown{



    width: 100%;



  }

.mn-custom-chevron{



    margin-left: auto;



  }

.mn-custom-submenu{



    border-radius: 18px;



    margin-top: 0.5rem;



    min-width: 0;



    position: static;



    transform: none;



  }

.mn-custom-submenu--mega{



    left: auto;



    max-width: none;



    padding: 0.8rem;



    top: auto;



  }

.mn-custom-mega-grid,



  .mn-custom-dropdown--studia .mn-custom-mega-grid,



  .mn-custom-dropdown--scopri .mn-custom-mega-grid,



  .mn-custom-dropdown--percorsi .mn-custom-mega-grid{



    grid-template-columns: 1fr;



  }

.mn-custom-mega-item{



    padding: 0.85rem 0.95rem;



  }

.mn-custom-mobile-extra{



    border-top: 1px solid rgba(183, 171, 159, 0.18);



    display: grid;



    gap: 0.2rem;



    margin-top: 0.35rem;



    padding-top: 0.55rem;



  }

.mn-custom-mobile-extra a{



    border-radius: 16px;



    color: #56514d;



    padding: 0.8rem 1rem;



  }
}

@media (max-width: 767px){
.mn-custom-announcement{



    font-size: 0.8rem;



    min-height: 34px;



    padding-inline: 0.8rem;



  }

.mn-custom-header, .mn-custom-header-shell-inner{



    min-height: 78px;



  }

.mn-custom-brand img{



    max-width: 138px;



  }

.mn-custom-header, .mn-custom-header-shell-spacer{



    height: 124px;



  }
}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell-spacer{



  height: 0;



}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell{



  background: transparent;



  border-bottom-color: transparent;



  box-shadow: none;



  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;



}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell::before{



  opacity: 0;



  transition: opacity 0.35s ease;



}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell-inner{



  max-width: 1600px;



  min-height: 104px;



  padding-left: clamp(1.3rem, 5vw, 5rem);



  padding-right: clamp(1.3rem, 5vw, 5rem);



  transition: min-height 0.35s ease, padding 0.35s ease;



}

body.theme-blocksy .mn-custom-nav, .mn-desktop-nav{



  gap: 0.7rem;



  padding-right: 0;



}

body.theme-blocksy .mn-custom-brand img{



  max-width: 194px;



}

body.theme-blocksy .mn-custom-link,



body.theme-blocksy .mn-custom-dropdown summary{



  font-size: 0.98rem;



  font-weight: 500;



  letter-spacing: -0.012em;



}

body.theme-blocksy .mn-custom-cta{



  font-size: 0.95rem;



  font-weight: 600;



  min-height: 54px;



  padding: 0.86rem 2.3rem;



}

body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell{



  background: rgba(246, 241, 233, 0.9);



  border-bottom-color: rgba(180, 162, 145, 0.16);



  box-shadow: 0 14px 34px rgba(104, 88, 76, 0.07);



  backdrop-filter: blur(16px);



}

body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell::before{



  opacity: 0.86;



}

body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell-inner{



  min-height: 88px;



}

body.theme-blocksy .mn-custom-brand img{



  transition: max-width 0.35s ease, opacity 0.35s ease, transform 0.35s ease;



}

body.theme-blocksy.mn-home-scrolled .mn-custom-brand img{



  max-width: 180px;



  opacity: 0.96;



  transform: translateY(-1px);



}

@media (max-width: 899px){
body.theme-blocksy .mn-custom-nav, .mn-desktop-nav{



    padding-right: 0;



  }
}

@media (max-width: 767px){
body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell-inner,



  body.theme-blocksy .mn-custom-header, .mn-custom-header-shell-inner{



    min-height: 82px;



  }
}

/* ===== /C16f ===== */



















































































































































/* ===== MINI FIX 2026-05-12 v11 (bottom bar lavanda + share) ===== */



/* === Mantenuti da v10 === */



html body .mn-custom-announcement,



html body .mn-custom-header-shell .mn-custom-announcement{



  display: flex !important;



  visibility: visible !important;



  opacity: 1 !important;



  height: auto !important;



  min-height: 38px !important;



  pointer-events: auto !important;



}

html .mn-custom-header-shell{



  top: 0 !important;



  box-shadow: none !important;



}

html body.admin-bar .mn-custom-header-shell{



  top: 32px !important;



}

html .mn-custom-header-shell.mna-header--scrolled,



html .mn-custom-header{



  box-shadow: none !important;



}

.mn-custom-header-spacer{



  display: none !important;



  height: 0 !important;



}

/* ===== /MINI FIX 2026-05-13 v13 ===== */











/* ===== MINI FIX 2026-05-13 v16 (hide mn-kimi-footer residuo) ===== */



/* Nascondo il footer residuo mn-kimi-footer (e suoi child) iniettato



   da uno script legacy. La sua presenza creava una fascia sabbia



   chiara sotto la share bar in homepage. */



.mn-kimi-footer,



footer.mn-kimi-footer,



body .mn-kimi-footer,



html body .mn-kimi-footer,



html body footer.mn-kimi-footer{



  display: none !important;



  visibility: hidden !important;



  height: 0 !important;



  min-height: 0 !important;



  max-height: 0 !important;



  padding: 0 !important;



  margin: 0 !important;



  border: 0 !important;



  overflow: hidden !important;



}

.mn-kimi-footer-shell,



.mn-kimi-footer-grid,



.mn-kimi-footer-col,



.mn-kimi-footer-bottom{



  display: none !important;



}

/* ===== /HERO CTA CLICKABILITY FIX 2026-05-22 ===== */











/* ===== PRICE/PROMO CARD STYLE CLEANUP 2026-06-20 ===== */

/* Mantiene stile premium per box informativi dentro le pagine

   e corregge solo in mobile la barra announcement menta, senza



   alterarne la resa desktop. Palette: lavanda, viola morbido,



   azzurro logo, menta e crema fredda. Nessun oro. */







.mn-custom-announcement .mn-ann-desktop{



  align-items: center;



  display: inline-flex;



  gap: 0.55rem;



}

.mn-custom-announcement .mn-ann-mobile{



  display: none;



}

@media (max-width: 640px){
.mn-custom-announcement{



    min-height: auto;



    padding: 0.42rem 0.7rem;



    font-size: 0.78rem;



    line-height: 1.22;



  }

.mn-custom-announcement .mn-ann-desktop{



    display: none !important;



  }

.mn-custom-announcement .mn-ann-mobile{



    display: block !important;



    color: inherit;



    font-size: 0.78rem;



    font-weight: 600;



    letter-spacing: -0.01em;



    text-align: center;



    text-wrap: balance;



  }

.mn-custom-announcement .mn-ann-mobile strong{



    color: #2f5764;



    font-weight: 700;



  }
}

body .mn-home-hero-kicker,



body .mn-home-eyebrow,



body .mn-home-tiktok-kicker,



body .mn-premium-kicker,



body .mn-premium-hero-kicker,



body .mn-custom-mega-kicker,



body .mn-docrich-copy .mn-premium-kicker,



body .mn-brochure-card .mn-premium-kicker{



  color: var(--mn-kicker-accent) !important;



}

/* Estratto header dallo snippet 5096 */
/* ENSURE CUSTOM HEADER IS VISIBLE */

.mn-custom-header-shell,

.mn-custom-header{

  display: block !important;

  visibility: visible !important;

  opacity: 1 !important;

  pointer-events: auto !important;

}

.mn-custom-header, .mn-custom-header-shell-shell{

  inset: 0 0 auto 0;

  pointer-events: none;

  position: fixed;

  z-index: 120;

}

body.admin-bar .mn-custom-header, .mn-custom-header-shell-shell{

  top: 32px;

}

.mn-custom-announcement,

.mn-custom-header, .mn-custom-header-shell,

.mn-custom-burger,

.mn-custom-nav, .mn-desktop-nav,

.mn-custom-dropdown summary,

.mn-custom-submenu,

.mn-custom-cta{

  pointer-events: auto;

}

.mn-custom-announcement{

  align-items: center;

  background: #cbeadf;

  color: #48524d;

  display: flex;

  font-size: 0.92rem;

  font-weight: 500;

  justify-content: center;

  min-height: 38px;

  padding: 0.35rem 1rem;

  text-align: center;

}

.mn-custom-announcement span{

  align-items: center;

  display: inline-flex;

  gap: 0.55rem;

}

.mn-custom-icon{

  color: #4f5e58;

  font-size: 0.95rem;

}

.mn-custom-icon--moon{

  color: #c8a753;

  font-size: 1rem;

}

.mn-custom-separator,

.mn-home-hero-separator{

  opacity: 0.72;

}

.mn-custom-header, .mn-custom-header-shell{

  background: rgba(249, 244, 236, 0.82);

  border-bottom: 1px solid rgba(180, 162, 145, 0.12);

  box-shadow: 0 14px 40px rgba(104, 88, 76, 0.06);

  position: relative;

}

.mn-custom-header, .mn-custom-header-shell::before{

  background:

    radial-gradient(circle at 20% 10%, rgba(217, 204, 238, 0.26), transparent 24%),

    radial-gradient(circle at 68% 25%, rgba(191, 231, 218, 0.2), transparent 24%),

    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(248, 243, 235, 0.72));

  content: "";

  inset: 0;

  position: absolute;

}

.mn-custom-header, .mn-custom-header-shell-inner{

  align-items: center;

  display: grid;

  gap: 1.5rem;

  grid-template-columns: 210px 1fr;

  margin: 0 auto;

  max-width: 1720px;

  min-height: 96px;

  padding: 0 2.8rem;

  position: relative;

}

.mn-custom-brand{

  display: inline-flex;

  justify-self: start;

}

.mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

.mn-custom-nav, .mn-desktop-nav{

  align-items: center;

  display: flex;

  gap: 0.55rem;

  justify-content: center;

  position: relative;

}

.mn-custom-link,

.mn-custom-dropdown summary{

  align-items: center;

  color: #46413f;

  display: inline-flex;

  font-size: 0.965rem;

  font-weight: 400;

  justify-content: center;

  letter-spacing: -0.006em;

  min-height: 46px;

  padding: 0.84rem 1.02rem;

  position: relative;

  transition: color 280ms cubic-bezier(0.22, 1, 0.36, 1);

}

.mn-custom-link::after,

.mn-custom-dropdown summary::after{

  background: rgba(155, 124, 216, 0.78);

  border-radius: 999px;

  bottom: 0.5rem;

  content: "";

  height: 2px;

  left: 1.05rem;

  opacity: 0;

  position: absolute;

  right: 1.05rem;

  transform: scaleX(0.45);

  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);

}

.mn-custom-link:hover,

.mn-custom-dropdown summary:hover,

.mn-custom-dropdown[open] summary,

body.theme-blocksy .mn-custom-link--home,

body.page-id-159 .mn-custom-link--home,

body.page-id-11 .mn-custom-link--scopri,

body.page-id-1383 .mn-custom-link--scopri,

body.page-id-13 .mn-custom-link--percorsi,

body.page-id-2245 .mn-custom-link--percorsi,

body.page-id-1923 .mn-custom-link--percorsi,

body.page-id-2345 .mn-custom-link--percorsi,

body.page-id-2030 .mn-custom-link--percorsi,

body.page-id-1794 .mn-custom-link--kids,

body.page-id-1914 .mn-custom-link--kids,

body.page-id-2348 .mn-custom-link--kids,

body.page-id-16 .mn-custom-link--risorse,

body.page-id-123 .mn-custom-link--risorse,

body.page-id-1162 .mn-custom-link--risorse,

body.page-id-73 .mn-custom-link--risorse,

body.page-id-2352 .mn-custom-link--risorse,

body.archive.category .mn-custom-link--studia,

body.single-post .mn-custom-link--studia{

  color: #8f6ad0;

}

.mn-custom-link:hover::after,

.mn-custom-dropdown summary:hover::after,

.mn-custom-dropdown[open] summary::after,

body.theme-blocksy .mn-custom-link--home::after,

body.page-id-159 .mn-custom-link--home::after,

body.page-id-11 .mn-custom-link--scopri::after,

body.page-id-1383 .mn-custom-link--scopri::after,

body.page-id-13 .mn-custom-link--percorsi::after,

body.page-id-2245 .mn-custom-link--percorsi::after,

body.page-id-1923 .mn-custom-link--percorsi::after,

body.page-id-2345 .mn-custom-link--percorsi::after,

body.page-id-2030 .mn-custom-link--percorsi::after,

body.page-id-1794 .mn-custom-link--kids::after,

body.page-id-1914 .mn-custom-link--kids::after,

body.page-id-2348 .mn-custom-link--kids::after,

body.page-id-16 .mn-custom-link--risorse::after,

body.page-id-123 .mn-custom-link--risorse::after,

body.page-id-1162 .mn-custom-link--risorse::after,

body.page-id-73 .mn-custom-link--risorse::after,

body.page-id-2352 .mn-custom-link--risorse::after,

body.archive.category .mn-custom-link--studia::after,

body.single-post .mn-custom-link--studia::after{

  opacity: 1;

  transform: scaleX(1);

}

.mn-custom-dropdown{

  position: relative;

}

.mn-custom-dropdown summary{

  cursor: pointer;

  list-style: none;

}

.mn-custom-dropdown summary::-webkit-details-marker{

  display: none;

}

.mn-custom-chevron{

  border-bottom: 1.5px solid currentColor;

  border-right: 1.5px solid currentColor;

  flex: 0 0 auto;

  height: 7px;

  margin-left: 0.5rem;

  display: inline-block;

  transform: rotate(45deg);

  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);

  width: 7px;

}

.mn-custom-submenu{

  backdrop-filter: blur(18px);

  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(196, 185, 174, 0.14);

  border-radius: 28px;

  box-shadow:

    0 24px 46px rgba(95, 79, 69, 0.11),

    0 8px 18px rgba(95, 79, 69, 0.05);

  display: grid;

  gap: 0.15rem;

  min-width: 172px;

  opacity: 0;

  padding: 0.95rem;

  pointer-events: none;

  position: absolute;

  right: -0.4rem;

  top: calc(100% + 0.75rem);

  transform: translateY(12px) scale(0.985);

  transform-origin: top center;

  transition:

    opacity 350ms cubic-bezier(0.22, 1, 0.36, 1),

    transform 350ms cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity, transform;

  z-index: 60;

}

.mn-custom-submenu--mega{

  gap: 1.2rem;

  left: 50%;

  max-width: calc(100vw - 120px);

  padding: 1.45rem 1.55rem;

  right: auto;

  top: calc(100% + 0.95rem);

  transform: translateX(-50%);

}

.mn-custom-dropdown[open] > .mn-custom-submenu{

  opacity: 1;

  pointer-events: auto;

  transform: translateY(0) scale(1);

}

.mn-custom-dropdown[open] > .mn-custom-submenu--mega{

  opacity: 1;

  pointer-events: auto;

  transform: translateX(-50%) translateY(0) scale(1);

}

.mn-custom-dropdown[open] .mn-custom-chevron{

  transform: rotate(225deg);

}

.mn-custom-dropdown--scopri .mn-custom-submenu--mega,

.mn-custom-dropdown--percorsi .mn-custom-submenu--mega{

  min-width: min(760px, calc(100vw - 120px));

}

.mn-custom-dropdown--percorsi .mn-custom-submenu--mega{

  min-width: min(980px, calc(100vw - 120px));

}

.mn-custom-dropdown--studia .mn-custom-submenu--mega{

  min-width: min(920px, calc(100vw - 120px));

}

.mn-custom-dropdown--kids .mn-custom-submenu--mega{

  min-width: min(520px, calc(100vw - 120px));

}

.mn-custom-dropdown--risorse .mn-custom-submenu--mega{

  min-width: min(420px, calc(100vw - 120px));

}

.mn-custom-mega-grid{

  display: grid;

  gap: 1.2rem 1.45rem;

}

.mn-custom-dropdown--scopri .mn-custom-mega-grid,

.mn-custom-dropdown--percorsi .mn-custom-mega-grid{

  grid-template-columns: repeat(2, minmax(0, 1fr));

}

.mn-custom-dropdown--percorsi .mn-custom-mega-grid{

  grid-template-columns: repeat(3, minmax(0, 1fr));

}

.mn-custom-dropdown--studia .mn-custom-mega-grid{

  grid-template-columns: repeat(3, minmax(0, 1fr));

}

.mn-custom-mega-col{

  align-content: start;

  display: grid;

  gap: 0.7rem;

}

.mn-custom-mega-kicker{

  color: #8e6f7d;

  font-size: 0.82rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  margin: 0 0 0.15rem;

  text-transform: uppercase;

}

.mn-custom-mega-item{

  border-radius: 20px;

  color: #4f4a47;

  display: grid;

  gap: 0.28rem;

  padding: 0.95rem 1rem;

  text-decoration: none;

  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;

}

.mn-custom-mega-item strong{

  color: #3d2f51;

  display: block;

  font-size: 1.04rem;

  font-weight: 400;

  letter-spacing: -0.012em;

  line-height: 1.12;

}

.mn-custom-mega-item span{

  color: #8a8078;

  display: block;

  font-size: 0.96rem;

  letter-spacing: -0.01em;

  line-height: 1.52;

}

.mn-custom-mega-item:hover{

  background: rgba(246, 241, 233, 0.94);

  color: #8f6ad0;

  transform: translateY(-1px);

}

.mn-custom-mega-item:hover strong{

  color: #8f6ad0;

}

.mn-custom-mega-item--highlight{

  background: linear-gradient(135deg, rgba(248, 234, 243, 0.78), rgba(255, 255, 255, 0.94));

  border: 1px solid rgba(228, 196, 214, 0.58);

}

.mn-custom-submenu a{

  border-radius: 16px;

  color: #4f4a47;

  padding: 0.86rem 0.92rem;

  transition: background-color 260ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms cubic-bezier(0.22, 1, 0.36, 1);

}

.mn-custom-submenu a:hover{

  background: rgba(246, 241, 233, 0.86);

  color: #8f6ad0;

  transform: translateY(-1px);

}

.mn-custom-utility{

  display: none !important;

}

.mn-custom-mobile-extra,

.mn-custom-nav, .mn-desktop-nav-toggle,

.mn-custom-burger{

  display: none;

}

.mn-custom-header, .mn-custom-header-shell-spacer{

  height: 152px;

}

body.page-id-1794 .mn-custom-brand img,

body.page-id-1914 .mn-custom-brand img,

body.page-id-2348 .mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

body.page-id-1794 .mn-custom-brand img,

body.page-id-1914 .mn-custom-brand img,

body.page-id-2348 .mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

@media (max-width: 899px){
body.admin-bar .mn-custom-header, .mn-custom-header-shell-shell{

    top: 46px;

  }

.mn-custom-header, .mn-custom-header-shell-inner{

    gap: 0.8rem;

    grid-template-columns: 1fr auto;

    min-height: 82px;

    padding: 0 1rem;

  }

.mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

.mn-custom-burger{

    align-items: center;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(171, 155, 141, 0.16);

    border-radius: 18px;

    display: inline-flex;

    flex-direction: column;

    gap: 4px;

    height: 48px;

    justify-content: center;

    width: 48px;

  }

.mn-custom-burger span{

    background: #5c5652;

    border-radius: 999px;

    display: block;

    height: 2px;

    width: 18px;

  }

.mn-custom-nav, .mn-desktop-nav{

    background: rgba(255, 255, 255, 0.985);

    border: 1px solid rgba(183, 171, 159, 0.18);

    border-radius: 28px;

    box-shadow: 0 22px 45px rgba(95, 79, 69, 0.12);

    display: none;

    flex-direction: column;

    gap: 0.2rem;

    left: 1rem;

    padding: 1rem;

    padding-right: 1rem;

    position: absolute;

    right: 1rem;

    top: calc(100% + 0.65rem);

    z-index: 80;

  }

.mn-custom-nav, .mn-desktop-nav-toggle:checked ~ .mn-custom-nav, .mn-desktop-nav{

    display: flex;

  }

.mn-custom-link,

  .mn-custom-dropdown summary,

  .mn-custom-mobile-extra a{

    justify-content: flex-start;

    width: 100%;

  }

.mn-custom-utility{

    display: none;

  }

.mn-custom-dropdown{

    width: 100%;

  }

.mn-custom-chevron{

    margin-left: auto;

  }

.mn-custom-submenu{

    border-radius: 18px;

    margin-top: 0.5rem;

    min-width: 0;

    position: static;

    transform: none;

  }

.mn-custom-submenu--mega{

    left: auto;

    max-width: none;

    padding: 0.8rem;

    top: auto;

  }

.mn-custom-mega-grid,

  .mn-custom-dropdown--studia .mn-custom-mega-grid,

  .mn-custom-dropdown--scopri .mn-custom-mega-grid,

  .mn-custom-dropdown--percorsi .mn-custom-mega-grid{

    grid-template-columns: 1fr;

  }

.mn-custom-mega-item{

    padding: 0.85rem 0.95rem;

  }

.mn-custom-mobile-extra{

    border-top: 1px solid rgba(183, 171, 159, 0.18);

    display: grid;

    gap: 0.2rem;

    margin-top: 0.35rem;

    padding-top: 0.55rem;

  }

.mn-custom-mobile-extra a{

    border-radius: 16px;

    color: #56514d;

    padding: 0.8rem 1rem;

  }
}

@media (max-width: 767px){
.mn-custom-announcement{

    font-size: 0.8rem;

    min-height: 34px;

    padding-inline: 0.8rem;

  }

.mn-custom-header, .mn-custom-header-shell-inner{

    min-height: 78px;

  }

.mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

.mn-custom-header, .mn-custom-header-shell-spacer{

    height: 124px;

  }
}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell-spacer{

  height: 0;

}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell{

  background: transparent;

  border-bottom-color: transparent;

  box-shadow: none;

  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;

}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell::before{

  opacity: 0;

  transition: opacity 0.35s ease;

}

body.theme-blocksy .mn-custom-header, .mn-custom-header-shell-inner{

  max-width: 1600px;

  min-height: 104px;

  padding-left: clamp(1.3rem, 5vw, 5rem);

  padding-right: clamp(1.3rem, 5vw, 5rem);

  transition: min-height 0.35s ease, padding 0.35s ease;

}

body.theme-blocksy .mn-custom-nav, .mn-desktop-nav{

  gap: 0.7rem;

  padding-right: 0;

}

body.theme-blocksy .mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

body.theme-blocksy .mn-custom-link,

body.theme-blocksy .mn-custom-dropdown summary{

  font-size: 0.98rem;

  font-weight: 500;

  letter-spacing: -0.012em;

}

body.theme-blocksy .mn-custom-cta{

  font-size: 0.95rem;

  font-weight: 600;

  min-height: 54px;

  padding: 0.86rem 2.3rem;

}

body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell{

  background: rgba(246, 241, 233, 0.9);

  border-bottom-color: rgba(180, 162, 145, 0.16);

  box-shadow: 0 14px 34px rgba(104, 88, 76, 0.07);

  backdrop-filter: blur(16px);

}

body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell::before{

  opacity: 0.86;

}

body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell-inner{

  min-height: 88px;

}

body.theme-blocksy .mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

body.theme-blocksy.mn-home-scrolled .mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

@media (max-width: 899px){
body.theme-blocksy .mn-custom-nav, .mn-desktop-nav{

    padding-right: 0;

  }
}

@media (max-width: 767px){
body.theme-blocksy.mn-home-scrolled .mn-custom-header, .mn-custom-header-shell-inner,

  body.theme-blocksy .mn-custom-header, .mn-custom-header-shell-inner{

    min-height: 82px;

  }
}

.mn-custom-header-shell{

  position: fixed !important;

  top: 0 !important;

  left: 0 !important;

  right: 0 !important;

  z-index: 1200 !important;

  background: transparent !important;

}

.mn-custom-header{

  position: relative !important;

  top: 0 !important;

  left: 0 !important;

  right: 0 !important;

  background: transparent !important;

  border-bottom: 0 !important;

  box-shadow: none !important;

  backdrop-filter: none !important;

  -webkit-backdrop-filter: none !important;

}

.mn-custom-header.mna-header--scrolled{

  background: rgba(246, 241, 233, 0.92) !important;

  border-bottom: 1px solid rgba(233, 220, 201, 0.72) !important;

  box-shadow: 0 18px 54px rgba(61, 61, 61, 0.08) !important;

  backdrop-filter: blur(16px) !important;

  -webkit-backdrop-filter: blur(16px) !important;

}

.mn-custom-header-inner{

  max-width: 1220px !important;

  min-height: 90px !important;

  padding: 10px 28px !important;

  align-items: center !important;

  gap: 24px !important;

  position: relative !important;

  padding-right: 180px !important;

}

.mn-custom-brand img{ height: 72px !important; width: auto !important; max-width: none !important; }

.mn-custom-brand{

  flex: 0 0 auto !important;

}

.mn-custom-nav{

  display: none !important;

}

@media (min-width: 1025px){
.mn-custom-nav.mn-kimi-nav{

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 18px !important;

    flex: 1 1 auto !important;

  }
}

.mn-kimi-nav-link{

  position: relative !important;

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  padding: 6px 4px !important;

  color: #3d3d3d !important;

  text-decoration: none !important;

  font-family: "Quicksand", sans-serif !important;

  font-weight: 700 !important;

  font-size: 15px !important;

  line-height: 1.2 !important;

  transition: color 0.25s ease !important;

}

.mn-kimi-nav-link::after{

  content: '' !important;

  position: absolute !important;

  left: 0 !important;

  right: 0 !important;

  bottom: -10px !important;

  height: 2px !important;

  background: #4ea597 !important;

  transform: scaleX(0) !important;

  transform-origin: center !important;

  transition: transform 0.25s ease !important;

}

.mn-kimi-nav-link:hover,

.mn-kimi-nav-link.is-active{

  color: #4ea597 !important;

}

.mn-kimi-nav-link:hover::after,

.mn-kimi-nav-link.is-active::after{

  transform: scaleX(1) !important;

}

.mna-header-actions{

  display: flex !important;

  align-items: center !important;

  gap: 18px !important;

  position: absolute !important;

  right: 28px !important;

  top: 50% !important;

  transform: translateY(-50%) !important;

  margin-left: 0 !important;

  flex: 0 0 auto !important;

  z-index: 2 !important;

}

.mna-header-actions .mna-cta,

.mna-header-actions .mna-cta.mn-kimi-header-cta{

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  min-height: 48px !important;

  padding: 0 28px !important;

  border-radius: 9999px !important;

  background: #4ea597 !important;

  color: #ffffff !important;

  text-decoration: none !important;

  font-family: "Quicksand", sans-serif !important;

  font-size: 15px !important;

  font-weight: 700 !important;

  box-shadow: none !important;

}

.mna-header-actions .mna-cta:hover,

.mna-header-actions .mna-cta.mn-kimi-header-cta:hover{

  background: #438e82 !important;

  color: #ffffff !important;

  transform: none !important;

}

.mn-custom-burger{

  background: transparent !important;

  border: none !important;

  box-shadow: none !important;

  width: 32px !important;

  height: 28px !important;

  padding: 0 !important;

}

.mn-custom-burger span{

  width: 26px !important;

  height: 2px !important;

  border-radius: 999px !important;

  background: #4b4039 !important;

}

@media (min-width: 1025px){
.mn-custom-burger{

    display: none !important;

  }
}

@media (max-width: 1024px){
.mn-custom-header-inner{

    min-height: 72px !important;

    padding: 22px 24px !important;

    padding-right: 24px !important;

  }

.mna-header-actions .mna-cta{

    display: none !important;

  }

.mna-header-actions{

    display: none !important;

  }

.mn-custom-nav.mn-kimi-nav{

    position: fixed !important;

    top: 0 !important;

    right: 0 !important;

    left: auto !important;

    bottom: 0 !important;

    width: min(312px, 82vw) !important;

    max-width: 312px !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: stretch !important;

    justify-content: flex-start !important;

    gap: 0 !important;

    padding: 94px 32px 28px !important;

    margin: 0 !important;

    background: rgba(246, 241, 233, 0.98) !important;

    box-shadow: -28px 0 60px rgba(48, 41, 36, 0.14) !important;

    border-radius: 0 !important;

    transform: translateX(100%) !important;

    opacity: 0 !important;

    visibility: hidden !important;

    pointer-events: none !important;

    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease !important;

    z-index: 1199 !important;

  }

.mn-custom-header-shell.mn-kimi-mobile-open .mn-custom-nav.mn-kimi-nav{

    transform: translateX(0) !important;

    opacity: 1 !important;

    visibility: visible !important;

    pointer-events: auto !important;

  }

.mn-kimi-nav-link{

    display: block !important;

    width: 100% !important;

    padding: 18px 8px !important;

    border-bottom: 1px solid rgba(201, 185, 166, 0.34) !important;

    font-size: 21px !important;

    line-height: 1.15 !important;

  }

.mn-kimi-nav-link::after{

    display: none !important;

  }

.mn-kimi-mobile-cta{

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    min-height: 50px !important;

    margin-top: 26px !important;

    border-radius: 9999px !important;

    background: #4ea597 !important;

    color: #ffffff !important;

    text-decoration: none !important;

    font-family: "Quicksand", sans-serif !important;

    font-size: 16px !important;

    font-weight: 700 !important;

  }
}

.mna-mobile-menu{

  position: fixed !important;

  inset: 0 !important;

  display: block !important;

  background: rgba(56, 49, 44, 0.28) !important;

  opacity: 0 !important;

  visibility: hidden !important;

  pointer-events: none !important;

  transition: opacity 0.25s ease, visibility 0.25s ease !important;

  z-index: 1198 !important;

}

.mna-mobile-menu.open{

  opacity: 1 !important;

  visibility: visible !important;

  pointer-events: auto !important;

}

.mna-mobile-menu-inner{

  margin-left: auto !important;

  width: min(312px, 80vw) !important;

  max-width: 312px !important;

  height: 100vh !important;

  padding: 94px 32px 28px !important;

  background: rgba(246, 241, 233, 0.98) !important;

  box-shadow: none !important;

  transform: translateX(100%) !important;

  transition: transform 0.25s ease !important;

  overflow-y: auto !important;

}

.mna-mobile-menu.open .mna-mobile-menu-inner{

  transform: translateX(0) !important;

}

.mn-kimi-mobile-link{

  display: block !important;

  padding: 18px 8px !important;

  border-bottom: 1px solid rgba(201, 185, 166, 0.34) !important;

  color: #222222 !important;

  text-decoration: none !important;

  font-family: "Quicksand", sans-serif !important;

  font-size: 21px !important;

  font-weight: 700 !important;

  line-height: 1.15 !important;

}

.mn-kimi-mobile-link.is-active{

  color: #111111 !important;

}

.mn-kimi-mobile-cta{

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  width: 100% !important;

  min-height: 50px !important;

  margin-top: 26px !important;

  border-radius: 9999px !important;

  background: #4ea597 !important;

  color: #ffffff !important;

  text-decoration: none !important;

  font-family: "Quicksand", sans-serif !important;

  font-size: 16px !important;

  font-weight: 700 !important;

}

.mn-kimi-mobile-cta:hover{

  background: #438e82 !important;

  color: #ffffff !important;

}

.mn-kimi-mobile-overlay{

  position: fixed !important;

  inset: 0 !important;

  background: rgba(56, 49, 44, 0.28) !important;

  opacity: 0 !important;

  visibility: hidden !important;

  pointer-events: none !important;

  transition: opacity 0.25s ease, visibility 0.25s ease !important;

  z-index: 1198 !important;

}

.mn-custom-header-shell.mn-kimi-mobile-open .mn-kimi-mobile-overlay{

  opacity: 1 !important;

  visibility: visible !important;

  pointer-events: auto !important;

}

@media (min-width: 1025px){
.mn-kimi-mobile-cta{

    display: none !important;

  }
}

/* Extra cleanup for legacy header pieces that still leak above the Kimi override */

.mn-custom-announcement,

.mn-custom-nav-toggle,

#mn-custom-nav-toggle,

.mn-mobile-cta-wa,

.mn-custom-header .mn-mobile-cta-wa,

.mn-custom-header-shell .mn-mobile-cta-wa{

  display: none !important;

  visibility: hidden !important;

  opacity: 0 !important;

  pointer-events: none !important;

}

/* --- C14 ROBUST LOGO FIX --- */
.mn-custom-brand img, .site-logo-container img{
  height: 72px !important; 
  width: auto !important;
  max-height: none !important;
  min-height: 60px !important;
  display: block !important;
}

@media (max-width: 1024px){
.mn-custom-brand img, .site-logo-container img{
    height: 56px !important;
    min-height: 48px !important;
  }
}

/* --- C15 BURGER REFINEMENT --- */
.mn-custom-burger, .mn-custom-burger *{
  pointer-events: auto !important;
  cursor: pointer !important;
}

.mn-custom-burger{
  position: relative !important;
  z-index: 10000 !important;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex !important;
}

.mn-custom-header-shell{
  pointer-events: auto !important;
}

/* --- C15 MOBILE VISIBILITY FORCE --- */
.mn-custom-burger{
  z-index: 2000000 !important;
}

.mn-kimi-mobile-open .mn-custom-nav, 
.mn-kimi-mobile-open .mn-kimi-nav,
.mn-kimi-mobile-open [class*="mn-custom-nav"]{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  position: fixed !important;
  background: #F6F1E9 !important;
  z-index: 1500000 !important;
  padding: 100px 24px !important;
  overflow-y: auto !important;
}

/* ===== MINI FIX 2026-05-12 v11 (bottom bar lavanda + share) ===== */
/* === Mantenuti da v10 === */
html body .mn-custom-announcement,
html body .mn-custom-header-shell .mn-custom-announcement{
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 38px !important;
  pointer-events: auto !important;
}

html .mn-custom-header-shell{
  top: 0 !important;
  box-shadow: none !important;
}

html body.admin-bar .mn-custom-header-shell{
  top: 32px !important;
}

html .mn-custom-header-shell.mna-header--scrolled,
html .mn-custom-header{
  box-shadow: none !important;
}

.mn-custom-header-spacer{
  display: none !important;
  height: 0 !important;
}

/* ===== /MINI FIX 2026-05-13 v13 ===== */


/* ===== MINI FIX 2026-05-13 v16 (hide mn-kimi-footer residuo) ===== */
/* Nascondo il footer residuo mn-kimi-footer (e suoi child) iniettato
   da uno script legacy. La sua presenza creava una fascia sabbia
   chiara sotto la share bar in homepage. */
.mn-kimi-footer,
footer.mn-kimi-footer,
body .mn-kimi-footer,
html body .mn-kimi-footer,
html body footer.mn-kimi-footer{
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

.mn-kimi-footer-shell,
.mn-kimi-footer-grid,
.mn-kimi-footer-col,
.mn-kimi-footer-bottom{
  display: none !important;
}

/* Nascondiamo eventuali spaziatori che spingono giu' la hero */
body.home .mn-custom-header-spacer,
body.home .mn-custom-header-shell-spacer{
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 420px){
html body .mn-custom-header-shell{
    --mna-mobile-announcement-h: 34px;
  }

html body .mn-custom-announcement .mn-ann-mobile{
    font-size: 11px !important;
  }

html body .mna-mobile-bag-link{
    right: 68px !important;
    width: 40px !important;
    height: 40px !important;
  }
}

@media (min-width: 1025px){
html body .mna-mobile-bag-link{
    display: none !important;
  }
}

@media (min-width: 1025px) and (max-width: 1280px){
html body .mna-mobile-bag-link{
    right: 20px !important;
  }

html body .mn-custom-header-inner{
    padding-right: 82px !important;
  }
}

/* ===== MNA CART BAG BADGE 2026-06-30 ===== */
html body .mna-mobile-bag-link{
  overflow: visible !important;
}

html body .mna-cart-badge{
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 1px solid #d01886 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #d01886 !important;
  font-family: "Quicksand", sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  box-shadow: 0 5px 12px rgba(208, 24, 134, 0.16) !important;
}

html body .mna-mobile-bag-link[data-cart-count]:not([data-cart-count="0"]) .mna-cart-badge{
  display: inline-flex !important;
}

/* ===== MNA CART BAG HALO CLEANUP 2026-06-30 ===== */
html body .mna-mobile-bag-link{
  box-shadow: none !important;
}

html body .mna-mobile-bag-link::before,
html body .mna-mobile-bag-link::after{
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

html body .mna-mobile-bag-link:hover{
  box-shadow: none !important;
}

/* ===== MNA GLOBAL FAQ PREMIUM RESTYLE 2026-06-30 ===== */
body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel):has(details:not(.mn-custom-dropdown)) :is(.mn-chi-faq-list, .mn-faq-list, .mn-premium-grid-1, .mn-premium-grid-2, .mn-premium-grid-3){
  max-width: 920px !important;
  display: grid !important;
  gap: 14px !important;
  margin: 34px auto 0 !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown){
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(217, 204, 238, 0.72) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 241, 0.92)) !important;
  box-shadow: 0 16px 38px rgba(51, 32, 74, 0.06) !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown)::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 5px !important;
  background: linear-gradient(180deg, #D9CCEE, #BFE7DA) !important;
  opacity: 0.76 !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details[open]:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown){
  border-color: rgba(143, 120, 191, 0.58) !important;
  background:
    radial-gradient(circle at 92% 16%, rgba(191, 231, 218, 0.24), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%) !important;
  box-shadow: 0 22px 52px rgba(51, 32, 74, 0.1) !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 18px 22px 18px 28px !important;
  cursor: pointer !important;
  list-style: none !important;
  list-style-type: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: transparent !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary::-webkit-details-marker{
  display: none !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary::marker{
  content: "" !important;
  font-size: 0 !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary > :first-child,
body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary{
  color: #2a163f !important;
  font-family: "Quicksand", sans-serif !important;
  font-size: clamp(1rem, 1.2vw, 1.12rem) !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary > :last-child{
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border: 1px solid rgba(217, 204, 238, 0.9) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #8f78bf !important;
  font-family: "Quicksand", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(143, 120, 191, 0.1) !important;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details[open]:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary > :last-child{
  transform: rotate(45deg) !important;
  color: #00aacc !important;
  border-color: rgba(0, 170, 204, 0.34) !important;
  background: rgba(207, 231, 247, 0.34) !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > :not(summary){
  padding: 0 28px 24px 28px !important;
  color: #5b5563 !important;
  font-size: 1rem !important;
  line-height: 1.78 !important;
}

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > :not(summary) > :first-child{
  margin-top: 0 !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(217, 204, 238, 0.44) !important;
}

@media (max-width: 767px){
body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel):has(details:not(.mn-custom-dropdown)) :is(.mn-chi-faq-list, .mn-faq-list, .mn-premium-grid-1, .mn-premium-grid-2, .mn-premium-grid-3){
    gap: 12px !important;
    margin-top: 24px !important;
  }

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown){
    border-radius: 20px !important;
  }

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary{
    min-height: 60px !important;
    gap: 12px !important;
    padding: 16px 16px 16px 22px !important;
  }

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > summary > :last-child{
    width: 30px !important;
    height: 30px !important;
    font-size: 1.08rem !important;
  }

body.page:not(.home) .entry-content :is(.mn-premium-section, .mn-wrap, .mn-page-section, .mn-flow-panel) details:is(.mn-premium-card, .mn-card, .mn-faq-item, .mn-chi-faq-item):not(.mn-custom-dropdown) > :not(summary){
    padding: 0 20px 20px 22px !important;
    font-size: 0.96rem !important;
  }
}

/* ===== MNA LOGO BACKPLATE + WHATSAPP ICON POLISH 2026-06-30 ===== */
html body .mn-custom-header .mn-custom-brand,
html body .mn-custom-header-shell .mn-custom-brand{
  position: relative !important;
  width: clamp(58px, 4.6vw, 68px) !important;
  min-width: clamp(58px, 4.6vw, 68px) !important;
  height: clamp(58px, 4.6vw, 68px) !important;
  min-height: clamp(58px, 4.6vw, 68px) !important;
  padding: 7px !important;
  overflow: visible !important;
  border: 1px solid rgba(217, 204, 238, 0.82) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(217, 204, 238, 0.92), rgba(191, 231, 218, 0.82), rgba(207, 231, 247, 0.76)) border-box !important;
  box-shadow:
    0 14px 30px rgba(42, 22, 63, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.86) inset !important;
}

html body .mn-custom-header .mn-custom-brand img,
html body .mn-custom-header-shell .mn-custom-brand img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(0 2px 4px rgba(42, 22, 63, 0.08)) !important;
}

@media (max-width: 767px){
html body .mn-custom-header .mn-custom-brand,
  html body .mn-custom-header-shell .mn-custom-brand{
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 6px !important;
    border-radius: 999px !important;
  }

html body .mn-custom-header .mn-custom-brand img,
  html body .mn-custom-header-shell .mn-custom-brand img{
    width: 100% !important;
    height: 100% !important;
  }
}

/* ===== MNA LOGO MEDALLION FIT FIX 2026-06-30 ===== */
html body .mn-custom-header .mn-custom-brand,
html body .mn-custom-header-shell .mn-custom-brand{
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  padding: 10px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  aspect-ratio: 1 / 1 !important;
}

html body .mn-custom-header .mn-custom-brand img,
html body .mn-custom-header-shell .mn-custom-brand img{
  width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 767px){
html body .mn-custom-header .mn-custom-brand,
  html body .mn-custom-header-shell .mn-custom-brand,
  html body .ct-header [data-id="logo"] .site-logo-container,
  html body .ct-header .site-logo-container{
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    padding: 9px !important;
  }

html body .mn-custom-header .mn-custom-brand img,
  html body .mn-custom-header-shell .mn-custom-brand img,
  html body .ct-header [data-id="logo"] .site-logo-container img,
  html body .ct-header .site-logo-container img{
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
  }
}

/* ===== MNA LOGO FLOATING 3D BADGE FINAL 2026-06-30 ===== */
html body .mn-custom-header,
html body .mn-custom-header-shell,
html body .mn-custom-header-inner{
  overflow: visible !important;
}

html body .mn-custom-header .mn-custom-brand,
html body .mn-custom-header-shell .mn-custom-brand{
  z-index: 30 !important;
  transform: translateY(1px) scale(1.22) !important;
  transform-origin: center center !important;
  box-shadow:
    0 18px 42px rgba(42, 22, 63, 0.14),
    0 0 0 9px rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

html body .mn-custom-header .mn-custom-brand:hover,
html body .mn-custom-header-shell .mn-custom-brand:hover{
  transform: translateY(-1px) scale(1.25) !important;
}

@media (max-width: 767px){
html body .mn-custom-header .mn-custom-brand,
  html body .mn-custom-header-shell .mn-custom-brand{
    transform: translateY(1px) scale(1.14) !important;
  }

html body .mn-custom-header .mn-custom-brand:hover,
  html body .mn-custom-header-shell .mn-custom-brand:hover{
    transform: translateY(0) scale(1.16) !important;
  }
}

/* ===== MNA OFFICIAL HEADER LOGO + KIDS BOOST LIVE 2026-06-30 ===== */
html body .mn-custom-header .mn-custom-brand,
html body .mn-custom-header-shell .mn-custom-brand{
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  height: 82px !important;
  min-height: 82px !important;
  max-height: 82px !important;
  padding: 4px !important;
  transform: translateY(1px) scale(1.18) !important;
}

html body .mn-custom-header .mn-custom-brand img,
html body .mn-custom-header-shell .mn-custom-brand img{
  width: 74px !important;
  max-width: 74px !important;
  height: 74px !important;
  max-height: 74px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

html body .mn-custom-header .mn-custom-brand:hover,
html body .mn-custom-header-shell .mn-custom-brand:hover{
  transform: translateY(-1px) scale(1.21) !important;
}

@media (max-width: 767px){
html body .mn-custom-header .mn-custom-brand,
  html body .mn-custom-header-shell .mn-custom-brand{
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    padding: 4px !important;
    transform: translateY(1px) scale(1.12) !important;
  }

html body .mn-custom-header .mn-custom-brand img,
  html body .mn-custom-header-shell .mn-custom-brand img{
    width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    max-height: 64px !important;
  }

html body .mn-custom-header .mn-custom-brand:hover,
  html body .mn-custom-header-shell .mn-custom-brand:hover{
    transform: translateY(0) scale(1.14) !important;
  }
}

/* ===== MNA DESKTOP HEADER SEARCH LIVE FIX 2026-06-30 ===== */
html body .mna-header-search{
  display: none !important;
}

@media (min-width: 1025px){
html body .mn-custom-header,
  html body .mn-custom-header-shell,
  html body .mn-custom-header-inner{
    overflow: visible !important;
  }

html body .mn-custom-header-inner{
    position: relative !important;
    padding-right: clamp(360px, 27vw, 520px) !important;
  }

html body .mna-header-search{
    position: absolute !important;
    top: 50% !important;
    right: clamp(20px, 4vw, 72px) !important;
    z-index: 31 !important;
    display: flex !important;
    align-items: center !important;
    width: clamp(230px, 16vw, 310px) !important;
    height: 46px !important;
    box-sizing: border-box !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

html body .mna-header-search-button{
    position: relative !important;
    z-index: 2 !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    margin: 0 -12px 0 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #8f78bf !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1.4px solid rgba(143, 120, 191, 0.48) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 24px rgba(143, 120, 191, 0.12) !important;
    cursor: pointer !important;
    appearance: none !important;
  }

html body .mna-header-search-button svg{
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

html body .mna-header-search-input{
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 18px 0 25px !important;
    box-sizing: border-box !important;
    color: #4d405b !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.4px solid rgba(143, 120, 191, 0.48) !important;
    border-radius: 999px !important;
    outline: none !important;
    box-shadow: 0 14px 30px rgba(143, 120, 191, 0.08) !important;
    font-size: 0.9rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;
  }

html body .mna-header-search-input::placeholder{
    color: rgba(79, 72, 89, 0.56) !important;
    opacity: 1 !important;
    font-weight: 600 !important;
  }

html body .mna-header-search:focus-within .mna-header-search-button,
  html body .mna-header-search-button:hover,
  html body .mna-header-search:focus-within .mna-header-search-input{
    background: #ffffff !important;
    border-color: rgba(143, 120, 191, 0.74) !important;
  }

html body .mna-mobile-bag-link{
    right: calc(clamp(20px, 4vw, 72px) + clamp(230px, 16vw, 310px) + 16px) !important;
  }
}

@media (min-width: 1025px) and (max-width: 1380px){
html body .mna-header-search{
    width: 218px !important;
  }

html body .mna-header-search-input{
    font-size: 0.8rem !important;
  }

html body .mna-mobile-bag-link{
    right: 254px !important;
  }
}

/* ===== MNA HEADER SEARCH NO HALO 2026-06-30 ===== */
html body .mna-header-search-button,
html body .mna-header-search-input,
html body .mna-header-search:focus-within .mna-header-search-input,
html body .mna-header-search:focus-within .mna-header-search-button,
html body .mna-header-search-button:hover{
  box-shadow: none !important;
  filter: none !important;
}

html body .mna-header-search::before,
html body .mna-header-search::after,
html body .mna-header-search-button::before,
html body .mna-header-search-button::after,
html body .mna-header-search-input::before,
html body .mna-header-search-input::after{
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  filter: none !important;
}

@media (min-width: 1025px) and (max-width: 1380px){
html body .mn-custom-header-inner{
    max-width: 100% !important;
    padding-right: 320px !important;
  }

html body .mn-custom-nav > a,
  html body .mn-custom-nav > details > summary,
  html body .mn-custom-nav .mn-custom-link{
    font-size: .66rem !important;
    padding-inline: 3px !important;
  }
}

/* Consolidamento finale per un solo header: icone e breakpoint deterministici. */
html body .mna-mobile-bag-link svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.85 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
html body .mna-mobile-bag-link svg path {
  fill: none !important;
  stroke: currentColor !important;
}
html body #cmplz-manage-consent {
  display: none !important;
}
@media (min-width: 1025px) {
  html body .mn-custom-burger {
    display: none !important;
  }
  html body .mn-custom-nav {
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(3px, .35vw, 6px) !important;
    min-width: 0 !important;
  }
  html body .mn-custom-nav > .mn-custom-link,
  html body .mn-custom-nav > .mn-custom-dropdown {
    flex: 0 0 auto !important;
    width: auto !important;
  }
  html body .mn-custom-nav > .mn-custom-link,
  html body .mn-custom-nav > .mn-custom-dropdown > summary.mn-custom-link {
    padding: 12px 7px !important;
    font-size: clamp(11px, .8vw, 13px) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  html body .mna-mobile-bag-link {
    display: inline-flex !important;
    right: calc(clamp(20px, 4vw, 72px) + clamp(218px, 17vw, 310px) - 16px) !important;
    width: 46px !important;
    height: 46px !important;
  }
}
