.page{
  display:flex;
  min-height:100vh;
  flex-direction:column;
}
.page>.stack,
.page>.catalog,
.page>.product{
  padding-bottom:0;
}
.site-footer{
  width:min(1050px,calc(100% - 100px));
  margin:auto auto 0;
  padding:70px 0 65px;
}
.category-page>.site-footer{padding-top:60px}
.site-footer-inner{
  display:flex;
  align-items:center;
  gap:30px;
}
.site-footer-telegram{
  display:grid;
  flex:0 0 auto;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid #555;
  border-radius:50%;
  color:#8b8b8b;
  transition:border-color .15s ease,color .15s ease;
}
.site-footer-telegram:hover,
.site-footer-telegram:focus-visible{
  border-color:#fff;
  color:#fff;
}
.site-footer-telegram svg{width:27px;height:27px;fill:currentColor}
.site-footer-copy{
  display:grid;
  flex:0 0 auto;
  min-width:max-content;
  gap:0;
  color:rgba(255,255,255,.5);
  font-size:16px;
  font-weight:300;
  line-height:1.45;
}
.site-footer-copy p{margin:0}
.site-footer-phrases span{display:block}
.site-footer-pacman{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  height:32px;
  overflow:hidden;
}
.site-footer-pacman::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:#555;
}
.site-footer-pacman.is-active::before{display:none}
.site-footer-pacman-mask{
  position:absolute;
  z-index:1;
  inset:0;
  background:radial-gradient(circle,#777 0 4px,transparent 4.5px) 0 50%/30px 12px repeat-x;
  clip-path:inset(0 0 0 0);
  animation:footer-pacman-mask 8s linear infinite;
}
.site-footer-pacman::after{
  --footer-pacman-restore:0%;
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:radial-gradient(circle,#777 0 4px,transparent 4.5px) 0 50%/30px 12px repeat-x;
  -webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(var(--footer-pacman-restore) - 30px),transparent var(--footer-pacman-restore),transparent 100%);
  mask-image:linear-gradient(to right,#000 0,#000 calc(var(--footer-pacman-restore) - 30px),transparent var(--footer-pacman-restore),transparent 100%);
  animation:footer-pacman-restore 8s linear infinite;
}
.site-footer-pacman-runner{
  position:absolute;
  z-index:2;
  top:2px;
  left:-32px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#808080;
  clip-path:polygon(0 0,100% 0,100% 5%,55% 50%,100% 95%,100% 100%,0 100%);
  animation:footer-pacman-run 8s linear infinite,footer-pacman-mouth .28s steps(2,end) infinite;
}
.site-footer-pacman-dot{
  position:absolute;
  z-index:1;
  top:12px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#777;
  opacity:1;
  will-change:opacity;
}
.site-footer-pacman-dot.is-special{background:var(--pacman-dot-color)}
.site-footer-pacman::after{display:none}
.site-footer-pacman-runner{
  display:none;
  animation:footer-pacman-mouth .28s steps(2,end) infinite;
  will-change:left,background-color;
  cursor:pointer;
  touch-action:manipulation;
}
.site-footer-pacman.is-active .site-footer-pacman-runner{display:block}
.site-footer-pacman:not(.is-active) .site-footer-pacman-dot,
.site-footer-pacman:not(.is-active) .site-footer-pacman-burst{display:none}
@keyframes footer-pacman-death{
  0%{clip-path:polygon(0 0,100% 0,55% 50%,100% 100%,0 100%);opacity:1;transform:rotate(0deg)}
  12%{clip-path:polygon(0 0,100% 0,55% 50%,100% 100%,0 100%);opacity:1;transform:rotate(-90deg)}
  24%{clip-path:polygon(0 0,86% 0,55% 50%,86% 100%,0 100%);opacity:1;transform:rotate(-90deg)}
  38%{clip-path:polygon(0 0,68% 0,55% 50%,68% 100%,0 100%);opacity:1;transform:rotate(-90deg)}
  50%{clip-path:polygon(0 0,55% 50%,55% 50%,0 100%,0 100%);opacity:1;transform:rotate(-90deg)}
  60%{clip-path:polygon(0 18%,55% 50%,55% 50%,0 82%,0 82%);opacity:1;transform:rotate(-90deg)}
  68%{clip-path:polygon(0 42%,55% 50%,55% 50%,0 58%,0 58%);opacity:1;transform:rotate(-90deg)}
  72%,100%{clip-path:polygon(55% 50%,55% 50%,55% 50%,55% 50%,55% 50%);opacity:0;transform:rotate(-90deg)}
}
.site-footer-pacman-runner.is-dying{
  animation:footer-pacman-death 1.6s linear forwards!important;
}
.site-footer-pacman-burst{
  position:absolute;
  z-index:3;
  top:2px;
  display:none;
  width:28px;
  height:28px;
  border-radius:50%;
  background:repeating-conic-gradient(from -4deg,currentColor 0 8deg,transparent 8deg 45deg);
  -webkit-mask:radial-gradient(circle,transparent 0 6px,#000 7px 11px,transparent 12px);
  mask:radial-gradient(circle,transparent 0 6px,#000 7px 11px,transparent 12px);
  pointer-events:none;
}
@keyframes footer-pacman-burst{
  0%,72%{opacity:0;transform:scale(.35) rotate(0deg)}
  73%{opacity:1;transform:scale(.72)}
  84%{opacity:1;transform:scale(1)}
  94%{opacity:.65;transform:scale(1.08)}
  100%{opacity:0;transform:scale(1.12)}
}
.site-footer-pacman-burst.is-active{
  display:block;
  animation:footer-pacman-burst 1.6s steps(8,end) forwards;
}
@keyframes footer-pacman-run{
  0%{left:-32px}
  66.667%,100%{left:calc(100% + 4px)}
}
@keyframes footer-pacman-mask{
  0%{clip-path:inset(0 0 0 0)}
  66.667%,99.9%{clip-path:inset(0 0 0 100%)}
  100%{clip-path:inset(0 0 0 0)}
}
@property --footer-pacman-restore{
  syntax:"<percentage>";
  inherits:false;
  initial-value:0%;
}
@keyframes footer-pacman-restore{
  0%,33.333%{--footer-pacman-restore:0%}
  100%{--footer-pacman-restore:100%}
}
@keyframes footer-pacman-mouth{
  0%,100%{clip-path:polygon(0 0,100% 0,100% 5%,55% 50%,100% 95%,100% 100%,0 100%)}
  50%{clip-path:polygon(0 0,100% 0,100% 48%,55% 50%,100% 52%,100% 100%,0 100%)}
}
.site-footer-logo{
  position:relative;
  display:block;
  flex:0 0 auto;
  width:196px;
  opacity:.5;
}
.site-footer-logo img{display:block;width:100%;height:auto}
.site-footer-secret{
  position:absolute;
  left:-10px;
  top:-10px;
  width:calc(100% + 20px);
  height:calc(100% + 20px);
  padding:0;
  border:0;
  background:transparent;
  cursor:default;
}

@media(max-width:900px){
  .site-footer{
    width:calc(100% - 40px);
    padding:50px 0 45px;
  }
  .home-page>.site-footer{padding-top:150px}
  .category-page>.site-footer{padding-top:50px}
  .site-footer-inner{
    display:grid;
    justify-items:center;
    gap:25px;
    text-align:center;
  }
  .site-footer-copy{order:1;justify-items:center;gap:0}
  .site-footer-pacman{order:3;width:min(320px,80vw);min-width:0}
  .site-footer-telegram{order:2}
  .site-footer-logo{order:4;width:min(184px,70vw);margin-top:5px}
}

@media(prefers-reduced-motion:reduce){
  .site-footer-pacman-mask,.site-footer-pacman-runner,.site-footer-pacman::after{animation:none}
  .site-footer-pacman-mask{clip-path:inset(0)}
  .site-footer-pacman::after{display:none}
}

/* v452: page navigation replaces the visible Pac-Man lane. */
.site-footer-pacman{display:none!important}
.site-footer-links{
  display:flex;
  flex:1 1 auto;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:18px 30px;
  min-width:0;
}
.site-footer-links a{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#8b8b8b;
  font-size:14px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:color .35s ease;
}
.site-footer-links a:hover,
.site-footer-links a:focus-visible{color:#b5ef39}
.site-footer-links a.is-active{color:#fff}
.site-footer-link-icon{
  width:23px;
  height:23px;
  flex:0 0 23px;
  background:currentColor;
  -webkit-mask:center/contain no-repeat;
  mask:center/contain no-repeat;
}
.site-footer-link-icon.is-about{-webkit-mask-image:url("footer-about.svg");mask-image:url("footer-about.svg")}
.site-footer-link-icon.is-conditions{-webkit-mask-image:url("footer-delivery.svg");mask-image:url("footer-delivery.svg")}
.site-footer-link-icon.is-contact{-webkit-mask-image:url("footer-contact.svg");mask-image:url("footer-contact.svg")}
@media(max-width:900px){
  .site-footer-links{order:2;width:100%;justify-content:flex-end;gap:18px 25px}
  .site-footer-copy{order:1}
}

/* v454: text, static divider, then navigation; Pac-Man itself stays hidden. */
.site-footer-pacman{
  display:block!important;
  flex:1 1 80px;
  min-width:30px;
}
.site-footer-pacman::before{display:block!important}
.site-footer-pacman::after,
.site-footer-pacman-mask,
.site-footer-pacman-runner,
.site-footer-pacman-burst,
.site-footer-pacman-dot{display:none!important}
.site-footer-links{
  flex:0 0 auto;
  justify-content:flex-end;
}
@media(max-width:900px){
  .site-footer-copy{order:1}
  .site-footer-pacman{order:2;width:100%;min-width:0}
  .site-footer-links{
    order:3;
    width:100%;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px 25px;
  }
}

/* v455: never render the retired footer logo; lock desktop navigation to the right edge. */
.site-footer-logo{display:none!important}
.site-footer-links{margin-left:auto}
@media(max-width:900px){.site-footer-links{margin-left:0}}
