/* Custom CSS */

/* FAQ Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.group-open\:animate-fadeIn[open] {
  animation: fadeIn 0.2s ease-out;
}

/* Custom details/summary styling */
details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  display: none;
}

/* Smooth transitions for FAQ */
details {
  transition: all 0.2s ease-out;
}

details summary {
  transition: all 0.2s ease-out;
}

details[open] summary {
  margin-bottom: 0.5rem;
}

/* Pricing Cards Styling */
/* Enhanced animations for pricing cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

.price-tag:hover {
  animation: float 2s ease-in-out infinite;
}

/* Gradient animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.price-tag {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

/* Enhanced shadow effects */
.price-tag:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Discount badge pulse animation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
  }
}

.animate-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .price-tag {
    animation: none; /* Disable gradient animation on mobile for better performance */
  }
  
  .price-tag:hover {
    animation: float 1.5s ease-in-out infinite; /* Faster float animation on mobile */
  }
}

/* --- Modern Geo Form UI --- */
#order-form input[type="text"],
#order-form input[type="number"],
#order-form input[type="tel"] {
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
  background: #f9fafb;
  margin-bottom: 0.5rem;
}
#order-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px #2563eb22;
  outline: none;
  background: #fff;
}
#order-form input:disabled {
  background: #f3f4f6;
  color: #bdbdbd;
  cursor: not-allowed;
}
#order-form input::placeholder {
  color: #a0aec0;
  font-weight: 400;
  opacity: 1;
}

#order-form .autocomplete-list {
  position: relative;
}
#order-form .autocomplete-list ul {
  position: absolute;
  z-index: 20;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  width: 100%;
  margin: 0;
  padding: 0.25rem 0;
  box-shadow: 0 8px 32px 0 #0002;
  animation: fadeIn 0.18s;
  max-height: 220px;
  overflow-y: auto;
}
#order-form .autocomplete-list li {
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  color: #222;
  transition: background 0.15s, color 0.15s;
}
#order-form .autocomplete-list li.active,
#order-form .autocomplete-list li:hover {
  background: #2563eb11;
  color: #2563eb;
  font-weight: 500;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Smooth show/hide for flows */
#order-form #street-flow,
#order-form #address-flow {
  transition: opacity 0.25s, max-height 0.25s;
  overflow: hidden;
}
#order-form #street-flow[style*="display: none"],
#order-form #address-flow[style*="display: none"] {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}
#order-form #street-flow,
#order-form #address-flow {
  opacity: 1;
  max-height: 500px;
}

/* Submit button modern */
#order-form button[type="submit"] {
  background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 0;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 16px #2563eb22;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  margin-top: 1.5rem;
}
#order-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
  box-shadow: 0 8px 32px #2563eb33;
  transform: translateY(-2px) scale(1.03);
}