/* Eser Organik mobile navigation */
@media (max-width: 991px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }

  .menubar {
    --eser-nav-forest: #173f34;
    --eser-nav-copper: #b87946;
    --eser-nav-cream: #f7f4eb;
    display: block;
    border: 1px solid rgba(23, 63, 52, .12);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: var(--eser-nav-cream);
    box-shadow: 0 -10px 32px rgba(23, 63, 52, .12);
  }

  .menubar .menubar__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    min-height: 72px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
    background: var(--eser-nav-cream);
    box-shadow: none;
  }

  .menubar .menubar__links li {
    min-width: 0;
    padding: 0;
  }

  .menubar .menubar__links li a {
    position: relative;
    display: flex;
    min-height: 56px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 15px;
    color: #53675d;
    font-size: 11px;
    font-weight:500;
    line-height: 1.2;
    letter-spacing: .01em;
    transition: background-color .18s ease, color .18s ease;
  }

  .menubar .menubar__links li a:hover,
  .menubar .menubar__links li a:focus-visible {
    background: #e9eee6;
    color: var(--eser-nav-forest);
  }

  .menubar .menubar__links li a:focus-visible,
  .menubar .menubar__modal a:focus-visible,
  .menubar .menubar__modal button:focus-visible,
  .menubar .menubar__modal input:focus-visible {
    outline: 2px solid var(--eser-nav-copper) !important;
    outline-offset: 2px;
  }

  .menubar .menubar__links li.is-current a {
    background: #e6ede5;
    color: var(--eser-nav-forest);
  }

  .menubar .menubar__icon {
    position: relative;
    display: flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
  }

  .menubar .menubar__links li a .menubar__icon i {
    display: block;
    margin: 0;
    color: inherit;
    font-size: 23px;
    line-height: 1;
  }

  .menubar .menubar__links li.is-current .menubar__icon {
    background: var(--eser-nav-forest);
    color: var(--eser-nav-cream);
  }

  .menubar .menubar__label {
    display: block;
    white-space: nowrap;
  }

  .menubar .menubar__cart-count {
    position: absolute;
    top: -4px;
    right: -9px;
    display: flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--eser-nav-cream);
    border-radius: 20px;
    background: #a86434;
    color: #fff;
    font-size: 10px;
    font-weight:500;
    line-height: 1;
  }

  .menubar .menubar__cart-count:empty {
    display: none;
  }

  .menubar .menubar__modal {
    top: auto;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    height: min(560px, calc(100dvh - 94px - env(safe-area-inset-bottom, 0px)));
    padding: 0 8px;
    overflow: visible;
    background: transparent;
  }

  .menubar .menubar__searchBox {
    height: min(240px, calc(100dvh - 94px - env(safe-area-inset-bottom, 0px)));
  }

  .menubar .menubar__modal .modal-dialog {
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 -18px 48px rgba(23, 63, 52, .2);
  }

  .menubar .menubar__modal .modal-content,
  .menubar .menubar__modal.menubar__searchBox .modal-content {
    overflow: hidden;
    border: 1px solid rgba(23, 63, 52, .12);
    border-radius: 22px 22px 8px 8px;
    background: var(--eser-nav-cream);
    color: var(--eser-nav-forest);
  }

  .menubar .menubar__modal .modal-header {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(23, 63, 52, .1);
    background: var(--eser-nav-cream);
    box-shadow: none;
  }

  .menubar .menubar__modal .modal-title {
    margin: 0;
    padding: 0;
    color: var(--eser-nav-forest);
    font-size: 19px;
    font-weight:500;
    line-height: 1.2;
  }

  .menubar .menubar__modal .modal-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: #e7ede5;
    color: var(--eser-nav-forest);
    font-size: 21px;
  }

  .menubar .menubar__modal .modal-body {
    padding: 16px;
    overscroll-behavior: contain;
  }

  .menubar .categories__list {
    gap: 8px;
    padding: 4px 0 14px;
    background: transparent;
  }

  .menubar .categories__item {
    min-width: auto;
    margin: 0;
    padding: 11px 16px;
    border: 1px solid rgba(23, 63, 52, .14);
    border-radius: 999px;
    background: #fff;
    color: var(--eser-nav-forest) !important;
  }

  .menubar .categories__item.active {
    border-color: var(--eser-nav-forest);
    background: var(--eser-nav-forest);
  }

  .menubar .categories__item-title,
  .menubar .categories__item.active .categories__item-title {
    color: var(--eser-nav-forest);
    font-size: 13px;
    font-weight:500;
    line-height: 1.2;
  }

  .menubar .categories__item.active .categories__item-title {
    color: #fff;
  }

  .menubar ul.mtabc {
    overflow: hidden;
    padding: 0;
    margin: 0 0 16px;
    border: 1px solid rgba(23, 63, 52, .11);
    border-radius: 14px;
    background: #fff;
    list-style: none;
  }

  .menubar ul.mtabc li:first-child {
    padding: 14px 16px;
    background: #e7eee7;
    color: var(--eser-nav-forest);
    font-size: 15px;
  }

  .menubar ul.mtabc li:not(:last-child) {
    border-bottom-color: rgba(23, 63, 52, .1);
  }

  .menubar ul.mtabc li a {
    padding: 13px 16px;
    color: var(--eser-nav-forest);
    font-size: 14px;
    line-height: 1.3;
  }

  .menubar ul.mtabc li a:hover {
    background: #f4f5ed;
    color: var(--eser-nav-copper);
  }

  .menubar .eser-search-field {
    display: flex;
    min-height: 56px;
    overflow: hidden;
    border: 1px solid rgba(23, 63, 52, .16);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 63, 52, .07);
  }

  .menubar .eser-search-field input {
    width: 100%;
    min-width: 0;
    flex: 1;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--eser-nav-forest);
    font-size: 16px;
  }

  .menubar .eser-search-field input::placeholder {
    color: #718077;
  }

  .menubar .eser-search-field button {
    width: 56px;
    flex: 0 0 56px;
    border: 0;
    background: var(--eser-nav-forest);
    color: #fff;
    font-size: 21px;
  }

  .menubar .eser-search-hint {
    margin: 12px 2px 0;
    color: #6e796f;
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 359px) {
  .menubar .menubar__links {
    gap: 0;
    padding-right: 5px;
    padding-left: 5px;
  }

  .menubar .menubar__links li a {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menubar .menubar__links li a {
    transition: none;
  }
}

/* A direct selection sheet, with the products visible at a glance. */
@media(max-width:991px){
.menubar .menubar__categoryBox{height:min(650px,calc(100dvh - 105px - env(safe-area-inset-bottom,0px)))}
.menubar .menubar__categoryBox .modal-dialog,.menubar .menubar__categoryBox .modal-content{height:100%}
.menubar .menubar__categoryBox .modal-content{border-radius:12px 12px 0 0;box-shadow:none}
.menubar .menubar__categoryBox .modal-header{min-height:62px;padding:13px 20px;background:#fffdf8}
.menubar .menubar__categoryBox .modal-title{font:400 25px/1.25 Georgia,serif}
.menubar .menubar__categoryBox .modal-body{min-height:0;overflow-y:auto;padding:0 20px 22px}
.menubar .eser-category-sheet-intro{font-size:12px;font-weight:400;line-height:1.6;color:#75836e;margin:18px 0 8px}
.menubar .eser-category-sheet-list{display:grid;grid-template-columns:1fr}
.menubar .eser-category-sheet-item{padding:17px 0;border-bottom:1px solid #dce2d3}
.menubar .eser-category-sheet-main{display:grid;grid-template-columns:65px minmax(0,1fr) 18px;gap:16px;align-items:center;color:var(--eser-nav-forest)}
.menubar .eser-category-sheet-main img{display:block;width:65px;height:65px;border-radius:5px;object-fit:cover}
.menubar .eser-category-sheet-title{font:400 21px/1.2 Georgia,serif;display:block}
.menubar .eser-category-sheet-caption{display:block;margin-top:7px;font-size:10px;color:#7c8a72;font-weight:400}
.menubar .eser-category-sheet-main>i{font-size:20px;color:var(--eser-nav-copper)}
.menubar .eser-category-sheet-children{display:flex;flex-wrap:wrap;gap:8px 15px;padding:12px 0 0 81px}
.menubar .eser-category-sheet-children a{font-size:11px;color:#657857;font-weight:400;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c3ccba}
.menubar .eser-category-sheet-all{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;font-size:12px;color:var(--eser-nav-forest);font-weight:400}
.menubar .eser-category-sheet-all i{font-size:20px}
.menubar .menubar__links li a{font-weight:400}
}
@media(max-width:359px){.menubar .menubar__categoryBox .modal-body{padding-left:16px;padding-right:16px}.menubar .eser-category-sheet-main{gap:13px;grid-template-columns:55px minmax(0,1fr) 16px}.menubar .eser-category-sheet-main img{width:55px;height:55px}.menubar .eser-category-sheet-title{font-size:19px}.menubar .eser-category-sheet-children{padding-left:68px;gap:8px 12px}}
