/* ============================================================
   MEGA MENU FOR ELEMENTOR — mega-menu.css
   ============================================================ */

/* ── Scoped reset ── */
.mmm-wrap *, .mmm-wrap *::before, .mmm-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.mmm-wrap a { text-decoration: none; }
.mmm-wrap ul { list-style: none; }

/* ── Outer container ── */
.mmm-wrap {
  display: flex;
  width: 100%;
  background: #fff;
  box-shadow: 0 6px 32px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   COLUMN 1 — SIDEBAR
   ============================================================ */
.mmm-sidebar {
  width: 308px;
  min-width: 308px;
  background: #1c4f9c;
  flex-shrink: 0;
  z-index: 2;
}

.mmm-sidebar > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .15s ease;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
}

.mmm-sidebar > ul > li > a:hover,
.mmm-sidebar > ul > li.mm-active > a {
  background: #2a62c0;
}

/* Pill shape variant */
.mmm-pill .mmm-sidebar > ul > li > a:hover,
.mmm-pill .mmm-sidebar > ul > li.mm-active > a {
  border-radius: 24px 0 0 24px;
  margin-right: -2px;
  padding-right: 20px;
}

.mmm-no-menu > a {
  opacity: .6;
  font-style: italic;
}

/* ── Chevron ── */
.mmm-chev {
  font-size: 14px;
  opacity: .8;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ============================================================
   FLYOUT AREA (cols 2-4 + image strip)
   ============================================================ */
.mmm-flyout {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 460px;
  overflow: hidden;
}
.mmm-flyout.mm-visible { display: flex; }

/* ── Image strip ── */
.mmm-image-strip {
  height: 160px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  background: #111;
}

.mmm-strip-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-color .25s ease, background-image .25s ease;
}

.mmm-strip-label {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  padding: 12px 20px;
  letter-spacing: .03em;
  pointer-events: none;
  transition: opacity .2s;
}

/* ── Three-column sub-area ── */
.mmm-cols {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ============================================================
   COLUMN 2
   ============================================================ */
.mmm-col2 {
  width: 300px;
  min-width: 300px;
  background: #dce8f5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #c5d8ef;
  overflow: hidden;
}

.mmm-col2-list {
  overflow-y: auto;
  flex: 1;
}

.mmm-col2 li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  transition: background .13s ease;
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.mmm-col2 li > a:hover,
.mmm-col2 li.mm-active2 > a {
  background: #c1d5eb;
}

.mmm-pill .mmm-col2 li > a:hover,
.mmm-pill .mmm-col2 li.mm-active2 > a {
  border-radius: 24px 0 0 24px;
  margin-right: -2px;
  padding-right: 22px;
}

/* ============================================================
   COLUMN 3
   ============================================================ */
.mmm-col3 {
  width: 320px;
  min-width: 320px;
  background: #eef4fb;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #d4e4f5;
  overflow: hidden;
}

.mmm-col3-inner {
  flex: 1;
  overflow-y: auto;
}

.mmm-col3-list li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  transition: background .13s ease;
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.mmm-col3-list li > a:hover,
.mmm-col3-list li.mm-active3 > a {
  background: #d8e9f8;
}

/* ============================================================
   COLUMN 4
   ============================================================ */
.mmm-col4 {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mmm-col4-inner {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b0c8e8 transparent;
}

.mmm-col4-inner::-webkit-scrollbar { width: 5px; }
.mmm-col4-inner::-webkit-scrollbar-thumb { background: #b0c8e8; border-radius: 3px; }

.mmm-col4-list li > a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  transition: background .13s ease, color .13s ease;
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.mmm-col4-list li > a:hover {
  background: #f0f7ff;
  color: #1a4f9b;
}

/* ============================================================
   SHOP ALL LINKS
   ============================================================ */
.mmm-shop-all {
  display: block;
  text-align: center;
  padding: 13px 16px;
  font-size: 13px;
  color: #1a4f9b;
  border-top: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  text-decoration: underline;
  flex-shrink: 0;
  transition: color .13s;
}
.mmm-shop-all:hover { color: #0a2d6e; }

.mmm-col4 .mmm-shop-all { text-align: right; padding-right: 20px; }

/* ============================================================
   EMPTY / LOADING STATES
   ============================================================ */
.mmm-empty {
  padding: 16px 20px;
  font-size: 13px;
  color: #999;
  font-style: italic;
}

/* ============================================================
   SCROLLBAR STYLES (col 2 & 3)
   ============================================================ */
.mmm-col2-list, .mmm-col3-inner {
  scrollbar-width: thin;
  scrollbar-color: #b0c8e8 transparent;
}
.mmm-col2-list::-webkit-scrollbar,
.mmm-col3-inner::-webkit-scrollbar { width: 4px; }
.mmm-col2-list::-webkit-scrollbar-thumb,
.mmm-col3-inner::-webkit-scrollbar-thumb { background: #b0c8e8; border-radius: 2px; }

/* ============================================================
   RESPONSIVE — stack on small screens
   ============================================================ */
@media (max-width: 900px) {
  .mmm-wrap { flex-direction: column; }
  .mmm-sidebar { width: 100%; min-width: unset; }
  .mmm-cols { flex-direction: column; }
  .mmm-col2, .mmm-col3 { width: 100%; min-width: unset; border-right: none; border-bottom: 1px solid #c5d8ef; }
}
