/* Mobile-only overrides live here.
   Desktop layout must remain unchanged. */

/* Fallback: some pages use a scaled viewport; JS adds .hm-mobile */
.hm-mobile .hm-desktop-nav {
  display: none !important;
}
.hm-mobile .hm-mobile-nav {
  display: block !important;
}

@media (max-width: 768px) {
  /* Hide the existing left sidenav on mobile (desktop unchanged) */
  .sidenav {
    display: none !important;
  }
  .sidenav  br{
    display: none!important;
  }
  .container-fluid{
    padding-left: 0!important;
    padding-right: 0!important;
  }
  .col-md-9{
    padding-right: 10px!important;
    padding-left: 10px!important;
  }

  .main{
    margin: 0!important;
  }
  .col-md-3, .col-xs-3{
    width: 100%!important;
  }

  .hm-desktop-nav {
    display: none !important;
  }

  .hm-mobile-nav {
    display: block;
    padding: 8px 0;
    position: relative;
    z-index: 1000001;
  }

  .hm-mobile-nav__row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  
  /* Avoid space-between stretching when there are 3+ items */
  .hm-mobile-nav__row > :last-child {
   /* margin-left: auto; */
  }

  .hm-mobile-nav__logo,
  .hm-mobile-nav__btn {
    flex: 0 0 auto;
  }

  .hm-mobile-nav__logo img {
    height: 34px;
    width: auto;
    display: block;
  }

  .hm-mobile-nav__btn {
    border: 0;
    background: transparent;
    padding: 8px 10px;
    color: rgba(0, 0, 0, 0.85);
    position: relative;
    line-height: 1;
    font-size: 18px;
  }

  .hm-mobile-nav__btn--menu {
    margin-left: 0;
  }

  .hm-mobile-nav__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff0000;
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hm-mobile-menu {
    display: none;
  }

  .hm-mobile-menu.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000000;
  }

  .hm-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }

  .hm-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(86vw, 360px);
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 220ms ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .hm-mobile-menu.is-open .hm-mobile-menu__panel {
    transform: translateX(0);
  }

  .hm-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .hm-mobile-menu__title {
    font-weight: 700;
  }

  .hm-mobile-menu__close {
    border: 0;
    background: transparent;
    font-size: 18px;
    padding: 8px 10px;
  }

  .hm-mobile-menu__content {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
  }

  /* Override inc/menu.php fixed left sidenav on mobile inside drawer */
  .hm-mobile-menu.is-open .hm-mobile-menu__content .sidenav {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding-top: 0 !important;
    background: transparent !important;
  }

  .hm-mobile-menu__content .sidenav a {
    text-align: left !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.85) !important;
  }

  .hm-mobile-menu__content .sidenav a .fa {
    width: 22px;
    margin-right: 10px;
  }

  .hm-mobile-menu__content .sidenav a:hover,
  .hm-mobile-menu__content .sidenav a:hover .fa {
    color: rgba(0, 0, 0, 1) !important;
  }



  html.hm-mobile-menu-lock,
  body.hm-mobile-menu-lock {
    overflow: hidden !important;
  }


.ozelbuton .btn{
  width: 50%;
  font-size: 10px;
  margin-bottom: 5px;
}

.odemelerrrr{
  width: 100%;
  overflow: scroll;
}

.affix{
  position: relative!important;
}
.col-xs-9{
  width: 95%!important;

}
#ypProdutContainer{
  max-width: 100%!important;
}
#ypProdutContainer #DataTables_Table_0_wrapper{
  width: 100%;
  overflow: scroll!important;
}
.#ypProdutContainer .row{
   margin: 0!important;
}


.ozeltabless .row{
  margin: 0!important;
}
.ozeltabless .card{
  width: 100%;
  overflow: scroll!important;
}

.table{
  width: 100%!important;
  overflow: scroll!important;
}

.col-xs-5, .col-xs-7{
  width: 100%!important;
}

.form-container div{
  width: 100%!important;
}

.form-container .tarih, .form-container .cvc{
   margin-bottom: 5px!important;
}






}

@media (min-width: 769px) {
  .hm-mobile-nav,
  .hm-mobile-menu {
    display: none !important;
  }
}

