/* Mobile, touch-first effects for The Finger Licking Good Experience. */
.flge-touch-effect {
  position: fixed !important;
  z-index: 2147483647 !important;
  width: 1px; height: 1px;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
  contain: layout style;
}
.flge-touch-hand {
  display: block;
  position: absolute;
  width: 32px;
  height: 79px;
  object-fit: contain;
  max-width: none;
  left: -13px; top: -2px;
  filter: drop-shadow(0 3px 4px rgba(20, 3, 25, .38));
  transform-origin: 41% 2%;
  animation: flge-tap-hand 620ms cubic-bezier(.19,1,.32,1) both;
}
.flge-touch-halo {
  position: absolute;
  left: -13px; top: -13px;
  width: 26px; height: 26px;
  border: 2px solid #D9A441;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(217,164,65,.38);
  animation: flge-halo 620ms ease-out both;
}
.flge-touch-effect--swipe-left .flge-touch-hand {
  animation: flge-swipe-left 690ms ease-out both;
}
.flge-touch-effect--swipe-right .flge-touch-hand {
  animation: flge-swipe-right 690ms ease-out both;
}
.flge-touch-effect--swipe-left .flge-touch-halo,
.flge-touch-effect--swipe-right .flge-touch-halo { display: none; }
.flge-touch-effect--cart .flge-touch-hand {
  width: 40px; height: 98px; left: -16px;
  animation: flge-cart-hand 950ms cubic-bezier(.16,1,.3,1) both;
}
.flge-touch-effect--cart .flge-touch-halo {
  width: 40px; height: 40px; left: -20px; top: -20px;
  border-width: 3px; animation-duration: 890ms;
}
.flge-touch-label {
  position: absolute;
  left: 0; top: -38px; transform: translateX(-50%);
  white-space: nowrap;
  font: 600 12px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .01em;
  color: #2C1246; background: #D9A441;
  padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 5px 15px rgba(20,3,25,.28);
  animation: flge-cart-label 920ms ease-out both;
}
@keyframes flge-tap-hand {
  0%   { opacity: 0; transform: translateY(12px) scale(.6) rotate(-10deg); }
  24%  { opacity: .95; transform: translateY(0) scale(.92) rotate(0deg); }
  60%  { opacity: .92; transform: translateY(-2px) scale(.86); }
  100% { opacity: 0; transform: translateY(-22px) scale(.74); }
}
@keyframes flge-halo {
  0%   { opacity: .7; transform: scale(.3); }
  55%  { opacity: .7; }
  100% { opacity: 0; transform: scale(2.8); }
}
@keyframes flge-swipe-left {
  0%   { opacity: 0; transform: translateX(28px) scale(.55); }
  30%  { opacity: .85; transform: translateX(0) scale(.8); }
  100% { opacity: 0; transform: translateX(-48px) scale(.67); }
}
@keyframes flge-swipe-right {
  0%   { opacity: 0; transform: translateX(-28px) scale(.55); }
  30%  { opacity: .85; transform: translateX(0) scale(.8); }
  100% { opacity: 0; transform: translateX(48px) scale(.67); }
}
@keyframes flge-cart-hand {
  0%   { opacity: 0; transform: translateY(18px) scale(.55) rotate(-10deg); }
  23%  { opacity: 1; transform: translateY(0) scale(1.1) rotate(5deg); }
  58%  { opacity: 1; transform: translateY(-4px) scale(.95); }
  100% { opacity: 0; transform: translateY(-34px) scale(.8); }
}
@keyframes flge-cart-label {
  0%   { opacity: 0; transform: translate(-50%, 9px) scale(.85); }
  24%  { opacity: 1; transform: translate(-50%,0) scale(1); }
  72%  { opacity: 1; transform: translate(-50%,-4px); }
  100% { opacity: 0; transform: translate(-50%,-15px); }
}
@media (hover: none), (pointer: coarse) {
  [data-flge-cart-action] { touch-action: manipulation; }
  [data-flge-cart-action]:active {
    outline: 2px solid #D9A441;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(217,164,65,.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .flge-touch-effect { display: none !important; }
}
