/* Restored October floating controls; mobile actions live inside the catalog menu. */
html .fixed-goods-bar.esp-restored-shortcuts{display:flex!important;position:fixed;right:20px;bottom:20px;z-index:1007;overflow:visible}
html .fixed-goods-bar.esp-restored-shortcuts.show-back-top{right:88px}
html .esp-restored-shortcuts [hidden]{display:none!important}
html #back-top[hidden]{display:none!important}
html #back-top:not([hidden]){display:block;right:20px;bottom:20px;z-index:1007}
html #back-top .svg-progress{pointer-events:none;transform:rotate(-90deg)}
html #back-top circle.percent{stroke-dasharray:289;stroke-dashoffset:var(--scroll-progress,289px)}
.esp-mobile-shortcuts{display:none}
.esp-viewed-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;color:var(--esp-ink,#192530);background:var(--esp-surface,#fff)}
.esp-viewed-dialog::backdrop{background:#10192380}
.esp-viewed-dialog h2{padding-right:30px;margin:0 0 22px;font-size:24px;color:inherit}
.esp-viewed-dialog [data-viewed-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.esp-viewed-dialog .esp-viewed-item{display:flex!important;flex-direction:column;gap:12px;margin:0;padding:14px;border:1px solid var(--esp-line,#dce3eb);border-radius:12px;text-decoration:none;color:inherit;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.esp-viewed-item img{width:100%;height:130px;object-fit:contain;background:#fff;border-radius:8px}
.esp-viewed-catalog{display:inline-block!important;margin:22px 0 0!important}
@media(max-width:1199px){
 html .fixed-goods-bar.esp-restored-shortcuts{display:none!important}
 html #back-top:not([hidden]){right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 html #back-top .btn-back-top{width:44px;height:44px}
 .esp-mobile-shortcuts{display:grid;gap:4px;border-top:1px solid var(--esp-line,#dce3eb);padding-top:12px;margin-top:16px}
 .esp-mobile-shortcuts :is(a,button){display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 4px;background:none;border:0;color:var(--esp-ink,#192530);text-decoration:none;text-align:left;font-size:14px}
 .esp-mobile-shortcuts i{flex:0 0 22px}
}
@media(max-width:480px){.esp-viewed-dialog{padding:22px 16px}.esp-viewed-dialog [data-viewed-list]{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html #back-top,html .esp-restored-shortcuts{transition:none!important}}
