/* ============================================
   GLOBAL COLOR SYSTEM - KONEX Brand Theme
   Based on Logo + Website Gradient
   ============================================ */
:root {
  /* Primary Brand Color - Logo K Alphabet */
  --primary: #393A3D; /* Logo K Color - Dark Charcoal */
  --primary-hover: #2D2E30; /* Darker on hover */
  --primary-light: #F5F5F5; /* Light gray tint */
  --primary-dark: #1F1F20; /* Darker shade */
  
  /* Accent Colors - Keep cyan for highlights */
  --accent-cyan: #2EC5CE; /* KONEX Cyan */
  
  /* Gradient Colors - Use primary with accent */
  --primary-gradient-start: #393A3D; /* Logo K Color */
  --primary-gradient-mid: #4A4B4E; /* Medium gray */
  --primary-gradient-end: #2EC5CE; /* Cyan accent */
  
  /* Status Colors */
  --success: #16A34A; /* Green */
  --success-hover: #15803D;
  --danger: #DC2626; /* Red */
  --danger-hover: #B91C1C;
  --warning: #F59E0B; /* Amber */
  --info: #2EC5CE; /* KONEX Cyan */
  
  /* Background Colors */
  --background: #FFFFFF; /* Card Background */
  --section-bg: #F8FAFC; /* Page Background - Light Gray Blue */
  --card-bg: #FFFFFF;
  
  /* Text Colors */
  --text-primary: #393A3D; /* Logo K Color - Headers */
  --text-secondary: #475569; /* Neutral Gray - Body */
  --text-muted: #94A3B8; /* Soft Gray - Labels */
  --text-light: #FFFFFF;
  
  /* Border Colors */
  --border-color: #E5E7EB; /* Subtle Border */
  --border-light: #F1F5F9;
  
  /* Shadow with dark gray tint */
  --shadow-sm: 0 2px 8px rgba(57, 58, 61, 0.08);
  --shadow: 0 10px 30px rgba(57, 58, 61, 0.08);
  --shadow-lg: 0 15px 40px rgba(57, 58, 61, 0.12);
}

/* Bootstrap Color Overrides */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-mid) 50%, var(--primary-gradient-end) 100%) !important;
  border: none !important;
  color: var(--text-light) !important;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #2D2E30 0%, #3A3B3E 50%, #2AB8C1 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 58, 61, 0.3);
}

.btn-outline-primary {
  background-color: #FFFFFF !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary-light) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.15);
}

/* Cart Icon Button - Always show hover styles */
.btn-outline-primary[href="cart.html"],
.btn-outline-primary[href*="cart.html"] {
  background-color: var(--primary) !important;
  border: none !important;
  color: var(--text-light) !important;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.2);
}

.btn-outline-primary[href="cart.html"]:hover,
.btn-outline-primary[href*="cart.html"]:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 58, 61, 0.3);
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.badge.bg-danger {
  background-color: var(--danger) !important;
  color: white;
  font-weight: 600;
  padding: 0.35em 0.65em;
}

.badge.bg-success {
  background-color: var(--success) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 9999px; /* Rounded pill style */
  padding: 0.35em 0.65em;
}

.badge.bg-info {
  background-color: var(--info) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 9999px; /* Rounded pill style */
  padding: 0.35em 0.65em;
}

/* Certified / Warranty Badges */
.badge:has-text("Certified"),
.badge:has-text("Warranty") {
  background-color: #16A34A !important;
  color: white !important;
  border-radius: 9999px;
  padding: 0.35em 0.65em;
  font-weight: 600;
}

.badge.bg-warning {
  background-color: var(--warning) !important;
  color: #0F172A;
  font-weight: 600;
}

.btn-secondary {
  background-color: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
  color: var(--primary) !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #E8E8E8 !important;
  border-color: #E8E8E8 !important;
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.2);
}

.btn-danger {
  background-color: var(--danger) !important;
  border-color: var(--danger) !important;
  color: #FFFFFF !important;
  font-weight: 600;
}

/* Typography */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-secondary);
  background-color: var(--section-bg);
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

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

/* Custom Utilities */
.bg-section {
  background-color: var(--section-bg);
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Card Enhancements */
.card {
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--card-bg);
  box-shadow: 0 10px 30px rgba(57, 58, 61, 0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(57, 58, 61, 0.12) !important;
  border-color: var(--primary-light);
}

/* Sale/Deal Highlights */
.text-decoration-line-through {
  color: var(--text-muted) !important;
}

/* Price Display - Make it stand out */
.h5.text-primary,
.h2.text-primary,
.h6.text-primary,
.text-primary,
.price-text {
  color: var(--primary) !important;
  font-weight: 700;
}

/* Card Title Styling */
.card-title,
.card h5,
.card h4,
.product-card-enhanced h5 {
  color: var(--text-primary) !important;
  font-weight: 600;
}

/* Card Header Titles - White text on gradient backgrounds */
.card-header.bg-gradient-primary .card-title,
.card-header.bg-gradient-primary h1,
.card-header.bg-gradient-primary h2,
.card-header.bg-gradient-primary h3,
.card-header.bg-gradient-primary h4,
.card-header.bg-gradient-primary h5,
.card-header.bg-gradient-primary h6,
.card-header .card-title,
.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6,
.bg-gradient-primary .card-title,
.bg-gradient-primary h1,
.bg-gradient-primary h2,
.bg-gradient-primary h3,
.bg-gradient-primary h4,
.bg-gradient-primary h5,
.bg-gradient-primary h6,
.card.bg-gradient-primary .card-title,
.card.bg-gradient-primary h1,
.card.bg-gradient-primary h2,
.card.bg-gradient-primary h3,
.card.bg-gradient-primary h4,
.card.bg-gradient-primary h5,
.card.bg-gradient-primary h6 {
  color: #FFFFFF !important;
}

/* Wizard Step Headers - White text on gradient */
.wizard-step .card-header.bg-gradient-primary h4,
.wizard-step .card-header.bg-gradient-primary h5,
.wizard-step .bg-gradient-primary h4,
.wizard-step .bg-gradient-primary h5 {
  color: #FFFFFF !important;
}

/* Special Deal Badges */
.badge.bg-danger {
  background-color: var(--danger) !important;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Hero Section - Stunning Modern Design */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 0 50px 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-mid) 45%, var(--primary-gradient-end) 100%);
  z-index: 0;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(57, 58, 61, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(57, 58, 61, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(46, 197, 206, 0.2) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

@keyframes heroPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
  font-weight: 700;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-cta {
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 0.75rem;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
}

.btn-light:hover {
  background-color: #ffffff !important;
  color: var(--primary-hover) !important;
  border-color: #ffffff !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Decorative Elements */
.hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero-decoration-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(57, 58, 61, 0.3) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-decoration-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: 10%;
  background: radial-gradient(circle, rgba(57, 58, 61, 0.2) 0%, transparent 70%);
  animation-delay: 2s;
}

.hero-decoration-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 15%;
  background: radial-gradient(circle, rgba(46, 197, 206, 0.25) 0%, transparent 70%);
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(20px) rotate(-5deg);
  }
}

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

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 10px 25px rgba(57, 58, 61, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.9s ease-out;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-desktop {
  position: absolute;
  right: 6%;
  bottom: -40px;
  width: 520px;
}

/* Trust Indicators in Hero */
.hero-section .display-6 {
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: countUp 1s ease-out;
}

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

/* Badge in Hero */
.hero-section .badge {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 0.6s ease-out;
}

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

/* Responsive Hero Section */
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 70px 0 40px 0;
  }
  
  .hero-image-wrapper {
    margin-top: 40px;
    padding: 15px;
  }
  
  .hero-photo {
    transform: scale(1);
  }
  
  .hero-photo img {
    min-height: 400px;
  }
  
  .hero-image-badge {
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 40px 0;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-decoration {
    display: none;
  }
  
  .hero-section .display-6 {
    font-size: 2rem;
  }
  
  .hero-image-wrapper {
    padding: 10px;
  }
  
  .hero-photo {
    border-radius: 16px;
  }
  
  .hero-photo img {
    border-radius: 12px;
    min-height: 300px;
  }
  
  .hero-photo {
    transform: scale(1);
  }
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  padding: 10px;
}

.hero-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  animation: fadeInRight 0.8s ease-out;
  transform: scale(1.05);
}

.hero-photo:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-photo img {
  width: 100%;
  height: auto;
  min-height: 500px;
  display: block;
  border-radius: 24px;
  object-fit: cover;
}

/* Floating Badge on Hero Image */
.hero-image-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  animation: fadeInUp 1s ease-out 0.3s both;
  z-index: 2;
}

.hero-image-badge svg {
  color: var(--primary);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Section Backgrounds */
.bg-light {
  background-color: var(--section-bg) !important;
}

/* Section Backgrounds */
section.bg-light {
  background: var(--section-bg) !important;
}

/* Navbar Enhancements */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.98) !important;
  z-index: 1030;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary) !important;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Button Enhancements */
.btn {
  font-weight: 600;
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 10px;
}

/* Circular Number Badges */
.bg-primary.text-white.rounded-circle {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%) !important;
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.3);
  transition: all 0.2s ease;
}

.bg-primary.text-white.rounded-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(57, 58, 61, 0.4);
}

/* Icon Colors */
svg.text-primary {
  color: var(--primary) !important;
}

/* Footer Links */
footer a {
  transition: all 0.2s ease;
}

footer a:hover {
  color: var(--primary) !important;
  transform: translateX(3px);
}

/* Accordion Enhancements */
.accordion-button {
  color: var(--text-primary);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--primary);
}

.accordion-button:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(57, 58, 61, 0.2);
}

/* Pagination */
.page-link {
  color: var(--primary);
  border-color: var(--border-color);
}

.page-link:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transition: all 0.2s ease;
}

.page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Form Elements */
.form-control {
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(57, 58, 61, 0.2);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-select {
  border-radius: 10px;
  transition: all 0.2s ease;
}

/* Breadcrumb */
.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Buy Page Enhancements */
.page-header-section {
  background: var(--section-bg);
  border-bottom: 1px solid var(--border-color) !important;
}

.filter-card {
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  overflow: hidden;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-mid) 45%, var(--primary-gradient-end) 100%) !important;
}

.product-card-enhanced {
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(57, 58, 61, 0.12) !important;
  border-color: var(--primary-light) !important;
}

.product-image-wrapper {
  background: var(--section-bg) !important;
  position: relative;
  overflow: hidden;
}

.product-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(57, 58, 61, 0.05) 0%, rgba(57, 58, 61, 0.05) 50%, rgba(46, 197, 206, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-card-enhanced:hover .product-image-wrapper::before {
  opacity: 1;
}

.product-badge-top {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  animation: pulse 2s infinite;
}

.bg-gradient-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Form Check Enhancements */
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(57, 58, 61, 0.2);
}

.form-check-label {
  cursor: pointer;
  transition: color 0.2s ease;
}

.form-check:hover .form-check-label {
  color: var(--primary);
}

/* Sticky Filter Adjustment */
.sticky-top {
  z-index: 1020;
}

/* Product Detail Page Enhancements */
.product-main-image {
  position: relative;
  transition: all 0.3s ease;
}

.product-main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 70px rgba(57, 58, 61, 0.12) !important;
}

.product-image-badge-main {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  animation: pulse 2s infinite;
}

.product-thumbnail {
  transition: all 0.3s ease;
}

.product-thumbnail:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(57, 58, 61, 0.15);
}

.product-thumbnail.border-primary {
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.15);
}

/* Specification Cards */
.spec-card {
  transition: all 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

/* Cart Page Enhancements */
.cart-item {
  transition: all 0.2s ease;
  border-radius: 16px !important;
  border: 1px solid var(--border-color) !important;
}

.cart-item:hover {
  box-shadow: 0 10px 30px rgba(57, 58, 61, 0.08) !important;
  border-color: var(--primary-light) !important;
  transform: translateY(-2px);
}

.quantity-btn {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  font-weight: 600;
  min-width: 40px;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background-color: var(--primary) !important;
  color: white !important;
  transform: scale(1.1);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.remove-btn {
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-weight: 600;
}

.remove-btn:hover {
  color: var(--danger) !important;
  transform: translateX(-2px);
}

.remove-btn:active {
  transform: translateX(0);
}

/* Cart Summary Card */
.sticky-top .card {
  border-radius: 16px !important;
  overflow: hidden;
}

/* Promo Code Input */
#promo-code:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(57, 58, 61, 0.2);
}

/* Empty Cart Styling */
#empty-cart svg {
  opacity: 0.5;
}

/* Responsive Cart */
@media (max-width: 768px) {
  .cart-item .row > div {
    margin-bottom: 1rem;
  }
  
  .quantity-btn {
    min-width: 35px;
    padding: 0.25rem 0.5rem;
  }
}

/* Checkout Page Enhancements */
.payment-option {
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-option:hover {
  border-color: var(--primary) !important;
  background: var(--primary-light) !important;
  transform: translateX(5px);
  transition: all 0.2s ease;
}

.payment-option input[type="radio"]:checked + label {
  color: var(--primary);
}

.payment-option input[type="radio"]:checked ~ .payment-option {
  border-color: var(--primary) !important;
  background: rgba(74, 60, 255, 0.1) !important;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.2s ease;
}

.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(57, 58, 61, 0.2);
}

/* Order Confirmation Page */
.success-icon-wrapper {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--success) 0%, #15803D 100%);
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(22, 163, 74, 0.3);
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(22, 163, 74, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(22, 163, 74, 0.4);
  }
}

/* Form Validation */
.is-invalid {
  border-color: var(--danger) !important;
}

.is-invalid:focus {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.25) !important;
}

/* Sell Page - Multi-Step Wizard */
.wizard-step {
  animation: fadeIn 0.4s ease-in;
}

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

/* Progress Steps */
.step-indicator {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 10px;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.step-indicator.active .step-circle {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(57, 58, 61, 0.3);
  transform: scale(1.1);
}

.step-indicator.active .step-label {
  color: var(--primary);
  font-weight: 700;
}

.step-indicator.completed .step-circle {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-indicator.completed .step-label {
  color: var(--success);
}

/* Progress Line */
.progress-line {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-color);
  z-index: 1;
  border-radius: 2px;
  --progress: 0%;
}

.progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--progress);
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-gradient-mid) 50%, var(--primary-gradient-end) 100%);
  border-radius: 2px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(57, 58, 61, 0.25);
}

/* Radio Button Groups */
.btn-group-vertical .btn-check:checked + .btn-outline-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%) !important;
  border-color: var(--primary) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.2);
}

.btn-group-vertical .btn-outline-primary {
  border-radius: 0.5rem !important;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.btn-group-vertical .btn-outline-primary:hover {
  background-color: var(--primary-light) !important;
  border-color: var(--primary) !important;
  transform: translateX(5px);
}

/* Condition Selection Buttons */
.btn-check:checked + .btn-outline-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%) !important;
  border-color: var(--primary) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(57, 58, 61, 0.25);
  transform: scale(1.02);
}

.btn-check + .btn-outline-primary:hover {
  background-color: var(--primary-light) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
}

/* Price Display */
.price-display {
  padding: 2rem;
  background: var(--primary-light);
  border-radius: 16px;
  border: 1px solid rgba(57, 58, 61, 0.2);
}

/* Shipping Instructions Cards */
.shipping-step-card {
  transition: all 0.3s ease;
}

.shipping-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08) !important;
}

/* Responsive Wizard */
@media (max-width: 768px) {
  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
  
  .progress-line {
    top: 20px;
  }
  
  .step-indicator.active::before {
    top: 20px;
  }
}

/* ============================================
   REPAIR PAGES STYLES
   ============================================ */

/* Repair Option Cards */
.repair-option {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color) !important;
  height: 100%;
}

.repair-option:hover {
  border-color: var(--primary) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(57, 58, 61, 0.08) !important;
}

.btn-check:checked + .repair-option {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%) !important;
  border-color: var(--primary) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgba(57, 58, 61, 0.25) !important;
  transform: translateY(-5px) scale(1.02);
}

.btn-check:checked + .repair-option svg,
.btn-check:checked + .repair-option h6,
.btn-check:checked + .repair-option p {
  color: white !important;
}

/* Repair Addon Checkboxes */
.repair-addon {
  transition: all 0.3s ease;
  cursor: pointer;
}

.repair-addon:hover {
  border-color: var(--primary) !important;
  background: var(--primary-light) !important;
  transform: translateX(5px);
}

.repair-addon .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.repair-addon .form-check-input:checked ~ .form-check-label {
  color: var(--primary);
}

/* Success Icon Animation */
.success-icon-wrapper {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--success) 0%, #15803D 100%);
  border-radius: 50%;
  animation: successPulse 2s ease-in-out infinite;
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.3);
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.4);
  }
}

/* Repair Form Enhancements */
.form-control-lg:focus,
.form-select-lg:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(57, 58, 61, 0.2);
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.form-control.is-invalid:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

/* Repair Summary Card */
.card.sticky-top {
  transition: all 0.3s ease;
}

/* Repair Type Radio Buttons */
input[type="radio"][name="repair-type"]:checked + label {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%) !important;
  border-color: var(--primary) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(57, 58, 61, 0.25) !important;
}

input[type="radio"][name="repair-type"] + label:hover {
  border-color: var(--primary) !important;
  background-color: var(--primary-light) !important;
  transform: translateY(-2px);
}

/* Repair Confirmation Page */
.repair-confirmation-section {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Responsive Repair Pages */
@media (max-width: 768px) {
  .repair-option {
    margin-bottom: 1rem;
  }
  
  .success-icon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .success-icon-wrapper svg {
    width: 60px;
    height: 60px;
  }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */

/* FAQ Navigation Links */
.faq-nav-link {
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: transparent;
}

.faq-nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 1.5rem !important;
}

.faq-nav-link.active {
  background: rgba(57, 58, 61, 0.1);
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--primary);
}

/* Accordion Styling */
.accordion-button {
  background-color: white;
  color: var(--text-dark);
  font-weight: 600;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(57, 58, 61, 0.2);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23393A3D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23393A3D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-item {
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-nav-link {
    font-size: 0.9rem;
    padding: 0.75rem 1rem !important;
  }
}

/* ============================================
   AUTHENTICATION PAGES STYLES
   ============================================ */

/* Password Toggle Button */
.btn-link.position-absolute {
  z-index: 10;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.btn-link.position-absolute:hover {
  color: var(--primary);
}

/* Password Strength Indicator */
.progress {
  background-color: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  transition: all 0.3s ease;
}

/* Social Login Buttons */
.btn-outline-secondary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57, 58, 61, 0.15);
}

/* Form Validation */
.form-control.is-invalid {
  border-color: var(--danger);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

/* Password Requirements */
#req-length svg,
#req-uppercase svg,
#req-lowercase svg,
#req-number svg {
  transition: all 0.3s ease;
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
  .card-body {
    padding: 1.5rem !important;
  }
}

/* ============================================
   DASHBOARD PAGE STYLES
   ============================================ */

/* Dashboard Navigation Links */
.dashboard-nav-link {
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: transparent;
}

.dashboard-nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 1.5rem !important;
}

.dashboard-nav-link.active {
  background: rgba(57, 58, 61, 0.1);
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--primary);
}

/* Order Timeline */
.order-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0;
}

.order-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.timeline-item {
  position: relative;
  flex: 1;
  text-align: center;
  z-index: 1;
}

.timeline-item:not(:last-child) {
  margin-right: 1rem;
}

.timeline-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border-color);
  border: 3px solid white;
  margin: 0 auto 8px auto;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item.completed .timeline-marker {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.timeline-item.completed .timeline-marker::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.timeline-item.active .timeline-marker {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-gradient-end) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(57, 58, 61, 0.2);
  animation: pulse 2s infinite;
}

.timeline-item.active .timeline-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(57, 58, 61, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(57, 58, 61, 0.1);
  }
}

.timeline-content {
  margin-top: 8px;
}

.timeline-item.completed .timeline-content p:first-child {
  color: var(--success);
}

.timeline-item.active .timeline-content p:first-child {
  color: var(--primary);
  font-weight: 600;
}

/* Order Cards */
.order-card {
  transition: all 0.3s ease;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(57, 58, 61, 0.08) !important;
}

/* Dashboard Sections */
.dashboard-section {
  animation: fadeInUp 0.5s ease-out;
}

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

/* Stats Cards */
.card[style*="background: linear-gradient"] {
  transition: all 0.3s ease;
}

.card[style*="background: linear-gradient"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(57, 58, 61, 0.12) !important;
}

/* Address Cards */
.card.shadow-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(57, 58, 61, 0.12) !important;
}

/* Form Switches */
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(57, 58, 61, 0.2);
}

/* Responsive Dashboard */
@media (max-width: 768px) {
  .order-timeline {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-timeline::before {
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%;
  }

  .timeline-item {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .timeline-marker {
    margin: 0 1rem 0 0;
    flex-shrink: 0;
  }

  .timeline-content {
    margin-top: 0;
    flex: 1;
  }

  .dashboard-nav-link {
    font-size: 0.9rem;
    padding: 0.75rem 1rem !important;
  }
}
