/* ===== ZOEGT Custom Styles ===== */

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f3f2ff; }
::-webkit-scrollbar-thumb { background: #c4c5d9; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #747688; }

/* Glassmorphism classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Ambient glow on hover */
.ambient-glow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ambient-glow:hover {
  box-shadow: 0 8px 32px rgba(0, 64, 224, 0.08);
}

/* Line clamp utilities */
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* Active states for selectors */
.talla-btn.active {
  border-color: #0040e0;
  background-color: rgba(0, 64, 224, 0.08);
  color: #0040e0;
}

.color-btn.active {
  box-shadow: 0 0 0 3px #fbf8ff, 0 0 0 5px #0040e0;
}

/* Product image placeholder */
.img-placeholder {
  background: linear-gradient(135deg, #f3f2ff 0%, #ededfa 50%, #e7e7f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu animation */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active {
  transform: translateX(0);
}

/* Filter drawer mobile */
.filter-drawer {
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-drawer.active {
  transform: translateY(0);
}

/* Badge pulse animation */
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.badge-pulse {
  animation: badge-pulse 0.3s ease;
}

/* Skeleton loading */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f3f2ff 25%, #e7e7f4 50%, #f3f2ff 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* Toast notification */
.toast-enter {
  animation: slideInRight 0.3s ease forwards;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

/* DTF Design selected state */
.dtf-design-btn.active {
  border-color: #0040e0;
  box-shadow: 0 0 0 2px rgba(0, 64, 224, 0.2);
}

/* SweetAlert2 custom theme */
.swal2-popup {
  border-radius: 24px !important;
  font-family: 'Inter', sans-serif !important;
}
.swal2-confirm {
  border-radius: 12px !important;
  font-weight: 600 !important;
}
.swal2-cancel {
  border-radius: 12px !important;
}

/* Categories dropdown */
.categories-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.categories-trigger:hover .categories-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Print area indicator for DTF */
.print-area {
  border: 2px dashed rgba(0, 64, 224, 0.4);
  position: absolute;
  pointer-events: none;
}
