/* MiniJets MegaMenu (Auto) */
.mjam-wrap{position:relative;display:inline-block;max-width:100%;width:auto}
.mjam-wrap *{box-sizing:border-box}

/* Trigger */
.mjam-trigger{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid rgba(0,0,0,.12);background:#fff;border-radius:10px;cursor:pointer}
.mjam-trigger:focus{outline:none;box-shadow:none;border: none;}
.mjam-trigger-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.mjam-trigger-caret{margin-left:6px;opacity:.85}

/* PANEL: aligned to Elementor container width */
.mjam-panel{
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.18);
  border:1px solid rgba(11,91,211,.65);

  position:fixed;
  top:var(--mjam-top, 0px);
  left:var(--mjam-left, 0px);
  width:var(--mjam-width, 100vw);
  max-width:var(--mjam-width, 100vw);
  z-index:999999;
  display:none;
  background:#fff;
  overflow:hidden;
  padding:0;
}
.mjam-wrap.is-open .mjam-panel{
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.18);
  border:1px solid rgba(11,91,211,.65);
display:block}

/* MEGA LAYOUT */
.mjam-grid{display:flex;gap:18px;align-items:stretch}
.mjam-left{display:flex;flex-direction:column;flex:0 0 320px;max-width:320px;padding:18px 14px}
.mjam-left-head{padding:6px 8px 10px}
.mjam-left-title{display:inline-flex;align-items:center;gap:10px;font-weight:800;text-decoration:none}
.mjam-left-title-arrow{opacity:.85}
.mjam-left-nav{display:flex;flex-direction:column;gap:6px;padding:0 8px 10px}

.mjam-left-item{display:block}
.mjam-left-link{position:relative;display:flex;align-items:center;gap:10px;padding:10px 8px 14px;text-decoration:none;border-radius:10px}
.mjam-left-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mjam-left-underline{position:absolute;left:10px;right:10px;bottom:6px;height:2px;background:transparent;border-radius:2px}
.mjam-left-link.is-active .mjam-left-underline{background:#0b5bd3}

.mjam-divider{width:2px;align-self:stretch;background:rgba(11,91,211,.6);border-radius:2px;margin:18px 0}

.mjam-right{flex:1 1 auto;min-width:0;padding:18px 18px 18px 10px}
.mjam-right-title{font-weight:900;font-size:34px;line-height:1.1;margin:6px 0 16px;color:#0b5bd3}


/* Desktop panes */
.mjam-pane{display:none}
.mjam-pane.is-active{display:block}

/* Mobile inline panes should be hidden on desktop */
.mjam-mobile-pane{display:none}

.mjam-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mjam-col-title{font-weight:800;text-decoration:none;display:inline-block;margin-bottom:10px}
.mjam-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.mjam-list a{text-decoration:none}

/* Banner */
.mjam-banner{position:relative;margin-top:18px;width:100%;height:228px;border-radius:18px;overflow:hidden;display:block;text-decoration:none;background-size:cover;background-position:center}
.mjam-banner::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.55)}
.mjam-banner-inner{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:20px}
.mjam-banner-text{font-weight:800;max-width:540px;line-height:1.2;color:#fff}
.mjam-banner-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;border-radius:10px;font-weight:800;width:fit-content;background:#0b5bd3;color:#fff}

/* MOBILE */
@media (max-width: 767px){
  .mjam-wrap{width:100%}
  .mjam-panel{
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.18);
  border:1px solid rgba(11,91,211,.65);
max-height:calc(100vh - var(--mjam-top, 0px));overflow:auto}

  .mjam-grid{flex-direction:column;gap:8px}
  .mjam-divider{display:none}
  .mjam-left{max-width:100%;flex:1 1 auto;padding:14px 12px}
  .mjam-left-text{white-space:normal}
  .mjam-right{display:none}

  /* Inline panes appear under each item */
  .mjam-left-item .mjam-mobile-pane{display:none;padding:10px 6px 14px}
  .mjam-left-item.is-open .mjam-mobile-pane{display:block}
  .mjam-mobile-pane .mjam-right-title{font-size:26px;margin:12px 0 12px}
  .mjam-mobile-pane .mjam-cols{grid-template-columns:1fr}
}

.mjam-mega{padding:22px 26px;}


.elementor-widget-mjam_auto_menu button.mjam-trigger:focus,
.elementor-widget-mjam_auto_menu button.mjam-trigger:focus-visible,
.elementor-widget-mjam_auto_menu button.mjam-trigger:active{
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.mjam-trigger-caret svg{
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform .2s ease;
  display: block;
}

.mjam-wrap.is-open .mjam-trigger-caret svg{
  transform: rotate(180deg);
}

/* Parent category block pagination */
.mjam-left-page[hidden]{display:none!important}
.mjam-pager{display:flex;align-items:center;gap:8px;padding:8px 8px 0;margin-top:4px}
.mjam-pager-btn{appearance:none;border:1px solid rgba(11,91,211,.28);background:#fff;color:inherit;border-radius:10px;padding:8px 10px;font:inherit;font-weight:700;line-height:1;cursor:pointer}
.mjam-pager-btn:hover{border-color:rgba(11,91,211,.65)}
.mjam-pager-btn[hidden]{display:none!important}
.mjam-pager-count{font-size:12px;opacity:.72;white-space:nowrap;margin-left:auto}
