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

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --tcs-red: #d32f2f;
  --tcs-dark: #b71c1c;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Rating Stars */
.star-filled {
  color: #f59e0b;
}
.star-empty {
  color: #d1d5db;
}

/* Card hover animation */
.product-card {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

/* Badge pulse */
.pulse-badge {
  animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* TCS Badge Style */
.tcs-badge {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #ffffff;
}

/* Mobile button sizing and alignment consistency */
@media (max-width: 639px) {
  .product-card .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .product-card .grid-cols-2 > * {
    min-height: 36px !important;
    max-height: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* PRINT STYLES FOR TCS SHIPPING SLIP / CONSIGNMENT NOTE */
@media print {
  body * {
    visibility: hidden;
  }
  #tcs-print-modal, #tcs-print-modal * {
    visibility: visible;
  }
  #tcs-print-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff !important;
  }
  .no-print {
    display: none !important;
  }
  .print-area {
    border: 2px solid #000 !important;
    padding: 15px !important;
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}
