.floating-cart-button{display:none}

@media(max-width:760px){
  .floating-cart-button{
    position:fixed;
    right:16px;
    bottom:calc(16px + env(safe-area-inset-bottom));
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    padding:0;
    color:#f4d18b;
    background:linear-gradient(145deg,#2c2116,#17120d);
    border:1px solid #ba8740;
    border-radius:50%;
    box-shadow:0 10px 30px rgba(0,0,0,.48),0 0 0 3px rgba(186,135,64,.12);
    cursor:pointer;
  }
  .floating-cart-button svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .floating-cart-button.has-items{color:#fff;background:linear-gradient(145deg,#b17b2f,#704715)}
  .floating-cart-count{position:absolute;top:-7px;right:-5px;display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;color:#fff;background:#a82f2f;border:2px solid #15110d;border-radius:20px;font-size:12px;font-weight:900;line-height:1}
  .floating-cart-button.cart-notify{animation:cart-pop .85s ease}
  #narudzba{scroll-margin-top:16px;transition:box-shadow .3s,border-color .3s}
  #narudzba.cart-focus{border-color:#d4a24d!important;box-shadow:0 0 0 3px rgba(212,162,77,.25),0 14px 40px rgba(0,0,0,.25)}

  .product-row[data-order-button-enhanced="1"],
  .promo-product-row{
    grid-template-columns:minmax(0,1fr) 108px!important;
    column-gap:10px!important;
    align-items:center!important;
  }
  .product-row[data-order-button-enhanced="1"]>:first-child,
  .promo-product-row>:first-child,
  .product-row[data-order-button-enhanced="1"]>.unit-price,
  .promo-product-row>.unit-price{
    grid-column:1/-1!important;
  }
  .product-row[data-order-button-enhanced="1"]>.gram-input,
  .promo-product-row>.gram-input{
    grid-column:1!important;
    grid-row:3!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    width:auto!important;
    min-width:0!important;
  }
  .product-row[data-order-button-enhanced="1"] .staged-qty-input,
  .promo-product-row>.gram-input input{
    width:76px!important;
    min-width:0!important;
    padding:9px 8px!important;
    text-align:center!important;
  }
  .product-row[data-order-button-enhanced="1"]>.add-order-button,
  .promo-product-row>.add-order-button{
    grid-column:2!important;
    grid-row:3!important;
    width:108px!important;
    min-height:40px!important;
    padding:8px 9px!important;
    white-space:nowrap!important;
  }
  .product-row[data-order-button-enhanced="1"]>.row-total,
  .promo-product-row>.row-total{
    grid-column:1/-1!important;
    grid-row:4!important;
    justify-self:end!important;
    margin-top:-3px!important;
  }
  .promo-product-row>.promo-validity{grid-column:1/-1!important;grid-row:5!important}
}

@keyframes cart-pop{
  0%,100%{transform:scale(1)}
  30%{transform:scale(1.22) rotate(-8deg)}
  60%{transform:scale(.94) rotate(5deg)}
}
