/* REZZ MALL piece pages: the sticky buy bar (owner 2026-11-23: "yapışkan çubuğu yap") - once the page's own Buy now row has scrolled away,
   a slim bar with the picture, name, price, Buy now and the cart; under the header on wide screens, at the bottom on phones */
.sb{position:fixed;left:0;right:0;z-index:39;display:flex;align-items:center;gap:12px;padding:8px clamp(16px,3vw,40px);background:var(--hdr,var(--panel));border-bottom:1px solid var(--line);box-shadow:0 6px 18px rgba(0,0,0,.08);transform:translateY(-120%);opacity:0;visibility:hidden;transition:transform .22s ease,opacity .22s ease,visibility 0s .22s}
.sb.on{transform:none;opacity:1;visibility:visible;transition:transform .22s ease,opacity .22s ease}
.sb-pic{width:44px;height:44px;flex:none;object-fit:cover;border:1px solid var(--line);background:var(--bg2)}
.sb-t{min-width:0;display:flex;flex-direction:column;gap:2px;margin-right:auto}
.sb-t b{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-t span{font-size:13px;color:var(--muted)}
.sb-t span s{margin-left:6px}
.sb .btn{min-height:42px;padding:0 20px;white-space:nowrap}
.sb .sb-cart{width:42px;padding:0;display:grid;place-items:center}
.sb .sb-cart svg{width:18px;height:18px}
@media (max-width:860px){
  .sb{top:auto!important;bottom:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-bottom:0;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(0,0,0,.1);transform:translateY(120%)}
  .sb-pic{width:40px;height:40px}
  .sb .btn{padding:0 14px}
  html.sb-up .hx-launch{bottom:82px}
  html.sb-up .to-top{bottom:82px}
}
@media (prefers-reduced-motion:reduce){.sb,.sb.on{transition:none}}
