/* Nerjavey.ru — always reachable navigation, safe gutters and microinteractions */
:root{--ner-rail-space:78px;--ner-bottom-space:0px}
@media(min-width:851px){
  body:not([data-page="admin"]){padding-right:var(--ner-rail-space)!important}
  .nerQuickRail{position:fixed;right:13px;top:50%;transform:translateY(-50%);display:grid;gap:10px;z-index:74;padding:9px 7px;border:1px solid #dbe8ef;border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 10px 32px rgba(22,53,69,.13)}
  .nerQuickRail a{position:relative;display:flex;align-items:center;justify-content:center;width:49px;height:49px;border:1px solid #d5e3eb;border-radius:15px;color:#315d74;background:#f8fbfd;transition:color .2s,transform .2s,background .2s}
  .nerQuickRail a:hover,.nerQuickRail a:focus-visible{background:#e8f3f8;transform:translateX(-3px);color:#17405a}
  .nerQuickRail svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .nerQuickRail [data-favs-count],.nerQuickRail [data-cart-count]{position:absolute;right:-6px;top:-7px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:30px;border:2px solid white;background:#236e94;color:#fff;font-size:10px;font-weight:900}
}
@media(min-width:701px) and (max-width:850px){
  .nerQuickRail{display:none!important}
  .headerFavorite,.headerCart{display:grid!important;visibility:visible}
  .topbar{position:fixed!important;top:0!important;left:0;right:0;z-index:75!important}
}
@media(max-width:850px){.nerQuickRail{display:none!important}}
@media(max-width:700px){
  .mobileBottomNav{display:grid!important;position:fixed!important;bottom:0!important;top:auto!important;left:0!important;right:0!important;width:100%!important;z-index:120!important;transform:none!important;visibility:visible!important;opacity:1!important;background:#fff!important;padding-bottom:max(9px,env(safe-area-inset-bottom))!important;box-shadow:0 -8px 28px rgba(14,39,53,.12)!important}
  body{padding-bottom:calc(95px + env(safe-area-inset-bottom))!important}
  body[data-page="product"]{padding-bottom:calc(148px + env(safe-area-inset-bottom))!important}
  .mobileBottomNav [data-cart-count],.mobileBottomNav [data-favs-count]{min-width:17px;min-height:17px}
  body[data-page="product"] .mobileBuyDock:not([hidden]){bottom:calc(68px + env(safe-area-inset-bottom))!important;z-index:90!important}
}
.nerQuickRail a.is-celebrating,.mobileBottomNav a.is-celebrating,.headerIconLink.is-celebrating{animation:ner-icon-pop .52s cubic-bezier(.2,.9,.3,1.4)}
.nerQuickRail [data-cart-count].is-count-pop,.nerQuickRail [data-favs-count].is-count-pop,[data-cart-count].is-count-pop,[data-favs-count].is-count-pop{animation:ner-counter-pop .5s ease-out}
.nerAddSuccess{animation:ner-button-glow .45s ease-out}
.nerFlyIcon{position:fixed;z-index:400;left:0;top:0;width:16px;height:16px;border-radius:50%;background:#f5b34a;color:#183749;display:grid;place-items:center;box-shadow:0 0 0 5px rgba(245,179,74,.22);font-size:11px;font-weight:900;pointer-events:none}
.categorySeoText{clear:both;margin:35px 0 25px;padding:30px clamp(18px,4vw,38px);max-width:100%;border:1px solid #dae8ef;border-top:4px solid #e5bb59;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fbfc);color:#486475;line-height:1.8;box-shadow:0 8px 30px rgba(18,45,63,.045)}
.categorySeoText h2{font-size:clamp(21px,2.2vw,29px);line-height:1.25;letter-spacing:-.03em;color:#1d4054;margin:0 0 17px}
.categorySeoText h3{font-size:17px;color:#1d4054;margin:20px 0 10px}
.categorySeoText p{max-width:87ch;font-size:14px;margin:0 0 15px}.categorySeoText p:last-child{margin-bottom:0}
@keyframes ner-icon-pop{0%,100%{transform:scale(1)}35%{transform:scale(1.22)}60%{transform:scale(.94)}}
@keyframes ner-counter-pop{0%,100%{transform:scale(1)}40%{transform:scale(1.45)}}
@keyframes ner-button-glow{0%,100%{filter:none}45%{filter:brightness(1.19)}}
@media(max-width:700px){.categorySeoText{margin:24px 0 15px;padding:21px 16px}.categorySeoText p{font-size:13px;line-height:1.75}}
@media(prefers-reduced-motion:reduce){.nerQuickRail a.is-celebrating,.mobileBottomNav a.is-celebrating,.headerIconLink.is-celebrating,.is-count-pop,.nerAddSuccess{animation:none!important}}
@media print{.nerQuickRail,.nerFlyIcon,.mobileBottomNav{display:none!important}body{padding-right:0!important}}

/* Keep the entire legal footer scrollable above the fixed mobile shopping navigation. */
@media(max-width:700px){
 html,body{min-height:100%;overflow-x:clip}
 .footer{position:relative;overflow:visible!important;padding:28px 0 calc(116px + env(safe-area-inset-bottom))!important}
 .footerGrid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:23px!important}
 .footerGrid>div{min-width:0;overflow-wrap:anywhere}
 .footerBottom{display:block;line-height:1.75;overflow-wrap:anywhere;padding:16px 0 0!important;margin-top:24px!important;border-top:1px solid #dde7ec;font-size:12px}
 .footerLegal{display:block;margin:7px 0}
 .footerBottom a{display:inline-block;text-decoration:underline;text-underline-offset:3px;padding:4px 0}
 .mobileBottomNav{padding-bottom:max(9px,env(safe-area-inset-bottom))!important}
 .rsFloatLead{position:relative!important;bottom:auto!important;right:auto!important;z-index:1!important;margin:20px auto 24px!important}
}
