/**
 * Additional App Styles for Omaha Scoop Walk Sit
 * 
 * Image Folder Reference:
 * -----------------------
 * Images should be placed in: assets/images/
 *   - assets/images/product/    (product images: product-1.webp, etc.)
 *   - assets/images/gallery/     (gallery images)
 *   - assets/images/icons/       (custom icon images)
 * 
 * To reference an image in code:
 *   <img src="/assets/images/product/product-1.webp" alt="Product image">
 * 
 * OR with PHP-generated placeholder:
 *   <?php echo '<img src="/assets/images/placeholder-500x500.png" ...>'; ?>
 */

/* Scroll to top button styles */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 40;
}

.scroll-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Cart slide-out overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
}

/* Cart panel */
.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: white;
  z-index: 51;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.paw {
  fill: white;
  margin-left: 2.5rem;

}

.cart-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.cart-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-panel-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  border-bottom-left-radius: 0.5rem;
}

/* Hero section with gradient */
.hero-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
}

/* Service card hover effect */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

/* Pricing card popular badge */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Toast notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

.toast {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 300px;
  max-width: 400px;
  padding: 1rem;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Product card */
.product-card {
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Gallery image aspect ratio */
.gallery-image {
  aspect-ratio: 1;
  object-fit: cover;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
  }

  .toast-container {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 1rem;
  }
}

/* === Animated Paw Trail (Home Hero) === */
/* .paw-trail-wrap {
  width: 100%;
  overflow: hidden;
  height: 64px;
  position: relative;
  margin-bottom: 1.5rem;
}

.paw-trail {
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  animation: pawWalkAcross 10s linear infinite;
}

.paw-step {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.75;
}

.paw-step.step-odd {
  transform: rotate(80deg);
  margin-top: -10px;
  margin-right: 6px;
}

.paw-step.step-even {
  transform: rotate(100deg);
  margin-top: 10px;
  margin-right: 30px;
}

@keyframes pawWalkAcross {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .paw-trail-wrap { display: none; }
} */

/* === Dog Walk Strip (Hero Section) === */
.dog-walk-strip {
  position: relative;
  width: 100%;
  height: 104px;
  overflow: hidden;
  margin: 0.5rem 0 0.75rem;
}

/* Footprint stamps — start invisible, stamp in as dog passes */
.walk-paw {
  position: absolute;
  bottom: 10px;
  opacity: 0;
  animation: pawStampIn 0.35s ease-out forwards;
}

.walk-paw.alt {
  bottom: 24px; /* alternates height = left paw / right paw feel */
}

@keyframes pawStampIn {
  0%   { opacity: 0;    transform: scale(0.4) rotate(-105deg); } /* -90 base + -15 stamp wobble */
  55%  { opacity: 0.7;  transform: scale(1.1) rotate(-86deg);  } /* -90 base +  +4 stamp wobble */
  100% { opacity: 0.55; transform: scale(1)   rotate(-90deg);  } /* settled, toes pointing left  */
}

/* Outer wrapper: horizontal slide right → left, one-shot, stays at end */
.dog-walk-x {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(calc(100vw + 130px)); /* start off-screen right */
  animation: walkHoriz 5s cubic-bezier(0.42, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes walkHoriz {
  0%   { transform: translateX(calc(100vw + 130px)); }
  72%  { transform: translateX(18px); }  /* arrive */
  76%  { transform: translateX(10px); }  /* slight overshoot */
  82%  { transform: translateX(16px); }  /* settle */
  100% { transform: translateX(16px); }  /* stay put */
}

/* Inner wrapper: vertical bounce while walking — stops naturally after 9 reps */
.dog-walk-bounce {
  animation: walkBounce 0.38s ease-in-out 9;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

@keyframes walkBounce {
  0%, 100% { transform: translateY(0);   }
  50%      { transform: translateY(-7px); }
}

/* Dog SVG size within the strip */
.dog-svg {
  width: 75px;
  height: auto;
  display: block;
  filter: drop-shadow(1px 4px 6px rgba(0, 0, 0, 0.3));
}

/* Tail wag — runs continuously (during walk AND idle) */
.dog-tail {
  transform-box: fill-box;
  transform-origin: 0% 100%;
  animation: tailWag 0.85s ease-in-out infinite;
}

@keyframes tailWag {
  0%, 100% { transform: rotate(-14deg); }
  50%      { transform: rotate(18deg);  }
}

/* Eye blink */
.dog-eye-left,
.dog-eye-right {
  transform-box: fill-box;
  transform-origin: center center;
  animation: dogBlink 3.5s ease-in-out infinite;
}

@keyframes dogBlink {
  0%, 85%, 100% { transform: scaleY(1);    }
  90%           { transform: scaleY(0.08); }
  95%           { transform: scaleY(1);    }
}

/* Accessibility — hide walk strip if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dog-walk-strip { display: none; }
}

/* Mobile — slightly smaller dog */
@media (max-width: 640px) {
  .dog-walk-strip { height: 82px; }
  .dog-svg        { width: 58px;  }
}