/* Učitava se samo do 991 px (media atribut). Desktop ostaje netaknut. */
.mnm-bar { position: sticky; top: 0; z-index: 60; margin: 0 -12px 14px; padding: 10px 12px; background: rgba(255,255,255,.97); border-bottom: 1px solid #E3E8F0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.admin-bar .mnm-bar { top: 46px; }
.mnm-open {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px;
  border: 0; border-radius: 12px; background: #101D35; color: #fff; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mnm-open:active { background: #1769E0; }
.mnm-ico { width: 20px; height: 20px; flex: none; }
.mnm-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #1769E0; color: #fff; font-size: 12px; line-height: 22px; text-align: center; }

.mnm-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -12px 10px; padding: 2px 12px 4px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mnm-chips::-webkit-scrollbar { display: none; }
.mnm-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px;
  border: 1px solid #D5DDE9; background: #fff; color: #101D35 !important; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none !important; scroll-snap-align: start;
}
.mnm-chip small { color: #5B6B84; font-size: 12px; font-weight: 600; }
.mnm-chip.is-active { background: #EAF2FF; border-color: #1769E0; color: #1769E0 !important; }
.mnm-chip--up { background: #F5F7FA; }

/* Bočna traka kao klizni panel */
.mnm-sb {
  position: fixed !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: auto !important;
  z-index: 100001 !important; display: block !important; width: min(88vw, 380px) !important; max-width: none !important; height: auto !important;
  margin: 0 !important; padding: 0 18px !important; float: none !important; flex: none !important;
  background: #fff !important; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  transform: translateX(-105%) !important; visibility: hidden; opacity: 1 !important;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), visibility 0s linear .3s; box-shadow: 0 0 40px rgba(16,29,53,.25);
}
body.mnm-open-sb .mnm-sb { transform: none !important; visibility: visible; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
body.mnm-open-sb { overflow: hidden; }
.mnm-sb .sidebar-content, .mnm-sb .theiaStickySidebar { position: static !important; transform: none !important; top: auto !important; width: auto !important; padding: 0 !important; }
.mnm-backdrop { position: fixed; inset: 0; z-index: 100000; background: rgba(16,29,53,.5); }
.mnm-backdrop[hidden] { display: none; }

.mnm-sb > .mnm-head[hidden], .mnm-sb > .mnm-foot[hidden] { display: flex; }
.mnm-sb > .mnm-foot[hidden] { display: block; }
.mnm-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: 0 -18px 8px; padding: 10px 10px 10px 18px; background: #fff; border-bottom: 1px solid #E3E8F0; font-size: 17px; color: #101D35; }
.mnm-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: #F5F7FA; color: #101D35; cursor: pointer; }
.mnm-foot { position: sticky; bottom: 0; z-index: 2; margin: 16px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #E3E8F0; }
.mnm-done { width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: #1769E0; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }

/* Widgeti u panelu: veće površine za prst */
.mnm-sb .widget { margin: 0 0 6px !important; padding: 12px 0 !important; border-bottom: 1px solid #EEF2F7; }
.mnm-sb .widget:last-of-type { border-bottom: 0; }
.mnm-sb .widget-title, .mnm-sb .widgettitle { font-size: 15px !important; font-weight: 800 !important; margin-bottom: 8px !important; }
.mnm-sb .product-categories li a, .mnm-sb .widget_product_categories li a { display: inline-block; padding: 8px 0; font-size: 15px; }
.mnm-sb .product-categories .current-cat > a { color: #1769E0 !important; font-weight: 700; }
.mnm-sb li label, .mnm-sb .yith-wcan-filter label, .mnm-sb .widget_layered_nav li a { padding: 6px 0; font-size: 15px; }
.mnm-sb input[type="checkbox"] { width: 20px; height: 20px; }
.mnm-sb button, .mnm-sb .button { min-height: 44px; }

/* Porto vlastiti mali "jezičak" za bočnu traku nije potreban uz novi gumb */
body.mnm-catalog .sidebar-toggle { display: none !important; }
