/* UI56 — компактный каталог и корзина с единой прокруткой. */
.sv-mobile-reset{display:none}
body.sv-cart-open{overflow:hidden}
body.sv-cart-open .mbar,body.sv-cart-open .cookiebar{display:none!important}
#overlay{z-index:400}
#drawer{z-index:410;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;box-sizing:border-box}
#drawer .drawer-head{flex:none;padding:14px 20px;min-height:64px;box-sizing:border-box}
#drawer .drawer-head .close-x{width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0}
#drawer .sv-cart-scroll{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:16px}
#drawer .cart-items{flex:none;overflow:visible;padding:0 20px}
#drawer .ship-progress{padding:14px 20px;margin:0;font-size:12px;line-height:1.5}
#drawer .ci{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;padding:16px 0;align-items:start}
#drawer .ci img{width:52px;height:66px;object-fit:contain}
#drawer .ci-info{min-width:0}
#drawer .ci-info h4{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#drawer .ci-remove{font-size:11px;min-height:44px;padding:0 3px}
#drawer .qty{gap:8px}
#drawer .qty button{width:44px;height:44px;min-height:44px;border-radius:10px;flex:none}
#drawer .qty span{min-width:22px;text-align:center}
#drawer .sv-cart-extra{margin:12px 20px 0;border-top:1px solid var(--line);padding-top:6px}
#drawer .sv-cart-extra>summary{cursor:pointer;min-height:44px;align-content:center;color:var(--gold2);font-size:13px;font-weight:600;padding:8px 0;box-sizing:border-box}
#drawer .sv-cart-extra[hidden]{display:none}
#drawer .upsell{padding:4px 0 0;border:0}
#drawer .up-t{display:none}
#drawer .up-item{gap:10px;padding:10px;margin-bottom:8px}
#drawer .up-i b{white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;line-height:1.4}
#drawer .up-add{font-size:11px;min-height:44px;padding:6px 10px;flex:none}
#drawer .promo-row{margin:8px 0 4px;gap:8px}
#drawer .promo-row input{min-width:0;width:100%;font-size:16px}
#drawer .promo-row button{flex:none;min-height:44px}
#drawer .drawer-foot{flex:none;padding:14px 20px max(14px,env(safe-area-inset-bottom));background:var(--dark2);box-shadow:0 -6px 22px #0002}
#drawer .total-row{margin-bottom:12px;gap:12px;flex-wrap:wrap;align-items:center;font-size:17px}
#drawer .drawer-foot .btn{min-height:46px;padding:12px 16px;font-size:15px;letter-spacing:0;line-height:1.3}
#drawer .guarantees{font-size:10px;gap:4px;margin-top:8px;line-height:1.4}
@media(max-width:768px){
 #v11Filters{display:none!important}
 .v11-layout{display:block!important;padding-top:18px}
 .v11-pills{gap:7px;padding:3px 0 12px;scrollbar-width:thin;scroll-snap-type:x proximity;scroll-padding:3px;max-width:100%}
 .v12-theme .v11-pill,.v11-pill{min-height:44px;padding:10px 13px;border-radius:11px;font-size:12px;line-height:1.25;white-space:nowrap;scroll-snap-align:start}
 .v12-theme .v11-pill.active{background:#e8c975;color:#22162f;border-color:#e8c975;box-shadow:none}
 .v11-heading{gap:16px;margin-bottom:22px}
 .v11-help{padding:10px 14px;min-height:44px;font-size:12px;display:inline-flex;align-items:center}
 .v11-toolbar{gap:12px;padding:14px 0;flex-wrap:wrap}
 .v11-toolbar>strong{font-size:13px}
 .v11-tools{width:100%;gap:8px;display:grid;grid-template-columns:minmax(0,1fr)}
 .v11-search,.v11-sort{width:100%;min-width:0;height:44px;box-sizing:border-box}
 .v11-search input{font-size:16px;min-width:0}
 .v11-sort{display:flex;justify-content:space-between;padding:0 10px}
 .v11-sort select{min-width:0;max-width:72%;font-size:13px;padding:8px}
 .sv-mobile-reset{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-left:auto;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--gold2);font:inherit;font-size:12px}
 .sv-mobile-reset[hidden]{display:none}
 .mbar{gap:6px;padding:6px 10px calc(6px + env(safe-area-inset-bottom))}
 .mbar a,.mbar button{min-width:0;min-height:44px;box-sizing:border-box;padding:10px 6px;font-size:12px;line-height:1.2;border-radius:14px;display:flex;align-items:center;justify-content:center}
 body{padding-bottom:62px}
 #drawer{width:min(420px,100%);max-width:100vw;border-left:0}
 .modeswitch .ms-btn{font-size:12px;padding:8px 12px;min-height:44px}
 .nav .cart-btn,.nav .burger{min-width:44px;min-height:44px;padding:6px}
}
@media(max-width:360px){#drawer .drawer-head,#drawer .drawer-foot{padding-left:14px;padding-right:14px}#drawer .cart-items{padding:0 14px}#drawer .sv-cart-extra{margin-left:14px;margin-right:14px}#drawer .ci{grid-template-columns:44px minmax(0,1fr);gap:10px}#drawer .ci img{width:44px;height:58px}#drawer .ci-remove{grid-column:2;justify-self:start;margin-top:-8px}#drawer .up-item{display:grid;grid-template-columns:36px minmax(0,1fr)}#drawer .up-item img{width:36px;height:46px}#drawer .up-add{grid-column:2;justify-self:start}}
@media(max-height:500px){#drawer .drawer-head{min-height:48px;padding-top:2px;padding-bottom:2px}#drawer .drawer-foot{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}#drawer .guarantees{display:none}#drawer .total-row{margin-bottom:6px}}
/* Resize immediately; only opening/closing should animate. */
#drawer{transition-property:transform}
@media(prefers-reduced-motion:reduce){#drawer{transition:none}.v11-pill{transition:none}}
@media(max-width:768px){#catalog2{scroll-margin-top:130px}.v11-heading .sec-sub{text-align:left!important;word-spacing:normal}.v11-heading .sec-title{font-size:30px;line-height:1.15}}
/* UI70: the cart owns the screen while open. Keep chat DOM/drafts intact. */
body.sv-cart-open #svSupportLauncher,body.sv-cart-open #svSupportPanel,
body:has(#drawer.open) #svSupportLauncher,body:has(#drawer.open) #svSupportPanel{display:none!important}
