/* ==========================================================================
   PSP Instruments - Modern Scientific UI Theme (2026)
   Matches brand logo colors: Deep Brand Violet (#29166D) & Orchid Violet (#8F62A3)
   With Scientific Electric Cyan (#0EA5E9 / #06B6D4) accents
   ========================================================================== */

:root {
  --psp-primary: #24145f;
  --psp-primary-dark: #170c40;
  --psp-primary-light: #341e85;
  --psp-brand-purple: #8f62a3;
  --psp-brand-purple-light: #b085c4;
  --psp-accent-cyan: #0ea5e9;
  --psp-accent-cyan-dark: #0284c7;
  --psp-accent-teal: #14b8a6;
  
  --psp-dark: #0f172a;
  --psp-dark-surface: #1e293b;
  --psp-gray-900: #111827;
  --psp-gray-800: #1f2937;
  --psp-gray-700: #374151;
  --psp-gray-600: #4b5563;
  --psp-gray-400: #9ca3af;
  --psp-gray-200: #e5e7eb;
  --psp-gray-100: #f3f4f6;
  --psp-gray-50: #f8fafc;
  --psp-white: #ffffff;

  --psp-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --psp-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --psp-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --psp-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --psp-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --psp-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --psp-shadow-brand: 0 10px 25px -5px rgba(36, 20, 95, 0.25);
  
  --psp-radius-sm: 6px;
  --psp-radius-md: 10px;
  --psp-radius-lg: 16px;
  --psp-radius-xl: 24px;
  --psp-radius-full: 9999px;
  
  --psp-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Typography */
body {
  font-family: var(--psp-font-sans);
  color: #334155;
  background-color: #fbfcfe;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--psp-font-heading);
  color: var(--psp-primary-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--psp-primary);
  text-decoration: none;
  transition: var(--psp-transition);
}

a:hover {
  color: var(--psp-brand-purple);
}

/* Utility Top Bar */
.modern-topbar {
  background: linear-gradient(90deg, var(--psp-primary-dark) 0%, var(--psp-primary) 100%);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-topbar a {
  color: #e2e8f0;
  font-weight: 500;
}

.modern-topbar a:hover {
  color: var(--psp-accent-cyan);
}

.modern-topbar .social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  margin-left: 6px;
  font-size: 0.8rem;
  transition: var(--psp-transition);
}

.modern-topbar .social-pill:hover {
  background: var(--psp-accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* Header & Navbar */
.modern-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  transition: var(--psp-transition);
}

.modern-brand-logo {
  max-height: 52px;
  width: auto;
  transition: var(--psp-transition);
}

.modern-nav .nav-link {
  color: var(--psp-gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  border-radius: var(--psp-radius-sm);
  transition: var(--psp-transition);
  position: relative;
}

.modern-nav .nav-link:hover,
.modern-nav .nav-link.active {
  color: var(--psp-primary);
  background: rgba(36, 20, 95, 0.05);
}

.modern-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--psp-primary);
  border-radius: 2px;
}

/* Modern Buttons */
.btn-psp-primary {
  background: linear-gradient(135deg, var(--psp-primary) 0%, var(--psp-primary-light) 100%);
  color: #fff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--psp-radius-full);
  border: none;
  box-shadow: 0 4px 14px rgba(36, 20, 95, 0.28);
  transition: var(--psp-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-psp-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 20, 95, 0.4);
  background: linear-gradient(135deg, var(--psp-primary-light) 0%, var(--psp-brand-purple) 100%);
}

.btn-psp-outline {
  background: transparent;
  color: var(--psp-primary);
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--psp-radius-full);
  border: 1.5px solid var(--psp-primary);
  transition: var(--psp-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-psp-outline:hover {
  background: var(--psp-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 20, 95, 0.2);
}

.btn-psp-cyan {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--psp-radius-full);
  border: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  transition: var(--psp-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-psp-cyan:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

/* Hero Section */
.modern-hero {
  position: relative;
  background: linear-gradient(145deg, #160c40 0%, #24145f 45%, #421877 100%);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(14, 165, 233, 0.15) 1px, transparent 1px),
    radial-gradient(rgba(143, 98, 163, 0.2) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  opacity: 0.8;
}

.hero-glow-1 {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0) 70%);
  top: -100px;
  right: -50px;
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 98, 163, 0.25) 0%, rgba(143, 98, 163, 0) 70%);
  bottom: -150px;
  left: -100px;
  filter: blur(50px);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #7dd3fc;
  padding: 6px 16px;
  border-radius: var(--psp-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #7dd3fc 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-stats-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--psp-radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-stat-item {
  text-align: center;
  padding: 12px;
}

.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-lbl {
  font-size: 0.82rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Feature Cards */
.feature-card {
  background: #fff;
  border-radius: var(--psp-radius-lg);
  padding: 32px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--psp-shadow-sm);
  transition: var(--psp-transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--psp-shadow-xl);
  border-color: var(--psp-brand-purple-light);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--psp-radius-md);
  background: linear-gradient(135deg, rgba(36, 20, 95, 0.08) 0%, rgba(14, 165, 233, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--psp-primary);
  margin-bottom: 20px;
  transition: var(--psp-transition);
}

.feature-card:hover .feature-icon-box {
  background: linear-gradient(135deg, var(--psp-primary) 0%, var(--psp-brand-purple) 100%);
  color: #fff;
  transform: scale(1.05);
}

/* Product Section & Filter */
.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--psp-radius-full);
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--psp-transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--psp-primary);
  color: #fff;
  border-color: var(--psp-primary);
  box-shadow: 0 4px 12px rgba(36, 20, 95, 0.25);
}

.product-search-input {
  border-radius: var(--psp-radius-full);
  padding: 12px 24px;
  border: 1.5px solid #cbd5e1;
  box-shadow: var(--psp-shadow-sm);
  font-size: 0.95rem;
  transition: var(--psp-transition);
}

.product-search-input:focus {
  border-color: var(--psp-primary);
  box-shadow: 0 0 0 4px rgba(36, 20, 95, 0.12);
  outline: none;
}

/* Modern Product Card */
.modern-product-card {
  background: #fff;
  border-radius: var(--psp-radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: var(--psp-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--psp-transition);
  position: relative;
}

.modern-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(36, 20, 95, 0.18);
  border-color: #cbd5e1;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.product-img-wrapper img {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.modern-product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(36, 20, 95, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--psp-radius-sm);
  backdrop-filter: blur(4px);
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--psp-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.spec-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: var(--psp-radius-sm);
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

/* Section Header */
.section-badge {
  display: inline-block;
  background: rgba(36, 20, 95, 0.08);
  color: var(--psp-primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--psp-radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--psp-primary-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
}

/* Modals */
.modal-psp-header {
  background: linear-gradient(135deg, var(--psp-primary) 0%, var(--psp-primary-dark) 100%);
  color: #fff;
  border-bottom: none;
  padding: 20px 24px;
}

.modal-psp-header .modal-title {
  color: #fff;
  font-weight: 700;
}

.modal-psp-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Footer */
.modern-footer {
  background: #0d0726;
  color: #94a3b8;
  padding: 70px 0 25px;
  border-top: 3px solid var(--psp-brand-purple);
}

.modern-footer h5 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.modern-footer ul {
  list-style: none;
  padding-left: 0;
}

.modern-footer ul li {
  margin-bottom: 10px;
}

.modern-footer ul li a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--psp-transition);
}

.modern-footer ul li a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.modern-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 0.85rem;
}

/* Admin Dashboard Specific Styles */
.admin-sidebar {
  background: #140b38;
  color: #cbd5e1;
  min-height: 100vh;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #cbd5e1;
  border-radius: var(--psp-radius-md);
  margin-bottom: 4px;
  font-weight: 500;
  transition: var(--psp-transition);
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-nav-item.active {
  background: var(--psp-brand-purple);
}

.admin-stat-card {
  background: #fff;
  border-radius: var(--psp-radius-lg);
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--psp-shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--psp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-table-card {
  background: #fff;
  border-radius: var(--psp-radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: var(--psp-shadow-sm);
  overflow: hidden;
}

.admin-table {
  margin-bottom: 0;
}

.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
  padding: 14px 18px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}

.admin-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--psp-radius-sm);
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px;
}

/* Toast Notifications */
.psp-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
}

.psp-toast {
  background: #fff;
  border-radius: var(--psp-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--psp-primary);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  margin-top: 10px;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .modern-nav .nav-link.active::after {
    display: none;
  }
}

/* ==========================================================================
   PSP Instruments Store & E-Commerce Cart Styles
   ========================================================================== */

/* Cart Navigation Button */
.cart-nav-btn {
  background: rgba(36, 20, 95, 0.06);
  border: 1.5px solid rgba(36, 20, 95, 0.2);
  color: var(--psp-primary);
  font-weight: 600;
  border-radius: var(--psp-radius-full);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--psp-transition);
  text-decoration: none;
  cursor: pointer;
}

.cart-nav-btn:hover {
  background: var(--psp-primary);
  color: #fff;
  border-color: var(--psp-primary);
}

.cart-nav-btn .cart-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 9999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  transition: transform 0.2s ease;
}

.cart-nav-btn.bump .cart-badge {
  animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Store Product Card */
.store-product-card {
  background: #ffffff;
  border-radius: var(--psp-radius-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: var(--psp-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.store-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(36, 20, 95, 0.08);
  border-color: var(--psp-brand-purple-light);
}

.store-img-wrapper {
  position: relative;
  background: #f8fafc;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.store-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.store-product-card:hover .store-img-wrapper img {
  transform: scale(1.04);
}

.store-stock-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
}

.store-category-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(36, 20, 95, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.store-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--psp-primary-dark);
  margin-bottom: 6px;
  line-height: 1.35;
  min-height: 44px;
}

.store-product-desc {
  font-size: 0.83rem;
  color: var(--psp-gray-600);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.store-price-box {
  background: #f8fafc;
  border-radius: var(--psp-radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  border: 1px solid #edf2f7;
}

.store-price-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--psp-primary);
}

.store-price-tax {
  font-size: 0.75rem;
  color: var(--psp-gray-400);
  font-weight: 500;
}

/* Quantity Selector Controller */
.qty-controller {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--psp-radius-md);
  background: #fff;
  overflow: hidden;
  height: 38px;
}

.qty-btn {
  background: #f8fafc;
  border: none;
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--psp-primary);
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
}

.qty-btn:hover {
  background: #e2e8f0;
}

.qty-input {
  width: 44px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Store Action Buttons */
.btn-add-to-cart {
  background: linear-gradient(135deg, var(--psp-primary) 0%, var(--psp-primary-light) 100%);
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--psp-radius-md);
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-grow: 1;
  transition: var(--psp-transition);
}

.btn-add-to-cart:hover {
  background: linear-gradient(135deg, var(--psp-primary-dark) 0%, var(--psp-primary) 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 20, 95, 0.25);
}

/* Offcanvas Cart Drawer */
.cart-drawer {
  width: 420px;
  max-width: 95vw;
  border-left: none;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
}

.cart-drawer-header {
  background: linear-gradient(135deg, #170c40 0%, #24145f 100%);
  color: #ffffff;
  padding: 18px 24px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--psp-radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--psp-primary);
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

.cart-item-remove:hover {
  color: #ef4444;
}

/* Checkout Form & Summary Cards */
.checkout-card {
  background: #fff;
  border-radius: var(--psp-radius-lg);
  border: 1px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--psp-shadow-sm);
}

.checkout-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--psp-primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.checkout-step-badge {
  background: var(--psp-primary);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Razorpay Badge & Modal Simulation */
.razorpay-badge-card {
  background: #f0f7ff;
  border: 1.5px solid #bae6fd;
  border-radius: var(--psp-radius-md);
  padding: 14px 18px;
}

.razorpay-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.razorpay-box {
  background: #ffffff;
  border-radius: 14px;
  width: 460px;
  max-width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: rzpPop 0.3s ease;
}

@keyframes rzpPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.razorpay-top {
  background: #0c2340;
  color: #fff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Printable Official GST Tax Invoice */
@media print {
  body * {
    visibility: hidden;
  }
  #invoicePrintArea, #invoicePrintArea * {
    visibility: visible;
  }
  #invoicePrintArea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
  }
  .no-print {
    display: none !important;
  }
}

.invoice-frame {
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  padding: 30px;
  border-radius: var(--psp-radius-md);
}

