/* ==========================================================================
   Sri Bhavani Automobiles - Executive Light Automotive Theme
   Modern, Professional UI with Micro-Animations & Tactile Interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- DESIGN TOKENS & SYSTEM VARIABLES --- */
:root {
  --primary-red: #dc2626;
  --primary-red-hover: #b91c1c;
  --primary-red-light: #fef2f2;
  --primary-red-glow: rgba(220, 38, 38, 0.16);
  --accent-amber: #d97706;
  --surface-white: #ffffff;
  --surface-soft: #f8fafc;
  --surface-card: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --wa-green: #25d366;
  --wa-green-hover: #1eb956;
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(220, 38, 38, 0.04);
  --shadow-float: 0 20px 35px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* --- BASE & TYPOGRAPHY RESETS --- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* --- MODERN SLEEK SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid #f1f5f9;
  transition: background-color 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --- GLASSMORPHISM & STICKY HEADER ACCENTS --- */
.glass-nav {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-logo-img {
  mix-blend-mode: multiply;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .brand-logo-img {
  transform: scale(1.025);
}

.glass-aside {
  background-color: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Nav Link Underline Expansion */
.nav-link-animated {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link-animated::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #dc2626;
  border-radius: 9999px;
  transform: translateX(-50%);
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link-animated:hover::after {
  width: 100%;
}

/* --- LIGHT PROFESSIONAL HERO PATTERN --- */
.light-hero-pattern {
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(220, 38, 38, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(245, 158, 11, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.015) 0%, transparent 70%),
    linear-gradient(#f8fafc 1px, transparent 1px),
    linear-gradient(to right, #f8fafc 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

.light-card-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.light-banner-accent {
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  border: 1px solid #fee2e2;
}

/* --- PRODUCT CARDS: CLEAN, ELEVATED & INTERACTIVE --- */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spare-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  animation: cardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

.spare-card:hover {
  transform: perspective(1000px) translateY(-7px) rotateX(2.5deg) rotateY(-1.5deg) translateZ(8px);
  border-color: rgba(220, 38, 38, 0.32);
  box-shadow: 0 24px 44px -12px rgba(15, 23, 42, 0.1),
              0 10px 20px -8px rgba(220, 38, 38, 0.07),
              0 0 0 1px rgba(220, 38, 38, 0.1);
}

.card-img-zoom {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.spare-card:hover .card-img-zoom {
  transform: scale(1.08) translateZ(12px);
}

/* Subtle Shimmer highlight line on card hover */
.spare-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 15;
}

.spare-card:hover::before {
  left: 150%;
  transition: left 0.85s ease-in-out;
}

/* --- BADGES & CHIPS WITH GLIMMER & VIBRANCY --- */
.brand-pill {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-pill:hover:not(.active) {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.brand-pill.active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3) !important;
  transform: translateY(-1px) scale(1.02);
}

.category-chip {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-chip:hover:not(.active) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #fca5a5;
}
.category-chip.active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.28) !important;
  transform: translateY(-2px);
}
.category-chip.active i {
  color: #ffffff !important;
}

/* OEM & Sale Tags */
.badge-oem {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-sale {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
  border: 1px solid #fecaca;
  font-weight: 800;
}

.badge-popular {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 800;
}

/* --- ANIMATION KEYFRAMES --- */

/* 1. Subtle Infinite Float for Hero / Trust Accents */
@keyframes float-subtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.animate-float-subtle {
  animation: float-subtle 4s ease-in-out infinite;
}
.animate-float-subtle-delayed {
  animation: float-subtle 4.5s ease-in-out infinite;
  animation-delay: 2s;
}

/* --- 3D PERSPECTIVE & DEPTH ENGINE --- */
.card-3d-wrap {
  perspective: 1200px;
}

.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  will-change: transform, box-shadow;
}

.layer-3d-10 { transform: translateZ(10px); }
.layer-3d-20 { transform: translateZ(20px); }
.layer-3d-30 { transform: translateZ(30px); }
.layer-3d-40 { transform: translateZ(40px); }

/* 3D Floating Pill Animation */
@keyframes float3D {
  0%, 100% {
    transform: perspective(800px) translateY(0) rotateX(0deg) rotateY(0deg) translateZ(18px);
    box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.95);
  }
  50% {
    transform: perspective(800px) translateY(-9px) rotateX(5deg) rotateY(-4deg) translateZ(32px);
    box-shadow: 0 24px 40px -10px rgba(220, 38, 38, 0.14), 0 0 0 1px rgba(255, 255, 255, 1);
  }
}
.animate-float-3d {
  animation: float3D 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-style: preserve-3d;
}
.animate-float-3d-delayed {
  animation: float3D 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 2.1s;
  transform-style: preserve-3d;
}

/* 3D Rotating Holographic Badge */
@keyframes rotateY3D {
  0% { transform: perspective(800px) rotateY(0deg) rotateX(4deg); }
  50% { transform: perspective(800px) rotateY(180deg) rotateX(-4deg); }
  100% { transform: perspective(800px) rotateY(360deg) rotateX(4deg); }
}
.animate-rotate-3d {
  animation: rotateY3D 16s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-style: preserve-3d;
}

/* 3D Tactile Push Buttons */
.btn-3d {
  position: relative;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 0 #991b1b, 0 10px 18px -4px rgba(220, 38, 38, 0.28);
}
.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #991b1b, 0 14px 24px -5px rgba(220, 38, 38, 0.38);
}
.btn-3d:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #991b1b, 0 4px 8px -2px rgba(220, 38, 38, 0.22);
}

.btn-emerald-3d {
  position: relative;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 0 #047857, 0 10px 18px -4px rgba(16, 185, 129, 0.28);
}
.btn-emerald-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #047857, 0 14px 24px -5px rgba(16, 185, 129, 0.38);
}
.btn-emerald-3d:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #047857, 0 4px 8px -2px rgba(16, 185, 129, 0.22);
}

/* Infinite Brand Marquee Ticker */
@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-content {
  display: flex;
  gap: 1rem;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Glass Floating Pills */
.glass-pill {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

/* Ambient Card Border Glow */
.card-ambient-glow {
  position: relative;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -10px rgba(220, 38, 38, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-ambient-glow:hover {
  border-color: #fca5a5;
  box-shadow: 0 16px 36px -10px rgba(220, 38, 38, 0.12), 0 6px 12px -2px rgba(0, 0, 0, 0.04);
}

/* 2. Slow Logo Cog Spin */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-spin-slow {
  animation: spinSlow 22s linear infinite;
}
.group:hover .animate-spin-slow {
  animation-duration: 7s;
}

/* 3. Pulse Ring for WhatsApp & Live Status */
@keyframes pulse-ring-anim {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.pulse-ring {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  top: 0;
  left: 0;
  animation: pulse-ring-anim 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.pulse-ring-delayed {
  animation-delay: 1.2s;
}

/* 4. Cart Badge Pop / Jiggle Animation on Add */
@keyframes badgePop {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
  75% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.badge-bounce {
  animation: badgePop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

/* 5. Glimmer / Shimmer Banner Animation */
@keyframes shimmerSweep {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.shimmer-active {
  background: linear-gradient(
    90deg,
    rgba(220, 38, 38, 0.08) 0%,
    rgba(220, 38, 38, 0.22) 50%,
    rgba(220, 38, 38, 0.08) 100%
  );
  background-size: 200% 100%;
  animation: shimmerSweep 3s infinite linear;
}

/* 6. Soft Radar Beacon for Live Dispatch */
.radar-beacon {
  position: relative;
  display: inline-flex;
}
.radar-beacon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background-color: currentColor;
  opacity: 0.45;
  animation: radar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes radar-ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* 7. Slide In Toast */
@keyframes slideInToast {
  from {
    transform: translateY(24px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* 8. Fade In Scale for Modals */
@keyframes modalEntry {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- FLOATING WHATSAPP BUTTON --- */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.wa-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 18px 36px -4px rgba(37, 211, 102, 0.6);
}

.wa-float-btn:active {
  transform: scale(0.96);
}

/* Floating WhatsApp Tooltip Pill */
.wa-tooltip {
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  pointer-events: none;
}
.wa-float-btn:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- INTERACTIVE BUTTON PRESS STATES --- */
button, .btn-press {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
button:active, .btn-press:active {
  transform: scale(0.97);
}

/* Primary Button Red Gradient Glow */
.btn-primary-glow {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.28);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary-glow:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.42);
  transform: translateY(-1.5px);
}
.btn-primary-glow:active {
  transform: scale(0.98);
}

/* Secondary Emerald Button Glow */
.btn-emerald-glow {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-emerald-glow:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.38);
  transform: translateY(-1.5px);
}

/* --- DRAWER & MODAL TRANSITIONS --- */
.drawer-backdrop {
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px -5px rgba(15, 23, 42, 0.15);
}

.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

.modal-overlay {
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.94) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1),
              opacity 0.25s ease;
}

.modal-overlay.open .modal-content {
  transform: scale(1) translateY(0);
}

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: slideInToast 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12),
              0 4px 12px -2px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- TRUST & STATS CARDS HOVER ELEVATION WITH 3D DEPTH --- */
.stat-card-elevate {
  perspective: 800px;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  will-change: transform, box-shadow;
}
.stat-card-elevate:hover {
  transform: perspective(800px) translateY(-5px) rotateX(3deg) translateZ(6px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}

/* Category grid tile hover with 3D Depth */
.category-card-tile {
  perspective: 800px;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease;
  will-change: transform, box-shadow;
}
.category-card-tile:hover {
  transform: perspective(800px) translateY(-7px) rotateX(4deg) translateZ(10px);
  border-color: #fca5a5;
  background-color: #ffffff;
  box-shadow: 0 20px 35px -8px rgba(220, 38, 38, 0.12), 0 0 0 1px rgba(220, 38, 38, 0.1);
}

/* Input Focus Glow */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* --- PRINT RECEIPT STYLING --- */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt, #printable-receipt * {
    visibility: visible;
  }
  #printable-receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* ======================================================== */
/* --- DASHBOARD SECTION & PORTAL ENHANCEMENTS --- */
/* ======================================================== */
.dashboard-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.dashboard-card:hover {
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

.dashboard-tab-btn {
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.dashboard-tab-btn.active {
  color: #dc2626;
  border-bottom-color: #dc2626;
  background-color: #fef2f2;
}

.stock-counter-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: #1e293b;
  transition: all 0.15s ease;
}

.stock-counter-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  transform: scale(1.08);
}

.badge-pulse {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

