/* Qomar feedback v1 — faqat qo‘shimcha qatlam; mavjud sahifa dizayniga tegmaydi. */
:root{--qf-surface:rgba(250,250,252,.94);--qf-text:#14181f;--qf-muted:#5b6472;--qf-line:rgba(20,24,31,.1);--qf-accent:#1f8f5f;--qf-danger:#d92d3a;--qf-shadow:0 18px 50px rgba(15,20,30,.22)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--qf-surface:rgba(30,36,46,.94);--qf-text:#f1f4f8;--qf-muted:#a3adbb;--qf-line:rgba(255,255,255,.12);--qf-accent:#3cc48a;--qf-danger:#ff5a66;--qf-shadow:0 18px 50px rgba(0,0,0,.5)}}
:root[data-theme="dark"]{--qf-surface:rgba(30,36,46,.94);--qf-text:#f1f4f8;--qf-muted:#a3adbb;--qf-line:rgba(255,255,255,.12);--qf-accent:#3cc48a;--qf-danger:#ff5a66;--qf-shadow:0 18px 50px rgba(0,0,0,.5)}

/* HUD */
.qf-hud{position:fixed;left:50%;top:42%;z-index:2147483000;display:grid;justify-items:center;gap:6px;min-width:112px;padding:18px 20px 14px;border-radius:22px;background:var(--qf-surface);color:var(--qf-text);box-shadow:var(--qf-shadow);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);font:600 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;pointer-events:none;opacity:0;transform:translate(-50%,-50%) scale(.86)}
.qf-hud svg{width:44px;height:44px;fill:none;stroke:var(--qf-accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.qf-hud[data-kind="error"] svg{stroke:var(--qf-danger)}
.qf-hud.qf-show{animation:qf-hud .9s ease both}
@keyframes qf-hud{0%{opacity:0;transform:translate(-50%,-50%) scale(.86)}18%{opacity:1;transform:translate(-50%,-50%) scale(1)}78%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(.96)}}

/* Symbol effect */
.qf-bounce{animation:qf-bounce .5s cubic-bezier(.3,1.6,.5,1)}
@keyframes qf-bounce{0%{transform:scale(1)}35%{transform:scale(1.22) translateY(-2px)}65%{transform:scale(.94)}100%{transform:scale(1)}}

/* Action sheet */
dialog.qf-sheet{position:fixed;inset:auto 0 0 0;margin:0 auto;width:min(100% - 16px,440px);max-width:none;padding:0 0 calc(8px + env(safe-area-inset-bottom));border:0;background:transparent;color:var(--qf-text);overflow:visible;animation:qf-up .24s cubic-bezier(.2,.9,.3,1) both}
dialog.qf-sheet::backdrop{background:rgba(8,12,18,.38);animation:qf-fade .2s ease both}
dialog.qf-sheet.qf-closing{animation:qf-down .18s ease both}
dialog.qf-sheet.qf-closing::backdrop{animation:qf-fade .18s ease reverse both}
.qf-sheet-box,.qf-sheet-cancel{border-radius:16px;background:var(--qf-surface);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:var(--qf-shadow)}
.qf-sheet-head{padding:14px 16px 12px;text-align:center;border-bottom:1px solid var(--qf-line)}
.qf-sheet-head strong{display:block;font:600 14px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--qf-muted)}
.qf-sheet-head p{margin:4px 0 0;font:13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--qf-muted)}
.qf-sheet-group button,.qf-sheet-cancel{display:block;width:100%;min-height:54px;padding:12px 16px;border:0;background:transparent;color:#2f6fe4;font:400 18px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.qf-sheet-group button+button{border-top:1px solid var(--qf-line)}
.qf-sheet-group button.qf-destructive{color:var(--qf-danger)}
.qf-sheet-cancel{margin-top:8px;font-weight:600}
.qf-sheet button:focus-visible{outline:3px solid #2f6fe4;outline-offset:-3px;border-radius:14px}
@keyframes qf-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes qf-down{to{transform:translateY(100%)}}
@keyframes qf-fade{from{opacity:0}to{opacity:1}}

/* Swipe actions */
.cart-row,.cart-item,.shop-cart-row{transition:transform .22s cubic-bezier(.2,.9,.3,1);touch-action:pan-y}
.qf-swiped{position:relative;overflow:visible}
.qf-swipe-action{position:absolute;top:0;bottom:0;right:-88px;width:80px;display:grid;place-content:center;justify-items:center;gap:3px;border:0;border-radius:14px;background:var(--qf-danger);color:#fff;font:600 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.qf-swipe-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@media (prefers-reduced-motion:reduce){.qf-hud.qf-show{animation:qf-hud-still .9s linear both}.qf-bounce,dialog.qf-sheet,dialog.qf-sheet::backdrop,dialog.qf-sheet.qf-closing{animation:none}.cart-row,.cart-item,.shop-cart-row{transition:none}}
@keyframes qf-hud-still{0%,85%{opacity:1;transform:translate(-50%,-50%)}100%{opacity:0;transform:translate(-50%,-50%)}}
