/* Modulo Shop CORE - Mobile menu */
.mshop-burger{
  position:fixed;
  top:12px;
  left:12px;
  z-index:var(--mshop-z);
  display:none;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:0;
  border-radius:12px;
  background:var(--mshop-burger-bg);
  color:var(--mshop-burger-icon);
  box-shadow:0 8px 30px rgba(0,0,0,.18);
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.mshop-burger-label{ font-size:14px; line-height:1; color:var(--mshop-burger-icon); }
.mshop-burger-icon{ width:18px; height:12px; position:relative; display:inline-block; }
.mshop-burger-icon::before,
.mshop-burger-icon::after,
.mshop-burger-icon span{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background:var(--mshop-burger-icon);
  border-radius:2px;
}
.mshop-burger-icon::before{ top:0; }
.mshop-burger-icon span{ top:5px; }
.mshop-burger-icon::after{ bottom:0; }

.mshop-overlay{
  position:fixed;
  inset:0;
  background:var(--mshop-overlay);
  z-index:calc(var(--mshop-z) - 1);
}

.mshop-panel{
  position:fixed;
  top:0; bottom:0;
  width:min(88vw, 380px);
  background:var(--mshop-panel-bg);
  color:var(--mshop-panel-text);
  z-index:var(--mshop-z);
  box-shadow:0 18px 60px rgba(0,0,0,.24);
  border-radius:18px;
  overflow:auto;
}
.mshop-panel[data-style="slide_right"]{ right:10px; transform:translateX(110%); }
.mshop-panel[data-style="slide_left"]{ left:10px; transform:translateX(-110%); }
.mshop-panel[data-style="drawer_bottom"]{
  left:10px; right:10px; top:auto; height:min(70vh, 560px); width:auto;
  transform:translateY(110%);
}
.mshop-panel.is-open{ transform:translate(0,0); transition:transform .22s ease; }
.mshop-panel.is-closed{ transition:transform .22s ease; }

.mshop-panel-close{
  position:sticky;
  top:0;
  width:44px;height:44px;
  border:0;
  background:transparent;
  color:var(--mshop-close);
  font-size:28px;
  line-height:44px;
  cursor:pointer;
  margin:8px 8px 0 auto;
  display:block;
}
.mshop-panel-inner{ padding:12px 16px 22px; }

.mshop-menu{ list-style:none; padding:0; margin:0; }
.mshop-menu li{ margin:0; padding:0; border-bottom:1px solid rgba(15,23,42,.08); }
.mshop-menu a{
  display:block;
  padding:14px 8px;
  color:var(--mshop-panel-text);
  text-decoration:none;
  font-size:16px;
}
.mshop-menu a:active{ opacity:.75; }
.mshop-empty{ padding:14px 8px; opacity:.75; }

body.mshop-panel-open{ overflow:hidden; }

@media (max-width: 750px){
  .mshop-burger{ display:flex; }
}
