body.dg-auth-mode > form > header,
body.dg-auth-mode > form > footer { display: none !important; }
body.dg-auth-mode > form > .container,
body.dg-modern-full > form > .container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.dg-auth-mode > form > .container > .body-content,
body.dg-modern-full > form > .container > .body-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.dg-auth-mode > form > .container hr { display: none !important; }
.dg-legacy-header,
.dg-legacy-footer { display: none !important; }

.dg-food-link {
  z-index: 2;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
  will-change: transform;
  animation: dg-food-float 4.8s ease-in-out infinite;
  transition: box-shadow .2s ease, filter .2s ease, transform .2s ease;
}
.dg-food-link:nth-child(2) { animation-delay: -.9s; animation-duration: 5.4s; }
.dg-food-link:nth-child(3) { animation-delay: -1.8s; animation-duration: 4.4s; }
.dg-food-link:nth-child(4) { animation-delay: -2.7s; animation-duration: 5.1s; }
.dg-food-link:hover,
.dg-food-link:focus-visible {
  animation-play-state: paused;
  transform: translateY(-7px) scale(1.08);
  box-shadow: 0 24px 48px rgba(7,28,22,.3);
  filter: saturate(1.12);
}
.dg-food-link:focus-visible { outline: 4px solid var(--dg-lime); outline-offset: 5px; }
.dg-food-link::after {
  content: attr(data-label);
  position: absolute;
  left: 50%; bottom: -34px;
  padding: 6px 9px;
  color: #fff; background: var(--dg-dark);
  border-radius: 8px;
  font: 700 10px "DM Sans",sans-serif;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%,5px);
  transition: .18s ease;
  pointer-events: none;
}
.dg-food-link:hover::after,
.dg-food-link:focus-visible::after { opacity: 1; transform: translate(-50%,0); }
@keyframes dg-food-float {
  0%,100% { transform: translate3d(0,0,0) rotate(-1deg); }
  50% { transform: translate3d(0,-12px,0) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .dg-food-link { animation: none !important; }
}

.dg-loader {
  display: grid;
  min-height: 76px;
  place-items: center;
  width: 100%;
}

.dg-loader-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(0, 128, 105, 0.18);
  border-top-color: #008069;
  border-radius: 50%;
  animation: dg-loader-spin 0.75s linear infinite;
}

@keyframes dg-loader-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .dg-loader-spinner { animation-duration: 1.8s; }
}
