/* DIROX cart mobile 1.0.0 — native inputs and handlers remain authoritative. */
@media(max-width:1023px){
 body.shop_basket form.imodules-onestepbasket .main-core{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;gap:20px!important}
 body.shop_basket form.imodules-onestepbasket .main-core>div{width:100%!important;min-width:0!important;max-width:100%!important;position:static!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist thead{display:none!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist tbody tr{display:grid!important;grid-template-columns:68px minmax(0,1fr) 44px!important;gap:10px 12px!important;padding:20px 12px!important;background:#fff!important;align-items:start!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td{padding:0!important;border:0!important;min-width:0!important;width:auto!important;float:none!important;position:static!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.img{grid-column:1;grid-row:1;display:block!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.img img{width:68px!important;height:76px!important;object-fit:contain}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.name{grid-column:2;grid-row:1;display:block!important;text-align:left!important;font-size:14px!important;line-height:1.45!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.name a{font-weight:600!important;overflow-wrap:anywhere}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.actions{grid-column:3;grid-row:1;display:block!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist .prodremove{display:flex!important;align-items:center;justify-content:center;min-width:44px!important;min-height:44px!important;margin:0!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.quantity{grid-column:1/4;grid-row:2;display:flex!important;align-items:center!important;gap:10px!important;font-size:14px!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist .shaded_inputwrap{display:grid!important;grid-template-columns:48px 64px 48px!important;width:160px!important;height:48px!important;border:1px solid #c8d3db!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important;position:relative!important;flex:none!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist .changequantity{display:contents!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist .changequantity button{position:static!important;float:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#f1f6f9!important;color:#193b55!important;font-size:25px!important;touch-action:manipulation}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist .changequantity .minus{grid-column:1;grid-row:1}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist .changequantity .plus{grid-column:3;grid-row:1}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist .shaded_inputwrap input{grid-column:2;grid-row:1;width:64px!important;min-width:0!important;height:48px!important;margin:0!important;padding:0 2px!important;border:0!important;border-left:1px solid #c8d3db!important;border-right:1px solid #c8d3db!important;border-radius:0!important;box-sizing:border-box!important;text-align:center!important;font-size:18px!important;appearance:textfield!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist input::-webkit-inner-spin-button{appearance:none}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.sum{grid-column:1/4;grid-row:3;display:block!important;text-align:right!important;font-size:18px!important;color:#193b55!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.sum::before{content:'Wartość pozycji: ';font-size:12px;font-weight:400;color:#60707c}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist td.time,body.shop_basket .imodules-onestepbasket .products-list table.productlist td.price{display:none!important}
 body.shop_basket .imodules-onestepbasket .products-list table.productlist button:focus-visible{outline:3px solid #006ea2!important;outline-offset:-3px}
 /* Keep close and actions reachable even with long product names or a short screen. */
 .modal.modal-visible:has(.ajax-basket-container){display:flex!important;flex-direction:column!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important;z-index:10001!important}
 .modal.modal-visible:has(.ajax-basket-container)>.modal-header{flex:none;position:relative;min-height:48px;box-sizing:border-box}
 .modal.modal-visible:has(.ajax-basket-container) .modal-close{display:flex!important;align-items:center;justify-content:center;min-width:48px;min-height:48px;top:0!important;right:0!important}
 .modal.modal-visible:has(.ajax-basket-container)>.modal-body{min-height:0!important;overflow:auto!important;flex:1 1 auto!important;margin:0!important}
 .modal.modal-visible:has(.ajax-basket-container) .ajax-basket-container img{max-height:150px!important;width:auto!important;max-width:100%!important;object-fit:contain}
 .modal.modal-visible:has(.ajax-basket-container)>.modal-footer{flex:none!important;background:#fff!important;padding:10px!important}
 .modal.modal-visible:has(.ajax-basket-container) .modal-footer a.btn{min-height:48px!important;box-sizing:border-box!important;margin:6px 0!important;display:flex!important;align-items:center;justify-content:center}
}
