/*
 * Yavuz Plastik StockOS v1.6.31
 * Mobil / tablet nihai denge katmanı.
 * Yalnız JS tarafından sınıflandırılan telefon ve dokunmatik tabletlerde çalışır.
 * Masaüstü / web yerleşimine dokunmaz.
 */
:root{
  --mxso-v1631-safe-top:env(safe-area-inset-top,0px);
  --mxso-v1631-safe-bottom:env(safe-area-inset-bottom,0px);
  --mxso-v1631-nav-h:68px;
  --mxso-v1631-toolbar-h:58px;
  --mxso-v1631-radius:15px;
  --mxso-v1631-blue:#126cef;
  --mxso-v1631-navy:#071b3a;
  --mxso-v1631-line:#d7e4f2;
  --mxso-v1631-bg:#eef5ff;
}

html.mxso-v1631-compact,
html.mxso-v1631-compact body{max-width:100%!important;overflow-x:hidden!important;}
html.mxso-v1631-compact body{overscroll-behavior-y:contain;-webkit-tap-highlight-color:transparent;}
html.mxso-v1631-compact body *{box-sizing:border-box;}
html.mxso-v1631-compact :is(button,a,input,select,textarea){touch-action:manipulation;}
html.mxso-v1631-compact :is(input,select,textarea){font-size:16px!important;}

/* ---------------- PANEL / YÖNETİM KABUĞU ---------------- */
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell){
  background:var(--mxso-v1631-bg)!important;
  padding-bottom:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom))!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-bar{
  position:sticky!important;top:0!important;z-index:3600!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
  width:100%!important;min-height:58px!important;height:auto!important;padding:8px 9px!important;
  gap:8px!important;border:0!important;border-radius:0!important;overflow:visible!important;
  background:linear-gradient(112deg,#061a38 0%,#0b3d91 62%,#126cef 120%)!important;
  box-shadow:0 7px 20px rgba(7,27,58,.18)!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left{
  display:flex!important;align-items:center!important;min-width:0!important;gap:8px!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left>div{min-width:0!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left strong{
  display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:15px!important;line-height:1.15!important;font-weight:500!important;color:#fff!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left span{display:none!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-actions-toggle-v1622{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  min-width:46px!important;min-height:42px!important;padding:7px 10px!important;border:1px solid rgba(255,255,255,.30)!important;
  border-radius:12px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;
}
html.mxso-v1631-phone body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-actions-toggle-v1622 span{display:none!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-actions{
  position:fixed!important;z-index:3650!important;left:8px!important;right:8px!important;top:66px!important;
  display:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
  max-height:calc(var(--mxso-v1631-vh,100dvh) - 84px)!important;padding:10px!important;overflow:auto!important;
  border:1px solid #d7e4f2!important;border-radius:15px!important;background:rgba(255,255,255,.99)!important;
  box-shadow:0 18px 50px rgba(7,27,58,.24)!important;
}
html.mxso-v1631-compact body.mxso-standalone.mxso-mobile-actions-open-v1622:not(.mxso-sector-terminal-shell) .mxso-standalone-actions{display:grid!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-actions>*{
  display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:44px!important;
  width:100%!important;padding:8px 7px!important;border:1px solid #d7e4f2!important;border-radius:11px!important;
  background:#f5f9ff!important;color:#12385f!important;font-size:11px!important;line-height:1.2!important;text-align:center!important;white-space:normal!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-actions .mxso-user-pill{grid-column:1/-1!important;background:#eaf3ff!important;}

html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-wrap,
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-content,
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-content-layout,
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-main-stage{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-content{
  padding:9px 8px calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom) + 16px)!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-topbar{display:none!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar{
  position:fixed!important;z-index:3800!important;left:0!important;top:0!important;bottom:0!important;
  width:min(88vw,350px)!important;max-width:350px!important;height:100dvh!important;margin:0!important;padding:12px!important;
  overflow-y:auto!important;transform:translateX(-105%)!important;transition:transform .2s ease!important;
  border-radius:0 18px 18px 0!important;box-shadow:18px 0 52px rgba(0,15,40,.36)!important;
}
html.mxso-v1631-compact body.mxso-standalone.mxso-menu-open:not(.mxso-sector-terminal-shell) .mxso-sidebar{transform:translateX(0)!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar :is(.mxso-nav-grid,.mxso-sidebar-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
html.mxso-v1631-phone body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar :is(.mxso-nav-grid,.mxso-sidebar-grid){grid-template-columns:1fr!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar .mxso-nav-link{min-height:74px!important;padding:10px!important;border-radius:13px!important;}

html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-grid,.mxso-panel-grid,.mxso-dashboard-grid,.mxso-kpi-grid,.mxso-card-grid){
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
}
html.mxso-v1631-phone body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-grid,.mxso-panel-grid,.mxso-dashboard-grid,.mxso-kpi-grid,.mxso-card-grid){grid-template-columns:1fr!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-panel,.mxso-card,.mxso-kpi-card,.mxso-stat-card,.mxso-form,.mxso-filter-bar){
  min-width:0!important;max-width:100%!important;padding:13px!important;border-radius:14px!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-report-hero,.mxso-force-blue-hero,.mxso-dashboard-corporate-hero,.mxso-operation-hero,.mxso-command-hero){
  min-height:0!important;padding:16px!important;border-radius:16px!important;gap:12px!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-report-hero,.mxso-force-blue-hero,.mxso-dashboard-corporate-hero,.mxso-operation-hero,.mxso-command-hero) h1,
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-report-hero,.mxso-force-blue-hero,.mxso-dashboard-corporate-hero,.mxso-operation-hero,.mxso-command-hero) h2{font-size:21px!important;line-height:1.25!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-form-grid,.mxso-filter-grid,.mxso-field-grid){grid-template-columns:1fr!important;gap:9px!important;}
html.mxso-v1631-tablet-portrait body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-form-grid,.mxso-filter-grid,.mxso-field-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-table-wrap,.mxso-v1622-table-scroll){width:100%!important;max-width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) table{max-width:none!important;}

/* Panel alt navigasyonu */
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-bottom-nav{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;z-index:3500!important;
  left:0!important;right:0!important;bottom:0!important;width:100%!important;height:auto!important;min-height:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom))!important;
  padding:5px 5px calc(5px + var(--mxso-v1631-safe-bottom))!important;gap:2px!important;overflow:visible!important;
  border:0!important;border-top:1px solid #cfdeed!important;border-radius:0!important;background:rgba(255,255,255,.99)!important;
  box-shadow:0 -10px 28px rgba(7,27,58,.14)!important;opacity:1!important;visibility:visible!important;transform:none!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-bottom-nav>a{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  min-width:0!important;min-height:54px!important;padding:4px 2px!important;border-radius:10px!important;color:#526a82!important;text-decoration:none!important;
}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-bottom-nav>a.is-active{background:#eaf3ff!important;color:#075fd5!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-bottom-nav .dashicons{width:21px!important;height:21px!important;font-size:21px!important;line-height:21px!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-bottom-nav strong{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9.5px!important;font-weight:500!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-floating-quick-toggle{
  right:9px!important;bottom:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom) + 9px)!important;z-index:3510!important;min-height:43px!important;padding:8px 11px!important;
}

/* Hızlı işlem çekmecesi: tablet 3, telefon 2 sütun. */
html.mxso-v1631-compact body.mxso-standalone .mxso-right-rail.mxso-quick-drawer{
  top:66px!important;right:7px!important;bottom:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom) + 7px)!important;
  width:calc(100vw - 14px)!important;max-width:680px!important;max-height:none!important;border-radius:17px!important;
}
html.mxso-v1631-compact body.mxso-standalone .mxso-quick-drawer-scroll{max-height:none!important;padding-bottom:14px!important;}
html.mxso-v1631-compact body.mxso-standalone .mxso-right-rail.mxso-quick-drawer .mxso-quickbar-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
html.mxso-v1631-phone body.mxso-standalone .mxso-right-rail.mxso-quick-drawer .mxso-quickbar-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html.mxso-v1631-compact body.mxso-standalone .mxso-right-rail.mxso-quick-drawer .mxso-quickbar-item{min-height:72px!important;padding:9px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important;}

/* ---------------- POS TELEFON / DİK TABLET ---------------- */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell{
  background:#eef5ff!important;padding:0 0 calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom))!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-standalone-bar,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-mobile-mode-v1624,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-yavuz-pos-quick-menu-v1611{display:none!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-shell{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:100dvh!important;
  padding:0 0 calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom))!important;background:#eef5ff!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-main{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0 7px 18px!important;overflow:visible!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-mobile-toolbar-v1625{
  display:grid!important;position:sticky!important;z-index:3300!important;top:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:calc(100% + 14px)!important;min-height:var(--mxso-v1631-toolbar-h)!important;margin:0 -7px 7px!important;padding:5px 6px!important;
  gap:4px!important;border:0!important;border-bottom:1px solid #cfdeed!important;border-radius:0!important;background:rgba(255,255,255,.99)!important;
  box-shadow:0 7px 18px rgba(7,27,58,.10)!important;opacity:1!important;visibility:visible!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-mobile-toolbar-v1625 button{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;min-height:46px!important;
  padding:5px 4px!important;border:1px solid #d7e4f2!important;border-radius:11px!important;background:#f7faff!important;color:#244a6d!important;
  font-size:11px!important;font-weight:500!important;line-height:1.1!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-mobile-toolbar-v1625 button.is-active{background:#126cef!important;border-color:#126cef!important;color:#fff!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-mobile-toolbar-v1625 .mxso-pos-toolbar-icon-v1625{width:19px!important;height:19px!important;flex:0 0 19px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-mobile-toolbar-v1625 small{min-width:18px!important;height:18px!important;font-size:9px!important;}

html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-work,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-work-v1520{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-left-stack,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-products{width:100%!important;max-width:100%!important;min-width:0!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell.mxso-pos-sale-active-v1624 .mxso-sector-products{display:none!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell.mxso-pos-products-active-v1624 .mxso-sector-pos-left-stack{display:none!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell.mxso-pos-sale-active-v1624 .mxso-sector-pos-left-stack,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell.mxso-pos-products-active-v1624 .mxso-sector-products{display:block!important;}

/* POS başlık ve metrikler */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-top{
  display:grid!important;grid-template-columns:1fr!important;gap:7px!important;min-height:0!important;margin:0 0 7px!important;padding:11px!important;border-radius:14px!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-top>div{min-width:0!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-top section{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-top article{min-width:0!important;min-height:62px!important;padding:8px!important;border-radius:11px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-top article span{font-size:9px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-top article strong{font-size:18px!important;}

/* Barkod ve ürün ekleme alanı */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-sale-area{min-width:0!important;border-radius:14px!important;overflow:visible!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-entry{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important;padding:8px!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-entry>*{min-width:0!important;width:100%!important;max-width:100%!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-entry [data-pos-field="barcode"],
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-entry [data-pos-field="name"]{grid-column:auto!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-entry>button{grid-column:1/-1!important;min-height:45px!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-pos-entry{grid-template-columns:1fr 1fr!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-pos-entry [data-pos-field="barcode"],
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-pos-entry [data-pos-field="name"]{grid-column:1/-1!important;}

html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-mobile-scanner{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important;
  min-height:54px!important;margin:0 8px 8px!important;padding:7px!important;border:1px solid #d7e4f2!important;border-radius:12px!important;background:#fff!important;overflow:visible!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-mobile-scanner button{display:inline-flex!important;min-height:42px!important;padding:8px 11px!important;color:#fff!important;opacity:1!important;visibility:visible!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-mobile-scanner span{min-width:0!important;font-size:11px!important;line-height:1.3!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-mobile-scanner video{grid-column:1/-1!important;width:100%!important;max-height:48dvh!important;border-radius:12px!important;object-fit:cover!important;}

/* Sepet */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-cart{min-height:220px!important;max-height:none!important;overflow:visible!important;border-radius:12px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-cart-head{display:grid!important;grid-template-columns:minmax(0,1fr) 54px 66px 48px 68px!important;gap:3px!important;padding:8px 7px!important;font-size:9px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-cart-row{display:grid!important;grid-template-columns:minmax(0,1fr) repeat(4,auto) 38px!important;align-items:center!important;gap:6px!important;padding:9px!important;border-bottom:1px solid #e6eef7!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-cart-row>*{min-width:0!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-head{display:none!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-row{grid-template-columns:minmax(0,1fr) auto 36px!important;gap:5px!important;border:1px solid #e3edf7!important;border-radius:11px!important;margin:6px!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-row>strong{grid-column:1/-1!important;font-size:12px!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-row>span:nth-of-type(1),
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-row>span:nth-of-type(2),
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-row>span:nth-of-type(3){display:none!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-row>b{grid-column:2!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-cart-row>form{grid-column:3!important;}

/* Ödeme alanı */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-payment{
  display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:8px!important;padding:8px!important;border-radius:14px!important;background:#fff!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-total-box{width:100%!important;min-width:0!important;padding:11px!important;border-radius:12px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-payment-form{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-payment-form>*{width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-banknotes{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-top:7px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-banknotes button{min-height:40px!important;}

/* Ürün paneli */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-products{padding:8px!important;border-radius:14px!important;background:#fff!important;overflow:visible!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-products-head{display:flex!important;align-items:flex-start!important;gap:8px!important;padding:4px 2px 8px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-products-head>div:first-child{min-width:0!important;flex:1 1 auto!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-products-head span{font-size:10px!important;line-height:1.35!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-tools{position:sticky!important;top:calc(var(--mxso-v1631-toolbar-h) + 1px)!important;z-index:25!important;padding:7px!important;border-radius:12px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 6px 18px rgba(7,27,58,.08)!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-search-row{grid-template-columns:minmax(0,1fr) 76px!important;gap:6px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-groups{display:flex!important;gap:6px!important;overflow-x:auto!important;padding:6px 1px!important;scroll-snap-type:x proximity!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-groups button{flex:0 0 auto!important;min-height:38px!important;padding:7px 10px!important;scroll-snap-align:start!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:100%!important;
  max-height:none!important;height:auto!important;padding:8px 0 calc(var(--mxso-v1631-nav-h) + 20px)!important;overflow:visible!important;
}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-sector-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
html.mxso-v1631-narrow body.mxso-sector-terminal-shell .mxso-sector-product-grid{grid-template-columns:1fr!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card{
  display:grid!important;grid-template-rows:72px minmax(35px,auto) auto minmax(66px,auto)!important;height:auto!important;min-height:205px!important;
  min-width:0!important;padding:8px!important;border:1px solid #d7e4f2!important;border-radius:13px!important;background:#fff!important;overflow:hidden!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card .media{height:72px!important;min-height:72px!important;border-radius:10px!important;background:#f5f9ff!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card .media img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card strong{height:auto!important;min-height:35px!important;font-size:11px!important;line-height:1.25!important;color:#071b3a!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card b{height:auto!important;min-height:20px!important;font-size:12px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card-actions{height:auto!important;min-height:66px!important;padding:5px 0 0!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card-actions form{grid-template-rows:28px 34px!important;gap:5px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-product-card-actions button[type="submit"]{min-height:34px!important;height:34px!important;background:#126cef!important;color:#fff!important;}

/* POS alt nav */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail{
  position:fixed!important;z-index:3400!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;height:auto!important;min-height:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom))!important;
  margin:0!important;padding:5px 6px calc(5px + var(--mxso-v1631-safe-bottom))!important;gap:2px!important;overflow:visible!important;
  border:0!important;border-top:1px solid #cfdeed!important;border-radius:0!important;background:rgba(255,255,255,.99)!important;
  box-shadow:0 -10px 28px rgba(7,27,58,.16)!important;opacity:1!important;visibility:visible!important;transform:none!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail>.mxso-sector-rail-group{display:contents!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail>a,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail>.mxso-sector-rail-group>a.is-notification{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  width:100%!important;min-width:0!important;min-height:54px!important;height:54px!important;margin:0!important;padding:4px 2px!important;
  border:0!important;border-radius:10px!important;background:transparent!important;color:#244a6d!important;text-decoration:none!important;opacity:1!important;visibility:visible!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail>a:nth-of-type(n+4){display:none!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail>.mxso-sector-rail-group>a{display:none!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail>.mxso-sector-rail-group>a.is-notification{display:flex!important;grid-column:4!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail .mxso-pos-svg-icon-v1625{display:block!important;width:22px!important;height:22px!important;color:#126cef!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail b{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9.5px!important;font-weight:500!important;color:#244a6d!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail a::after{display:none!important;}

/* Menü çekmecesi */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-menu-drawer-v1625{
  left:6px!important;right:6px!important;top:auto!important;bottom:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom) + 6px)!important;
  width:auto!important;max-width:none!important;max-height:calc(var(--mxso-v1631-vh,100dvh) - var(--mxso-v1631-nav-h) - 18px)!important;
  border-radius:17px 17px 13px 13px!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-menu-scroll-v1625{padding:10px!important;overflow:auto!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-menu-grid-v1625{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
html.mxso-v1631-phone body.mxso-sector-terminal-shell .mxso-pos-menu-grid-v1625{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-menu-grid-v1625>a{min-width:0!important;min-height:72px!important;padding:9px!important;border-radius:12px!important;overflow:hidden!important;}

/* Canlı ve WhatsApp yüzen işlemleri */
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-live-hub-v140{
  position:fixed!important;z-index:3450!important;right:9px!important;left:auto!important;top:auto!important;
  bottom:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom) + 9px)!important;width:50px!important;height:50px!important;pointer-events:none!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-live-toggle{
  position:relative!important;display:flex!important;width:50px!important;min-width:50px!important;height:50px!important;min-height:50px!important;padding:4px!important;border-radius:15px!important;pointer-events:auto!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-live-toggle em{display:none!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-wa-tab{
  position:fixed!important;z-index:3451!important;left:9px!important;right:auto!important;top:auto!important;
  bottom:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom) + 9px)!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:50px!important;min-width:50px!important;height:50px!important;min-height:50px!important;padding:4px!important;border-radius:15px!important;
  writing-mode:horizontal-tb!important;transform:none!important;pointer-events:auto!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-wa-tab span{display:none!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-wa-tab::before{content:"WA";font-size:12px!important;font-weight:600!important;color:#fff!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-live-drawer,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-wa-drawer{
  position:fixed!important;z-index:3500!important;left:6px!important;right:6px!important;top:auto!important;
  bottom:calc(var(--mxso-v1631-nav-h) + var(--mxso-v1631-safe-bottom) + 66px)!important;width:auto!important;max-width:none!important;
  height:auto!important;max-height:calc(var(--mxso-v1631-vh,100dvh) - var(--mxso-v1631-nav-h) - 80px)!important;border-radius:17px!important;overflow:auto!important;
}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-live-drawer header,
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-wa-drawer header{position:sticky!important;top:0!important;z-index:2!important;padding:11px!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-live-head-actions{display:flex!important;gap:4px!important;flex-wrap:wrap!important;justify-content:flex-end!important;}
html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-live-head-actions :is(button,select){min-height:34px!important;height:34px!important;padding:5px 7px!important;font-size:10px!important;}

/* Klavye açıkken sabit menüler formu kapatmasın. */
html.mxso-v1631-keyboard-open body.mxso-sector-terminal-shell .mxso-sector-pos-rail,
html.mxso-v1631-keyboard-open body.mxso-sector-terminal-shell .mxso-pos-live-hub-v140,
html.mxso-v1631-keyboard-open body.mxso-sector-terminal-shell .mxso-pos-wa-tab,
html.mxso-v1631-keyboard-open body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-bottom-nav,
html.mxso-v1631-keyboard-open body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-floating-quick-toggle{display:none!important;}
html.mxso-v1631-keyboard-open body.mxso-sector-terminal-shell,
html.mxso-v1631-keyboard-open body.mxso-sector-terminal-shell .mxso-sector-pos-shell,
html.mxso-v1631-keyboard-open body.mxso-standalone:not(.mxso-sector-terminal-shell){padding-bottom:0!important;}

/* ---------------- YATAY TABLET — WEB BENZERİ AMA DOKUNMATİK ---------------- */
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-pos-mobile-mode-v1624{display:none!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-shell{
  display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;min-height:100dvh!important;padding:0!important;
}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-rail{
  position:sticky!important;top:0!important;left:auto!important;right:auto!important;bottom:auto!important;display:flex!important;flex-direction:column!important;
  width:64px!important;min-width:64px!important;height:100dvh!important;padding:7px 5px!important;overflow-y:auto!important;border-radius:0!important;
}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-rail>a,
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-rail>.mxso-sector-rail-group>a{min-height:52px!important;height:52px!important;margin-bottom:5px!important;padding:5px!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-rail b{display:none!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-pos-mobile-toolbar-v1625{display:none!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-main{padding:6px 7px!important;min-width:0!important;overflow:hidden!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-yavuz-pos-quick-menu-v1611{display:flex!important;gap:5px!important;overflow-x:auto!important;padding:5px!important;white-space:nowrap!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-yavuz-pos-quick-menu-v1611>a{flex:0 0 auto!important;min-height:40px!important;padding:7px 9px!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-work-v1520{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(350px,.95fr)!important;gap:8px!important;min-width:0!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-pos-left-stack,
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-products{display:block!important;min-width:0!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-products{max-height:calc(100dvh - 66px)!important;overflow:auto!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-sector-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-pos-live-hub-v140{right:10px!important;bottom:10px!important;}
html.mxso-v1631-tablet-landscape body.mxso-sector-terminal-shell .mxso-pos-wa-tab{left:74px!important;right:auto!important;top:auto!important;bottom:10px!important;transform:none!important;writing-mode:horizontal-tb!important;border-radius:15px!important;min-height:52px!important;height:52px!important;}

/* ---------------- AÇIK KATALOG TELEFON / TABLET ---------------- */
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-catalog{width:100%!important;max-width:100%!important;padding:8px!important;overflow:hidden!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-layout{grid-template-columns:1fr!important;gap:10px!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-cart{position:static!important;width:100%!important;max-width:100%!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-search{grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
html.mxso-v1631-phone body.mxstockos-public-catalog-page .mxstockos-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
html.mxso-v1631-narrow body.mxstockos-public-catalog-page .mxstockos-public-grid{grid-template-columns:1fr!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-card{min-width:0!important;border-radius:13px!important;overflow:hidden!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-img{height:126px!important;min-height:126px!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-img img{width:100%!important;height:100%!important;object-fit:contain!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-info{padding:9px!important;}
html.mxso-v1631-compact body.mxstockos-public-catalog-page .mxstockos-public-info h3{font-size:12px!important;line-height:1.3!important;min-height:47px!important;}

@media(max-width:380px){
  :root{--mxso-v1631-nav-h:65px;}
  html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-pos-mobile-toolbar-v1625 button span:not(.mxso-pos-toolbar-icon-v1625){font-size:9.5px!important;}
  html.mxso-v1631-pos-compact body.mxso-sector-terminal-shell .mxso-sector-pos-rail b,
  html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-bottom-nav strong{font-size:8.8px!important;}
}

/* Sol mobil menü: üstte hızlı işlemler, altında sade tek kolon bölüm listesi. */
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar .mxso-mobile-quick-actions{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:0 0 10px!important;
}
html.mxso-v1631-phone body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar .mxso-mobile-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar .mxso-mobile-quick-actions a{min-height:60px!important;padding:7px 4px!important;border-radius:12px!important;font-size:9.5px!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar .mxso-nav-section-items{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;}
html.mxso-v1631-compact body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-sidebar .mxso-nav-link{display:flex!important;min-height:58px!important;padding:8px 9px!important;}
