/* Ensure homepage shortcut/category links render as responsive glass cards even in legacy uCoz wrappers. */
#as-d5-home-stage a[href*="delivery"],
#as-d5-home-stage a[href*="payment"],
#as-d5-home-stage a[href*="/pay"],
#as-d5-home-stage a[href*="loyalty"],
#as-d5-home-stage a[href*="contacts"]{
 display:inline-flex!important;vertical-align:top!important;align-items:center!important;gap:10px!important;
 width:calc(25% - 14px)!important;min-width:0!important;min-height:72px!important;
 margin:0 12px 12px 0!important;padding:13px 15px!important;
 border:1px solid var(--as-d5-line)!important;border-radius:16px!important;
 background:var(--as-d5-panel)!important;color:var(--as-d5-text)!important;
 font-size:13px!important;font-weight:700!important;line-height:1.35!important;
 text-decoration:none!important;white-space:normal!important;
 -webkit-backdrop-filter:blur(14px) saturate(140%)!important;backdrop-filter:blur(14px) saturate(140%)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.30),0 7px 20px rgba(30,60,42,.035)!important;
}
#as-d5-home-stage a[href*="delivery"]:hover,
#as-d5-home-stage a[href*="payment"]:hover,
#as-d5-home-stage a[href*="/pay"]:hover,
#as-d5-home-stage a[href*="loyalty"]:hover,
#as-d5-home-stage a[href*="contacts"]:hover{border-color:var(--as-d5-accent)!important;background:var(--as-d5-panel-strong)!important}
#as-d5-home-stage a[href*="/shop/kraski"],
#as-d5-home-stage a[href*="/shop/kisti"],
#as-d5-home-stage a[href*="/shop/holst"],
#as-d5-home-stage a[href*="/shop/bumag"],
#as-d5-home-stage a[href*="/shop/markery"],
#as-d5-home-stage a[href*="/shop/grafik"]{
 display:inline-flex!important;vertical-align:top!important;align-items:center!important;gap:10px!important;
 width:calc(25% - 14px)!important;min-height:68px!important;margin:0 12px 12px 0!important;padding:12px 14px!important;
 border:1px solid var(--as-d5-line)!important;border-radius:15px!important;
 background:var(--as-d5-panel)!important;color:var(--as-d5-text)!important;
 font-size:13px!important;font-weight:700!important;text-decoration:none!important;
}
@media(max-width:980px){
 #as-d5-home-stage a[href*="delivery"],
 #as-d5-home-stage a[href*="payment"],
 #as-d5-home-stage a[href*="/pay"],
 #as-d5-home-stage a[href*="loyalty"],
 #as-d5-home-stage a[href*="contacts"],
 #as-d5-home-stage a[href*="/shop/kraski"],
 #as-d5-home-stage a[href*="/shop/kisti"],
 #as-d5-home-stage a[href*="/shop/holst"],
 #as-d5-home-stage a[href*="/shop/bumag"],
 #as-d5-home-stage a[href*="/shop/markery"],
 #as-d5-home-stage a[href*="/shop/grafik"]{width:calc(50% - 10px)!important;min-height:64px!important}
}
@media(max-width:620px){
 #as-d5-home-stage a[href*="delivery"],
 #as-d5-home-stage a[href*="payment"],
 #as-d5-home-stage a[href*="/pay"],
 #as-d5-home-stage a[href*="loyalty"],
 #as-d5-home-stage a[href*="contacts"],
 #as-d5-home-stage a[href*="/shop/kraski"],
 #as-d5-home-stage a[href*="/shop/kisti"],
 #as-d5-home-stage a[href*="/shop/holst"],
 #as-d5-home-stage a[href*="/shop/bumag"],
 #as-d5-home-stage a[href*="/shop/markery"],
 #as-d5-home-stage a[href*="/shop/grafik"]{width:100%!important;margin-right:0!important}
}
