/* EKONOMIK SU TESISATI — premium mobile navigation only */
.eko-mobile-nav-toggle,
.eko-mobile-nav-root { display: none; }

@media (max-width: 991.98px) {
  body.eko-mnav-lock { overflow: hidden !important; touch-action: none; }

  /* Original Bootstrap mobile collapse is fully retired on mobile. Desktop nav remains untouched. */
  .navbar > .navbar-toggler { display: none !important; }
  #navbarCollapse { display: none !important; }

  .eko-mobile-nav-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(109,196,255,.38);
    border-radius: 16px;
    background:
      radial-gradient(circle at 28% 18%, rgba(109,196,255,.18), transparent 38%),
      linear-gradient(145deg, rgba(16,53,91,.96), rgba(7,28,54,.98));
    box-shadow: 0 12px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07);
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 22010;
  }

  .eko-mobile-nav-toggle::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.045);
    pointer-events: none;
  }

  .eko-mnav-toggle-bars {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .eko-mnav-toggle-bars span {
    display: block;
    height: 2px;
    border-radius: 99px;
    background: #6dc4ff;
    box-shadow: 0 0 12px rgba(109,196,255,.28);
    transition: width .2s ease, transform .2s ease;
  }
  .eko-mnav-toggle-bars span:nth-child(1) { width: 22px; }
  .eko-mnav-toggle-bars span:nth-child(2) { width: 16px; align-self: flex-end; }
  .eko-mnav-toggle-bars span:nth-child(3) { width: 19px; }

  .eko-mobile-nav-toggle:active { transform: scale(.97); }
  .eko-mobile-nav-toggle:focus-visible { outline: 3px solid rgba(109,196,255,.26); outline-offset: 3px; }

  .eko-mobile-nav-root {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30000;
    pointer-events: none;
    visibility: hidden;
  }

  .eko-mobile-nav-root.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .eko-mnav-backdrop {
    appearance: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(1,10,23,.68);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .32s ease;
  }

  .eko-mobile-nav-root.is-open .eko-mnav-backdrop { opacity: 1; }

  .eko-mnav-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(92vw, 430px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #eef7ff;
    background:
      radial-gradient(circle at 94% 6%, rgba(35,168,236,.19), transparent 26%),
      radial-gradient(circle at 0% 62%, rgba(13,102,177,.16), transparent 31%),
      linear-gradient(165deg,#102a49 0%,#091c34 46%,#061427 100%);
    border-left: 1px solid rgba(109,196,255,.22);
    box-shadow: -24px 0 70px rgba(0,0,0,.42);
    transform: translate3d(103%,0,0);
    transition: transform .38s cubic-bezier(.22,.75,.2,1);
  }

  .eko-mobile-nav-root.is-open .eko-mnav-drawer { transform: translate3d(0,0,0); }

  .eko-mnav-drawer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 108px;
    height: 4px;
    background: linear-gradient(90deg,transparent,#19afe8,#7fd3ff);
    border-radius: 0 0 0 99px;
    pointer-events: none;
  }

  .eko-mnav-head {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) 44px;
    align-items: center;
    gap: 12px;
    padding: calc(18px + env(safe-area-inset-top)) 18px 17px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(5,20,39,.58);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .eko-mnav-brand-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-size: 19px;
    background: linear-gradient(145deg,#1495d5,#0a5a9e);
    box-shadow: 0 10px 24px rgba(20,149,213,.28), inset 0 1px 0 rgba(255,255,255,.16);
  }

  .eko-mnav-brand-copy { min-width: 0; }
  .eko-mnav-brand-copy strong {
    display: block;
    margin: 0 0 3px;
    color: #fff;
    font-family: Nunito,Arial,sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: .1px;
  }
  .eko-mnav-brand-copy small {
    display: block;
    color: rgba(220,239,255,.65);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .55px;
    text-transform: uppercase;
  }

  .eko-mnav-close {
    appearance: none;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }
  .eko-mnav-close:hover,
  .eko-mnav-close:focus-visible { background: rgba(109,196,255,.12); color: #7fd3ff; outline: none; }

  .eko-mnav-status {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.025);
    color: rgba(231,244,255,.72);
    font-size: 11px;
    font-weight: 700;
  }
  .eko-mnav-open-status { display: inline-flex; align-items: center; gap: 7px; color: #bff6cf; }
  .eko-mnav-open-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 0 5px rgba(37,211,102,.12);
  }

  .eko-mnav-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 15px 14px 22px;
    scrollbar-width: thin;
    scrollbar-color: rgba(109,196,255,.35) transparent;
  }
  .eko-mnav-scroll::-webkit-scrollbar { width: 5px; }
  .eko-mnav-scroll::-webkit-scrollbar-thumb { background: rgba(109,196,255,.32); border-radius: 99px; }

  .eko-mnav-section-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 4px 6px 10px;
    color: #6dc4ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.15px;
    text-transform: uppercase;
  }
  .eko-mnav-section-label::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: #19afe8;
  }

  .eko-mnav-list { display: grid; gap: 7px; }

  .eko-mnav-link,
  .eko-mnav-accordion {
    appearance: none;
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 11px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.075);
    background: linear-gradient(180deg,rgba(255,255,255,.050),rgba(255,255,255,.025));
    color: #f7fbff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s ease,border-color .2s ease,transform .2s ease;
  }

  .eko-mnav-link:hover,
  .eko-mnav-link:focus-visible,
  .eko-mnav-accordion:hover,
  .eko-mnav-accordion:focus-visible {
    color: #fff;
    border-color: rgba(109,196,255,.25);
    background: linear-gradient(90deg,rgba(20,149,213,.16),rgba(255,255,255,.045));
    outline: none;
  }

  .eko-mnav-link:active,
  .eko-mnav-accordion:active { transform: scale(.992); }

  .eko-mnav-link.is-active {
    border-color: rgba(109,196,255,.40);
    background: linear-gradient(90deg,rgba(20,149,213,.24),rgba(13,55,103,.48));
    box-shadow: inset 3px 0 0 #19afe8, 0 10px 22px rgba(1,12,27,.12);
  }

  .eko-mnav-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(20,149,213,.12);
    border: 1px solid rgba(109,196,255,.12);
    color: #73ccff;
    font-size: 16px;
  }
  .eko-mnav-link.is-active .eko-mnav-icon { background: linear-gradient(145deg,#1599d9,#0c6aae); color: #fff; }

  .eko-mnav-copy { min-width: 0; }
  .eko-mnav-copy strong { display: block; color: inherit; font-size: 14px; line-height: 1.25; font-weight: 800; }
  .eko-mnav-copy small { display: block; margin-top: 3px; color: rgba(226,241,255,.53); font-size: 10.5px; line-height: 1.25; font-weight: 600; }

  .eko-mnav-arrow { color: rgba(175,219,248,.52); font-size: 12px; }
  .eko-mnav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(109,196,255,.11);
    color: #8edaff;
    font-size: 10px;
    font-weight: 800;
    border: 1px solid rgba(109,196,255,.13);
  }

  .eko-mnav-accordion .eko-mnav-arrow { transition: transform .22s ease; }
  .eko-mnav-accordion[aria-expanded="true"] {
    border-color: rgba(109,196,255,.28);
    background: linear-gradient(90deg,rgba(20,149,213,.17),rgba(255,255,255,.04));
  }
  .eko-mnav-accordion[aria-expanded="true"] .eko-mnav-arrow { transform: rotate(180deg); }

  .eko-mnav-submenu {
    display: none;
    margin: 7px 2px 10px 14px;
    padding: 7px 0 4px 15px;
    border-left: 1px solid rgba(109,196,255,.18);
  }
  .eko-mnav-submenu.is-open { display: grid; gap: 5px; }

  .eko-mnav-sub-link {
    display: grid;
    grid-template-columns: 24px minmax(0,1fr) 14px;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    padding: 8px 10px;
    border-radius: 11px;
    color: rgba(239,248,255,.80);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    border: 1px solid transparent;
  }
  .eko-mnav-sub-link i:first-child { color: #5abcf5; text-align: center; }
  .eko-mnav-sub-link i:last-child { color: rgba(255,255,255,.25); font-size: 9px; }
  .eko-mnav-sub-link:hover,
  .eko-mnav-sub-link:focus-visible,
  .eko-mnav-sub-link.is-active {
    color: #fff;
    background: rgba(20,149,213,.10);
    border-color: rgba(109,196,255,.12);
    outline: none;
  }

  .eko-mnav-region-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .eko-mnav-region-grid .eko-mnav-sub-link { grid-template-columns: 20px minmax(0,1fr); padding: 8px; font-size: 11px; }
  .eko-mnav-region-grid .eko-mnav-sub-link i:last-child { display: none; }

  .eko-mnav-footer {
    flex: 0 0 auto;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(3,14,28,.74);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .eko-mnav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .eko-mnav-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 13px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,.12);
  }
  .eko-mnav-action.phone { background: linear-gradient(145deg,#e82d25,#c71717); box-shadow: 0 8px 20px rgba(220,34,31,.17); }
  .eko-mnav-action.whatsapp { background: linear-gradient(145deg,#25d366,#18ad4e); box-shadow: 0 8px 20px rgba(37,211,102,.16); }
  .eko-mnav-footer-note { margin: 9px 2px 0; text-align: center; color: rgba(224,239,251,.46); font-size: 9.5px; line-height: 1.35; }

  @media (max-width: 380px) {
    .eko-mnav-drawer { width: 94vw; }
    .eko-mnav-region-grid { grid-template-columns: 1fr; }
    .eko-mnav-copy small { display: none; }
    .eko-mnav-link,.eko-mnav-accordion { min-height: 54px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .eko-mnav-drawer,.eko-mnav-backdrop,.eko-mnav-accordion .eko-mnav-arrow { transition: none !important; }
  }
}
@media (max-width: 991.98px) {
  .eko-mnav-accordion { grid-template-columns: 42px minmax(0,1fr) auto 14px; }
}
