/* Antovys Food – animații, fără modificarea culorilor sau a logicii comenzilor. */
@media (prefers-reduced-motion: no-preference) {
  .ax-ready .ax-reveal {
    opacity: 0;
    translate: 0 24px;
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--ax-delay,0ms);
  }
  .ax-ready .ax-reveal.ax-in, .ax-ready .ax-reveal:focus-within {
    opacity: 1;
    translate: none;
  }
  .ax-ready .mast h1.ax-reveal {animation: none;}
  .ax-ready .ax-reveal-img {
    clip-path: inset(8% 8% 8% 8% round 20px);
    scale: 1.06;
    transition: clip-path .9s cubic-bezier(.2,.7,.2,1), scale 1.2s cubic-bezier(.2,.7,.2,1), transform .45s;
  }
  .ax-ready .ax-reveal-img.ax-in {clip-path: inset(0);scale: 1;}
  .ax-ready .mast .foodshot {translate: 0 var(--ax-py,0px);}
  .ax-ready .ax-pulse {display:inline-block;transform-origin:50% 60%;animation:ax-heartbeat 2.6s ease-in-out 1.4s infinite;}
  @keyframes ax-heartbeat {0%,42%,100%{scale:1}10%{scale:1.13}20%{scale:.97}30%{scale:1.08}}
  .ax-ready header {transition:box-shadow .3s ease,backdrop-filter .3s ease,transform .35s ease;}
  .ax-ready header.ax-scrolled {box-shadow:0 8px 28px #0003;-webkit-backdrop-filter:blur(10px) saturate(1.2);backdrop-filter:blur(10px) saturate(1.2);}
  .ax-ready header.ax-hidden:not(:focus-within):not(:hover) {transform:translateY(-105%);}
  .ax-ready :is(main .cta, main .secondary, main .hero-product, .carttop, #custom #addbtn) {transition:translate .18s ease,scale .18s ease,box-shadow .18s ease,filter .18s ease;}
  @media (hover:hover) and (pointer:fine) {
    .ax-ready :is(main .cta,main .secondary,main .hero-product,.carttop,#custom #addbtn):hover {translate:0 -2px;filter:brightness(1.05);box-shadow:0 10px 22px #0003;}
  }
  .ax-ready :is(main .cta,main .secondary,main .hero-product,.carttop,#custom #addbtn):active {translate:0 1px;scale:.97;}
  .ax-ready #count {display:inline-block;}
  .ax-ready .ax-bump {animation:ax-bump .5s cubic-bezier(.3,1.6,.5,1);}
  @keyframes ax-bump {0%,100%{scale:1}35%{scale:1.16}65%{scale:.95}}
  .ax-ready #toast.show {animation:ax-toast .45s cubic-bezier(.2,1.3,.4,1) both;}
  @keyframes ax-toast {from{opacity:0;translate:0 24px;scale:.95}to{opacity:1;translate:0 0;scale:1}}
}
