﻿/* KingSmart.pk Custom Styles & Animations */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@500;700&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #16a34a;
  --accent-light: #22c55e;
  --danger: #dc2626;
  --dark: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

.urdu-text {
  font-family: 'Noto Nastaliq Urdu', serif;
  line-height: 2.2;
}

/* Animations */
@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

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

@keyframes flash-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-flash {
  animation: flash-badge 1.5s infinite;
}

/* Custom Radio / Card Selection */
.variant-card.active, .bundle-card.active {
  border-color: #2563eb !important;
  background-color: #eff6ff !important;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.15);
}

.bundle-card.active .radio-circle {
  border-color: #2563eb;
  background-color: #2563eb;
}

.bundle-card.active .radio-circle::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 85px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Toast Notifications */
.sales-toast {
  position: fixed;
  bottom: 95px;
  left: 20px;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 90;
  max-width: 320px;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid #16a34a;
}

.sales-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Sticky Bar */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none;
  }
}
