/* Ilmora Shop 1.4.6 · © 2026 ilmora.studio · t.me/ilmorastudio
 * The Programs sub-menus use the full width of the screen (the header bar keeps its width), and the names in the menu do not wrap to a second line.
 * The selectors have one more class than the page styles, so they win without changing the 35 pages. */
#mzpage .mz-head .mz-mm .mz-mm__in{max-width:none}

/* 1300px and wider: the hands-on list gets the full width (price card below), so no name wraps */
@media (min-width:1300px){
  #mzpage .mz-head .mz-mm__hl li a{white-space:nowrap}
}
@media (min-width:1300px) and (max-width:1699px){
  #mzpage .mz-head .mz-mm__hands{grid-template-columns:minmax(0,1fr)}
  #mzpage .mz-head .mz-mm__price{display:flex;flex-wrap:wrap;align-items:center;gap:6px 28px}
  #mzpage .mz-head .mz-mm__price strong{margin:0}
  #mzpage .mz-head .mz-mm__price p{margin:0}
}
/* 1300 to 1699px: a narrower left rail and tighter columns, so the 5 course groups stay on one line */
@media (min-width:1300px) and (max-width:1699px){
  #mzpage .mz-head .mz-mm .mz-mm__in{grid-template-columns:210px minmax(0,1fr);gap:28px}
  #mzpage .mz-head .mz-mm__rail{padding-right:18px}
  #mzpage .mz-head .mz-mm__grps{gap:16px}
  #mzpage .mz-head .mz-mm__grp a{white-space:nowrap;gap:6px;font-size:13.5px}
}
/* 1700px and wider: the price card stays on the right, and the course names stay on one line */
@media (min-width:1700px){
  #mzpage .mz-head .mz-mm__grp a{white-space:nowrap}
}
