#menuBtn {
  color: #fff;
  font-weight: 800;
}

/* ===== Off-canvas termékmenü ===== */

.tm-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 3000;
}

.tm-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.tm-panel{
  position: fixed;
  top: 0; left: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: #fff;
  transform: translateX(-110%);
  transition: transform .25s ease;
  z-index: 3001;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  overscroll-behavior: contain;
}

.tm-panel.active{
  transform: translateX(0);
}

.tm-header{
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.tm-title{
  font-weight: 700;
}

.tm-close{
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: #f4f4f4;
  cursor: pointer;
  font-size: 18px;
}

.tm-body{
  flex: 1 1 auto;
  overflow: auto;                 /* <- scroll a menün belül */
  -webkit-overflow-scrolling: touch;
  padding: 12px;
}

body.no-scroll{ overflow: hidden; }

/* ===== Lista / elemek ===== */

.menu-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.menu-row:hover .chev{
  opacity: .9;
}

.menu-link{
  flex: 1;
  display: block;
  text-decoration: none;
  color: #111;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  background: #fff;
}

.menu-link:hover{
  background: #fafafa;
}

.menu-link.sub{
  padding-left: 14px;
  border-radius: 10px;
}

.menu-toggle{
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  padding: 0 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menu-toggle:hover{ background:#fafafa; }

.chev{
  font-size: 22px;
  opacity: .5;
  transition: transform .15s ease, opacity .15s ease;
}
/* ===== Belül nyílás (accordion) ===== */

.menu-dropdown{
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0 0 0 8px;
  border-left: 2px solid #f3f3f3;
}

/* animált nyitás max-height-tel */
.menu-dropdown[hidden]{
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-left: 8px;
  border-left: 2px solid transparent;
}

.menu-dropdown.is-open{
  max-height: 2000px;  /* bőven elég */
  overflow: hidden;
  transition: max-height .25s ease;
  border-left-color: #f3f3f3;
}

/* a nyitott toggle nyila */
.menu-toggle[aria-expanded="true"] .chev{
  transform: rotate(90deg);
  opacity: .9;
}

