/* Shared mobile shell, using the Varlık Bütçe v418 palette and navigation geometry. */
.market-dock,.market-menu-toggle{display:none}
.market-menu-toggle svg{width:22px;height:22px;display:block}
@media(max-width:980px){
 body.market-mobile>.container,body.market-mobile>.rapor-kutu{width:auto!important;max-width:none!important;margin:8px 16px!important;padding:16px!important;background:white!important;border:1px solid #e1e5e7!important;border-radius:14px!important;box-shadow:none!important;box-sizing:border-box}
 .market-mobile .admin-quick-actions{display:none!important}
 .market-mobile::before,.market-mobile::after{display:none!important}
 .market-mobile>header>.market-menu-toggle{position:static!important;visibility:visible!important;opacity:1!important;flex-shrink:0}
 .market-mobile>header>h1{min-width:0;overflow-wrap:anywhere}
 .market-mobile .admin-grid>a,.market-mobile .admin-grid>button{background:#f4f5f7!important;color:#172325!important;border:1px solid #e1e5e7!important;border-radius:12px!important;box-shadow:none!important}
 .market-mobile .admin-grid strong{color:#117b75!important}.market-mobile .admin-grid span{color:#798185!important}
 body.market-mobile{background:#f1f2f6!important;background-image:none!important;color:#172325!important;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
 .market-mobile>header{position:sticky!important;top:0;z-index:100!important;display:flex!important;align-items:center;gap:12px;background:#f1f2f6!important;color:#172325!important;padding:calc(12px + env(safe-area-inset-top)) 16px 12px!important;border:0!important;box-shadow:none!important;min-height:72px!important}
 .market-mobile>header>img{width:38px!important;height:38px!important;object-fit:contain;margin:0!important;border-radius:10px}
 .market-mobile>header>h1{flex:1;font-size:19px!important;line-height:1.3!important;color:#172325!important;margin:0!important;text-shadow:none!important;text-align:left!important}
 .market-mobile .market-menu-toggle{display:grid!important;place-items:center;width:44px!important;min-width:44px;min-height:44px;margin:0!important;padding:10px!important;border:1px solid #e1e5e7!important;border-radius:50%!important;background:white!important;color:#117b75!important}
 .market-mobile>header>nav{display:none!important}
 .market-mobile>header>nav.market-menu-open{display:flex!important;position:fixed!important;inset:calc(82px + env(safe-area-inset-top)) 12px calc(94px + env(safe-area-inset-bottom))!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;overflow-y:auto!important;background:white!important;border:1px solid #e1e5e7;border-radius:16px;padding:12px!important;box-shadow:0 12px 40px #17232526;gap:4px!important}
 .market-mobile>header>nav a,.market-mobile>header>nav button{flex:none!important;margin:0!important;min-height:46px!important;padding:12px!important;background:#f4f5f7!important;color:#172325!important;border:0!important;border-radius:8px!important;text-align:left!important;font-size:14px!important}
 .market-mobile>main{width:auto!important;max-width:none!important;margin:8px 16px!important;padding:16px!important;background:white!important;border:1px solid #e1e5e7!important;border-radius:14px!important;box-shadow:0 8px 24px #192d320d!important;min-width:0}
 .market-mobile input,.market-mobile select,.market-mobile textarea{font-size:16px!important;min-height:46px;border-radius:10px!important;border:1px solid #e1e5e7!important;background:#f4f5f7!important;color:#172325!important;max-width:100%;box-sizing:border-box}
 .market-mobile main button{font-family:inherit;min-height:44px;border-radius:10px!important;box-shadow:none!important}
 .market-mobile .btn-yellow,.market-mobile .btn-green,.market-mobile .btn-teal,.market-mobile .add-to-cart-btn,.market-mobile .cart-view-btn{background:#117b75!important;color:white!important;border:0!important}
 .market-mobile .quick-products-panel{background:#f4f5f7!important;border:1px solid #e1e5e7!important;box-shadow:none!important;border-radius:12px!important}
 .market-mobile h2,.market-mobile h3{color:#172325!important;text-shadow:none!important}
 .market-mobile .pos-entry-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
 .market-mobile .pos-entry-row>*{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box}
 .market-mobile .pos-entry-row #urunAdi,.market-mobile .pos-entry-row .add-to-cart-btn{grid-column:1/-1}
 .market-mobile .market-dock{display:flex;position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;right:12px;z-index:110;background:white;border:1px solid #e1e5e7;border-radius:30px;padding:6px;gap:2px;box-shadow:0 6px 24px #0f28281f}
 .market-dock>a,.market-dock>button{display:flex!important;flex:1;min-width:0!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px!important;padding:6px 2px!important;margin:0!important;color:#798185!important;background:transparent!important;border:0!important;border-radius:24px!important;text-decoration:none!important;font:inherit;box-shadow:none!important}
 .market-dock span{font-size:10px;white-space:nowrap}.market-dock svg{width:21px;height:21px}
 .market-dock [aria-current=page]{color:white!important;background:#117b75!important}
 .scanner-fullscreen-open .market-dock{display:none}
}

#barcodeScannerPanel{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;margin:0!important;z-index:2147483000!important;box-sizing:border-box!important;grid-template-rows:minmax(150px,1fr) auto auto auto!important;overflow:auto;padding:calc(68px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom))!important;background:#101b20!important}
#barcodeScannerPanel [hidden]{display:none!important}
#barcodeScannerPanel .scanner-video-wrap{position:relative;min-height:150px;border-radius:16px;overflow:hidden;box-shadow:none}
#barcodeScannerPanel video{width:100%;height:100%;object-fit:contain!important;filter:none!important}
#barcodeScannerPanel .scanner-frame{position:absolute;left:6%;right:6%;top:12%;height:76%;border:2px dashed #ffffffaa;border-radius:12px;background:none;box-shadow:0 0 0 999px #0003;pointer-events:none}
#barcodeScannerPanel .scanner-frame::before{display:none}
.scanner-tracking{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:none}
.scanner-tracking polygon{fill:#fbbf2426;stroke:#fbbf24;stroke-width:4;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.scanner-tracking.confirmed polygon{fill:#34d39926;stroke:#34d399}
#barcodeScannerStatus{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;font-size:14px;line-height:1.5;margin:0;color:white!important}
#barcodeScannerPanel .scanner-status.success{background:#125348}
#barcodeScannerPanel button{min-height:44px;border:0;border-radius:12px;background:#117b75!important;color:white!important;font-size:14px;box-shadow:none}
#barcodeScannerPanel .scanner-actions{display:flex;gap:10px}#barcodeScannerPanel .scanner-actions button{flex:1}
#barcodeScannerPanel .scanner-actions{position:static!important;width:100%!important;margin:0!important;padding:0!important;transform:none!important}
#barcodeScannerPanel .scanner-actions button{margin:0!important;min-width:0!important;width:auto!important}
#barcodeScannerPanel .scanner-manual-entry{margin:0}#barcodeScannerPanel .scanner-manual-entry label{color:#d5e4e4!important;font-size:12px}
#barcodeScannerPanel .scanner-top-actions{top:calc(12px + env(safe-area-inset-top));left:16px;right:16px}
@media(prefers-reduced-motion:reduce){.market-mobile *{scroll-behavior:auto!important}}

/* v30: simplified navigation, settings hub and roomier POS quick-product flows. */
.settings-panel[hidden],.settings-panel [hidden]{display:none!important}
.settings-page-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin-bottom:18px}
.settings-page-head h2{margin:0;text-align:center}.settings-back{width:44px;min-height:44px;border:0;border-radius:50%;background:#e1f0ee;color:#117b75;font-size:30px;line-height:1}
.settings-list{overflow:hidden;border:1px solid #e1e5e7;border-radius:14px;background:#fff}
.settings-list>a,.settings-list>button{width:100%!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 18px!important;align-items:center!important;gap:12px!important;min-height:72px!important;margin:0!important;padding:12px 14px!important;border:0!important;border-bottom:1px solid #e1e5e7!important;border-radius:0!important;background:#fff!important;color:#172325!important;text-align:left!important;text-decoration:none!important;font:inherit!important;box-shadow:none!important;box-sizing:border-box!important}
.settings-list>*:last-child{border-bottom:0}.settings-list>*>span:nth-child(2){display:grid;gap:4px}.settings-list strong{font-size:15px}.settings-list small{font-size:12px;line-height:1.4;color:#798185}.settings-list b{font-size:24px;color:#9aa3a7;font-weight:400}.settings-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e1f0ee;color:#117b75;font-size:19px}
.product-export-panel{margin:18px 0;padding:18px;border:1px solid #e1e5e7;border-radius:12px;background:#f4f5f7}.product-export-panel h3{margin-top:0}.product-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product-export-actions button{min-height:46px}
.header-quick-actions{display:none}
.quick-modal-toolbar,.quick-list-toolbar{display:grid!important;grid-template-columns:minmax(68px,auto) minmax(0,1fr) minmax(68px,auto);align-items:center;gap:8px;width:100%}
.quick-modal-toolbar h2,.quick-list-toolbar h2{margin:0!important;text-align:center!important;font-size:18px!important;line-height:1.2}
.quick-modal-toolbar button,.quick-list-toolbar button{width:auto!important;min-width:68px!important;min-height:42px!important;margin:0!important;padding:9px 12px!important;border:0!important;border-radius:10px!important;font-size:13px!important;box-shadow:none!important}
.quick-modal-cancel,.quick-modal-close{background:#e8eeef!important;color:#314348!important}.quick-modal-save{background:#117b75!important;color:#fff!important}

@media(max-width:980px){
 .panel-home-page>header{justify-content:center!important;padding-top:calc(10px + env(safe-area-inset-top))!important}
 .panel-home-page>header>h1,.panel-home-page>header>nav{display:none!important}
 .panel-home-page>header>img{width:min(178px,52vw)!important;height:52px!important;border-radius:0!important;object-fit:contain!important;box-shadow:none!important}
 .panel-home-page>main{margin-top:0!important}
 .market-mobile .market-dock{justify-content:space-around}
 .market-mobile .market-dock>a{flex:1 1 25%}
 .market-mobile>header>nav,.market-mobile>header>nav.market-menu-open{display:none!important}

 body.market-mobile:has(#urunAdi):has(#sepet)>header{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:10px!important}
 body.market-mobile:has(#urunAdi):has(#sepet)>header>h1{font-size:17px!important}
 body.market-mobile:has(#urunAdi):has(#sepet)>main{margin:4px 8px!important;padding:12px!important;border-radius:12px!important}
 .header-quick-actions{display:flex;align-items:center;gap:6px}
 .header-quick-actions button{display:grid;place-items:center;gap:1px;width:46px;min-width:46px;min-height:48px;padding:5px 2px;border:1px solid #d4e1e2;border-radius:12px;background:#fff;color:#117b75;box-shadow:0 6px 18px #0f282814}
 .header-quick-actions svg{width:20px;height:20px}.header-quick-actions span{font-size:8px;line-height:1;font-weight:700}
 .quick-products-actions>.btn-green,.quick-products-actions>.btn-yellow{display:none!important}
 .quick-products-actions>.quick-mobile-open{display:block!important;width:100%!important}
 .market-mobile .quick-products-head{display:block!important}.market-mobile .quick-products-head h3{text-align:center!important;font-size:24px!important}

 #hizliEkleModal,#hizliUrunlerModal{padding:8px!important;align-items:stretch!important;justify-content:center!important}
 #hizliEkleModal .quick-add-modal,#hizliUrunlerModal .quick-mobile-card{width:100%!important;max-width:none!important;height:calc(100dvh - 16px)!important;max-height:none!important;margin:0!important;padding:14px!important;border-radius:16px!important;box-sizing:border-box!important;overflow:auto!important}
 #hizliEkleModal .quick-add-modal{display:flex!important;flex-direction:column!important;gap:12px!important}
 #hizliEkleModal .quick-modal-toolbar{position:sticky;top:0;z-index:3;padding:2px 0 10px;background:linear-gradient(180deg,#eefaff 78%,transparent)}
 #hizliEkleModal #hizliModalAciklama{margin:0!important;font-size:13px!important;line-height:1.45!important}
 #hizliEkleModal #hizliUrunAramaBlok,#hizliEkleModal #hizliSeciliBlok{flex:1;min-height:0;overflow:auto}
 #hizliEkleModal #hizliUrunSonuclari,#hizliEkleModal #hizliSeciliUrunler{max-height:none!important}
 #hizliEkleModal>.quick-add-modal>.odeme-btn{display:none!important}
 #hizliUrunlerModal .quick-list-toolbar{position:sticky;top:0;z-index:3;padding:2px 0 12px!important;background:linear-gradient(180deg,#eefaff 78%,transparent)!important}
 #hizliUrunlerModal .quick-list-toolbar>div,#hizliUrunlerModal .quick-list-toolbar p,#hizliUrunlerModal .sepet-modal-close{display:none!important}
 #hizliUrunlerModalIcerik{max-height:none!important;overflow:auto!important;padding:4px 0!important}
 #hizliUrunlerModalIcerik .quick-product-btn{min-height:54px!important;margin-bottom:10px!important}

 .market-mobile .product-export-panel{padding:16px!important}.market-mobile .product-export-actions{grid-template-columns:1fr 1fr}
 .market-mobile #settingsPanel,.market-mobile #accountSettings,.market-mobile #categorySettings{min-height:calc(100dvh - 210px)}
}

@media(max-width:360px){
 body.market-mobile:has(#urunAdi):has(#sepet)>header{grid-template-columns:34px minmax(0,1fr) auto!important;gap:6px!important;padding-left:10px!important;padding-right:10px!important}
 body.market-mobile:has(#urunAdi):has(#sepet)>header>img{width:34px!important;height:34px!important}
 body.market-mobile:has(#urunAdi):has(#sepet)>header>h1{font-size:15px!important}
 .header-quick-actions{gap:4px}.header-quick-actions button{width:42px;min-width:42px}
}


/* v31: sticky quick-product search, roomier POS and compact product management. */
.product-entry-modal[hidden],.product-entry-tab-panel[hidden]{display:none!important}
.product-entry-modal{position:fixed;inset:0;z-index:2147482000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(10,18,26,.58);backdrop-filter:blur(8px)}
.product-entry-modal-card{width:min(760px,calc(100vw - 28px));max-height:min(88dvh,820px);overflow:auto;box-sizing:border-box;padding:18px;border:1px solid rgba(81,176,218,.9);border-radius:18px;background:radial-gradient(circle at top right,rgba(142,214,244,.28),transparent 34%),linear-gradient(180deg,#eefaff 0%,#f9fdff 44%,#fff 100%);box-shadow:0 22px 60px rgba(22,104,142,.2)}
.product-entry-modal-head{display:grid;grid-template-columns:minmax(68px,auto) minmax(0,1fr) minmax(68px,auto);align-items:center;gap:8px;position:sticky;top:-18px;z-index:4;margin:-2px -2px 14px;padding:4px 2px 12px;background:linear-gradient(180deg,#eefaff 78%,rgba(238,250,255,.94) 88%,transparent)}
.product-entry-modal-head h2{margin:0;text-align:center;font-size:18px;color:#172325}
.product-entry-cancel{width:auto!important;min-width:68px!important;min-height:42px!important;margin:0!important;padding:9px 12px!important;border:0!important;border-radius:10px!important;background:#e8eeef!important;color:#314348!important;box-shadow:none!important}
.product-entry-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;padding:4px;border-radius:12px;background:#e8eef0}
.product-entry-tabs button{min-height:44px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#506064!important;box-shadow:none!important}
.product-entry-tabs button.active{background:#117b75!important;color:#fff!important}
.product-entry-tab-panel{min-height:0}
.product-modal-add-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.product-modal-add-grid #urunAdi{grid-column:1/-1}
.product-modal-add-grid .product-modal-save{grid-column:1/-1;min-height:48px}
.bulk-import-modal-content{display:grid;gap:10px}.bulk-import-modal-content h3,.bulk-import-modal-content p{margin:0}.bulk-import-modal-content input[type=file]{width:100%;margin:0;background:#fff}.bulk-import-modal-content>button{width:100%;margin:0;min-height:46px}.bulk-file-label{font-weight:700;color:#314348}
.product-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.product-page-heading h3{margin:0 0 4px}.product-page-heading p{margin:0;color:#798185}.product-add-launch{flex:0 0 auto;min-width:120px}
.product-export-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:22px}.product-export-compact h3,.product-export-compact p{margin:0}.product-export-compact p{margin-top:4px}
.category-settings-card{padding:16px;border:1px solid #e1e5e7;border-radius:14px;background:#fff}.category-settings-card>p{margin-top:0;color:#647082}.category-settings-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:10px}.category-settings-add-row input,.category-settings-add-row button{width:100%;margin:0}.category-settings-message{min-height:22px;margin:4px 0 10px;color:#117b75;font-weight:650}.category-settings-message.error{color:#d5483f}.category-settings-list{display:grid;gap:10px}.category-settings-page[hidden]{display:none!important}

@media(max-width:980px){
 .market-mobile.pos-page>main{margin:4px 6px 8px!important;padding:12px!important;border-radius:12px!important}
 .market-mobile.pos-page .pos-entry-row{gap:8px!important}
 .market-mobile.pos-page .quick-products-panel{margin:10px 0 14px!important;padding:14px!important}
 .market-mobile.pos-page .pos-actions{display:grid!important;gap:10px!important}.market-mobile.pos-page .pos-actions button{width:100%!important;margin:0!important}
 #hizliEkleModal.quick-add-mode .quick-add-modal{overflow:hidden!important}
 #hizliEkleModal.quick-add-mode #hizliUrunAramaBlok{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
 #hizliEkleModal.quick-add-mode #hizliUrunAra{position:relative!important;z-index:2!important;flex:0 0 auto!important;width:100%!important;margin:0 0 10px!important;background:#f4f5f7!important}
 #hizliEkleModal.quick-add-mode #hizliUrunSonuclari{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding:2px 0 calc(8px + env(safe-area-inset-bottom))!important}
 .market-mobile.product-page>main{margin-top:4px!important;padding-top:14px!important}
 .market-mobile.product-page .product-desktop-add{display:none!important}
 .market-mobile.product-page .product-page-heading{display:block;margin-bottom:10px}.market-mobile.product-page .product-page-heading h3{font-size:20px!important}.market-mobile.product-page .product-page-heading p{font-size:13px!important}
 .product-entry-modal{padding:8px;align-items:stretch}
 .product-entry-modal-card{width:100%;max-width:none;height:calc(100dvh - 16px);max-height:none;margin:0;padding:14px;border-radius:16px;overflow:auto}
 .product-entry-modal-head{top:-14px;margin:0 0 12px;padding:2px 0 10px}
 .product-modal-add-grid{grid-template-columns:1fr}.product-modal-add-grid #urunAdi,.product-modal-add-grid .product-modal-save{grid-column:auto}.product-modal-add-grid>*{width:100%!important;margin:0!important}
 .product-entry-tabs{position:sticky;top:48px;z-index:3;background:#e8eef0}
 .product-export-compact{grid-template-columns:1fr;gap:10px}.product-export-compact .product-export-actions{grid-template-columns:1fr 1fr}
 .category-settings-add-row{grid-template-columns:1fr}.category-settings-add-row button{min-height:46px!important}
 .category-settings-page .category-modal-item{flex-direction:row!important;align-items:center!important}.category-settings-page .category-modal-delete{width:auto!important;min-width:92px!important}
}

/* v32: wider mobile POS layout, bottom-aligned checkout actions, and compact corner quick-product icons. */
.checkout-summary-block{display:block}

/* Keep the original product-card layout; only replace the former text action with a small corner icon. */
.quick-search-item.quick-corner-card,
.quick-selected-item.quick-corner-card{
  position:relative!important;
  display:block!important;
  min-height:0!important;
  padding:12px 54px 12px 12px!important;
}
.quick-corner-card .quick-item-content{
  display:block!important;
  min-width:0!important;
  position:relative!important;
  z-index:1!important;
}
.quick-corner-card .quick-item-content strong{
  display:block!important;
  padding:0!important;
  margin:0!important;
}
.quick-corner-card .quick-item-content span{
  display:block!important;
  margin-top:4px!important;
}
.quick-search-item.quick-corner-card > .quick-item-icon-btn,
.quick-selected-item.quick-corner-card > .quick-item-icon-btn{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  left:auto!important;
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important;
  background:#117b75!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:none!important;
  z-index:2!important;
}
.quick-selected-item.quick-corner-card.quick-remove-card{
  padding:12px 12px 12px 54px!important;
}
.quick-selected-item.quick-corner-card.quick-remove-card > .quick-item-icon-btn{
  left:10px!important;
  right:auto!important;
  background:#d84b3f!important;
}
.quick-selected-item.quick-corner-card.quick-remove-card .quick-item-content{
  padding:0!important;
}

@media(max-width:980px){
 body.market-mobile:has(#urunAdi):has(#sepet)>main{display:flex!important;flex-direction:column!important;min-height:calc(100dvh - 162px)!important;margin:4px 4px 8px!important;padding:12px 10px!important}
 .market-mobile.pos-page .barcode-entry-row.pos-entry-row{gap:8px!important;grid-template-columns:minmax(0,1fr) minmax(124px,.8fr)!important}
 .market-mobile.pos-page .quick-products-panel{margin:8px 0 10px!important;padding:12px!important}
 .market-mobile.pos-page .checkout-summary-block{margin-top:auto!important;padding-top:14px!important}
 .market-mobile.pos-page .checkout-summary-block h3{margin:0 0 12px!important}
 .market-mobile.pos-page .pos-actions{gap:10px!important;margin-top:0!important;padding-bottom:2px!important}
 #hizliEkleModal.quick-add-mode #hizliUrunAra{position:sticky!important;top:0!important;z-index:5!important;padding-top:0!important}
 body.market-mobile #hizliEkleModal .quick-search-item.quick-corner-card,
 body.market-mobile #hizliEkleModal .quick-selected-item.quick-corner-card{display:block!important;min-height:0!important}
 body.market-mobile #hizliEkleModal .quick-search-item.quick-corner-card > .quick-item-icon-btn,
 body.market-mobile #hizliEkleModal .quick-selected-item.quick-corner-card > .quick-item-icon-btn{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important}
}

@media(max-width:430px){
 body.market-mobile:has(#urunAdi):has(#sepet)>main{margin:3px 3px 8px!important;padding:10px 8px!important;min-height:calc(100dvh - 158px)!important}
 .market-mobile.pos-page .barcode-entry-row.pos-entry-row{grid-template-columns:minmax(0,1fr) minmax(118px,.78fr)!important}
 body.market-mobile #hizliEkleModal .quick-search-item.quick-corner-card > .quick-item-icon-btn,
 body.market-mobile #hizliEkleModal .quick-selected-item.quick-corner-card > .quick-item-icon-btn{width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;font-size:18px!important}
}

/* v33: remove leftover yellow/cream glows from quick-product UI. */
.market-mobile .quick-product-btn,
.market-mobile #hizliUrunlerModalIcerik .quick-product-btn{
  background:#117b75!important;
  color:#ffffff!important;
  box-shadow:none!important;
  filter:none!important;
}
.market-mobile .quick-product-btn:hover,
.market-mobile #hizliUrunlerModalIcerik .quick-product-btn:hover{
  transform:none!important;
  box-shadow:none!important;
}
.market-mobile #hizliUrunlerModalIcerik,
.market-mobile .quick-products-list-modal{
  background:transparent!important;
}
.market-mobile #hizliUrunlerModal .quick-mobile-card,
.market-mobile #hizliEkleModal .quick-add-modal{
  box-shadow:0 18px 40px rgba(18,69,79,.12)!important;
}
.market-mobile #hizliEkleModal .quick-search-item,
.market-mobile #hizliEkleModal .quick-selected-item,
.market-mobile #hizliUrunlerModal .quick-search-item,
.market-mobile #hizliUrunlerModal .quick-selected-item{
  box-shadow:none!important;
  background:#ffffff!important;
}


/* v34: fix quick-product card text alignment and spacing. */
.quick-search-item.quick-corner-card,
.quick-selected-item.quick-corner-card{
  padding-top:14px!important;
  padding-bottom:14px!important;
  min-height:74px!important;
  box-sizing:border-box!important;
}
.quick-corner-card .quick-item-content{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
  min-height:44px!important;
}
.quick-corner-card .quick-item-content strong{
  font-size:15px!important;
  line-height:1.25!important;
  margin:0!important;
}
.quick-corner-card .quick-item-content span{
  font-size:13px!important;
  line-height:1.35!important;
  margin:0!important;
}
.quick-search-item.quick-corner-card > .quick-item-icon-btn,
.quick-selected-item.quick-corner-card > .quick-item-icon-btn{
  top:14px!important;
}
@media(max-width:430px){
  .quick-search-item.quick-corner-card,
  .quick-selected-item.quick-corner-card{
    min-height:72px!important;
    padding-top:13px!important;
    padding-bottom:13px!important;
  }
  .quick-corner-card .quick-item-content strong{font-size:14px!important}
  .quick-corner-card .quick-item-content span{font-size:12.5px!important}
}


/* v35: replace mobile header quick icons with a 3-dot menu. */
.quick-menu-wrap{position:relative!important;display:flex!important;align-items:center!important}
.quick-menu-wrap .quick-menu-trigger{
  width:46px!important;
  min-width:46px!important;
  height:48px!important;
  min-height:48px!important;
  padding:0!important;
  gap:0!important;
}
.quick-menu-wrap .quick-menu-trigger svg{width:22px!important;height:22px!important}
.quick-menu-wrap .quick-menu-dropdown{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  z-index:30!important;
  width:210px!important;
  padding:8px!important;
  border:1px solid #dbe5e6!important;
  border-radius:14px!important;
  background:#ffffff!important;
  box-shadow:0 14px 32px rgba(15,40,40,.14)!important;
  display:grid!important;
  gap:8px!important;
}
.quick-menu-wrap .quick-menu-dropdown[hidden]{display:none!important}
.quick-menu-wrap .quick-menu-item{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:10px 12px!important;
  border:0!important;
  border-radius:10px!important;
  background:#f4f7f7!important;
  color:#172325!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  box-shadow:none!important;
  text-align:left!important;
}
.quick-menu-wrap .quick-menu-item:hover,
.quick-menu-wrap .quick-menu-item:active{background:#e9f3f2!important;color:#117b75!important}
@media(max-width:360px){
  .quick-menu-wrap .quick-menu-trigger{width:42px!important;min-width:42px!important;height:46px!important;min-height:46px!important}
  .quick-menu-wrap .quick-menu-dropdown{width:196px!important}
}

/* v36: standard-size quick-product cards; prevent stretch when search has few results. */
#hizliEkleModal .quick-search-results,
#hizliEkleModal .quick-selected-list{
  display:grid!important;
  grid-auto-rows:82px!important;
  align-content:start!important;
  align-items:stretch!important;
  gap:10px!important;
}
#hizliEkleModal .quick-search-item.quick-corner-card,
#hizliEkleModal .quick-selected-item.quick-corner-card{
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#hizliEkleModal .quick-corner-card .quick-item-content{
  min-height:0!important;
  height:100%!important;
  justify-content:center!important;
  gap:3px!important;
  overflow:hidden!important;
}
#hizliEkleModal .quick-corner-card .quick-item-content strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.2!important;
  max-height:2.4em!important;
}
#hizliEkleModal .quick-corner-card .quick-item-content span{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  line-height:1.25!important;
}
#hizliEkleModal .quick-search-item.quick-corner-card > .quick-item-icon-btn,
#hizliEkleModal .quick-selected-item.quick-corner-card > .quick-item-icon-btn{
  top:12px!important;
}
@media(max-width:430px){
  #hizliEkleModal .quick-search-results,
  #hizliEkleModal .quick-selected-list{grid-auto-rows:78px!important}
  #hizliEkleModal .quick-search-item.quick-corner-card,
  #hizliEkleModal .quick-selected-item.quick-corner-card{
    height:78px!important;
    min-height:78px!important;
    max-height:78px!important;
  }
}


/* v36: edit modal cards match add modal; minus icon at top right and show price next to barcode. */
.quick-selected-item.quick-corner-card.quick-remove-card{
  padding:14px 54px 14px 12px!important;
}
.quick-selected-item.quick-corner-card.quick-remove-card > .quick-item-icon-btn{
  left:auto!important;
  right:10px!important;
  background:#d84b3f!important;
}
.quick-selected-item.quick-corner-card.quick-remove-card .quick-item-content{
  padding:0!important;
}
@media(max-width:430px){
  .quick-selected-item.quick-corner-card.quick-remove-card{
    padding:13px 50px 13px 12px!important;
  }
}


/* v37: hide visible scrollbars in the mobile Quick Products window without disabling scrolling. */
#hizliUrunlerModal .quick-mobile-card,
#hizliUrunlerModal #hizliUrunlerModalIcerik{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
#hizliUrunlerModal .quick-mobile-card::-webkit-scrollbar,
#hizliUrunlerModal #hizliUrunlerModalIcerik::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}


/* v37: cart modal uses a top-left Close button and compact top-right remove icons. */
#sepetModal .sepet-list-toolbar{
  display:grid!important;
  grid-template-columns:minmax(68px,auto) minmax(0,1fr) minmax(68px,auto)!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  padding:2px 0 10px!important;
  margin:0 0 12px!important;
  background:linear-gradient(180deg,#eefaff 78%,transparent)!important;
}
#sepetModal .sepet-list-toolbar h2{
  margin:0!important;
  text-align:center!important;
  font-size:18px!important;
  line-height:1.2!important;
}
#sepetModal .sepet-text-close{
  width:auto!important;
  min-width:68px!important;
  min-height:42px!important;
  margin:0!important;
  padding:9px 12px!important;
  border:0!important;
  border-radius:10px!important;
  background:#e8eeef!important;
  color:#314348!important;
  font-size:13px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  #sepetModal .sepet-tablosu tr{
    position:relative!important;
    padding-top:18px!important;
    padding-right:54px!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    z-index:4!important;
    display:block!important;
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell::before{
    display:none!important;
    content:none!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon{
    display:grid!important;
    place-items:center!important;
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:9px!important;
    background:#d84b3f!important;
    color:#fff!important;
    font-size:0!important;
    line-height:1!important;
    box-shadow:none!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon::before{
    content:"−"!important;
    display:block!important;
    font-size:20px!important;
    font-weight:800!important;
    line-height:1!important;
  }
}
@media(max-width:430px){
  #sepetModal .sepet-tablosu tr{padding-right:50px!important}
  #sepetModal .sepet-tablosu td.sepet-remove-cell,
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon{
    width:28px!important;min-width:28px!important;max-width:28px!important;
    height:28px!important;min-height:28px!important;max-height:28px!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon::before{font-size:18px!important}
}


/* v37: remove stray cart X and normalize the cart minus button size. */
#sepetModal .modal-auto-close,
#sepetModal .sepet-modal-close{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  #sepetModal .sepet-tablosu tr{
    padding-right:56px!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell{
    top:12px!important;
    right:12px!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon{
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    aspect-ratio:1/1!important;
    border-radius:9px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    margin:0!important;
    line-height:1!important;
    font-size:0!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon::before{
    font-size:20px!important;
    line-height:1!important;
  }
}
@media(max-width:430px){
  #sepetModal .sepet-tablosu tr{padding-right:56px!important}
  #sepetModal .sepet-tablosu td.sepet-remove-cell,
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon{
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon::before{font-size:20px!important}
}

/* v37: home dashboard, complete mobile dock and top-left logout. */
.panel-logout-button{display:none}
.home-dashboard{display:block}
.dashboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.dashboard-heading h2{margin:0 0 4px;font-size:25px;color:#172325}
.dashboard-heading p{margin:0;color:#6f7d82;font-size:14px}
.dashboard-user-label{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border-radius:999px;background:#eef7f6;color:#117b75;font-size:12px;white-space:nowrap}
.dashboard-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.dashboard-stat-card{display:flex;flex-direction:column;gap:7px;min-width:0;padding:16px;border:1px solid #e1e8e9;border-radius:15px;background:#f8fafb;box-sizing:border-box}
.dashboard-stat-card span{font-size:12px;font-weight:700;color:#6d7c80}
.dashboard-stat-card strong{font-size:22px;line-height:1.15;color:#117b75;overflow-wrap:anywhere}
.dashboard-stat-card small{font-size:11px;color:#899397}
.dashboard-negative{color:#d94b42!important}
.dashboard-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dashboard-card{min-width:0;padding:16px;border:1px solid #e1e8e9;border-radius:16px;background:#fff;box-sizing:border-box}
.dashboard-card-wide{grid-column:1/-1}
.dashboard-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.dashboard-card-head h3{margin:0 0 3px;font-size:17px;color:#172325}
.dashboard-card-head p{margin:0;font-size:12px;color:#7a878b}
.dashboard-card-head>a{flex:0 0 auto;color:#117b75;text-decoration:none;font-size:12px;font-weight:800;padding:6px 8px;border-radius:8px;background:#eef7f6}
.dashboard-list{display:grid;gap:0}
.dashboard-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf1f2}
.dashboard-list-row:last-child{border-bottom:0}
.dashboard-list-row>div{display:grid;gap:3px;min-width:0}
.dashboard-list-row strong{font-size:13px;color:#34485b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-list-row span{font-size:11px;color:#7b8b98}
.dashboard-list-row b{flex:0 0 auto;font-size:13px;color:#117b75}
.dashboard-list-row .debt-value{color:#d04c45}
.dashboard-empty{padding:20px 8px;text-align:center;color:#879397;font-size:13px}
.dashboard-chart-legend{display:flex;justify-content:flex-end;gap:14px;margin:-2px 0 8px;font-size:11px;color:#66777d}
.dashboard-chart-legend span{display:inline-flex;align-items:center;gap:5px}
.dashboard-chart-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}
.dashboard-chart-legend .income-dot{background:#117b75}
.dashboard-chart-legend .expense-dot{background:#d94b42}
.dashboard-weekly-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:8px;height:190px;padding:12px 4px 0;border-top:1px solid #eef2f3}
.dashboard-chart-day{display:grid;grid-template-rows:1fr auto auto;gap:3px;height:100%;min-width:0;text-align:center}
.dashboard-chart-bars{display:flex;align-items:flex-end;justify-content:center;gap:3px;height:135px;min-height:0}
.dashboard-chart-bars i{display:block;width:min(15px,42%);border-radius:5px 5px 2px 2px;min-height:0}
.dashboard-chart-bars .income-bar{background:#117b75}
.dashboard-chart-bars .expense-bar{background:#d94b42}
.dashboard-chart-day strong{font-size:11px;color:#53646a}
.dashboard-chart-day span{font-size:10px;color:#98a2a5}
.dashboard-month-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.dashboard-month-summary>div{padding:12px;border-radius:12px;background:#f5f8f9;display:grid;gap:5px}
.dashboard-month-summary span{font-size:11px;color:#7a878b}
.dashboard-month-summary strong{font-size:16px;color:#34485b;overflow-wrap:anywhere}
.dashboard-month-bars{display:grid;gap:10px}
.dashboard-month-bars>div{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px}
.dashboard-month-bars span{font-size:11px;font-weight:700;color:#68787d}
.dashboard-progress{height:9px;border-radius:999px;background:#edf2f2;overflow:hidden}
.dashboard-progress i{display:block;height:100%;width:0;border-radius:inherit;background:#117b75;transition:width .2s ease}
.dashboard-progress.expense i{background:#d94b42}

@media(max-width:980px){
  body.market-mobile{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
  .market-mobile .market-dock{left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;gap:2px!important;padding:6px!important;border-radius:27px!important;scrollbar-width:none!important;-ms-overflow-style:none!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .market-mobile .market-dock::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .market-mobile .market-dock>a,.market-mobile .market-dock>button{flex:0 0 58px!important;min-width:58px!important;max-width:58px!important;min-height:50px!important;padding:5px 2px!important}
  .market-mobile .market-dock span{font-size:8.5px!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .market-mobile .market-dock svg{width:19px!important;height:19px!important}

  .panel-home-page>header{position:sticky!important;justify-content:center!important;min-height:70px!important}
  .panel-home-page>header>.panel-logout-button{display:grid!important;place-items:center!important;position:absolute!important;left:14px!important;top:calc(14px + env(safe-area-inset-top))!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:1px solid #dce5e6!important;border-radius:12px!important;background:#fff!important;color:#d94b42!important;box-shadow:none!important;z-index:3!important}
  .panel-home-page>header>.panel-logout-button svg{width:21px!important;height:21px!important}

  .panel-home-page>main.admin-home{margin:2px 8px 10px!important;padding:12px!important;background:#fff!important}
  .dashboard-heading{margin-bottom:13px;align-items:center}
  .dashboard-heading h2{font-size:21px!important}
  .dashboard-heading p{font-size:12px}
  .dashboard-user-label{font-size:10px;min-height:30px;padding:5px 8px}
  .dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:11px}
  .dashboard-stat-card{padding:12px;border-radius:13px;gap:5px;min-height:102px}
  .dashboard-stat-card strong{font-size:18px}
  .dashboard-content-grid{grid-template-columns:1fr;gap:10px}
  .dashboard-card,.dashboard-card-wide{grid-column:auto;padding:13px;border-radius:14px}
  .dashboard-card-head{margin-bottom:9px}
  .dashboard-card-head h3{font-size:16px!important}
  .dashboard-list-row{padding:9px 0}
  .dashboard-weekly-chart{height:170px;gap:4px;padding-inline:0}
  .dashboard-chart-bars{height:118px;gap:2px}
  .dashboard-chart-bars i{width:min(12px,44%)}
  .dashboard-chart-day strong{font-size:9.5px}
  .dashboard-chart-day span{font-size:9px}
  .dashboard-month-summary{gap:7px}
  .dashboard-month-summary>div{padding:10px 8px}
  .dashboard-month-summary strong{font-size:14px}
}

@media(max-width:390px){
  .market-mobile .market-dock>a,.market-mobile .market-dock>button{flex-basis:55px!important;min-width:55px!important;max-width:55px!important}
  .dashboard-stat-card{min-height:98px;padding:11px}
  .dashboard-stat-card strong{font-size:17px}
}


/* v38: spread dock items proportionally on mobile and show the same navigation on desktop. */
@media(min-width:981px){
  body.market-mobile{padding-bottom:104px!important}
  .market-mobile .market-dock{
    display:flex!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:18px!important;
    transform:translateX(-50%)!important;
    width:min(calc(100% - 48px), 980px)!important;
    max-width:980px!important;
    justify-content:space-between!important;
    gap:8px!important;
    padding:8px!important;
    border-radius:32px!important;
    z-index:120!important;
  }
  .market-mobile .market-dock>a,
  .market-mobile .market-dock>button{
    flex:1 1 0!important;
    min-width:0!important;
    max-width:none!important;
    min-height:54px!important;
    padding:7px 6px!important;
    border-radius:24px!important;
  }
  .market-mobile .market-dock span{font-size:11px!important}
  .market-mobile .market-dock svg{width:20px!important;height:20px!important}
}

@media(max-width:980px){
  .market-mobile .market-dock{
    justify-content:space-between!important;
    overflow:hidden!important;
    gap:4px!important;
    padding:6px 7px!important;
  }
  .market-mobile .market-dock>a,
  .market-mobile .market-dock>button{
    flex:1 1 0!important;
    min-width:0!important;
    max-width:none!important;
    min-height:50px!important;
    padding:5px 2px!important;
  }
  .market-mobile .market-dock span{
    font-size:8.5px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media(max-width:390px){
  .market-mobile .market-dock{gap:2px!important;padding:6px 5px!important}
  .market-mobile .market-dock>a,
  .market-mobile .market-dock>button{min-height:48px!important;padding:4px 1px!important}
  .market-mobile .market-dock span{font-size:7.7px!important}
  .market-mobile .market-dock svg{width:17px!important;height:17px!important}
}


/* v39: desktop dock uses the same solid, readable visual language as mobile. */
@media(min-width:981px){
  .market-mobile .market-dock{
    background:#ffffff!important;
    border:1px solid #dfe6e8!important;
    box-shadow:0 10px 30px rgba(15,40,40,.16)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .market-mobile .market-dock>a,
  .market-mobile .market-dock>button{
    color:#66757a!important;
    background:#f6f8f9!important;
    border:1px solid transparent!important;
    box-shadow:none!important;
    text-shadow:none!important;
    opacity:1!important;
  }
  .market-mobile .market-dock>a svg,
  .market-mobile .market-dock>button svg{
    color:#66757a!important;
    opacity:1!important;
  }
  .market-mobile .market-dock>a span,
  .market-mobile .market-dock>button span{
    color:inherit!important;
    font-weight:650!important;
    opacity:1!important;
  }
  .market-mobile .market-dock>a:hover,
  .market-mobile .market-dock>a:focus-visible,
  .market-mobile .market-dock>button:hover,
  .market-mobile .market-dock>button:focus-visible{
    color:#117b75!important;
    background:#eaf4f3!important;
    border-color:#d3e7e5!important;
    transform:none!important;
  }
  .market-mobile .market-dock [aria-current="page"]{
    color:#ffffff!important;
    background:#117b75!important;
    border-color:#117b75!important;
  }
  .market-mobile .market-dock [aria-current="page"] svg,
  .market-mobile .market-dock [aria-current="page"] span{
    color:#ffffff!important;
  }
}


/* v39: place desktop navigation dock below the top header section. */
@media(min-width:981px){
  body.market-mobile{padding-bottom:24px!important}
  .market-mobile .market-dock{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:min(calc(100% - 48px), 1180px)!important;
    max-width:1180px!important;
    margin:12px auto 0!important;
    z-index:20!important;
  }
  .panel-home-page .market-dock{margin-top:-4px!important}
}


/* v40: sticky desktop header/navigation and one top-left logout icon on every admin page. */
body.market-mobile .admin-quick-actions{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

body.market-mobile>header>.panel-logout-button{
  display:grid!important;
  place-items:center!important;
  position:absolute!important;
  left:18px!important;
  top:18px!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:12px!important;
  background:#ffffff!important;
  color:#d94b42!important;
  box-shadow:0 7px 18px rgba(15,40,40,.12)!important;
  z-index:130!important;
}
body.market-mobile>header>.panel-logout-button svg{
  width:21px!important;
  height:21px!important;
}

@media(min-width:981px){
  body.market-mobile>header{
    position:sticky!important;
    top:0!important;
    z-index:120!important;
  }
  body.market-mobile>.market-dock{
    position:sticky!important;
    top:var(--market-admin-header-height, 150px)!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:min(calc(100% - 48px),1180px)!important;
    max-width:1180px!important;
    margin:0 auto 14px!important;
    z-index:115!important;
    box-shadow:0 10px 28px rgba(15,40,40,.13)!important;
  }
}

@media(max-width:980px){
  body.market-mobile>header{
    padding-left:70px!important;
  }
  body.market-mobile>header>.panel-logout-button{
    left:14px!important;
    top:calc(14px + env(safe-area-inset-top))!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    border-color:#dce5e6!important;
    box-shadow:none!important;
  }
}


/* v41: move Kasa 3-dot quick menu to top-right aligned with logout icon. */
body.market-mobile>header>.quick-menu-wrap{
  position:absolute!important;
  right:18px!important;
  top:18px!important;
  z-index:130!important;
  margin:0!important;
}
body.market-mobile>header>.quick-menu-wrap .quick-menu-trigger{
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:12px!important;
  background:#ffffff!important;
  color:#117b75!important;
  box-shadow:0 7px 18px rgba(15,40,40,.12)!important;
}
body.market-mobile>header>.quick-menu-wrap .quick-menu-dropdown{
  top:calc(100% + 8px)!important;
  right:0!important;
}
@media(max-width:980px){
  body.market-mobile>header>.quick-menu-wrap{
    right:14px!important;
    top:calc(14px + env(safe-area-inset-top))!important;
  }
  body.market-mobile>header>.quick-menu-wrap .quick-menu-trigger{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    border-color:#dce5e6!important;
    box-shadow:none!important;
  }
}


/* v42: widen desktop Kasa layout and quick-products section. */
@media(min-width:981px){
  body.market-mobile.pos-page>main{
    width:min(1320px, calc(100% - 72px))!important;
    max-width:1320px!important;
    margin:18px auto 28px!important;
    padding:24px!important;
    box-sizing:border-box!important;
  }
  body.market-mobile.pos-page .barcode-entry-row.pos-entry-row{
    gap:12px!important;
  }
  body.market-mobile.pos-page .quick-products-panel{
    width:100%!important;
    box-sizing:border-box!important;
    margin:18px 0!important;
    padding:20px!important;
  }
  body.market-mobile.pos-page .quick-products-head{
    gap:18px!important;
  }
  body.market-mobile.pos-page .quick-products-list{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
    gap:12px!important;
    width:100%!important;
  }
  body.market-mobile.pos-page .quick-product-btn{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    border-radius:12px!important;
    padding:12px 14px!important;
    text-align:center!important;
  }
  body.market-mobile.pos-page #sepet,
  body.market-mobile.pos-page .checkout-summary-block{
    width:100%!important;
  }
}


/* v43: centered mobile page titles without the header logo. */
@media(max-width:980px){
  body.market-mobile>header{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding-left:68px!important;
    padding-right:68px!important;
    box-sizing:border-box!important;
  }
  body.market-mobile>header>img{
    display:none!important;
  }
  body.market-mobile>header>h1,
  body.market-mobile.panel-home-page>header>h1{
    display:block!important;
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    color:#172325!important;
    font-size:clamp(16px,4.6vw,19px)!important;
    line-height:1.2!important;
    text-align:center!important;
    text-shadow:none!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

/* v44: give the desktop Kasa and quick-product area more horizontal room. */
@media(min-width:981px){
  body.market-mobile.pos-page>main{
    width:min(1440px, calc(100% - 64px))!important;
    max-width:1440px!important;
    padding:26px 30px!important;
  }
  body.market-mobile.pos-page .quick-products-panel{
    width:100%!important;
    padding:22px 24px!important;
  }
  body.market-mobile.pos-page .quick-products-list{
    grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important;
    gap:12px!important;
  }
}


/* v45: hard-fix centered mobile page titles; no clipped/ellipsis title text. */
@media(max-width:980px){
  body.market-mobile>header{
    position:sticky!important;
    min-height:72px!important;
  }
  body.market-mobile>header>h1,
  body.market-mobile.panel-home-page>header>h1{
    position:absolute!important;
    left:68px!important;
    right:68px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    color:#172325!important;
    font-size:clamp(15px,4.2vw,18px)!important;
    line-height:1.15!important;
    text-align:center!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    text-wrap:balance!important;
    z-index:1!important;
  }
  body.market-mobile>header>.panel-logout-button,
  body.market-mobile>header>.quick-menu-wrap{
    z-index:3!important;
  }
}
@media(max-width:360px){
  body.market-mobile>header>h1,
  body.market-mobile.panel-home-page>header>h1{
    left:60px!important;
    right:60px!important;
    font-size:14px!important;
  }
}


/* v42: standard admin button sizing and circular minus action icons. */
body.market-mobile button:not(.panel-logout-button):not(.quick-menu-trigger):not(.quick-item-icon-btn):not(.sepet-remove-icon):not(.settings-back):not(.unregistered-product-delete){
  min-height:44px!important;
  padding:10px 14px!important;
  border-radius:10px!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  box-sizing:border-box!important;
}

/* All minus/remove icon buttons use the same circular shape. */
body.market-mobile .quick-item-icon-btn.quick-remove-icon,
body.market-mobile #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon{
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  box-shadow:none!important;
}
body.market-mobile .quick-item-icon-btn.quick-remove-icon{
  font-size:20px!important;
  font-weight:800!important;
}
body.market-mobile #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon::before{
  font-size:20px!important;
  line-height:1!important;
}

/* Keep the compact header and quick-product icon buttons on one common scale. */
body.market-mobile>header>.panel-logout-button,
body.market-mobile>header>.quick-menu-wrap .quick-menu-trigger{
  border-radius:12px!important;
}
body.market-mobile .quick-item-icon-btn.quick-add-icon{
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0!important;
}

@media(max-width:430px){
  body.market-mobile button:not(.panel-logout-button):not(.quick-menu-trigger):not(.quick-item-icon-btn):not(.sepet-remove-icon):not(.settings-back):not(.unregistered-product-delete){
    min-height:44px!important;
    padding:10px 12px!important;
    font-size:14px!important;
  }
  body.market-mobile .quick-item-icon-btn.quick-remove-icon,
  body.market-mobile #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon,
  body.market-mobile .quick-item-icon-btn.quick-add-icon{
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
  }
}


/* v43: keep cart remove icon fully visible inside cart cards. */
@media(max-width:760px){
  #sepetModal .sepet-tablosu tr{
    padding-right:68px!important;
    overflow:visible!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell{
    top:14px!important;
    right:14px!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    overflow:visible!important;
  }
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    overflow:visible!important;
  }
}
@media(max-width:430px){
  #sepetModal .sepet-tablosu tr{padding-right:68px!important}
  #sepetModal .sepet-tablosu td.sepet-remove-cell,
  #sepetModal .sepet-tablosu td.sepet-remove-cell .sepet-remove-icon{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
  }
}

/* v46: product search moves to a header search icon; add menu uses a + icon. */
.product-desktop-add{display:none!important}
.product-search-modal[hidden]{display:none!important}
.product-search-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147482100!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  background:rgba(10,18,26,.58)!important;
  backdrop-filter:blur(8px)!important;
  box-sizing:border-box!important;
}
.product-search-modal-card{
  width:min(620px,calc(100vw - 28px))!important;
  max-height:min(86dvh,720px)!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  padding:18px!important;
  border:1px solid rgba(81,176,218,.9)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#eefaff 0%,#f9fdff 48%,#fff 100%)!important;
  box-shadow:0 22px 60px rgba(22,104,142,.2)!important;
}
.product-search-modal-head{
  display:grid!important;
  grid-template-columns:minmax(68px,auto) minmax(0,1fr) minmax(68px,auto)!important;
  align-items:center!important;
  gap:8px!important;
  margin-bottom:16px!important;
}
.product-search-modal-head h2{
  margin:0!important;
  text-align:center!important;
  font-size:18px!important;
  color:#172325!important;
}
.product-search-close{
  width:auto!important;
  min-width:68px!important;
  min-height:42px!important;
  margin:0!important;
  padding:9px 12px!important;
  border:0!important;
  border-radius:10px!important;
  background:#e8eeef!important;
  color:#314348!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:700!important;
}
.product-search-modal-fields,
.product-search-selection-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin:0!important;
}
.product-search-modal-fields input,
.product-search-modal-fields button,
.product-search-selection-actions button{
  width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.product-search-selection-actions{margin-top:12px!important}
.product-search-selection-actions #urunSecimSayisi{
  display:block!important;
  padding:4px 2px 0!important;
  color:#667784!important;
  font-size:13px!important;
  font-weight:700!important;
}

body.market-mobile>header>.product-header-quick-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  position:absolute!important;
  right:18px!important;
  top:18px!important;
  z-index:131!important;
  margin:0!important;
}
body.market-mobile>header>.product-header-quick-actions>.product-search-trigger,
body.market-mobile>header>.product-header-quick-actions .product-add-menu-wrap>.quick-menu-trigger{
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#117b75!important;
  box-shadow:0 7px 18px rgba(15,40,40,.12)!important;
}
body.market-mobile>header>.product-header-quick-actions svg{
  width:21px!important;
  height:21px!important;
}
body.market-mobile>header>.product-header-quick-actions .product-add-menu-wrap{
  position:relative!important;
  display:block!important;
}
body.market-mobile>header>.product-header-quick-actions .quick-menu-dropdown{
  top:calc(100% + 8px)!important;
  right:0!important;
}

@media(max-width:980px){
  body.market-mobile>header>.product-header-quick-actions{
    right:14px!important;
    top:calc(14px + env(safe-area-inset-top))!important;
    gap:6px!important;
  }
  body.market-mobile>header>.product-header-quick-actions>.product-search-trigger,
  body.market-mobile>header>.product-header-quick-actions .product-add-menu-wrap>.quick-menu-trigger{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    border-color:#dce5e6!important;
    box-shadow:none!important;
  }
  .product-search-modal{padding:8px!important;align-items:stretch!important}
  .product-search-modal-card{
    width:100%!important;
    max-width:none!important;
    height:calc(100dvh - 16px)!important;
    max-height:none!important;
    margin:0!important;
    padding:14px!important;
    border-radius:16px!important;
  }
}

/* v47: compact product search modal with top-right camera/search actions and clear-x input */
.product-search-modal-head-compact{
  grid-template-columns:minmax(68px,auto) minmax(0,1fr) auto !important;
}
.product-search-head-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
}
.product-search-head-btn{
  width:42px !important;
  min-width:42px !important;
  height:42px !important;
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  border:0 !important;
  border-radius:12px !important;
  background:#13828a !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:800 !important;
  box-shadow:0 8px 18px rgba(9,91,98,.18) !important;
}
.product-search-head-btn:hover{filter:brightness(.98)!important}
.product-search-camera-btn{background:#1f9961 !important;}
.product-search-modal-fields-compact{display:block !important;}
.product-search-input-wrap{
  position:relative !important;
  width:100% !important;
}
.product-search-input-wrap #urunAraInput{
  width:100% !important;
  padding-right:48px !important;
  min-width:0 !important;
}
.product-search-clear-btn{
  position:absolute !important;
  top:50% !important;
  right:12px !important;
  transform:translateY(-50%) !important;
  width:28px !important;
  min-width:28px !important;
  height:28px !important;
  min-height:28px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:rgba(13,126,141,.14) !important;
  color:#0c707e !important;
  font-size:18px !important;
  line-height:1 !important;
  box-shadow:none !important;
}
.product-search-clear-btn[hidden]{display:none !important;}
.product-search-selection-actions-compact{
  display:flex !important;
  justify-content:flex-start !important;
  margin-top:12px !important;
}
.product-search-selection-actions-compact #urunSecimSayisi{
  padding-top:0 !important;
}
.product-search-modal-card{
  width:min(560px,calc(100vw - 28px)) !important;
  max-height:min(56dvh,360px) !important;
}
@media (max-width: 768px){
  .product-search-modal{padding:10px !important;align-items:flex-start !important;}
  .product-search-modal-card{
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    max-height:min(52dvh,340px) !important;
    margin-top:8px !important;
    padding:14px !important;
    border-radius:16px !important;
  }
}

/* v48: product search modal - plain white input, inline clear X, slightly larger and centered. */
.product-search-modal{
  align-items:center!important;
  justify-content:center!important;
  padding:16px!important;
}
.product-search-modal-card{
  width:min(620px,calc(100vw - 28px))!important;
  max-height:min(64dvh,440px)!important;
  padding:18px!important;
}
.product-search-input-wrap{
  position:relative!important;
  width:100%!important;
}
.product-search-input-wrap #urunAraInput{
  width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  padding:10px 46px 10px 14px!important;
  border:1px solid #d7e0e3!important;
  border-radius:10px!important;
  background:#ffffff!important;
  color:#172325!important;
  box-shadow:none!important;
}
.product-search-input-wrap #urunAraInput:focus{
  background:#ffffff!important;
  border-color:#0b8ca0!important;
  outline:2px solid rgba(11,140,160,.16)!important;
  box-shadow:none!important;
}
.product-search-clear-btn{
  position:absolute!important;
  top:50%!important;
  right:12px!important;
  transform:translateY(-50%)!important;
  width:auto!important;
  min-width:24px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 2px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#78909a!important;
  font-size:25px!important;
  font-weight:300!important;
  line-height:1!important;
  box-shadow:none!important;
}
.product-search-clear-btn:hover,
.product-search-clear-btn:active{
  background:transparent!important;
  color:#0b7480!important;
}
.product-search-clear-btn[hidden]{display:none!important;}

@media(max-width:768px){
  .product-search-modal{
    align-items:center!important;
    justify-content:center!important;
    padding:12px!important;
  }
  .product-search-modal-card{
    width:min(620px,calc(100vw - 24px))!important;
    height:auto!important;
    max-height:min(68dvh,460px)!important;
    margin:0!important;
    padding:16px!important;
  }
}


/* v49: keep search clear X fixed at the far right of input */
.product-search-input-wrap .product-search-clear-btn{
  left:auto !important;
  right:12px !important;
  width:24px !important;
  min-width:24px !important;
  max-width:24px !important;
  height:24px !important;
  min-height:24px !important;
  max-height:24px !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}


/* v50: product add/import modal opens directly from + menu; remove inner tabs and keep modal compact/centered. */
.product-entry-tabs{display:none!important;}
.product-entry-modal{
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
}
.product-entry-modal-card{
  width:min(580px,calc(100vw - 36px))!important;
  max-width:580px!important;
  height:auto!important;
  max-height:min(78dvh,690px)!important;
  margin:0!important;
  padding:18px!important;
  overflow:auto!important;
  border-radius:18px!important;
}
.product-entry-modal-head{
  position:relative!important;
  top:auto!important;
  margin:0 0 14px!important;
  padding:0 0 10px!important;
}
@media(max-width:768px){
  .product-entry-modal{
    align-items:center!important;
    justify-content:center!important;
    padding:14px!important;
  }
  .product-entry-modal-card{
    width:min(560px,calc(100vw - 28px))!important;
    max-width:560px!important;
    height:auto!important;
    max-height:78dvh!important;
    margin:0!important;
    padding:16px!important;
    border-radius:18px!important;
  }
  .product-entry-modal-head{
    position:relative!important;
    top:auto!important;
    margin:0 0 12px!important;
    padding:0 0 8px!important;
  }
}

/* v52: standardize mobile action/tool icon buttons to the white rounded-square style. */
body.market-mobile{
  --tm-action-btn-size:46px;
  --tm-action-btn-radius:14px;
  --tm-action-btn-border:#d4e1e2;
  --tm-action-btn-bg:#ffffff;
  --tm-action-btn-color:#117b75;
  --tm-action-btn-shadow:0 8px 18px rgba(15,40,40,.12);
  --tm-action-btn-shadow-active:0 6px 14px rgba(15,40,40,.10);
}

body.market-mobile .header-quick-actions button,
body.market-mobile .quick-menu-wrap .quick-menu-trigger,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger,
body.market-mobile .product-search-head-btn,
body.market-mobile .borc-search-icon-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:var(--tm-action-btn-size) !important;
  min-width:var(--tm-action-btn-size) !important;
  max-width:var(--tm-action-btn-size) !important;
  height:var(--tm-action-btn-size) !important;
  min-height:var(--tm-action-btn-size) !important;
  max-height:var(--tm-action-btn-size) !important;
  padding:0 !important;
  margin:0 !important;
  border:1px solid var(--tm-action-btn-border) !important;
  border-radius:var(--tm-action-btn-radius) !important;
  background:var(--tm-action-btn-bg) !important;
  color:var(--tm-action-btn-color) !important;
  box-shadow:var(--tm-action-btn-shadow) !important;
  font-size:20px !important;
  line-height:1 !important;
  font-weight:800 !important;
  box-sizing:border-box !important;
}

body.market-mobile .header-quick-actions button svg,
body.market-mobile .quick-menu-wrap .quick-menu-trigger svg,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger svg,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger svg{
  width:20px !important;
  height:20px !important;
}

body.market-mobile .header-quick-actions button:hover,
body.market-mobile .quick-menu-wrap .quick-menu-trigger:hover,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger:hover,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger:hover,
body.market-mobile .product-search-head-btn:hover,
body.market-mobile .borc-search-icon-btn:hover,
body.market-mobile .header-quick-actions button:focus-visible,
body.market-mobile .quick-menu-wrap .quick-menu-trigger:focus-visible,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger:focus-visible,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger:focus-visible,
body.market-mobile .product-search-head-btn:focus-visible,
body.market-mobile .borc-search-icon-btn:focus-visible{
  background:#ffffff !important;
  color:#0d726b !important;
  box-shadow:0 12px 22px rgba(15,40,40,.14) !important;
  transform:translateY(-1px) !important;
}

body.market-mobile .header-quick-actions button:active,
body.market-mobile .quick-menu-wrap .quick-menu-trigger:active,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger:active,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger:active,
body.market-mobile .product-search-head-btn:active,
body.market-mobile .borc-search-icon-btn:active{
  transform:translateY(0) !important;
  box-shadow:var(--tm-action-btn-shadow-active) !important;
}

@media (max-width: 420px){
  body.market-mobile{
    --tm-action-btn-size:44px;
    --tm-action-btn-radius:13px;
  }
}

/* v53: restore dropdown multi-action menus to full-width list cards (not icon squares). */
body.market-mobile .header-quick-actions > button,
body.market-mobile .header-quick-actions > .quick-menu-wrap > .quick-menu-trigger,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger,
body.market-mobile .product-search-head-btn,
body.market-mobile .borc-search-icon-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:var(--tm-action-btn-size) !important;
  min-width:var(--tm-action-btn-size) !important;
  max-width:var(--tm-action-btn-size) !important;
  height:var(--tm-action-btn-size) !important;
  min-height:var(--tm-action-btn-size) !important;
  max-height:var(--tm-action-btn-size) !important;
  padding:0 !important;
  margin:0 !important;
  border:1px solid var(--tm-action-btn-border) !important;
  border-radius:var(--tm-action-btn-radius) !important;
  background:var(--tm-action-btn-bg) !important;
  color:var(--tm-action-btn-color) !important;
  box-shadow:var(--tm-action-btn-shadow) !important;
  font-size:20px !important;
  line-height:1 !important;
  font-weight:800 !important;
  box-sizing:border-box !important;
}

body.market-mobile .header-quick-actions > button svg,
body.market-mobile .header-quick-actions > .quick-menu-wrap > .quick-menu-trigger svg,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger svg,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger svg{
  width:20px !important;
  height:20px !important;
}

body.market-mobile .header-quick-actions > button:hover,
body.market-mobile .header-quick-actions > .quick-menu-wrap > .quick-menu-trigger:hover,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger:hover,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger:hover,
body.market-mobile .product-search-head-btn:hover,
body.market-mobile .borc-search-icon-btn:hover,
body.market-mobile .header-quick-actions > button:focus-visible,
body.market-mobile .header-quick-actions > .quick-menu-wrap > .quick-menu-trigger:focus-visible,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger:focus-visible,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger:focus-visible,
body.market-mobile .product-search-head-btn:focus-visible,
body.market-mobile .borc-search-icon-btn:focus-visible{
  background:#ffffff !important;
  color:#0d726b !important;
  box-shadow:0 12px 22px rgba(15,40,40,.14) !important;
  transform:translateY(-1px) !important;
}

body.market-mobile .header-quick-actions > button:active,
body.market-mobile .header-quick-actions > .quick-menu-wrap > .quick-menu-trigger:active,
body.market-mobile > header > .product-header-quick-actions > .product-search-trigger:active,
body.market-mobile > header > .product-header-quick-actions .product-add-menu-wrap > .quick-menu-trigger:active,
body.market-mobile .product-search-head-btn:active,
body.market-mobile .borc-search-icon-btn:active{
  transform:translateY(0) !important;
  box-shadow:var(--tm-action-btn-shadow-active) !important;
}

body.market-mobile .quick-menu-wrap .quick-menu-dropdown{
  width:210px !important;
  padding:8px !important;
  border:1px solid #dbe5e6 !important;
  border-radius:14px !important;
  background:#ffffff !important;
  box-shadow:0 14px 32px rgba(15,40,40,.14) !important;
  display:grid !important;
  gap:8px !important;
}

body.market-mobile .quick-menu-wrap .quick-menu-item{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  min-height:44px !important;
  max-height:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding:12px 14px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:10px !important;
  background:#f4f7f7 !important;
  color:#172325 !important;
  box-shadow:none !important;
  font-size:14px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  text-align:left !important;
  white-space:normal !important;
}

body.market-mobile .quick-menu-wrap .quick-menu-item:hover,
body.market-mobile .quick-menu-wrap .quick-menu-item:active,
body.market-mobile .quick-menu-wrap .quick-menu-item:focus-visible{
  background:#e9f3f2 !important;
  color:#117b75 !important;
  box-shadow:none !important;
  transform:none !important;
}

/* v54: keep dropdown menus closed by default; show only after trigger click. */
body.market-mobile .quick-menu-wrap .quick-menu-dropdown[hidden]{
  display:none !important;
}
body.market-mobile .quick-menu-wrap.open .quick-menu-dropdown:not([hidden]){
  display:grid !important;
}

/* v55: preserve the customer/payment step toolbar layout on mobile. */
body.market-mobile #odemeModal .customer-step-card,
body.market-mobile #musteriModal .customer-step-card,
body.market-mobile #sariMusteriModal .customer-step-card{
  width:min(500px,94vw)!important;
  padding:16px!important;
  box-sizing:border-box!important;
}
body.market-mobile #odemeModal .customer-step-toolbar,
body.market-mobile #musteriModal .customer-step-toolbar,
body.market-mobile #sariMusteriModal .customer-step-toolbar{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr) 72px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 14px!important;
}
body.market-mobile #odemeModal .customer-step-toolbar h2,
body.market-mobile #musteriModal .customer-step-toolbar h2,
body.market-mobile #sariMusteriModal .customer-step-toolbar h2{
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-size:16px!important;
  line-height:1.15!important;
  color:#172325!important;
}
body.market-mobile #odemeModal .customer-step-cancel,
body.market-mobile #musteriModal .customer-step-cancel,
body.market-mobile #sariMusteriModal .customer-step-cancel,
body.market-mobile #odemeModal .customer-step-next,
body.market-mobile #musteriModal .customer-step-next,
body.market-mobile #sariMusteriModal .customer-step-next{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:7px 6px!important;
  margin:0!important;
  border:0!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:none!important;
}
body.market-mobile #odemeModal .customer-step-cancel,
body.market-mobile #musteriModal .customer-step-cancel,
body.market-mobile #sariMusteriModal .customer-step-cancel{
  background:#e8eeef!important;
  color:#314348!important;
}
body.market-mobile #odemeModal .customer-step-next,
body.market-mobile #musteriModal .customer-step-next,
body.market-mobile #sariMusteriModal .customer-step-next{
  background:#117b75!important;
  color:#fff!important;
}
body.market-mobile #odemeModal .customer-step-card>.modal-auto-close,
body.market-mobile #musteriModal .customer-step-card>.modal-auto-close,
body.market-mobile #sariMusteriModal .customer-step-card>.modal-auto-close{
  display:none!important;
}

/* v36 product management refinements */
.product-entry-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.product-entry-save-top{appearance:none;border:1px solid rgba(16,122,139,.22);background:linear-gradient(180deg,#ffffff,#eef8fb);color:#0f7e8d;border-radius:14px;padding:0 16px;min-height:42px;font:700 15px/1.1 inherit;box-shadow:0 10px 22px rgba(14,119,139,.14);cursor:pointer}
.product-entry-save-top:hover{transform:translateY(-1px)}
.product-modal-menu-wrap{display:flex;align-items:center;justify-content:center}
.product-modal-menu-wrap>.quick-menu-trigger,
.product-card-menu-wrap>.quick-menu-trigger{width:44px;height:44px;border-radius:14px;border:1px solid rgba(16,122,139,.22);background:linear-gradient(180deg,#ffffff,#eef8fb);color:#0f7e8d;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 22px rgba(14,119,139,.14);padding:0;cursor:pointer}
.product-modal-save{display:none !important}
.bulk-import-modal-content .bulk-file-label,
.bulk-import-modal-content .excel-btn{display:none !important}
.bulk-import-modal-content #topluUrunDosyaBilgi{margin:12px 0 0;padding:14px 16px;border:1px solid rgba(16,122,139,.14);border-radius:14px;background:rgba(255,255,255,.7);color:#48616b;font-weight:600}
.bulk-import-modal-content #topluUrunSonuc{margin-top:12px}
.product-card-key-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.product-card-key-value{display:inline-flex;align-items:center;min-height:28px}
.product-card-menu-wrap .quick-menu-dropdown{right:0;left:auto;top:calc(100% + 10px);width:172px}
.product-card-menu-wrap .quick-menu-item{width:100%}

@media (max-width:980px){
  .product-entry-modal{padding:16px;align-items:center}
  .product-entry-modal-card{width:min(720px,calc(100vw - 24px));height:auto;max-height:min(86dvh,760px);margin:0 auto;padding:16px 16px 18px;border-radius:18px}
  .product-entry-modal-head{grid-template-columns:minmax(70px,auto) minmax(0,1fr) auto;gap:10px;top:0;margin:0 0 12px;padding:2px 0 10px}
  .product-entry-save-top{min-height:40px;padding:0 14px;font-size:14px}
  body.market-mobile .urun-yonetim-tablosu thead .urun-select-col,
  body.market-mobile .urun-yonetim-tablosu td.urun-select-cell,
  body.market-mobile .urun-yonetim-tablosu td[data-label="Güncelle"],
  body.market-mobile .urun-yonetim-tablosu td[data-label="Sil"]{display:none !important}
  body.market-mobile .urun-yonetim-tablosu td.product-card-key-cell{padding-top:14px !important}
  body.market-mobile .product-card-menu-wrap{display:flex !important;position:relative;z-index:3}
  body.market-mobile .product-card-menu-wrap>.quick-menu-trigger{width:40px;height:40px;border-radius:12px;font-size:24px}
}

@media (min-width:981px){
  .product-card-menu-wrap{display:none !important}
}


/* v37 overlay clarity fixes for product menus */
.quick-menu-wrap,
.quick-menu-dropdown,
.quick-menu-item,
.product-card-menu-wrap,
.product-card-menu-wrap .quick-menu-dropdown,
.product-card-menu-wrap .quick-menu-item{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  opacity:1 !important;
}
.product-card-menu-wrap .quick-menu-dropdown,
.product-modal-menu-wrap .quick-menu-dropdown{
  background:#ffffff !important;
  border:1px solid #dbe5e6 !important;
  box-shadow:0 16px 34px rgba(15,40,40,.18) !important;
  isolation:isolate !important;
  overflow:hidden !important;
}
.product-card-menu-wrap .quick-menu-item,
.product-modal-menu-wrap .quick-menu-item{
  position:relative !important;
  z-index:2 !important;
  background:#f4f7f7 !important;
  color:#172325 !important;
}


/* v38: ensure product card quick menus fully cover underlying card text */
body.market-mobile .product-card-menu-wrap,
body.market-mobile .product-modal-menu-wrap,
body.market-mobile .quick-menu-wrap{
  z-index:1000 !important;
}
body.market-mobile .product-card-menu-wrap .quick-menu-dropdown,
body.market-mobile .product-modal-menu-wrap .quick-menu-dropdown,
body.market-mobile .quick-menu-wrap .quick-menu-dropdown{
  position:absolute !important;
  z-index:1001 !important;
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid #dbe5e6 !important;
  border-radius:16px !important;
  box-shadow:0 18px 36px rgba(15,40,40,.18) !important;
  overflow:hidden !important;
  isolation:isolate !important;
  contain:paint !important;
}
body.market-mobile .product-card-menu-wrap .quick-menu-dropdown::before,
body.market-mobile .product-modal-menu-wrap .quick-menu-dropdown::before,
body.market-mobile .quick-menu-wrap .quick-menu-dropdown::before{
  content:"";
  position:absolute;
  inset:0;
  background:#ffffff;
  border-radius:inherit;
  z-index:0;
}
body.market-mobile .product-card-menu-wrap .quick-menu-dropdown > *,
body.market-mobile .product-modal-menu-wrap .quick-menu-dropdown > *,
body.market-mobile .quick-menu-wrap .quick-menu-dropdown > *{
  position:relative !important;
  z-index:1 !important;
}
body.market-mobile .product-card-menu-wrap .quick-menu-item,
body.market-mobile .product-modal-menu-wrap .quick-menu-item,
body.market-mobile .quick-menu-wrap .quick-menu-item{
  background:#f4f7f7 !important;
  background-image:none !important;
}


/* v39: lift the whole product card row/cell above sibling cells so dropdown fully hides underlying text */
@media (max-width:980px){
  body.market-mobile .urun-yonetim-tablosu,
  body.market-mobile .urun-yonetim-tablosu tbody,
  body.market-mobile .urun-yonetim-tablosu tr,
  body.market-mobile .urun-yonetim-tablosu td{
    overflow:visible !important;
  }
  body.market-mobile .urun-yonetim-tablosu td.product-card-key-cell,
  body.market-mobile .urun-yonetim-tablosu tr{
    position:relative;
  }
  body.market-mobile .urun-yonetim-tablosu td.product-card-key-cell.menu-open,
  body.market-mobile .urun-yonetim-tablosu tr.menu-open{
    z-index:3000 !important;
  }
  body.market-mobile .product-card-menu-wrap.open{
    z-index:3001 !important;
  }
  body.market-mobile .product-card-menu-wrap.open .quick-menu-dropdown{
    top:calc(100% + 8px) !important;
    right:0 !important;
    left:auto !important;
    width:190px !important;
  }
}

/* v40: product add modalda toplu işlem menüsü sadece toplu ekleme ekranında görünür. */
.product-modal-menu-wrap[hidden]{display:none !important;}


/* v44: product management download action uses the same standard icon style. */
body.market-mobile>header>.product-header-quick-actions .product-download-menu-wrap{
  position:relative !important;
  display:block !important;
}
body.market-mobile>header>.product-header-quick-actions .product-download-menu-wrap>.quick-menu-trigger{
  display:grid !important;
  place-items:center !important;
  width:44px !important;
  min-width:44px !important;
  max-width:44px !important;
  height:44px !important;
  min-height:44px !important;
  max-height:44px !important;
  padding:0 !important;
  margin:0 !important;
  border:1px solid #dce5e6 !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#117b75 !important;
  box-shadow:0 7px 18px rgba(15,40,40,.12) !important;
}
body.market-mobile>header>.product-header-quick-actions .product-download-menu-wrap>.quick-menu-trigger svg{
  width:21px !important;
  height:21px !important;
}
body.market-mobile>header>.product-header-quick-actions .product-download-menu-wrap .quick-menu-dropdown{
  top:calc(100% + 8px) !important;
  right:0 !important;
  left:auto !important;
}
@media(max-width:980px){
  body.market-mobile>header>.product-header-quick-actions .product-download-menu-wrap>.quick-menu-trigger{
    width:42px !important;
    min-width:42px !important;
    max-width:42px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    box-shadow:none !important;
  }
}


/* v47: borçlar sayfası üst sağ hızlı ikonlar */
body.market-mobile>header>.borc-header-quick-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  position:absolute!important;
  right:18px!important;
  top:18px!important;
  z-index:131!important;
  margin:0!important;
}
body.market-mobile>header>.borc-header-quick-actions>button{
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #dce5e6!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#117b75!important;
  box-shadow:0 7px 18px rgba(15,40,40,.12)!important;
}
body.market-mobile>header>.borc-header-quick-actions svg{
  width:21px!important;
  height:21px!important;
}
@media(max-width:980px){
  body.market-mobile>header>.borc-header-quick-actions>button{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    box-shadow:none!important;
  }
}

/* v62: mobil koyu tema son katmani */
html[data-ui-theme="dark"] body.market-mobile:not(.public-site){color:#e8f0f3!important;background-color:#10181d!important;}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>header{background-color:#0d646d!important;}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) main,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .container,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .card,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .settings-panel,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .settings-list,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .settings-list>a,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .settings-list>button,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .appearance-settings-card,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .appearance-setting-row,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .account-settings-card,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .category-settings-card,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-stat-card,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-card,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .backup-settings-card{
  background:#172229!important;
  color:#e8f0f3!important;
  border-color:rgba(221,237,242,.13)!important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) input,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) select,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) textarea{
  background:#202d34!important;
  color:#e8f0f3!important;
  border-color:rgba(221,237,242,.16)!important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .market-dock{
  background:#172229!important;
  border-color:rgba(221,237,242,.13)!important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .market-dock a{color:#aebdc3!important;}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .market-dock a.active{color:#fff!important;background:#13828a!important;}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .settings-list strong,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .appearance-setting-copy strong{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .settings-list small,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .appearance-setting-copy small{color:#9cadb4!important;}

/* v71: Mobile viewport is bounded between the fixed top template and bottom dock.
   Page content scrolls only in the middle area; nothing from the page can appear below the dock. */
@media (max-width:980px){
  html{
    height:100%;
    overflow:hidden!important;
    overscroll-behavior:none;
  }

  body.market-mobile{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    padding-bottom:0!important;
    box-sizing:border-box!important;
  }

  body.market-mobile>header{
    order:1!important;
    flex:0 0 auto!important;
    position:relative!important;
    top:auto!important;
    width:100%!important;
    box-sizing:border-box!important;
  }

  body.market-mobile>main,
  body.market-mobile>.container,
  body.market-mobile>.rapor-kutu{
    order:2!important;
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-gutter:stable;
  }

  body.market-mobile>.market-dock{
    order:3!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    flex:0 0 auto!important;
    width:calc(100% - 16px)!important;
    max-width:none!important;
    margin:0 8px calc(8px + env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important;
    z-index:150!important;
  }

  /* Modal/scanner surfaces remain viewport-fixed and do not take space in the middle scroll area. */
  body.market-mobile>.modal,
  body.market-mobile>.odeme-arkaplan,
  body.market-mobile>.sepet-modal,
  body.market-mobile>.quick-mobile-modal,
  body.market-mobile>.mobile-product-modal,
  body.market-mobile>.product-entry-modal,
  body.market-mobile>.product-search-modal,
  body.market-mobile>.ciro-modal,
  body.market-mobile>.users-modal,
  body.market-mobile>.report-filter-modal,
  body.market-mobile>.barcode-scanner-panel,
  body.market-mobile>#sariPromptMask,
  body.market-mobile>#sariMusteriModal,
  body.market-mobile>#sariBilgiModal,
  body.market-mobile>#sariUyariModal{
    order:4!important;
  }

  .scanner-fullscreen-open .market-dock{
    display:none!important;
  }
}

/* v74: Mobile middle-area scrolling fix.
   Force the content pane to consume only the remaining viewport height so
   Product and Ciro pages can scroll between the top template and bottom dock. */
@media (max-width:980px){
  body.market-mobile>main,
  body.market-mobile>.container,
  body.market-mobile>.rapor-kutu{
    flex:1 1 0!important;
    height:0!important;
    min-height:0!important;
    max-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
    scroll-behavior:auto!important;
  }

  body.market-mobile.product-page>main,
  body.market-mobile.ciro-page>.container{
    touch-action:pan-y!important;
  }

  body.market-mobile .urun-yonetim-tablosu,
  body.market-mobile .urun-yonetim-tablosu tbody,
  body.market-mobile .urun-yonetim-tablosu tr,
  body.market-mobile .urun-yonetim-tablosu td,
  body.market-mobile #gelirGiderTablo,
  body.market-mobile #gelirGiderTablo tbody,
  body.market-mobile #gelirGiderTablo tr,
  body.market-mobile #gelirGiderTablo td{
    touch-action:pan-y!important;
  }
}

/* v76: Page-specific styles use a more specific overflow:hidden rule.
   Keep the middle pane as the native vertical scroll owner on Ciro and Products. */
@media (max-width:980px){
  html body.market-mobile.product-page>main.product-management-card,
  html body.market-mobile.ciro-page>.container,
  html body.market-mobile.users-settings-page>main.card.user-admin{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    touch-action:pan-y!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
}

/* v76: keep settings subpages inside the same 8px mobile gutter as the dock. */
@media (max-width:980px){
  html body.market-mobile.settings-content-page>main{
    width:auto!important;
    max-width:none!important;
    margin:8px!important;
    padding:12px!important;
  }
}

/* v79: Kullanıcı kartındaki işlem menüsünü kartın sağ üst köşesinde tut. */
html body.market-mobile.users-settings-page .users-table .users-card-action{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  left:auto!important;
  z-index:3!important;
}
@media (max-width:980px){
  html body.market-mobile.users-settings-page .users-table tr{position:relative!important;}
}

/* v80: iPhone ana ekran modunda dinamik viewport kisa raporlansa bile
   uygulama gercek ekran yuksekligini doldurur. Metin ve dock boyutlari iOS
   tarafindan kendiliginden buyutulmez; guvenli alan disinda bos bant kalmaz. */
@media (max-width:980px){
  html,
  body.market-mobile{
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
  }

  html.tm-standalone-shell{
    width:100%!important;
    height:var(--tm-mobile-viewport-height,100lvh)!important;
    min-height:var(--tm-mobile-viewport-height,100lvh)!important;
    max-height:var(--tm-mobile-viewport-height,100lvh)!important;
    overflow:hidden!important;
    background:#f1f2f6!important;
  }

  html.tm-standalone-shell body.market-mobile{
    width:100%!important;
    height:var(--tm-mobile-viewport-height,100lvh)!important;
    min-height:var(--tm-mobile-viewport-height,100lvh)!important;
    max-height:var(--tm-mobile-viewport-height,100lvh)!important;
    overflow:hidden!important;
  }

  html.tm-standalone-shell body.market-mobile>.market-dock{
    margin-bottom:max(4px,env(safe-area-inset-bottom))!important;
  }

  body.market-mobile.pos-page .checkout-summary-block{
    margin-top:12px!important;
    padding-top:0!important;
  }
}

/* v82: Reserve the iPhone status bar inside the standalone app header.
   Action buttons and the page title share one row below the Dynamic Island. */
@media (max-width:980px){
  html.tm-standalone-shell body.market-mobile>header{
    min-height:116px!important;
    height:116px!important;
    max-height:116px!important;
    padding:54px 14px 12px!important;
    align-items:center!important;
    box-sizing:border-box!important;
    flex-shrink:0!important;
  }
  html.tm-standalone-shell body.market-mobile>header>h1{
    position:absolute!important;
    z-index:1!important;
    left:68px!important;
    right:68px!important;
    top:76px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
    font-size:clamp(16px,4.3vw,19px)!important;
    line-height:1.2!important;
    max-width:100%!important;
  }
  html.tm-standalone-shell body.market-mobile>header>.panel-logout-button,
  html.tm-standalone-shell body.market-mobile>header>.header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.product-header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.borc-header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.ciro-header-actions,
  html.tm-standalone-shell body.market-mobile>header>.report-header-actions{
    top:64px!important;
  }
  html.tm-standalone-shell body.market-mobile>header>.panel-logout-button{
    left:14px!important;
  }
  html.tm-standalone-shell body.market-mobile>header>.header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.product-header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.borc-header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.ciro-header-actions,
  html.tm-standalone-shell body.market-mobile>header>.report-header-actions{
    right:14px!important;
  }
  html.tm-standalone-shell body.market-mobile.panel-home-page>header>h1{
    display:none!important;
  }
  html.tm-standalone-shell body.market-mobile.panel-home-page>header>img{
    display:block!important;
    position:absolute!important;
    left:50%!important;
    top:66px!important;
    transform:translateX(-50%)!important;
    width:min(180px,50vw)!important;
    height:42px!important;
    object-fit:contain!important;
  }
  html.tm-standalone-shell body.market-mobile.pos-page:has(#urunAdi):has(#sepet)>main{
    flex:1 1 0!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  body.market-mobile>main,
  body.market-mobile>.container,
  body.market-mobile>.rapor-kutu{
    scrollbar-gutter:auto!important;
  }
  body.market-mobile .market-dock span{
    overflow:hidden;
    text-overflow:clip;
    max-width:100%;
  }
}
@media (max-width:360px){
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header{
    min-height:146px!important;
    height:146px!important;
    max-height:146px!important;
  }
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>h1{
    top:58px!important;
    left:58px!important;
    right:58px!important;
    font-size:16px!important;
  }
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.panel-logout-button,
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.header-quick-actions,
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.product-header-quick-actions,
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.borc-header-quick-actions,
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.ciro-header-actions,
  html.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.report-header-actions{
    top:94px!important;
  }
}
@media (max-width:980px) and (orientation:landscape){
  html.tm-standalone-shell body.market-mobile>header{
    min-height:68px!important;
    height:68px!important;
    max-height:68px!important;
    padding:10px 14px!important;
  }
  html.tm-standalone-shell body.market-mobile>header>h1{top:24px!important;}
  html.tm-standalone-shell body.market-mobile.panel-home-page>header>img{top:13px!important;}
  html.tm-standalone-shell body.market-mobile>header>.panel-logout-button,
  html.tm-standalone-shell body.market-mobile>header>.header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.product-header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.borc-header-quick-actions,
  html.tm-standalone-shell body.market-mobile>header>.ciro-header-actions,
  html.tm-standalone-shell body.market-mobile>header>.report-header-actions{top:13px!important;}
}

/* v83: immediate tap feedback and a softer dock selection change. */
body.market-mobile .market-dock>a,
body.market-mobile .market-dock>button {
  touch-action: manipulation;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease !important;
}
body.market-mobile button { touch-action: manipulation; }
body.market-mobile .market-dock>a:active,
body.market-mobile .market-dock>button:active { filter: brightness(.94); }
html[data-ui-motion="reduce"] body.market-mobile .market-dock>a,
html[data-ui-motion="reduce"] body.market-mobile .market-dock>button { transition: none !important; }

/* v83: restore text contrast on nested surfaces in the dark theme. */
html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>header>h1,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-card-head h3,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-stat-card span,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-stat-card strong,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-product-name,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-product-meta strong,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-selection-count strong {
  color:#e9f4f5 !important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-card-head p,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-stat-card small,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-lead,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-product-code,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-product-meta,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-selection-count {
  color:#b8cbd0 !important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-user-label,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .dashboard-card-head>a,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-product-card,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-select-toolbar,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-export-bar,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-page-info,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-empty {
  background:#203139 !important;
  border-color:#35515b !important;
  color:#e5f0f2 !important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-product-card.is-selected {
  background:#20434b !important;
  border-color:#42b4bb !important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .quick-products-panel,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .quick-products-list,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .quick-products-list-modal {
  background:#203139 !important;
  border-color:#35515b !important;
  color:#e5f0f2 !important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-small-btn,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-pager button,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) .barcode-close-btn {
  background:#25434b !important;
  border-color:#44636c !important;
  color:#e5f2f4 !important;
}

@media(max-width:980px){
  html body.market-mobile.pos-page:has(#urunAdi):has(#sepet)>main{
    min-height:0!important;
    height:0!important;
    flex:1 1 0!important;
  }
  body.market-mobile.pos-page>.checkout-summary-block{
    order:3!important;
    flex:0 0 auto!important;
    width:calc(100% - 16px)!important;
    margin:0 8px 7px!important;
    padding:10px 12px!important;
    border:1px solid #dce5e8!important;
    border-radius:16px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    box-shadow:0 -4px 20px rgba(15,40,40,.08)!important;
  }
  body.market-mobile.pos-page>.checkout-summary-block h3{margin:0 0 8px!important;font-size:16px!important;}
  body.market-mobile.pos-page>.checkout-summary-block .pos-actions{gap:7px!important;padding:0!important;}
  body.market-mobile.pos-page>.checkout-summary-block .pos-actions button{min-height:42px!important;padding:8px!important;}
  body.market-mobile.pos-page>.market-dock{order:4!important;}
  html[data-ui-theme="dark"] body.market-mobile.pos-page>.checkout-summary-block{
    background:#203139!important;
    border-color:#35515b!important;
    color:#e9f4f5!important;
  }
}

html[data-ui-theme="dark"] body.market-mobile.product-page .urun-yonetim-tablosu tr,
html[data-ui-theme="dark"] body.market-mobile.product-page .urun-yonetim-tablosu td{
  background:#203139!important;
  border-color:#35515b!important;
  color:#e9f4f5!important;
}
html[data-ui-theme="dark"] body.market-mobile.product-page .urun-yonetim-tablosu td::before,
html[data-ui-theme="dark"] body.market-mobile.product-page .urun-yonetim-tablosu td strong{
  color:#c4dfe2!important;
}
html[data-ui-theme="dark"] body.market-mobile.product-page .urun-yonetim-tablosu .product-card-key-value,
html[data-ui-theme="dark"] body.market-mobile.product-page .urun-yonetim-tablosu .mobile-cell-value,
html[data-ui-theme="dark"] body.market-mobile.product-page .urun-yonetim-tablosu .desktop-cell-value{
  color:#e9f4f5!important;
}

/* v84: one sliding selection pill, matching the Varlik Butce dock transition. */
body.market-mobile .market-dock{
  isolation:isolate;
  --market-dock-x:0px;
  --market-dock-width:0px;
}
body.market-mobile .market-dock::before{
  content:"";
  position:absolute;
  z-index:0;
  top:6px;
  bottom:6px;
  left:0;
  width:var(--market-dock-width);
  border-radius:24px;
  background:#117b75;
  opacity:0;
  transform:translateX(var(--market-dock-x));
  pointer-events:none;
}
body.market-mobile .market-dock.dock-has-selection::before{opacity:1;}
body.market-mobile .market-dock.dock-indicator-ready::before{
  transition:transform 130ms cubic-bezier(.22,.8,.25,1),width 130ms cubic-bezier(.22,.8,.25,1),opacity 80ms ease;
}
body.market-mobile .market-dock>a,
body.market-mobile .market-dock>button{position:relative;z-index:1;}
body.market-mobile .market-dock>a[aria-current="page"]{
  background:transparent!important;
  border-color:transparent!important;
  color:#fff!important;
}
html[data-ui-theme="dark"] body.market-mobile .market-dock::before{background:#13828a;}
html[data-ui-theme="dark"] body.market-mobile .market-dock>a[aria-current="page"]{color:#fff!important;}
@media(max-width:980px){
  body.market-mobile .market-dock::before{top:6px;bottom:6px;}
}
@media(prefers-reduced-motion:reduce){
  body.market-mobile .market-dock.dock-indicator-ready::before{transition:none;}
}
html[data-ui-motion="reduce"] body.market-mobile .market-dock.dock-indicator-ready::before{transition:none;}

/* v85: Use the same dark card surface for Ciro and Borclar as Products. */
@media(max-width:980px){
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody tr,
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody tr{
    background:#203139!important;
    border-color:#35515b!important;
  }
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td:not([data-label="İşlem"]),
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td[data-label="Müşteri"],
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td[data-label="Bakiye"],
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td[data-label="Son Tarih"]{
    background:transparent!important;
    color:#f4f8f9!important;
    border-bottom:6px solid #35515b!important;
  }
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td::before,
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td::before,
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td .ciro-date-time,
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td .ciro-date,
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td .ciro-date-separator,
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td .ciro-time,
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td .borc-date-time,
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td .borc-date,
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td .borc-time{
    color:#f4f8f9!important;
  }
  html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td:last-child,
  html[data-ui-theme="dark"] body.market-mobile table.borc-table tbody td[data-label="Son Tarih"]{
    border-bottom:0!important;
  }
}

/* Android standalone viewports normally exclude the OS status bar. Keep the
   existing iPhone header geometry while reclaiming that space on Android. */
@media (max-width:980px) and (orientation:portrait){
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header{
    height:72px!important;min-height:72px!important;max-height:72px!important;
    padding:10px 14px!important;
  }
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header>h1{top:28px!important;}
  html.tm-android-shell.tm-standalone-shell body.market-mobile.panel-home-page>header>img{top:15px!important;}
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header>.panel-logout-button,
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header>.header-quick-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header>.product-header-quick-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header>.borc-header-quick-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header>.ciro-header-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile>header>.report-header-actions{top:13px!important;}
}
@media (max-width:360px) and (orientation:portrait){
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header{
    height:108px!important;min-height:108px!important;max-height:108px!important;
  }
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>h1{
    top:18px!important;left:58px!important;right:58px!important;
  }
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.panel-logout-button,
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.header-quick-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.product-header-quick-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.borc-header-quick-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.ciro-header-actions,
  html.tm-android-shell.tm-standalone-shell body.market-mobile:not(.panel-home-page)>header>.report-header-actions{top:57px!important;}
}

/* All copy on dark content surfaces remains readable, including nested rows. */
html[data-ui-theme="dark"] body.market-mobile .dashboard-heading p,
html[data-ui-theme="dark"] body.market-mobile .dashboard-list-row strong,
html[data-ui-theme="dark"] body.market-mobile .dashboard-list-row span,
html[data-ui-theme="dark"] body.market-mobile .dashboard-list-row b,
html[data-ui-theme="dark"] body.market-mobile .dashboard-chart-legend,
html[data-ui-theme="dark"] body.market-mobile .dashboard-chart-legend span,
html[data-ui-theme="dark"] body.market-mobile .dashboard-chart-day strong,
html[data-ui-theme="dark"] body.market-mobile .dashboard-chart-day span,
html[data-ui-theme="dark"] body.market-mobile .dashboard-month-bars span,
html[data-ui-theme="dark"] body.market-mobile .dashboard-month-summary span,
html[data-ui-theme="dark"] body.market-mobile .dashboard-month-summary strong,
html[data-ui-theme="dark"] body.market-mobile.product-page .product-page-heading p:not(.cloud-sync-status){
  color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile #anaSayfalama,
html[data-ui-theme="dark"] body.market-mobile #anaSayfalama button,
html[data-ui-theme="dark"] body.market-mobile #anaSayfalama select{
  background:#203139!important;border-color:#35515b!important;color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile #anaSayfalama label,
html[data-ui-theme="dark"] body.market-mobile #anaSayfalama span{color:#f4f8f9!important;}
html[data-ui-theme="dark"] body.market-mobile #anaSayfaBilgi{
  background:#25434b!important;
  box-shadow:inset 0 0 0 1px #44636c!important;
  color:#f4f8f9!important;
}

/* Settings subpages have their own inline card styles; match the dark shell. */
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .backup-settings-card>div>strong,
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .backup-settings-card p,
html[data-ui-theme="dark"] body.market-mobile.site-settings-page .site-content-card strong,
html[data-ui-theme="dark"] body.market-mobile.site-settings-page .site-content-card span:not(.site-content-card-icon){
  color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .backup-settings-card::after,
html[data-ui-theme="dark"] body.market-mobile.site-settings-page .site-content-card::after{color:#f4f8f9!important;}
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-dialog,
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-row,
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-footer{
  background:#203139!important;border-color:#35515b!important;color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-row:has(input:checked){
  background:#25434b!important;border-color:#4f9da3!important;
}
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-head h2,
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-intro,
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-row strong,
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-row span,
html[data-ui-theme="dark"] body.market-mobile.backup-settings-page .cloud-backup-state{color:#f4f8f9!important;}

/* v87: Reports and desktop data tables must not inherit light-theme cells. */
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-summary-card,
html[data-ui-theme="dark"] body.market-mobile.reports-page .rapor-tablo tbody tr{
  background:#203139!important;
  border-color:#35515b!important;
  color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-summary-card span,
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-summary-card strong,
html[data-ui-theme="dark"] body.market-mobile.reports-page .rapor-tablo tbody td,
html[data-ui-theme="dark"] body.market-mobile.reports-page .rapor-tablo tbody td::before{
  color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile.reports-page .rapor-tablo tbody td{
  background:transparent!important;
  border-color:#35515b!important;
}
html[data-ui-theme="dark"] body.market-mobile #gelirGiderTablo tbody td,
html[data-ui-theme="dark"] body.market-mobile .borc-table tbody td,
html[data-ui-theme="dark"] body.market-mobile .urun-yonetim-tablosu tbody td{
  color:#f4f8f9!important;
}
@media(max-width:980px){
  html[data-ui-theme="dark"] body.market-mobile.reports-page .rapor-tablo tbody td:not(:last-child){
    border-bottom:6px solid #35515b!important;
  }
}
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-filter-card,
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-download-menu{
  background:#203139!important;border-color:#35515b!important;color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-filter-head h3,
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-filter-fields label{
  color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-filter-cancel,
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-filter-reset,
html[data-ui-theme="dark"] body.market-mobile.reports-page .report-download-menu button{
  background:#25434b!important;border-color:#44636c!important;color:#f4f8f9!important;
}
html[data-ui-theme="dark"] body.market-mobile .quick-empty{color:#f4f8f9!important;}

/* v93: Respond to touch on the first tap and show immediate press feedback. */
@media(max-width:980px){
  body.market-mobile :is(a[href],button,input[type="button"],input[type="submit"],[role="button"]){
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }
  body.market-mobile :is(button,input[type="button"],input[type="submit"],[role="button"]):not(:disabled):active,
  body.market-mobile a[href]:active{
    filter:brightness(.93);
  }
}

/* v94 final theme and account-search overrides follow all page-level styles. */
.users-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;width:100%;}
.users-search-row .users-search-wrap{min-width:0;}
.users-settings-page .users-table tr[hidden]{display:none!important;}
.users-search-submit{min-width:76px!important;min-height:48px!important;margin:0!important;padding:10px 16px!important;border:0!important;border-radius:12px!important;background:#117b75!important;color:#fff!important;font:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.1!important;box-shadow:none!important;touch-action:manipulation;}
.users-search-result{min-height:1.4em;margin:8px 0 0!important;color:#66757c;font-size:13px;}
.users-credentials-fields{display:grid;gap:12px;}
.users-credentials-fields[hidden],.users-edit-target[hidden]{display:none!important;}
.users-edit-target{margin:0!important;padding:10px 12px;border:1px solid #dce7e9;border-radius:10px;background:#f4f8f8;color:#31464c;font-weight:700;overflow-wrap:anywhere;}
.users-row-menu{z-index:10!important;}
.users-row-menu .quick-menu-dropdown{right:0!important;left:auto!important;width:min(220px,calc(100vw - 48px))!important;}
.users-row-menu .quick-menu-item{min-height:44px!important;}
@media(max-width:430px){.users-search-row{grid-template-columns:minmax(0,1fr) 64px;gap:6px}.users-search-submit{min-width:64px!important;padding:8px!important}.users-table td[data-label="Yetkiler"]{padding-right:0!important}}

html[data-ui-theme="dark"] body:not(.public-site) .odeme-kutu,
html[data-ui-theme="dark"] body:not(.public-site) .sepet-modal-card,
html[data-ui-theme="dark"] body:not(.public-site) .quick-mobile-card,
html[data-ui-theme="dark"] body:not(.public-site) .ciro-modal-card,
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal>.card,
html[data-ui-theme="dark"] body:not(.public-site) #debtPurchaseModal .debt-purchase-card,
html[data-ui-theme="dark"] body:not(.public-site) #debtModal .card,
html[data-ui-theme="dark"] body:not(.public-site) #hizliEkleModal .quick-add-modal,
html[data-ui-theme="dark"] body:not(.public-site) #hizliUrunlerModal .quick-mobile-card,
html[data-ui-theme="dark"] body:not(.public-site) #sepetModal .sepet-modal-card{
  background:#172229!important;background-image:none!important;color:#e8f0f3!important;border-color:#344b54!important;box-shadow:0 20px 50px rgba(0,0,0,.42)!important;
}
html[data-ui-theme="dark"] body:not(.public-site) .quick-modal-toolbar,
html[data-ui-theme="dark"] body:not(.public-site) .quick-list-toolbar,
html[data-ui-theme="dark"] body:not(.public-site) #hizliUrunlerModal .sepet-modal-head,
html[data-ui-theme="dark"] body:not(.public-site) #hizliUrunlerModalIcerik,
html[data-ui-theme="dark"] body:not(.public-site) #hizliUrunlerModal .quick-products-list-modal,
html[data-ui-theme="dark"] body:not(.public-site) #hizliEkleModal .quick-search-results,
html[data-ui-theme="dark"] body:not(.public-site) #hizliEkleModal .quick-selected-list{
  background:#172229!important;background-image:none!important;color:#e8f0f3!important;
}
html[data-ui-theme="dark"] body:not(.public-site) .quick-modal-cancel,
html[data-ui-theme="dark"] body:not(.public-site) .quick-modal-close,
html[data-ui-theme="dark"] body:not(.public-site) .quick-modal-toolbar button.quick-modal-cancel,
html[data-ui-theme="dark"] body:not(.public-site) .quick-list-toolbar button.quick-modal-close{
  background:#263941!important;color:#e8f0f3!important;border-color:#3c5861!important;
}
html[data-ui-theme="dark"] body:not(.public-site) .quick-search-item,
html[data-ui-theme="dark"] body:not(.public-site) .quick-selected-item,
html[data-ui-theme="dark"] body:not(.public-site) .quick-search-item.quick-corner-card,
html[data-ui-theme="dark"] body:not(.public-site) .quick-selected-item.quick-corner-card,
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-summary-item,
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-product,
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-empty,
html[data-ui-theme="dark"] body:not(.public-site) .debt-purchase-product{
  background:#203139!important;background-image:none!important;color:#e8f0f3!important;border-color:#3a5660!important;box-shadow:none!important;
}
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-debt{background:#382927!important;color:#ffe2df!important;border-color:#79524d!important;}
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-summary-item span,
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-product-meta,
html[data-ui-theme="dark"] body:not(.public-site) .debt-purchase-product-meta,
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal #recentDebtSummary,
html[data-ui-theme="dark"] body:not(.public-site) #debtPurchaseModal #debtPurchaseSummary{color:#adbec4!important;}
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-summary-item strong,
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-product-name,
html[data-ui-theme="dark"] body:not(.public-site) .debt-purchase-product-name,
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal table td{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body:not(.public-site) .debt-purchase-product-total,
html[data-ui-theme="dark"] body:not(.public-site) .ciro-detail-product-total{color:#70d2d4!important;}
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal table,
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal table tbody,
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal table tr,
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal table td{
  background:#203139!important;color:#e8f0f3!important;border-color:#3a5660!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #debtModal table,
html[data-ui-theme="dark"] body:not(.public-site) #debtModal table tbody,
html[data-ui-theme="dark"] body:not(.public-site) #debtModal table tr,
html[data-ui-theme="dark"] body:not(.public-site) #debtModal table td{
  background:#203139!important;color:#e8f0f3!important;border-color:#3a5660!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal #recentDebtSayfalama,
html[data-ui-theme="dark"] body:not(.public-site) #recentDebtModal #recentDebtSayfalama button{
  background:#203139!important;color:#e8f0f3!important;border-color:#3a5660!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #hizliEkleModal .quick-search-item strong,
html[data-ui-theme="dark"] body:not(.public-site) #hizliEkleModal .quick-selected-item strong{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body:not(.public-site) #hizliEkleModal .quick-search-item span,
html[data-ui-theme="dark"] body:not(.public-site) #hizliEkleModal .quick-selected-item span{color:#adbec4!important;}
html[data-ui-theme="dark"] body.market-mobile.pos-page #hizliEkleModal.quick-add-mode #hizliUrunAra{
  background:#202d34!important;background-image:none!important;color:#e8f0f3!important;border-color:#496068!important;box-shadow:none!important;
}
html[data-ui-theme="dark"] body.market-mobile.pos-page #hizliEkleModal.quick-add-mode .quick-search-item.quick-corner-card,
html[data-ui-theme="dark"] body.market-mobile.pos-page #hizliEkleModal.quick-edit-mode .quick-selected-item.quick-corner-card{
  background:#203139!important;background-image:none!important;color:#e8f0f3!important;border-color:#3a5660!important;box-shadow:none!important;
}
html[data-ui-theme="dark"] body.market-mobile.pos-page #hizliEkleModal .quick-corner-card .quick-item-content strong{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body.market-mobile.pos-page #hizliEkleModal .quick-corner-card .quick-item-content span{color:#adbec4!important;}
html[data-ui-theme="dark"] body.users-settings-page .users-modal-card,
html[data-ui-theme="dark"] body.users-settings-page .users-edit-target,
html[data-ui-theme="dark"] body.users-settings-page .users-modal-form .permission-grid{
  background:#172229!important;color:#e8f0f3!important;border-color:#344b54!important;
}
html[data-ui-theme="dark"] body.users-settings-page .users-table tr,
html[data-ui-theme="dark"] body.users-settings-page .users-table td,
html[data-ui-theme="dark"] body.users-settings-page .users-table td span{background:#203139!important;color:#e8f0f3!important;border-color:#3a5660!important;}
html[data-ui-theme="dark"] body.users-settings-page .users-table td::before{color:#70d2d4!important;}
html[data-ui-theme="dark"] body.users-settings-page .users-row-menu .quick-menu-dropdown{background:#172229!important;border-color:#3a5660!important;}
html[data-ui-theme="dark"] body.users-settings-page .users-row-menu .quick-menu-item{background:#203139!important;color:#e8f0f3!important;}
html[data-ui-theme="dark"] body.users-settings-page .users-modal-form .permission-grid label{
  background:#203139!important;color:#e8f0f3!important;border-color:#3a5660!important;
}
html[data-ui-theme="dark"] body.users-settings-page .users-search-result{color:#adbec4!important;}

@media(max-width:760px){
  body.market-mobile.pos-page #hizliEkleModal,
  body.market-mobile.pos-page #hizliUrunlerModal{
    position:fixed!important;top:var(--tm-visible-viewport-top,0px)!important;left:0!important;right:0!important;bottom:auto!important;
    height:var(--tm-visible-viewport-height,100dvh)!important;max-height:var(--tm-visible-viewport-height,100dvh)!important;
    align-items:center!important;justify-content:center!important;padding:8px!important;overflow:hidden!important;box-sizing:border-box!important;
  }
  body.market-mobile.pos-page #hizliEkleModal .quick-add-modal{
    display:flex!important;flex-direction:column!important;width:min(100%,620px)!important;height:min(690px,calc(var(--tm-visible-viewport-height,100dvh) - 16px))!important;
    max-height:calc(var(--tm-visible-viewport-height,100dvh) - 16px)!important;min-height:0!important;margin:auto!important;padding:12px!important;overflow:hidden!important;box-sizing:border-box!important;
  }
  body.market-mobile.pos-page #hizliEkleModal .quick-modal-toolbar,
  body.market-mobile.pos-page #hizliUrunlerModal .quick-list-toolbar{position:sticky!important;top:0!important;z-index:5!important;flex:0 0 auto!important;padding:4px 0 10px!important;}
  body.market-mobile.pos-page #hizliEkleModal #hizliUrunAramaBlok,
  body.market-mobile.pos-page #hizliEkleModal #hizliSeciliBlok{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;}
  body.market-mobile.pos-page #hizliEkleModal #hizliUrunSonuclari,
  body.market-mobile.pos-page #hizliEkleModal #hizliSeciliUrunler{height:100%!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;}
  body.market-mobile.pos-page #hizliUrunlerModal .quick-mobile-card{
    width:min(100%,520px)!important;height:auto!important;max-height:min(78dvh,calc(var(--tm-visible-viewport-height,100dvh) - 16px))!important;margin:auto!important;overflow:auto!important;box-sizing:border-box!important;
  }
  body.market-mobile.pos-page #hizliEkleModal .quick-modal-save,
  body.market-mobile.pos-page #hizliEkleModal .quick-modal-cancel{min-height:44px!important;position:relative!important;z-index:6!important;touch-action:manipulation!important;}
}

.kasa-urun-oneri-panel{position:fixed;z-index:20000;display:grid;gap:4px;max-height:min(320px,calc(var(--tm-visible-viewport-height,100dvh) - 150px));overflow:auto;padding:6px;border:1px solid #cbdcdd;border-radius:12px;background:#fff;color:#21343a;box-shadow:0 12px 28px rgba(15,40,40,.22);box-sizing:border-box;-webkit-overflow-scrolling:touch;}
.kasa-urun-oneri-panel[hidden]{display:none!important;}
.kasa-urun-oneri-item{display:grid;gap:3px;width:100%;min-width:0;min-height:48px;padding:9px 10px;border:0;border-radius:8px;background:#f4f8f8;color:#21343a;text-align:left;touch-action:manipulation;}
.kasa-urun-oneri-item strong{font-size:14px;overflow-wrap:anywhere;}
.kasa-urun-oneri-item span,.kasa-urun-oneri-empty{color:#62757b;font-size:12px;overflow-wrap:anywhere;}
.kasa-urun-oneri-empty{padding:10px;}
html[data-ui-theme="dark"] body.pos-page .kasa-urun-oneri-panel{background:#172229;color:#e8f0f3;border-color:#3a5660;}
html[data-ui-theme="dark"] body.pos-page .kasa-urun-oneri-item{background:#203139;color:#e8f0f3;}
html[data-ui-theme="dark"] body.pos-page .kasa-urun-oneri-item span,
html[data-ui-theme="dark"] body.pos-page .kasa-urun-oneri-empty{color:#adbec4;}

/* Kasadaki arama kutulari ortak dokunma alani ve odak gorunumu kullanir. */
body.pos-page .pos-entry-row #urunAdi,
body.pos-page #hizliUrunAra,
body.pos-page #scannerManualBarcode,
body.pos-page input[type="search"]{
  min-height:48px!important;
  padding:11px 14px!important;
  border:1px solid #cbd7da!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#263740!important;
  box-shadow:inset 0 1px 2px rgba(20,40,50,.04)!important;
  font-size:16px!important;
  line-height:1.35!important;
  box-sizing:border-box!important;
}
body.pos-page .pos-entry-row #urunAdi:focus,
body.pos-page #hizliUrunAra:focus,
body.pos-page #scannerManualBarcode:focus,
body.pos-page input[type="search"]:focus{
  outline:3px solid rgba(17,142,150,.18)!important;
  border-color:#138b94!important;
  box-shadow:none!important;
}
body.pos-page .pos-entry-row #urunAdi::placeholder,
body.pos-page #hizliUrunAra::placeholder,
body.pos-page #scannerManualBarcode::placeholder,
body.pos-page input[type="search"]::placeholder{color:#74868d!important;opacity:1!important;}
html[data-ui-theme="dark"] body.pos-page .pos-entry-row #urunAdi,
html[data-ui-theme="dark"] body.pos-page #hizliUrunAra,
html[data-ui-theme="dark"] body.pos-page #scannerManualBarcode,
html[data-ui-theme="dark"] body.pos-page input[type="search"]{
  border-color:#405760!important;
  background:#202d34!important;
  color:#e8f0f3!important;
  box-shadow:none!important;
}
html[data-ui-theme="dark"] body.pos-page .pos-entry-row #urunAdi:focus,
html[data-ui-theme="dark"] body.pos-page #hizliUrunAra:focus,
html[data-ui-theme="dark"] body.pos-page #scannerManualBarcode:focus,
html[data-ui-theme="dark"] body.pos-page input[type="search"]:focus{outline:3px solid rgba(35,173,180,.24)!important;border-color:#27a3aa!important;}
html[data-ui-theme="dark"] body.pos-page .pos-entry-row #urunAdi::placeholder,
html[data-ui-theme="dark"] body.pos-page #hizliUrunAra::placeholder,
html[data-ui-theme="dark"] body.pos-page #scannerManualBarcode::placeholder,
html[data-ui-theme="dark"] body.pos-page input[type="search"]::placeholder{color:#9cadb4!important;}
html[data-ui-theme="dark"] body.pos-page .kasa-urun-oneri-item span{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body.pos-page .kasa-urun-oneri-empty{color:#bdcbd0!important;}

@media(min-width:981px){
  body.pos-page .barcode-entry-row.pos-entry-row{grid-template-columns:minmax(130px,max-content) minmax(260px,1fr) minmax(90px,.48fr) minmax(120px,max-content)!important;}
  body.pos-page .barcode-entry-row.pos-entry-row>.pos-search-wrap{grid-column:2;grid-row:1;min-width:0;}
  body.pos-page .barcode-entry-row.pos-entry-row #kameraBarkodBtn{grid-column:1;grid-row:1;}
  body.pos-page .barcode-entry-row.pos-entry-row #adet{grid-column:3;grid-row:1;}
  body.pos-page .barcode-entry-row.pos-entry-row .add-to-cart-btn{grid-column:4;grid-row:1;}
}
@media(max-width:980px){
  body.pos-page .kasa-urun-oneri-panel.kasa-urun-oneri-mobile-flow{position:relative!important;inset:auto!important;left:0!important;top:auto!important;width:100%!important;max-height:min(220px,34dvh)!important;margin:8px 0 12px!important;}
  body.pos-page .barcode-entry-row.pos-entry-row{grid-template-columns:minmax(0,1fr) minmax(100px,.68fr)!important;}
  body.pos-page .barcode-entry-row.pos-entry-row>.pos-search-wrap{grid-column:1/-1;grid-row:1;}
  body.pos-page .barcode-entry-row.pos-entry-row #kameraBarkodBtn{grid-column:1;grid-row:2;}
  body.pos-page .barcode-entry-row.pos-entry-row #adet{grid-column:2;grid-row:2;}
  body.pos-page .barcode-entry-row.pos-entry-row .add-to-cart-btn{grid-column:1/-1;grid-row:3;}
}

/* v98: close remaining light surfaces in dark forms and make the cashier search clearable. */
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .blog-item-card,
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .rich-editor-shell,
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .rich-editor-toolbar,
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .blog-preview-card{
  background:#203139!important;background-image:none!important;color:#e8f0f3!important;border-color:#3a5660!important;box-shadow:none!important;
}
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .blog-preview-card span{
  background:rgba(35,173,180,.16)!important;color:#8fe0e1!important;
}
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .blog-preview-card h4,
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .blog-preview-card p,
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .blog-item-top strong,
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .blog-style-grid label,
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .rich-editor{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body:not(.public-site) .site-editor-section .rich-editor-toolbar button{
  background:#263941!important;color:#e8f0f3!important;border-color:#405760!important;box-shadow:none!important;
}

/* Borç müşteri ayrıntısındaki açık satır ve sayfalama katmanlarını koyulaştır. */
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal table,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal table tbody,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal table tbody tr,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal table tbody td,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal #borcSayfalama,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal #borcSayfalama>*{
  background:#203139!important;background-image:none!important;color:#e8f0f3!important;border-color:#3a5660!important;box-shadow:none!important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal #borcSayfalama select{
  background:#202d34!important;color:#e8f0f3!important;border-color:#405760!important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal table td,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #debtModal table td *{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #recentDebtModal table td,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #recentDebtModal #recentDebtSayfalama,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #recentDebtModal #recentDebtSayfalama>*{
  background:#203139!important;color:#e8f0f3!important;border-color:#3a5660!important;box-shadow:none!important;
}

/* Ürün arama penceresi ve alanı, koyu form renklerini kullanır. */
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-modal-card{
  background:#172229!important;background-image:none!important;color:#e8f0f3!important;border-color:#3a5660!important;box-shadow:0 22px 60px rgba(0,0,0,.5)!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-modal-head,
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-modal-fields,
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-selection-actions{
  background:#172229!important;background-image:none!important;color:#e8f0f3!important;border-color:#3a5660!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-modal-head h2,
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal #urunSecimSayisi{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-close,
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-head-btn{background:#263941!important;color:#e8f0f3!important;border-color:#3c5861!important;box-shadow:none!important;}
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-input-wrap #urunAraInput{
  background:#202d34!important;color:#e8f0f3!important;border-color:#405760!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #urunAramaModal .product-search-input-wrap #urunAraInput::placeholder{color:#9cadb4!important;}

/* Arama metni varken görünen X, inputun en sağında kalır. */
body.pos-page .pos-entry-row>.pos-search-wrap{position:relative!important;min-width:0!important;width:100%!important;grid-column:2;grid-row:1;}
body.pos-page .pos-entry-row .pos-search-wrap #urunAdi{width:100%!important;padding-right:46px!important;}
.pos-search-clear-btn{
  position:absolute!important;top:50%!important;right:10px!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;
  width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:0!important;
  border-radius:50%!important;background:transparent!important;color:#74868d!important;font-size:24px!important;font-weight:400!important;line-height:1!important;
  box-shadow:none!important;cursor:pointer!important;touch-action:manipulation!important;
}
.pos-search-clear-btn[hidden]{display:none!important;}
.pos-search-clear-btn:hover,.pos-search-clear-btn:focus-visible{background:rgba(17,142,150,.12)!important;color:#087f8c!important;}
html[data-ui-theme="dark"] body.pos-page .pos-search-clear-btn{color:#c5d5da!important;}
html[data-ui-theme="dark"] body.pos-page .pos-search-clear-btn:hover,
html[data-ui-theme="dark"] body.pos-page .pos-search-clear-btn:focus-visible{background:rgba(35,173,180,.18)!important;color:#fff!important;}
body.pos-page .kasa-urun-oneri-item span{color:#fff!important;}

/* v99: keep admin navigation and account settings on dark surfaces in dark mode. */
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #accountSettings{
  color:#e8f0f3!important;
  background:#172229!important;
  background-image:none!important;
  border-color:#354a52!important;
  box-shadow:0 18px 45px rgba(0,0,0,.30)!important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #accountSettings .account-settings-card{
  color:#e8f0f3!important;
  background:#172229!important;
  border-color:#354a52!important;
  box-shadow:none!important;
}
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #accountSettings .account-settings-form label,
html[data-ui-theme="dark"] body.market-mobile:not(.public-site) #accountSettings .account-settings-form label span{
  color:#adbec4!important;
}

/* Desktop menu items no longer flash light cards when the active page changes. */
@media(min-width:981px){
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock{
    background:#172229!important;
    border-color:#354a52!important;
  }
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>a,
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>button{
    background:#202d34!important;
    border-color:#354a52!important;
    color:#c5d5da!important;
    transition:none!important;
  }
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>a:hover,
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>a:focus-visible,
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>button:hover,
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>button:focus-visible{
    background:#263941!important;
    color:#fff!important;
  }
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>a[aria-current="page"]{
    background:transparent!important;
    border-color:transparent!important;
    color:#fff!important;
  }
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>a[aria-current="page"] svg,
  html[data-ui-theme="dark"] body.market-mobile:not(.public-site)>.market-dock>a[aria-current="page"] span{
    color:#fff!important;
  }
  body.market-mobile>.market-dock::before{transition:none!important;}
}

@media(min-width:981px){
  body.pos-page .barcode-entry-row.pos-entry-row>.pos-search-wrap{grid-column:2;grid-row:1;min-width:0;}
}
@media(max-width:980px){
  body.pos-page .barcode-entry-row.pos-entry-row>.pos-search-wrap{grid-column:1/-1;grid-row:1;}
}

/* v100: quick access to priced, unregistered numeric codes from product management. */
body.market-mobile>header>.product-header-quick-actions .unregistered-products-trigger{position:relative!important;}
.unregistered-products-count{
  position:absolute!important;top:-5px!important;right:-5px!important;z-index:2!important;display:grid!important;place-items:center!important;
  min-width:18px!important;height:18px!important;padding:0 4px!important;border:1px solid #fff!important;border-radius:999px!important;
  background:#d9463e!important;color:#fff!important;font:700 10px/1 system-ui,sans-serif!important;box-sizing:border-box!important;
}
.unregistered-products-count[hidden]{display:none!important;}
.unregistered-products-modal-card{width:min(760px,calc(100vw - 28px))!important;}
.unregistered-products-help{margin:0 0 14px!important;color:#63767e!important;font-size:14px!important;line-height:1.5!important;}
.unregistered-products-total{justify-self:end;color:#63767e;font-size:12px;font-weight:700;white-space:nowrap;}
.unregistered-products-list{display:grid;gap:10px;}
.unregistered-product-card{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,170px) 64px;align-items:center;gap:10px;
  padding:12px 46px 12px 12px;border:1px solid #b9dcdf;border-radius:14px;background:#f8fcfc;color:#243840;box-sizing:border-box;
}
.unregistered-product-details{display:grid;gap:6px;min-width:0;}
.unregistered-product-details strong{color:#087f86;overflow-wrap:anywhere;}
.unregistered-product-details code{color:#63767e;font:500 13px/1.4 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;}
.unregistered-product-price{display:grid;gap:5px;min-width:0;color:#63767e;font-size:12px;font-weight:700;}
.unregistered-product-price input{width:100%;min-height:38px;padding:7px 9px;border:1px solid #cbdcdd;border-radius:9px;background:#fff;color:#243840;font:inherit;box-sizing:border-box;}
.unregistered-product-actions{display:flex;min-width:0;justify-content:stretch;}
.unregistered-product-actions button{width:100%;min-width:48px;min-height:38px;padding:8px 6px;border:0;border-radius:9px;background:#117b75;color:#fff;font-family:inherit;font-size:12px;font-weight:700;line-height:1.1;cursor:pointer;}
body.market-mobile .unregistered-product-delete{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:30px;min-width:30px;height:30px;min-height:30px;margin:0;padding:0;border:0;border-radius:50%;background:#d9463e;color:#fff;font:700 23px/1 system-ui,sans-serif;cursor:pointer;}
.unregistered-products-empty{margin:0;padding:22px 12px;border:1px dashed #b9dcdf;border-radius:12px;color:#63767e;text-align:center;}
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-products-modal-card{
  background:#172229!important;background-image:none!important;color:#e8f0f3!important;border-color:#3a5660!important;box-shadow:0 22px 60px rgba(0,0,0,.5)!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .product-search-modal-head h2,
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-products-total{color:#e8f0f3!important;}
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-products-help,
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-products-empty{color:#adbec4!important;}
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-product-card{
  background:#202d34!important;color:#e8f0f3!important;border-color:#405760!important;
}
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-product-details strong{color:#74d0d1!important;}
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-product-details code,
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-product-price{color:#adbec4!important;}
html[data-ui-theme="dark"] body:not(.public-site) #kayitsizUrunlerModal .unregistered-product-price input{background:#172229!important;color:#e8f0f3!important;border-color:#405760!important;}
@media(max-width:700px){
  .unregistered-product-card{grid-template-columns:minmax(0,1fr) minmax(86px,112px) 48px;gap:8px;padding:10px 42px 10px 10px;}
  .unregistered-product-actions{grid-column:auto;}
  .unregistered-product-details code{font-size:12px;}
  .unregistered-products-modal .product-search-modal-card{max-height:calc(100dvh - 16px)!important;}
}
@media(max-width:360px){
  .unregistered-product-card{grid-template-columns:minmax(0,1fr) 68px 42px;gap:4px;padding:10px 38px 10px 8px;}
  .unregistered-product-details strong{font-size:13px;}
  .unregistered-product-details code{font-size:10.5px;}
  .unregistered-product-actions button{min-width:42px;padding:7px 3px;font-size:11px;}
}

/* v102: keep confirmations above the unregistered-products window and order
   the single-product form for known codes and ordinary product entry. */
body.unregistered-products-open>#sariUyariModal{z-index:2147483646!important;}
.product-modal-add-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}
.product-modal-add-grid #barkod,
.product-modal-add-grid .product-modal-code-actions,
.product-modal-add-grid #urunAdi,
.product-modal-add-grid #kategori,
.product-modal-add-grid .product-modal-save{grid-column:1/-1!important;}
.product-modal-code-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;min-width:0;}
.product-modal-code-actions button{width:100%!important;min-width:0!important;min-height:44px;margin:0!important;white-space:normal!important;}
.product-entry-modal.known-code-product-entry .product-modal-code-actions{display:none!important;}
@media(max-width:980px){
  .product-modal-add-grid{grid-template-columns:minmax(0,1fr)!important;}
  .product-modal-code-actions{grid-column:1/-1!important;}
}

/* v103: active text/number fields share one accessible, viewport-safe clear button. */
#tmInputClearControl{
  position:fixed!important;z-index:2147483647!important;display:grid!important;place-items:center!important;
  width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
  background:#e7f0f1!important;color:#526b72!important;box-shadow:none!important;
  font:700 21px/1 system-ui,sans-serif!important;cursor:pointer!important;touch-action:manipulation!important;
}
#tmInputClearControl[hidden]{display:none!important;}
#tmInputClearControl:focus-visible{outline:3px solid rgba(15,138,145,.32)!important;outline-offset:2px!important;}
html[data-ui-theme="dark"] #tmInputClearControl{background:#34474f!important;color:#edf6f8!important;}
input[type="search"]::-webkit-search-cancel-button{display:none;}
.table-page-size-setting{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,240px);align-items:center;gap:8px 18px;
  margin:0 0 16px;padding:16px;border:1px solid #dce7e8;border-radius:14px;background:#f7fbfb;box-sizing:border-box;
}
.table-page-size-setting-copy{display:grid;gap:4px;}
.table-page-size-setting-copy strong{color:#243840;font-size:15px;}
.table-page-size-setting-copy small{color:#687b82;font-size:12px;line-height:1.45;}
.table-page-size-setting label{color:#52666d;font-size:12px;font-weight:800;}
.table-page-size-setting select{grid-column:2;grid-row:1 / span 2;width:100%;min-height:44px;padding:8px 12px;border:1px solid #cbdcdd;border-radius:10px;background:#fff;color:#243840;font:inherit;font-weight:700;box-sizing:border-box;}
#tablePageSizeSaveStatus{grid-column:1/-1;min-height:18px;color:#087f86;font-size:12px;}
html[data-ui-theme="dark"] .table-page-size-setting{background:#202d34;border-color:#405760;}
html[data-ui-theme="dark"] .table-page-size-setting-copy strong,
html[data-ui-theme="dark"] .table-page-size-setting label{color:#e8f0f3;}
html[data-ui-theme="dark"] .table-page-size-setting-copy small{color:#adbec4;}
html[data-ui-theme="dark"] .table-page-size-setting select{background:#172229;color:#e8f0f3;border-color:#405760;}
@media(max-width:560px){
  .table-page-size-setting{grid-template-columns:minmax(0,1fr) minmax(90px,120px);gap:8px 12px;padding:13px;}
  .table-page-size-setting select{grid-column:2;grid-row:1 / span 2;}
}
