@charset "UTF-8";

/* ============================================================
   AE24 Mobile Menu — v3.5.0
   Four polished variants, all containing the full L1 navigation:

     1 = Accordion       — side drawer, 3-level accordion (production baseline)
     2 = Bottom sheet    — slides up from bottom, drag handle, thumb-zone
     3 = Tab carousel    — horizontal pill tabs + 2-col brand grid below
     4 = Card grid       — 2×2 visual category cards + 2-col brand grid below

   (Earlier builds had M4 Drilldown and M6 Search-first — removed for UX
   reasons. Old M5 Card-grid-with-inline-expand reworked into the new M4
   without the inline-expand quirk.)

   Activates at viewports < 1025px.
   Variant gate: data-mm-style="N" on .sliding-menu and .menu-sliding
   set by mobile-menu.js from the PHP-localized AE24MMMobile config.

   Theme markup we hook into:
     .sliding-menu  = drawer wrapper
     .off-canvas-wrap = inner column
     .menu-sliding  = the actual <ul> menu
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── Design tokens (lifted from prototype) ──────────────── */
.sliding-menu {
  --brand:       #66B94A;
  --brand-dk:    #4FA336;
  --brand-soft:  rgba(102,185,74,0.08);
  --brand-tint:  rgba(102,185,74,0.16);
  --whatsapp:    #25D366;
  --dark:        #1a1a1a;
  --text:        #495057;
  --muted:       #6c757d;
  --soft:        #adb5bd;
  --hairline:    #f0f0f0;
  --border:      #e0e0e0;
  --bg-soft:     #f8f9fa;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 14px 50px rgba(0,0,0,0.14);
}

/* ============================================================
   1. DRAWER CHROME (shared by all variants except M2/M6 which
   override positioning).
   ============================================================ */
.sliding-menu {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif !important;
  width: 100% !important;
  max-width: 420px !important;
  background: #fff !important;
  box-shadow: 2px 0 24px rgba(0,0,0,0.10) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  color: var(--dark) !important;
}

/* Reset desktop-bleed from theme: parent .sub-menu .sub-menu rules
   inside @media (min-width: 1025px) don't apply here, but other
   themes can leak — neutralize. */
.sliding-menu .sub-menu .sub-menu,
.menu-sliding .sub-menu .sub-menu {
  position: static !important;
  width: auto !important;
  left: auto !important;
  top: auto !important;
}

/* Mobile <768 — fade+scale */
@media (max-width: 767px) {
  .sliding-menu {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    height: 100vh !important;
    max-width: 100% !important;
    transform: scale(0.96) !important;
    opacity: 0 !important;
    transition: transform .3s cubic-bezier(.25,.8,.25,1), opacity .25s ease !important;
    z-index: 99999 !important;
    visibility: hidden !important;
  }
  .off-canvas-right-active .sliding-menu {
    transform: scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Tablet 768-1024 — slide from left (matches theme) */
@media (min-width: 768px) and (max-width: 1024px) {
  .sliding-menu {
    position: fixed !important;
    top: 0 !important; left: 0 !important; bottom: 0 !important;
    height: 100vh !important;
    max-width: 380px !important;
    transform: translate3d(-100%,0,0) !important;
    opacity: 0 !important;
    transition: transform .3s cubic-bezier(.25,.8,.25,1), opacity .25s ease !important;
    z-index: 99999 !important;
    visibility: hidden !important;
  }
  .off-canvas-right-active .sliding-menu {
    transform: translate3d(0,0,0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Inner column */
.sliding-menu .off-canvas-wrap {
  height: 100% !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

/* ── Header (logo + CTAs + close) — fixed at top ────────── */
.sliding-menu::before {
  content: '' !important;
  display: block !important;
  height: 70px !important;
  background: #fff !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 100 !important;
  border-bottom: 1px solid var(--hairline) !important;
  max-width: inherit !important;
}
.sliding-menu::after {
  content: 'AE24' !important;
  position: fixed !important;
  top: 23px !important; left: 24px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--dark) !important;
  letter-spacing: 0.4px !important;
  z-index: 101 !important;
}

.sliding-menu .cta-buttons {
  position: fixed !important;
  top: 15px !important; left: 80px !important; right: 60px !important;
  z-index: 101 !important;
  display: flex !important;
  gap: 8px !important;
  height: 40px !important;
}
.sliding-menu .cta-buttons a {
  flex: 1 !important;
  height: 40px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #fff !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
}
.sliding-menu .cta-buttons a:first-child  { background: var(--brand) !important; }
.sliding-menu .cta-buttons a:last-child   { background: var(--whatsapp) !important; }
.sliding-menu .cta-buttons a:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
}
.sliding-menu .cta-buttons a:first-child:hover  { background: var(--brand-dk) !important; }
.sliding-menu .cta-buttons a:last-child:hover   { background: #1ea857 !important; }
.sliding-menu .cta-buttons a:active       { transform: scale(0.96) !important; box-shadow: 0 1px 3px rgba(0,0,0,0.10) !important; }

.sliding-menu .off-canvas-toggle {
  position: fixed !important;
  top: 15px !important; right: 15px !important; left: auto !important;
  width: 40px !important; height: 40px !important;
  background: var(--brand) !important;
  border-radius: 50% !important;
  z-index: 101 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .2s ease !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(102,185,74,0.30) !important;
}
.sliding-menu .off-canvas-toggle:hover {
  background: var(--brand-dk) !important;
  box-shadow: 0 4px 14px rgba(102,185,74,0.45) !important;
  transform: rotate(90deg) !important;
}
.sliding-menu .off-canvas-toggle:active { transform: scale(0.92) rotate(90deg) !important; }
.sliding-menu .off-canvas-toggle:before {
  content: "\ea21" !important;
  font-family: "Nucleo" !important;
  color: #fff !important;
  font-size: 20px !important;
  position: absolute !important;
  left: 50% !important; top: 50% !important;
  transform: translate(-50%,-50%) !important;
}

/* ── Search bar — fixed below header ────────────────────── */
.sliding-menu .menu-search {
  position: fixed !important;
  top: 70px !important; left: 0 !important; right: 0 !important;
  padding: 12px 18px !important;
  background: var(--bg-soft) !important;
  border-bottom: 1px solid var(--hairline) !important;
  z-index: 99 !important;
  max-width: inherit !important;
}
.sliding-menu .menu-search input {
  width: 100% !important;
  height: 40px !important;
  padding: 0 16px !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  background: #fff !important;
  outline: none !important;
  font-family: inherit !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}
.sliding-menu .menu-search input:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px var(--brand-soft) !important;
}

/* ============================================================
   1b. V1 SEARCH RESULTS — data-driven brand cards (replaces the
   old menu-DOM-filter search). Rendered by mobile-menu.js.
   While searching, the nav (.menu-sliding) is display:none'd and
   this panel takes over; padding-top clears the fixed header+search.
   ============================================================ */
.sliding-menu .mmv-results { display: none; }
.sliding-menu .mmv-results.is-active {
  display: flex !important; flex: 1 1 auto !important; flex-direction: column !important;
  gap: 12px !important; overflow-y: auto !important;
  padding: 132px 14px 18px !important; -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain;
}
.sliding-menu .mmv-results, .sliding-menu .mmv-results * { box-sizing: border-box !important; }
.sliding-menu .mmv-card {
  background: var(--bg-soft) !important; border: 1.5px solid var(--border) !important;
  border-radius: 16px !important; padding: 14px !important;
}
.sliding-menu .mmv-head { display: flex !important; align-items: center !important; gap: 12px !important; text-decoration: none !important; color: var(--dark) !important; }
.sliding-menu a.mmv-head { margin: -6px -6px 2px !important; padding: 6px !important; border-radius: 12px !important; transition: background .14s !important; }
.sliding-menu a.mmv-head:active, .sliding-menu a.mmv-head.touch-active { background: var(--brand-soft) !important; }
.sliding-menu .mmv-ava {
  width: 42px !important; height: 42px !important; border-radius: 11px !important;
  background: #fff !important; border: 1px solid var(--border) !important;
  display: grid !important; place-items: center !important;
  font-weight: 800 !important; font-size: 13px !important; color: var(--brand-dk) !important;
  flex: 0 0 auto !important; letter-spacing: -.3px !important;
}
.sliding-menu .mmv-grow { flex: 1 !important; min-width: 0 !important; }
.sliding-menu .mmv-name { display: block !important; font-weight: 700 !important; font-size: 15.5px !important; color: var(--dark) !important; line-height: 1.15 !important; }
.sliding-menu .mmv-meta { display: block !important; font-size: 11.5px !important; color: var(--soft) !important; font-weight: 600 !important; margin-top: 2px !important; }
.sliding-menu .mmv-meta.mmv-link { color: var(--brand-dk) !important; font-weight: 800 !important; }
.sliding-menu .mmv-chev { margin-left: auto !important; flex: 0 0 auto !important; color: var(--soft) !important; display: grid !important; place-items: center !important; }
.sliding-menu .mmv-chev svg { width: 18px !important; height: 18px !important; }
.sliding-menu a.mmv-head:active .mmv-chev { color: var(--brand-dk) !important; }
.sliding-menu .mmv-apps { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-top: 13px !important; }
.sliding-menu .mmv-chip {
  flex: 1 1 calc(50% - 4px) !important; min-width: 0 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  gap: 5px !important; padding: 9px 9px !important; border-radius: 999px !important;
  background: var(--brand-soft) !important; border: 1px solid rgba(102,185,74,.30) !important;
  color: var(--brand-dk) !important; font-weight: 700 !important; font-size: 12.5px !important;
  text-decoration: none !important; white-space: nowrap !important;
  box-shadow: none !important; transition: background .14s, border-color .14s, color .14s !important;
}
.sliding-menu .mmv-chip .mmv-ico { flex: 0 0 auto !important; display: grid !important; place-items: center !important; }
.sliding-menu .mmv-chip .mmv-ico svg { width: 15px !important; height: 15px !important; }
.sliding-menu .mmv-chip:active, .sliding-menu .mmv-chip.touch-active { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.sliding-menu .mmv-chip:last-child:nth-child(odd) { flex-basis: 100% !important; }
.sliding-menu .mmv-empty { text-align: center !important; padding: 34px 18px !important; background: var(--bg-soft) !important; border: 1.5px dashed var(--soft) !important; border-radius: 16px !important; }
.sliding-menu .mmv-eic { width: 56px !important; height: 56px !important; margin: 0 auto 13px !important; border-radius: 15px !important; background: #fff !important; border: 1.5px solid var(--border) !important; display: grid !important; place-items: center !important; color: var(--soft) !important; }
.sliding-menu .mmv-eic svg { width: 24px !important; height: 24px !important; }
.sliding-menu .mmv-empty h4 { margin: 0 0 5px !important; font-size: 15px !important; font-weight: 800 !important; color: var(--dark) !important; }
.sliding-menu .mmv-empty p { margin: 0 !important; font-size: 13px !important; color: var(--muted) !important; font-weight: 500 !important; }

/* ============================================================
   2. M1 — ACCORDION (BASE)
   The default. All L1 items shown as numbered rows. Trigger
   expands to L2 categories with appliance icons. L2 expands
   to L3 brand grid (2-col, dot bullets).
   ============================================================ */
.menu-sliding {
  flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  /* top: clear the fixed header + search. bottom: clearance so the LAST item
     (the zones strip) can scroll fully clear of the phone's bottom browser bar
     / home-indicator safe area — without it the zone block is cut off. */
  padding: 132px 0 calc(48px + env(safe-area-inset-bottom, 0px)) 0 !important;
  margin: 0 !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--brand) var(--hairline) !important;
  overscroll-behavior: contain;
  list-style: none !important;
}
.menu-sliding::-webkit-scrollbar       { width: 4px !important; }
.menu-sliding::-webkit-scrollbar-track { background: var(--hairline) !important; }
.menu-sliding::-webkit-scrollbar-thumb { background: var(--brand) !important; border-radius: 2px !important; }
.menu-sliding ul, .menu-sliding li     { list-style: none !important; margin: 0 !important; padding: 0 !important; }

/* Kill parent-theme number watermark on top-level L1 links —
   we'll re-add a clean counter ONLY for M1. */
.menu-sliding > li > a:before {
  content: none !important;
  display: none !important;
  counter-increment: none !important;
}

/* L1 rows */
.menu-sliding > li {
  border-bottom: 1px solid var(--hairline) !important;
  position: relative !important;
}
.menu-sliding > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 60px 16px 18px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease !important;
}
.menu-sliding > li > a:hover,
.menu-sliding > li > a.touch-active {
  background: var(--bg-soft) !important;
}
.menu-sliding > li.current-menu-item > a {
  color: var(--brand-dk) !important;
  font-weight: 600 !important;
}

.menu-sliding .menu-item-toggle { display: none !important; }

/* L1 +/− toggle (only on items with children) */
.menu-sliding li.menu-item-has-children > a {
  position: relative !important;
  padding-right: 60px !important;
}
.menu-sliding li.menu-item-has-children > a::after {
  content: '+' !important;
  position: absolute !important;
  right: 16px !important; top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important; height: 30px !important;
  background: var(--bg-soft) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  z-index: 2 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 16px !important; font-weight: 400 !important;
  color: var(--muted) !important;
  line-height: 1 !important;
}
.menu-sliding li.menu-item-has-children.menu-item-expand > a::after {
  content: '−' !important;
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(102,185,74,0.35) !important;
}
.menu-sliding li.menu-item-has-children.menu-item-expand > a {
  color: var(--brand-dk) !important;
  font-weight: 600 !important;
}

/* M1 only: clean counter prefix on L1 rows (matches prototype) */
.menu-sliding[data-mm-style="1"] {
  counter-reset: l1 0 !important;
}
.menu-sliding[data-mm-style="1"] > li {
  counter-increment: l1 !important;
}
.menu-sliding[data-mm-style="1"] > li > a::before {
  content: counter(l1, decimal-leading-zero) '.' !important;
  display: inline-block !important;
  font-size: 13px !important;
  color: var(--soft) !important;
  opacity: 0.4 !important;
  margin-right: 12px !important;
  font-variant-numeric: tabular-nums !important;
  min-width: 28px !important;
  counter-increment: none !important;
}

/* L2 list (under L1 trigger).
   We use display:none/block for layout (max-height transition is unreliable
   for variable content), but add a subtle fade+slide animation via
   nested children's opacity/transform when parent gets .menu-item-expand. */
.menu-sliding li .sub-menu {
  display: none !important;
  background: var(--bg-soft) !important;
}
.menu-sliding li.menu-item-expand > .sub-menu {
  display: block !important;
  animation: ae24mm-fadeIn .22s cubic-bezier(.25,.8,.25,1) !important;
}
@keyframes ae24mm-fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-sliding li .sub-menu > li {
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  position: relative !important;
}
.menu-sliding li .sub-menu > li:last-child { border-bottom: none !important; }

/* L2 link — flex with [icon] [name] [+ toggle] */
.menu-sliding li .sub-menu > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 60px 14px 22px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: color .18s ease, background .18s ease !important;
  position: relative !important;
}
/* Green dash before L2 (hidden when icon present) */
.menu-sliding > li > .sub-menu > li > a::before {
  content: '' !important;
  width: 16px !important; height: 2px !important;
  background: var(--brand) !important;
  position: absolute !important;
  left: 22px !important; top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 0.5 !important;
}
.menu-sliding > li > .sub-menu > li > a:has(.menu-cat-icon)::before { display: none !important; }
.menu-sliding > li > .sub-menu > li > a:hover,
.menu-sliding > li > .sub-menu > li > a.touch-active {
  color: var(--brand-dk) !important;
  background: rgba(0,0,0,0.02) !important;
}
.menu-sliding li.menu-item-expand .sub-menu > li.menu-item-expand > a,
.menu-sliding > li > .sub-menu > li.menu-item-expand > a {
  color: var(--brand-dk) !important;
  font-weight: 600 !important;
}

/* Appliance icon — matches prototype: 22px, brand-green, no chip */
.menu-sliding > li > .sub-menu > li > a .menu-cat-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin-left: 22px !important;
  color: var(--brand) !important;
  flex-shrink: 0 !important;
}
.menu-sliding > li > .sub-menu > li > a .menu-cat-icon svg {
  width: 22px !important;
  height: 22px !important;
}

/* Title text — ALL variants use SHORT label (Lavatrici, not the long
   marketing title). Long titles wrap to 2 lines and look cluttered on mobile.
   Production menus often have suffixes like "— Uscita 0€ | Intervento 24-48h"
   which are noisy in nav. */
.menu-sliding > li > .sub-menu > li > a .menu-cat-text  { display: none !important; }
.menu-sliding > li > .sub-menu > li > a .menu-cat-short { display: inline !important; flex: 1 !important; min-width: 0 !important; }

/* L3 brand list — bordered cards with dot bullet (you-asked, you-get).
   Each brand is a clean rounded card. Inside: small fixed-size dot + name.
   Hover: dot opacity goes 0.45 → 1, card border tints brand-green.
   Dot size NEVER changes — fixed 6×6px. */
.menu-sliding li .sub-menu li .sub-menu {
  display: none !important;
  background: #fff !important;
  padding: 0 !important;
}
.menu-sliding li .sub-menu li.menu-item-expand > .sub-menu {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 8px !important;
  row-gap: 8px !important;
  padding: 12px 18px 16px !important;
  background: #fff !important;
  border-top: 1px solid var(--hairline) !important;
}
/* Single-brand: 1 column so the card spans full width (no orphan look) */
.menu-sliding li .sub-menu li.menu-item-expand > .sub-menu:has(> li:only-child) {
  grid-template-columns: 1fr !important;
}
.menu-sliding li .sub-menu li .sub-menu > li {
  border: none !important;
  background: transparent !important;
  list-style: none !important;
}
.menu-sliding li .sub-menu li .sub-menu > li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 11px 14px !important;
  min-height: 42px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: var(--text) !important;
  text-decoration: none !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  transition: color .14s ease, border-color .14s ease, background-color .14s ease !important;
}
.menu-sliding li .sub-menu li .sub-menu > li > a::before {
  content: '' !important;
  display: block !important;
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  max-width: 6px !important;
  min-height: 6px !important;
  max-height: 6px !important;
  border-radius: 50% !important;
  background: var(--brand) !important;
  opacity: 0.45 !important;
  flex: 0 0 6px !important;
  transition: opacity .14s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  /* IMPORTANT: theme leaks position:absolute on .sub-menu li a:before —
     reset to static so the dot stays in the flex flow (centered in card). */
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  /* FIXED 6×6 dot — never changes size on hover */
}
.menu-sliding li .sub-menu li .sub-menu > li > a:hover,
.menu-sliding li .sub-menu li .sub-menu > li > a.touch-active {
  color: var(--brand-dk) !important;
  border-color: var(--brand) !important;
  background: var(--brand-soft) !important;
}
.menu-sliding li .sub-menu li .sub-menu > li > a:hover::before,
.menu-sliding li .sub-menu li .sub-menu > li > a.touch-active::before {
  opacity: 1 !important;
  /* ONLY opacity changes — size FIXED at 6×6px */
}

/* ============================================================
   3. SEARCH — adaptive layouts via [data-search-count]
   ============================================================ */
.menu-sliding.search-active > li               { display: none !important; }
.menu-sliding.search-active > li.search-match  { display: block !important; }
.menu-sliding.search-active li.menu-item-has-children.search-match { pointer-events: none !important; }
.menu-sliding.search-active li.menu-item-has-children.search-match > a { opacity: 0.5 !important; cursor: default !important; }
.menu-sliding.search-active li.menu-item-has-children.search-match > a::after { display: none !important; }
.menu-sliding.search-active .sub-menu          { display: block !important; }
.menu-sliding.search-active .sub-menu li:not(.search-match) { display: none !important; }

.menu-sliding[data-search-count="1"].search-active li.menu-item-expand > .sub-menu {
  grid-template-columns: 1fr !important;
  padding: 14px 22px !important;
}
.menu-sliding[data-search-count="1"].search-active li .sub-menu li .sub-menu > li > a {
  background: var(--bg-soft) !important;
  border: 1.5px solid var(--brand) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--dark) !important;
  justify-content: center !important;
}
.menu-sliding[data-search-count="2"].search-active li.menu-item-expand > .sub-menu,
.menu-sliding[data-search-count="3"].search-active li.menu-item-expand > .sub-menu {
  grid-template-columns: 1fr !important;
  padding: 10px 22px !important;
  row-gap: 6px !important;
}
.menu-sliding[data-search-count="2"].search-active li .sub-menu li .sub-menu > li > a,
.menu-sliding[data-search-count="3"].search-active li .sub-menu li .sub-menu > li > a {
  background: var(--bg-soft) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--dark) !important;
}

/* ============================================================
   3b. ZONES STRIP — real zone-page links at the bottom of the
   slide-in menu (mirrors the desktop mega-menu zone strip).
   Injected by mobile-menu.js → injectZones() from AE24MMMobile.
   Explicit !important throughout so theme <a> styles can't leak in.
   ============================================================ */
.sliding-menu .mm-zones {
  padding: 16px 22px 24px !important;
  margin-top: 6px !important;
  border-top: 1px solid var(--hairline) !important;
  background: #fff !important;
}
.sliding-menu .mm-zones-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;                  /* sits inside the header flex line now */
  font-family: 'Manrope', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--brand-dk) !important;
}
.sliding-menu .mm-zones-label svg { width: 15px !important; height: 15px !important; flex: 0 0 auto !important; }
/* header line: label (left) + "Tutte le sedi" CTA (right) on ONE row */
.sliding-menu .mm-zones-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}
/* chips get the full width on their OWN row below the header — free to scroll */
.sliding-menu .mm-zones-list {
  width: 100% !important;                 /* full width row of its own */
  min-width: 0 !important;               /* allow shrink below content so it scrolls */
  display: flex !important;
  flex-wrap: nowrap !important;          /* ONE line — drag/scroll horizontally */
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  cursor: grab !important;
  scroll-snap-type: x proximity !important;
  padding-bottom: 2px !important;
}
/* fade the right edge ONLY when the row overflows (drag to see more) */
.sliding-menu .mm-zones-list.has-overflow {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent) !important;
          mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent) !important;
}
.sliding-menu .mm-zones-list.is-grabbing { cursor: grabbing !important; }
.sliding-menu .mm-zones-list::-webkit-scrollbar { display: none !important; }
.sliding-menu .mm-zones-list a {
  flex: 0 0 auto !important;             /* keep chips on one line */
  scroll-snap-align: start !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 9px 14px !important;
  border: 1px solid var(--border) !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: var(--dark) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  transition: background .15s, border-color .15s, color .15s !important;
}
.sliding-menu .mm-zones-list a.touch-active,
.sliding-menu .mm-zones-list a:active,
.sliding-menu .mm-zones-list a:hover {
  background: var(--brand-soft) !important;
  border-color: var(--brand) !important;
  color: var(--brand-dk) !important;
}
/* "Tutte le sedi" — soft ghost→fill green pill (kept identical on desktop).
   The solid-green block read heavy next to the light outlined chips, so by
   default it's a light green tint + deep-green text; it fills solid green on
   hover/tap. color forced + box-shadow none to block the theme button leak. */
.sliding-menu .mm-zones-more {
  flex: 0 0 auto !important;             /* never shrinks — always fully visible */
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border: 1px solid rgba(102,185,74,0.30) !important;
  border-radius: 999px !important;
  background: rgba(102,185,74,0.12) !important;
  color: #2f6e22 !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .15s, border-color .15s, color .15s !important;
}
.sliding-menu .mm-zones-more.touch-active,
.sliding-menu .mm-zones-more:active,
.sliding-menu .mm-zones-more:focus,
.sliding-menu .mm-zones-more:hover {
  background: var(--brand) !important;   /* fill solid green on interaction */
  border-color: var(--brand) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}
/* the zones strip is a top-level <li>; strip any inherited menu-item chrome */
.sliding-menu .mm-zones-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.sliding-menu .mm-zones-item::before,
.sliding-menu .mm-zones-item::after { content: none !important; display: none !important; }
/* hide the strip while searching so it doesn't clutter results */
.menu-sliding.search-active > .mm-zones-item { display: none !important; }

/* ============================================================
   MARCHI — renders with the shared native L3 brand grid (same design as the
   appliance tabs). The old bespoke grid was removed; only its icon remains,
   added via the APPLIANCE_ICONS map in mobile-menu.js.
   ============================================================ */
/* (Removed: the custom Marchi brand-grid styles. Marchi now renders with the
   shared native L3 brand grid above — identical to the appliance tabs.) */

/* ============================================================
   4. OVERLAY + BODY LOCK
   ============================================================ */
.site:before {
  transition: opacity .3s ease, visibility .3s ease !important;
}
.off-canvas-right-active .site:before {
  background: rgba(0,0,0,0.45) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}
body.off-canvas-right-active {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}
.sliding-menu, .sliding-menu * {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
@media (prefers-reduced-motion: reduce) {
  .sliding-menu, .menu-sliding li .sub-menu, .menu-sliding li.menu-item-has-children::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   ░░░ V A R I A N T   2  —  B O T T O M   S H E E T  ░░░
   Slides UP from the bottom. Drag handle. Backdrop shows page.
   Same accordion content but with thumb-zone CTAs at bottom.
   ============================================================ */
@media (max-width: 1024px) {
  .sliding-menu[data-mm-style="2"] {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 88vh !important;
    border-radius: 24px 24px 0 0 !important;
    transform: translate3d(0,100%,0) !important;
    transition: transform .36s cubic-bezier(.25,.8,.25,1), opacity .25s ease !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.18) !important;
  }
  .off-canvas-right-active .sliding-menu[data-mm-style="2"] {
    transform: translate3d(0,0,0) !important;
  }
  /* Drag handle pill */
  .sliding-menu[data-mm-style="2"] .off-canvas-wrap::before {
    content: '';
    position: fixed;
    top: 8px;
    left: 50%;
    width: 44px; height: 5px;
    background: var(--border);
    border-radius: 3px;
    z-index: 102;
    transform: translateX(-50%);
    transition: background .15s ease, width .15s ease;
  }
  .sliding-menu[data-mm-style="2"]:hover .off-canvas-wrap::before {
    background: var(--soft);
    width: 56px;
  }
  /* Push the entire chrome down to clear the handle */
  .sliding-menu[data-mm-style="2"]::before { top: 16px !important; height: 60px !important; border-top-left-radius: 24px; border-top-right-radius: 24px; }
  .sliding-menu[data-mm-style="2"]::after  { top: 32px !important; }
  .sliding-menu[data-mm-style="2"] .cta-buttons { top: 24px !important; }
  .sliding-menu[data-mm-style="2"] .off-canvas-toggle { top: 24px !important; }
  .sliding-menu[data-mm-style="2"] .menu-search { top: 76px !important; }
  .menu-sliding[data-mm-style="2"] { padding-top: 138px !important; padding-bottom: 76px !important; }

  /* Pinned bottom CTA bar (theme's .social-icons element) */
  .sliding-menu[data-mm-style="2"] .off-canvas-wrap .social-icons {
    position: fixed !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    max-width: inherit !important;
    background: var(--bg-soft) !important;
    border-top: 1px solid var(--hairline) !important;
    padding: 12px 18px !important;
    display: flex !important;
    gap: 8px !important;
    z-index: 100 !important;
  }
}

/* ============================================================
   ░░░ V A R I A N T   3  —  T A B   C A R O U S E L  ░░░
   Header. Search. Horizontal pill tabs. "MARCHI · LAVATRICI"
   subtitle. Brand list. THEN "ALTRO" section with L1 nav.
   ============================================================ */
@media (max-width: 1024px) {
  /* Use short titles on appliance cards */
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li > a .menu-cat-text  { display: none !important; }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li > a .menu-cat-short { display: inline !important; }

  /* All L1 rows visible by default — but when one is the trigger
     (has children), we render its sub-menu inline below it as the
     pill carousel + brand list. We keep other L1 items as plain
     rows above and below. */
  .menu-sliding[data-mm-style="3"] > li.menu-item-has-children > a::after { display: none !important; }
  .menu-sliding[data-mm-style="3"] > li.menu-item-has-children {
    background: var(--bg-soft) !important;
  }
  .menu-sliding[data-mm-style="3"] > li.menu-item-has-children > a {
    background: transparent !important;
    padding: 14px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: var(--muted) !important;
    border-bottom: 1px solid var(--hairline) !important;
  }

  /* L2 pills = single horizontal scroll row (no wrap) — matches prototype */
  .menu-sliding[data-mm-style="3"] > li.menu-item-has-children > .sub-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    background: #fff !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .menu-sliding[data-mm-style="3"] > li.menu-item-has-children > .sub-menu::-webkit-scrollbar { display: none !important; }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li {
    flex: 0 0 auto !important;
    border: none !important;
    margin: 0 !important;
  }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li > a {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 8px 12px !important;
    background: #fff !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    min-width: 76px !important;
    transition: all .18s ease !important;
    white-space: nowrap !important;
    padding-right: 12px !important; /* override base 60px reservation for toggle */
  }
  /* Hide +/− toggle on L2 pills entirely */
  .menu-sliding[data-mm-style="3"] > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > a::after {
    display: none !important;
    content: '' !important;
    background: transparent !important;
    width: 0 !important;
    box-shadow: none !important;
  }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li > a::before { display: none !important; }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li > a .menu-cat-icon {
    margin: 0 !important;
    color: var(--brand) !important;
    width: 24px !important; height: 24px !important;
  }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li > a .menu-cat-icon svg {
    width: 24px !important; height: 24px !important;
  }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li.menu-item-expand > a {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(102,185,74,0.30) !important;
  }
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li.menu-item-expand > a .menu-cat-icon {
    color: #fff !important;
  }

  /* The ORIGINAL nested brand list is hidden — JS clones it into a portal
     after the L2 ul (sidestepping flex-child width-100% limitation). */
  .menu-sliding[data-mm-style="3"] > li > .sub-menu > li.menu-item-expand > .sub-menu {
    display: none !important;
  }
  /* "MARCHI · LAVATRICI" subtitle injected by JS between pills and brands */
  .menu-sliding[data-mm-style="3"] .mm-section-label {
    padding: 14px 18px 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--soft) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #fff !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-section-label a {
    color: var(--brand) !important;
    text-decoration: none !important;
    font-size: 12px !important;
  }
  /* Portaled brand list — sibling of the L2 ul, 2-col grid of bordered
     brand cards below the pills (matches M1 style for consistency). */
  .menu-sliding[data-mm-style="3"] .mm-tab-brands-portal {
    background: #fff !important;
    padding: 4px 18px 16px !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-portaled {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    background: #fff !important;
    padding: 0 !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-portaled > li {
    border: none !important;
    background: transparent !important;
    list-style: none !important;
    margin: 0 !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-portaled > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 11px 14px !important;
    min-height: 42px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: var(--text) !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: color .14s ease, border-color .14s ease, background-color .14s ease !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-portaled > li > a::before {
    content: '' !important;
    display: block !important;
    width: 6px !important; height: 6px !important;
    min-width: 6px !important; max-width: 6px !important;
    min-height: 6px !important; max-height: 6px !important;
    border-radius: 50% !important;
    background: var(--brand) !important;
    opacity: 0.45 !important;
    flex: 0 0 6px !important;
    transition: opacity .14s ease !important;
    position: static !important;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-portaled > li > a::after {
    /* No chevron on grid cards — they're pill-style brand cards */
    content: none !important;
    display: none !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-portaled > li > a:hover,
  .menu-sliding[data-mm-style="3"] .mm-portaled > li > a.touch-active {
    color: var(--brand-dk) !important;
    border-color: var(--brand) !important;
    background: var(--brand-soft) !important;
  }
  .menu-sliding[data-mm-style="3"] .mm-portaled > li > a:hover::before,
  .menu-sliding[data-mm-style="3"] .mm-portaled > li > a.touch-active::before {
    opacity: 1 !important;
  }
}


/* ============================================================
   ░░░ V A R I A N T   4  —  C A R D   G R I D  ░░░
   Visual category browser. 2×2 cards at top (one per appliance
   category). Tap a card → it activates (green border) and the brand
   grid below SWAPS to show that category's brands. Brand grid is
   ALWAYS visible below — no inline-expand awkwardness.
   ============================================================ */
@media (max-width: 1024px) {
  /* Use short titles inside cards (Lavatrici, not the long marketing string) */
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li > a .menu-cat-text  { display: none !important; }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li > a .menu-cat-short { display: inline !important; }

  /* L1 trigger header → small section label */
  .menu-sliding[data-mm-style="4"] > li.menu-item-has-children > a::after { display: none !important; }
  .menu-sliding[data-mm-style="4"] > li.menu-item-has-children > a {
    padding: 14px 18px 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: var(--soft) !important;
    background: var(--bg-soft) !important;
    border-bottom: none !important;
    pointer-events: none !important;
  }
  .menu-sliding[data-mm-style="4"] > li.menu-item-has-children {
    background: var(--bg-soft) !important;
    border-bottom: 1px solid var(--hairline) !important;
  }

  /* L2 list = 2×2 grid of category cards */
  .menu-sliding[data-mm-style="4"] > li.menu-item-has-children > .sub-menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 6px 14px 14px !important;
    background: var(--bg-soft) !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li {
    border: none !important;
    background: #fff !important;
    border-radius: 14px !important;
    border: 1.5px solid transparent !important;
    transition: all .18s ease !important;
    counter-increment: m4card !important;
    position: relative !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu {
    counter-reset: m4card !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li > a {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 16px 14px !important;
    background: transparent !important;
    color: var(--dark) !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li > a::before { display: none !important; }
  /* Hide L2 +/- toggle (the whole card IS the toggle) */
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li.menu-item-has-children > a::after {
    display: none !important;
    content: '' !important;
    background: transparent !important;
    width: 0 !important; height: 0 !important;
    box-shadow: none !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li > a .menu-cat-icon {
    width: 42px !important; height: 42px !important;
    margin: 0 !important;
    background: var(--bg-soft) !important;
    border-radius: 12px !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li > a .menu-cat-icon svg {
    width: 26px !important; height: 26px !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li > a .menu-cat-short {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
  }
  /* "01-04" watermark in top-right corner */
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li::after {
    content: counter(m4card, decimal-leading-zero) !important;
    position: absolute !important;
    top: 14px !important; right: 14px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--bg-soft) !important;
    line-height: 1 !important;
    pointer-events: none !important;
  }
  /* Active card */
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li.menu-item-expand {
    border-color: var(--brand) !important;
    background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%) !important;
    box-shadow: 0 6px 18px rgba(102,185,74,0.15) !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li.menu-item-expand > a .menu-cat-icon {
    background: var(--brand) !important;
    color: #fff !important;
  }
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li.menu-item-expand::after {
    color: rgba(102,185,74,0.20) !important;
  }

  /* Hide ALL nested L3 brand lists in M4 — JS portals the active one
     into a sibling .mm-tab-brands-portal below the L2 grid. */
  .menu-sliding[data-mm-style="4"] > li > .sub-menu > li.menu-item-expand > .sub-menu {
    display: none !important;
  }

  /* Section label between cards and brand grid */
  .menu-sliding[data-mm-style="4"] .mm-section-label {
    padding: 14px 18px 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--soft) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #fff !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-section-label a {
    color: var(--brand) !important;
    text-decoration: none !important;
    font-size: 12px !important;
  }

  /* Portaled brand grid — 2-col bordered cards (matches M1/M3 style) */
  .menu-sliding[data-mm-style="4"] .mm-tab-brands-portal {
    background: #fff !important;
    padding: 4px 18px 16px !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-portaled {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    background: #fff !important;
    padding: 0 !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-portaled > li {
    border: none !important;
    background: transparent !important;
    list-style: none !important;
    margin: 0 !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-portaled > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 11px 14px !important;
    min-height: 42px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: var(--text) !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: color .14s ease, border-color .14s ease, background-color .14s ease !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-portaled > li > a::before {
    content: '' !important;
    display: block !important;
    width: 6px !important; height: 6px !important;
    min-width: 6px !important; max-width: 6px !important;
    min-height: 6px !important; max-height: 6px !important;
    border-radius: 50% !important;
    background: var(--brand) !important;
    opacity: 0.45 !important;
    flex: 0 0 6px !important;
    transition: opacity .14s ease !important;
    position: static !important;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-portaled > li > a::after {
    content: none !important;
    display: none !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-portaled > li > a:hover,
  .menu-sliding[data-mm-style="4"] .mm-portaled > li > a.touch-active {
    color: var(--brand-dk) !important;
    border-color: var(--brand) !important;
    background: var(--brand-soft) !important;
  }
  .menu-sliding[data-mm-style="4"] .mm-portaled > li > a:hover::before,
  .menu-sliding[data-mm-style="4"] .mm-portaled > li > a.touch-active::before {
    opacity: 1 !important;
  }
}

/* ============================================================
   "ALTRO" / "PAGINE" section labels (used by M3, M4)
   ============================================================ */
.menu-sliding .mm-section-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 16px 18px 6px;
}
