/* ============================================
   Electronics E-commerce - Modern UI Styles
   Mobile-First, Bootstrap 5 Compatible
   Production Ready - Version 2.0
   ============================================ */

/* ===== Skip to Main Content (Accessibility) ===== */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em 1.5em;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ===== Accessibility Improvements ===== */
/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --border-color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation - Enhanced Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 5px var(--primary-color);
}

/* Enhanced focus styles for interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 5px var(--primary-color);
    position: relative;
}

/* Remove default focus outline for mouse users but keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced keyboard navigation for buttons */
button:not(:disabled):hover,
a:not([aria-disabled="true"]):hover {
    cursor: pointer;
    transition: all 0.2s ease;
}

button:not(:disabled):active,
a:not([aria-disabled="true"]):active {
    transform: scale(0.98);
}

/* Improved color contrast for better accessibility */
.btn-add-cart,
.btn-view-details,
.btn-primary {
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    min-height: 44px; /* Touch target size for mobile */
    min-width: 44px;
}

.btn-add-cart:hover,
.btn-view-details:hover,
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    opacity: 0.95;
}

/* Ensure sufficient contrast for text */
body {
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
}

/* Links must have sufficient contrast */
a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--primary-dark);
    text-decoration-thickness: 3px;
}

a:focus-visible {
    background-color: var(--primary-lightest);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Screen reader only text - Enhanced */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ARIA live regions for dynamic content */
[aria-live] {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

[aria-live]:not([aria-live="off"]) {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
}

/* ===== CSS Variables for Theme Switching ===== */
:root {
  /* Default Theme: Blue & White */
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-lightest: #eff6ff;
  --secondary-color: #ffffff;
  --accent-color: #60a5fa;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --border-color: #e5e7eb;
  --shadow: rgba(37, 99, 235, 0.1);
  --hover-shadow: rgba(37, 99, 235, 0.2);
}

/* Theme 2: White & Orange */
[data-theme="orange"] {
  --primary-color: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fb923c;
  --primary-lightest: #fff7ed;
  --secondary-color: #ffffff;
  --accent-color: #fdba74;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #fff7ed;
  --border-color: #fed7aa;
  --shadow: rgba(249, 115, 22, 0.1);
  --hover-shadow: rgba(249, 115, 22, 0.2);
}

/* Theme 3: Red & Black */
[data-theme="red-black"] {
  --primary-color: #dc2626;
  --primary-dark: #991b1b;
  --primary-light: #ef4444;
  --primary-lightest: #fee2e2;
  --secondary-color: #000000;
  --accent-color: #f87171;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --bg-primary: #1f2937;
  --bg-secondary: #111827;
  --border-color: #374151;
  --shadow: rgba(220, 38, 38, 0.2);
  --hover-shadow: rgba(220, 38, 38, 0.3);
}

/* Theme 4: Dark Blue & Light Sky Blue */
[data-theme="blue-sky"] {
  --primary-color: #1e3a8a;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-lightest: #e0f2fe;
  --secondary-color: #e0f2fe;
  --accent-color: #7dd3fc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --bg-primary: #ffffff;
  --bg-secondary: #f0f9ff;
  --border-color: #bae6fd;
  --shadow: rgba(30, 58, 138, 0.1);
  --hover-shadow: rgba(30, 58, 138, 0.2);
}

/* Theme 5: Parrot Green & Black */
[data-theme="green-black"] {
  --primary-color: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #4ade80;
  --primary-lightest: #dcfce7;
  --secondary-color: #000000;
  --accent-color: #86efac;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --bg-primary: #1f2937;
  --bg-secondary: #111827;
  --border-color: #374151;
  --shadow: rgba(34, 197, 94, 0.2);
  --hover-shadow: rgba(34, 197, 94, 0.3);
}

/* Theme 6: Dark Green & White */
[data-theme="dark-green"] {
  --primary-color: #065f46;
  --primary-dark: #047857;
  --primary-light: #059669;
  --primary-lightest: #f0fdf4;
  --secondary-color: #ffffff;
  --accent-color: #6ee7b7;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f0fdf4;
  --border-color: #bbf7d0;
  --shadow: rgba(6, 95, 70, 0.1);
  --hover-shadow: rgba(6, 95, 70, 0.2);
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Global Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Apply animations to elements */
.product-card {
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.category-card {
  animation: scaleIn 0.5s ease-out;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
  animation: pulse 1s ease-in-out infinite;
}

.sidebar-filter {
  animation: slideInLeft 0.5s ease-out;
}

.products-header {
  animation: fadeIn 0.6s ease-out;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Navbar ===== */
.navbar {
  background-color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  overflow: visible;
}

/* Top Contact Bar */
.top-contact-bar {
  background: var(--bg-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.top-contact-bar .contact-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.top-contact-bar .contact-info::-webkit-scrollbar {
  display: none;
}

.top-contact-bar .contact-info {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.top-contact-bar .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 0.25rem 0;
  min-width: fit-content;
  line-height: 1.4;
}

/* Footer location link hover effect */
.footer-column a[href*="maps.app.goo.gl"]:hover {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

.top-contact-bar .contact-item:hover {
  color: var(--primary-color);
}

.top-contact-bar .contact-item i {
  color: var(--primary-color);
  font-size: 0.875rem;
  width: 16px;
  min-width: 16px;
  text-align: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-contact-bar .social-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.top-contact-bar .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  /* Neumorphic/Infographic Shadow Effect - Modern & Classy - HIGHLY VISIBLE */
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.2),
    -6px -6px 12px rgba(255, 255, 255, 1),
    inset 4px 4px 8px rgba(0, 0, 0, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 1),
    0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.top-contact-bar .social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(10 81 234 / 18%), #059eff26);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}

.top-contact-bar .social-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -2;
  filter: blur(8px);
}

.top-contact-bar .social-icon:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  transform: translateY(-5px) scale(1.1);
  /* Enhanced infographic shadow on hover - HIGHLY VISIBLE */
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.25),
    -4px -4px 12px rgba(255, 255, 255, 0.6),
    0 16px 32px var(--shadow),
    0 8px 16px var(--hover-shadow),
    0 0 20px rgba(37, 99, 235, 0.4),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.top-contact-bar .social-icon:hover::before {
  width: 120%;
  height: 120%;
  opacity: 1;
}

.top-contact-bar .social-icon:hover::after {
  opacity: 0.6;
}

.top-contact-bar .social-icon:active {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.15),
    -2px -2px 4px rgba(255, 255, 255, 0.4),
    0 6px 16px var(--shadow),
    inset 3px 3px 6px rgba(0, 0, 0, 0.1);
}

/* Top Contact Bar - Social Icon Brand Colors on Hover */
.top-contact-bar .social-icon:hover i.fa-facebook-f {
  color: white;
}

.top-contact-bar .social-icon:hover i.fa-twitter,
.top-contact-bar .social-icon:hover i.fa-x-twitter,
.top-contact-bar .social-icon:hover span {
  color: white;
}

.top-contact-bar .social-icon:hover i.fa-instagram {
  color: white;
}

.top-contact-bar .social-icon:hover i.fa-linkedin-in {
  color: white;
}

.top-contact-bar .social-icon:hover i.fa-whatsapp {
  color: white;
}

/* Facebook Hover */
.top-contact-bar .social-icon[aria-label="Facebook"]:hover,
.top-contact-bar .social-icon:has(i.fa-facebook-f):hover {
  background: #1877F2;
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.25),
    -4px -4px 12px rgba(255, 255, 255, 0.6),
    0 16px 32px rgba(24, 119, 242, 0.4),
    0 8px 16px rgba(24, 119, 242, 0.3),
    0 0 20px rgba(24, 119, 242, 0.5),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);
}

.top-contact-bar .social-icon[aria-label="Facebook"]:hover::after,
.top-contact-bar .social-icon:has(i.fa-facebook-f):hover::after {
  background: linear-gradient(135deg, #1877F2, #0d5fcc);
  opacity: 0.6;
}

/* X (Twitter) Hover */
.top-contact-bar .social-icon[aria-label="X"]:hover,
.top-contact-bar .social-icon[aria-label="Twitter"]:hover,
.top-contact-bar .social-icon:has(i.fa-twitter):hover,
.top-contact-bar .social-icon:has(i.fa-x-twitter):hover,
.top-contact-bar .social-icon:has(span):hover {
  background: #000000;
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.25),
    -4px -4px 12px rgba(255, 255, 255, 0.6),
    0 16px 32px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 0, 0, 0.5),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);
}

.top-contact-bar .social-icon[aria-label="X"]:hover::after,
.top-contact-bar .social-icon[aria-label="Twitter"]:hover::after,
.top-contact-bar .social-icon:has(i.fa-twitter):hover::after,
.top-contact-bar .social-icon:has(i.fa-x-twitter):hover::after,
.top-contact-bar .social-icon:has(span):hover::after {
  background: linear-gradient(135deg, #000000, #333333);
  opacity: 0.6;
}

/* Instagram Hover - Exact Instagram Logo Gradient (Radial from bottom-left) */
.top-contact-bar .social-icon[aria-label="Instagram"]:hover,
.top-contact-bar .social-icon:has(i.fa-instagram):hover {
  background: radial-gradient(circle farthest-corner at 20% 80%, #FEDA75 0%, #FA7E1E 20%, #D62976 40%, #962FBF 70%, #4F5BD5 100%);
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.25),
    -4px -4px 12px rgba(255, 255, 255, 0.6),
    0 16px 32px rgba(150, 47, 191, 0.4),
    0 8px 16px rgba(214, 41, 118, 0.3),
    0 0 20px rgba(79, 91, 213, 0.5),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);
}

.top-contact-bar .social-icon[aria-label="Instagram"]:hover::after,
.top-contact-bar .social-icon:has(i.fa-instagram):hover::after {
  background: radial-gradient(circle farthest-corner at 20% 80%, #FEDA75 0%, #FA7E1E 20%, #D62976 40%, #962FBF 70%, #4F5BD5 100%);
  opacity: 0.6;
}

/* LinkedIn Hover */
.top-contact-bar .social-icon[aria-label="LinkedIn"]:hover,
.top-contact-bar .social-icon:has(i.fa-linkedin-in):hover {
  background: #0077B5;
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.25),
    -4px -4px 12px rgba(255, 255, 255, 0.6),
    0 16px 32px rgba(0, 119, 181, 0.4),
    0 8px 16px rgba(0, 119, 181, 0.3),
    0 0 20px rgba(0, 119, 181, 0.5),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);
}

.top-contact-bar .social-icon[aria-label="LinkedIn"]:hover::after,
.top-contact-bar .social-icon:has(i.fa-linkedin-in):hover::after {
  background: linear-gradient(135deg, #0077B5, #005885);
  opacity: 0.6;
}

/* WhatsApp Hover */
.top-contact-bar .social-icon[aria-label="WhatsApp"]:hover,
.top-contact-bar .social-icon:has(i.fa-whatsapp):hover {
  background: #25D366;
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.25),
    -4px -4px 12px rgba(255, 255, 255, 0.6),
    0 16px 32px rgba(37, 211, 102, 0.4),
    0 8px 16px rgba(37, 211, 102, 0.3),
    0 0 20px rgba(37, 211, 102, 0.5),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);
}

.top-contact-bar .social-icon[aria-label="WhatsApp"]:hover::after,
.top-contact-bar .social-icon:has(i.fa-whatsapp):hover::after {
  background: linear-gradient(135deg, #25D366, #128C7E);
  opacity: 0.6;
}

/* Dark Theme Adjustments for Social Icons */
[data-theme="red-black"] .top-contact-bar .social-icon,
[data-theme="green-black"] .top-contact-bar .social-icon {
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.5),
    -4px -4px 10px rgba(255, 255, 255, 0.08),
    inset 4px 4px 8px rgba(0, 0, 0, 0.3),
    inset -4px -4px 8px rgba(255, 255, 255, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

[data-theme="red-black"] .top-contact-bar .social-icon:hover,
[data-theme="green-black"] .top-contact-bar .social-icon:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.6),
    -3px -3px 10px rgba(255, 255, 255, 0.12),
    0 16px 32px var(--shadow),
    0 8px 16px var(--hover-shadow),
    0 0 20px var(--primary-color),
    inset 3px 3px 6px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Header Separator Line - Theme Aware */
.header-separator {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 0;
  opacity: 0.5;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
  gap: 0.5rem;
  overflow: visible;
}

/* Mobile: Ensure navbar container allows search to expand */
@media (max-width: 768px) {
  .navbar .container {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    overflow: visible;
  }
  
  .navbar-brand {
    flex-shrink: 0;
    min-width: auto;
    max-width: 90px;
  }
  
  .cart-icon {
    flex-shrink: 0;
    min-width: auto;
    width: 36px;
  }
  
  .navbar-toggler {
    flex-shrink: 0;
    min-width: auto;
    width: 36px;
    padding: 0.25rem 0.5rem;
  }
  
  /* Extra small screens - optimize spacing and give more space to search */
  @media (max-width: 576px) {
    .navbar .container {
      gap: 0.25rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }
    
    .navbar-brand {
      max-width: 70px;
    }
    
    .cart-icon,
    .navbar-toggler {
      width: 32px;
    }
  }
  
  /* Medium mobile screens - maximize search box */
  @media (min-width: 577px) and (max-width: 768px) {
    .navbar-brand {
      max-width: 100px;
    }
  }
}

/* Desktop Layout: Logo > Navbar (centered) > Search > Cart */
@media (min-width: 992px) {
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .navbar-brand {
    flex-shrink: 0;
    width: auto;
  }

  .navbar .navbar-collapse.d-none.d-lg-block {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    position: static;
    width: auto;
    pointer-events: all;
    flex: 1;
    margin-left: 2rem;
  }

  .navbar .navbar-collapse.d-none.d-lg-block .navbar-nav {
    pointer-events: all;
  }

  /* Hide mobile menu on desktop */
  .navbar-collapse.d-lg-none,
  .navbar-collapse.d-lg-none.show {
    display: none !important;
  }

  .navbar-desktop-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 1;
    background: var(--bg-primary);
    padding-left: 0.5rem;
  }
}

.navbar-desktop-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Layout: Logo > Search > Cart > Three Dots */
.navbar-mobile-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.navbar-mobile-search .search-form {
  width: 100%;
  min-width: 0;
  flex: 1;
}

.navbar-mobile-search .search-form input {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Enhanced Mobile Search Box - Better UX & Touch Targets (Mobile Only) */
@media (max-width: 768px) {
  .navbar-mobile-search {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    order: 0;
    width: auto;
  }
  
  .navbar-mobile-search .search-wrapper {
    width: 100%;
    position: relative;
    min-width: 0;
    flex: 1;
    max-width: 100%;
  }
  
  .navbar-mobile-search .search-form {
    width: 100%;
    position: relative;
    min-width: 0;
  }
  
  .navbar-mobile-search .search-form input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.6rem 2.5rem 0.6rem 2.5rem !important; /* Space for icon and clear button */
    border-radius: 20px;
    width: 100% !important;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    transition: all 0.2s ease;
    min-height: 38px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    text-align: left !important;
    text-indent: 0 !important;
    direction: ltr !important;
    overflow: visible !important;
    text-overflow: ellipsis !important;
    white-space: nowrap;
  }
  
  /* Ensure text doesn't get cut off - proper padding */
  .navbar-mobile-search .search-form input::placeholder {
    text-align: left !important;
    direction: ltr !important;
    opacity: 0.6;
  }
  
  /* Extra small screens - maximize search box */
  @media (max-width: 576px) {
    .navbar-mobile-search {
      margin-left: 0.25rem;
      margin-right: 0.25rem;
      flex: 1 1 65%;
      min-width: 140px;
    }
  }
  
  /* Small screens - give more space */
  @media (min-width: 577px) and (max-width: 768px) {
    .navbar-mobile-search {
      flex: 1 1 55%;
      min-width: 160px;
    }
  }
  
  .navbar-mobile-search .search-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
    outline: none;
    background: #ffffff;
    text-align: left !important;
  }
  
  /* Search Icon - Simple and Visible */
  .navbar-mobile-search .search-icon,
  .navbar-mobile-search .search-form .search-icon,
  .navbar-mobile-search .fa-search {
    position: absolute !important;
    left: 0.875rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    z-index: 10 !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: color 0.2s ease;
  }
  
  .navbar-mobile-search .search-form input:focus ~ .search-icon,
  .navbar-mobile-search .search-form:focus-within .search-icon {
    color: var(--primary-color) !important;
  }
  
  .navbar-mobile-search .search-clear-btn {
    right: 0.5rem;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    transition: all 0.2s ease;
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-mobile-search .search-clear-btn:active {
    background: #e5e7eb;
    transform: translateY(-50%) scale(0.9);
  }
  
  .navbar-mobile-search .search-clear-btn i {
    font-size: 0.6875rem;
    color: #6b7280;
  }
  
  /* Mobile Suggestion Box - Excellent UI/UX Design */
  .navbar-mobile-search .search-suggestions {
    position: fixed !important;
    top: auto !important;
    left: 1rem !important;
    right: 1rem !important;
    width: calc(100% - 2rem) !important;
    max-width: calc(100% - 2rem) !important;
    margin-top: 0.5rem;
    max-height: calc(100vh - 200px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    background: #ffffff;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: visible !important;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  /* Hide scrollbar for webkit browsers */
  .navbar-mobile-search .search-suggestions::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
  }
  
  /* Mobile Suggestion Items - Excellent Design with Proper Spacing */
  .navbar-mobile-search .search-suggestion-item {
    padding: 1rem 1.5rem 1rem 1.75rem !important; /* Extra left padding to prevent icon cut-off */
    gap: 1.25rem !important; /* Generous gap between icon and text */
    border-bottom: 1px solid #f3f4f6;
    min-height: 56px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
    overflow: visible !important;
    position: relative;
    box-sizing: border-box;
  }
  
  .navbar-mobile-search .search-suggestion-item:last-child {
    border-bottom: none;
  }
  
  .navbar-mobile-search .search-suggestion-item:active {
    background: #f9fafb;
  }
  
  /* Icons - Perfect size, fully visible, excellent alignment */
  .navbar-mobile-search .search-suggestion-item i {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.9375rem !important;
    color: #6b7280 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 22px !important;
    max-width: 22px !important;
    background: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    position: static !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-content {
    flex: 1;
    min-width: 0;
    overflow: visible;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-text {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    color: #111827;
    margin: 0 0 0.25rem 0 !important;
    padding: 0 !important;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-category {
    font-size: 0.75rem;
    opacity: 0.65;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    font-weight: 500;
  }
}

.navbar.scrolled {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
  text-decoration: none;
  position: relative;
  height: 75px;
  width: auto;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--primary-color);
}

.navbar-brand .logo-image {
  height: 85px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.navbar-brand:hover .logo-image {
  transform: scale(1.05);
}

/* Default: Hide dark logo, show light logo (for light themes) */
.navbar-brand .logo-image-dark {
  display: none;
}

.navbar-brand .logo-image-light {
  display: block;
}

/* Dark themes - show 1.svg (dark logo), hide 2.svg (light logo) */
html[data-theme="red-black"] .navbar-brand .logo-image-light,
html[data-theme="green-black"] .navbar-brand .logo-image-light {
  display: none;
}

html[data-theme="red-black"] .navbar-brand .logo-image-dark,
html[data-theme="green-black"] .navbar-brand .logo-image-dark {
  display: block;
}

.navbar-brand i {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

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

.navbar-nav {
  gap: 0.5rem;
  align-items: center;
  position: relative;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  margin: 0 0.75rem;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  background: transparent;
  border: none;
  text-decoration: none;
  overflow: visible;
}

/* Underline effect - Clean & Aesthetic */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state - Subtle & Smooth */
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  height: 2px;
}

/* Active state - Clean */
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: 700;
  background: transparent;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

/* Dropdown Menu Styling - Modern & Enhanced */
.dropdown-menu {
  border: none;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 6px 24px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 0.75rem;
  margin-top: 0.75rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  min-width: 240px;
  backdrop-filter: blur(10px);
  animation: dropdownSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.dropdown-item {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
  font-weight: 500;
  margin: 0.25rem 0;
  position: relative;
  background: transparent;
  font-size: 0.95rem;
  overflow: hidden;
}

.dropdown-item:first-child {
  margin-top: 0;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

/* Background hover effect for dropdown */
.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  opacity: 0;
  transform: scale(0.95);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

/* Left accent bar */
.dropdown-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary-lightest), var(--primary-light));
  border-radius: 0 4px 4px 0;
  transform: translateY(-50%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.dropdown-item:hover {
  color: white;
  transform: translateX(5px);
  padding-left: 1.75rem;
}

.dropdown-item:hover::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover::after {
  height: 60%;
}

.dropdown-item.active {
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  transform: translateX(5px);
  padding-left: 1.75rem;
}

.dropdown-item.active::before {
  opacity: 1;
  transform: scale(1);
}

.dropdown-item.active::after {
  height: 60%;
}

/* Custom Dropdown Arrow - Modern Aesthetic Style */
.dropdown-toggle::after {
  display: none !important;
}

.dropdown-toggle {
  position: relative;
  padding-right: 2.25rem !important;
}

/* Modern Chevron Arrow using CSS */
.dropdown-toggle::before {
  content: '';
  position: absolute;
  right: 0.875rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: 1px;
  /* DEFAULT/CLOSED STATE - Arrow points DOWN (45deg = down arrow) */
  transform: translateY(-50%) rotate(45deg);
  border-color: var(--text-primary);
}

/* CLOSED STATE - Explicitly set DOWN arrow when not expanded */
.dropdown-toggle:not([aria-expanded="true"]):not(.show)::before {
  transform: translateY(-50%) rotate(45deg) !important;
  border-color: var(--text-primary) !important;
}

/* Hover when CLOSED - arrow stays DOWN */
.dropdown-toggle:not([aria-expanded="true"]):not(.show):hover::before {
  border-color: var(--primary-color) !important;
  transform: translateY(-50%) rotate(45deg) scale(1.1) !important;
}

/* OPEN STATE - Arrow points UP (-135deg = up arrow) - Highest priority */
.dropdown-toggle[aria-expanded="true"]::before,
.dropdown-toggle.show::before {
  transform: translateY(-50%) rotate(-135deg) !important;
  border-color: var(--primary-color) !important;
}

/* Hover when OPEN - arrow stays UP */
.dropdown-toggle[aria-expanded="true"]:hover::before,
.dropdown-toggle.show:hover::before {
  transform: translateY(-50%) rotate(-135deg) scale(1.1) !important;
  border-color: var(--primary-color) !important;
}

/* Active state - same as expanded */
.navbar-nav .nav-link.active.dropdown-toggle::before {
  border-color: var(--primary-color);
}

.navbar-nav .nav-link.active.dropdown-toggle[aria-expanded="true"]::before,
.navbar-nav .nav-link.active.dropdown-toggle.show::before {
  transform: translateY(-50%) rotate(-135deg) !important;
  border-color: var(--primary-color) !important;
}

/* Search Form */
.search-form {
  position: relative;
  width: 100%;
  margin: 0;
}

.search-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.search-form input {
  border: 2px solid var(--border-color);
  border-radius: 30px;
  padding: 0.65rem 3rem 0.65rem 2.75rem;
  width: 100%;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  text-align: left;
  direction: ltr;
}

/* Desktop: Animated placeholder styling */
@media (min-width: 992px) {
  .search-form input::placeholder {
    transition: opacity 0.3s ease;
  }
  
  .search-form input:focus::placeholder {
    opacity: 0.4;
  }
}

/* Hide native browser clear button */
.search-form input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-form input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.search-form input[type="search"]::-moz-search-clear-button {
  display: none;
}

.search-form input::placeholder {
  color: var(--text-secondary);
}

.search-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--shadow);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.search-form .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 10;
  transition: color 0.3s ease;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Mobile search icon - simple and visible */
@media (max-width: 768px) {
  .navbar-mobile-search .search-form .search-icon,
  .navbar-mobile-search .search-icon,
  .navbar-mobile-search .fa-search {
    position: absolute !important;
    left: 0.875rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    pointer-events: none !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: color 0.2s ease;
  }
  
  .navbar-mobile-search .search-form input:focus ~ .search-icon,
  .navbar-mobile-search .search-form:focus-within .search-icon {
    color: var(--primary-color) !important;
  }
}

.search-form input:focus ~ .search-icon,
.search-form:focus-within .search-icon,
.search-form input:focus + .search-icon {
  color: var(--primary-color);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.search-form input:focus {
  transform: scale(1.02);
}

/* Search Clear Button - Enhanced Visibility */
.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.search-clear-btn.show {
  opacity: 1;
  visibility: visible;
}

.search-clear-btn:hover {
  background: transparent;
  color: var(--text-primary);
  transform: translateY(-50%) scale(1.1);
}

.search-clear-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.search-clear-btn i {
  pointer-events: none;
  font-size: 0.75rem;
  color: inherit;
  font-weight: 600;
}

.search-form input:focus ~ .search-clear-btn.show,
.search-form:focus-within .search-clear-btn.show {
  opacity: 1;
  visibility: visible;
}

.search-form input:not(:placeholder-shown) {
  border-color: var(--primary-light);
  background-color: var(--bg-primary);
}

/* Search Suggestions Dropdown */
.navbar-desktop-actions .search-wrapper {
  position: relative;
  min-width: 400px;
  max-width: 650px;
  width: 100%;
  z-index: 1000;
  flex: 1;
}

@media (min-width: 1200px) {
  .navbar-desktop-actions .search-wrapper {
    min-width: 450px;
    max-width: 700px;
  }
}

@media (max-width: 991px) {
  .navbar-desktop-actions .search-wrapper {
    min-width: 250px;
    max-width: 400px;
  }
}

.navbar-mobile-search .search-wrapper {
  position: relative;
  z-index: 1000;
  width: 100%;
  min-width: 100px;
  max-width: 160px;
}

@media (max-width: 576px) {
  .navbar-mobile-search .search-wrapper {
    min-width: 90px;
    max-width: 140px;
  }
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 9999;
  display: none;
  visibility: hidden;
  opacity: 0;
  animation: dropdownSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
  /* Hide scrollbar by default, show only when needed */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.search-suggestions.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.search-suggestion-item {
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.search-suggestion-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item:active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: var(--text-primary);
  transform: translateX(8px);
  padding-left: 1.5rem;
}

.search-suggestion-item:hover::before,
.search-suggestion-item:active::before {
  transform: scaleY(1);
}

.search-suggestion-item i {
  color: var(--primary-color);
  font-size: 1rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  padding: 0.25rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-suggestion-item:hover i,
.search-suggestion-item:active i {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Mobile: Remove ALL desktop icon styling - Complete override */
@media (max-width: 768px) {
  .search-suggestion-item i,
  .navbar-mobile-search .search-suggestion-item i {
    /* Remove all desktop styling completely */
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    /* Proper size - fully visible */
    width: 22px !important;
    height: 22px !important;
    font-size: 0.9375rem !important;
    color: #6b7280 !important;
    min-width: 22px !important;
    max-width: 22px !important;
    box-sizing: border-box !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    position: static !important;
  }
  
  .search-suggestion-item:hover i,
  .search-suggestion-item:active i,
  .navbar-mobile-search .search-suggestion-item:hover i,
  .navbar-mobile-search .search-suggestion-item:active i {
    background: none !important;
    color: var(--primary-color) !important;
    transform: none !important;
  }
}

.search-suggestion-item .suggestion-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-suggestion-item .suggestion-text {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.search-suggestion-item .suggestion-category {
  font-size: 0.75rem;
  opacity: 0.6;
  font-weight: 500;
  margin-top: 0.25rem;
  color: var(--text-secondary);
}

.search-suggestion-item:hover .suggestion-category,
.search-suggestion-item:active .suggestion-category {
  opacity: 0.8;
  color: var(--text-primary);
}

/* Mobile-specific suggestion item improvements - Fixed Layout */
@media (max-width: 768px) {
  .search-suggestions {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - 200px);
    background: #ffffff;
    overflow-x: visible !important;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.75rem 0;
  }
  
  .search-suggestions::-webkit-scrollbar {
    display: none;
    width: 0;
  }
  
  .search-suggestion-item {
    padding: 1rem 1.5rem 1rem 1.75rem !important; /* Extra left padding to prevent icon cut-off */
    gap: 1.25rem !important;
    border-bottom: 1px solid #f3f4f6;
    min-height: 56px;
    display: flex;
    align-items: center;
    overflow: visible !important;
    box-sizing: border-box;
  }
  
  .search-suggestion-item:last-child {
    border-bottom: none;
  }
  
  .search-suggestion-item:hover,
  .search-suggestion-item:active {
    background: #f9fafb;
    transform: none;
    padding-left: 1.75rem !important;
  }
  
  .search-suggestion-item::before {
    display: none; /* Remove left border on mobile */
  }
  
  .search-suggestion-item i {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.9375rem !important;
    color: #6b7280 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 22px !important;
    max-width: 22px !important;
    background: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    position: static !important;
  }
  
  .search-suggestion-item:hover i,
  .search-suggestion-item:active i {
    color: var(--primary-color) !important;
    background: none !important;
    transform: none !important;
  }
  
  .search-suggestion-item .suggestion-content {
    flex: 1;
    min-width: 0;
    overflow: visible;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .search-suggestion-item .suggestion-text {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    color: #111827;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 !important;
    margin: 0 0 0.25rem 0 !important;
  }
  
  .search-suggestion-item .suggestion-category {
    font-size: 0.75rem;
    opacity: 0.65;
    margin-top: 0.125rem;
    color: #6b7280;
    line-height: 1.4;
    overflow: visible;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 500;
  }
}

.search-suggestions-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Hide scrollbar by default, show only when hovering or scrolling */
.search-suggestions::-webkit-scrollbar {
  width: 6px;
  background: transparent;
}

.search-suggestions::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
  transition: background 0.3s ease;
}

/* Show scrollbar only when hovering over suggestions box, when scrolling, or when content overflows */
.search-suggestions:hover::-webkit-scrollbar-thumb,
.search-suggestions:active::-webkit-scrollbar-thumb,
.search-suggestions.has-overflow:hover::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

.search-suggestions:hover::-webkit-scrollbar-track,
.search-suggestions.has-overflow:hover::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Firefox - hide scrollbar by default */
.search-suggestions {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Firefox - show scrollbar on hover only if content overflows */
.search-suggestions.has-overflow:hover {
  scrollbar-color: var(--primary-color) transparent;
}

/* Show scrollbar when content overflows and user is interacting */
.search-suggestions.scrolling::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

.search-suggestions.scrolling::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.search-suggestions.scrolling {
  scrollbar-color: var(--primary-color) transparent;
}

.search-submit-btn {
  display: none;
}

/* Cart Icon */
.cart-icon {
  position: relative;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.cart-icon:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-color);
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 10;
  transition: all 0.3s ease;
}

.cart-badge.badge-updated {
  animation: badgePulse 0.3s ease;
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideDownMobile {
  from {
    opacity: 0;
    transform: translateY(-20px) translateX(-50%);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
}

@keyframes slideUpMobile {
  from {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
  to {
    opacity: 0;
    transform: translateY(-20px) translateX(-50%);
  }
}

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

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

@media (max-width: 768px) {
  .cart-badge {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }
}

/* Navbar Toggler */
.navbar-toggler {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  background-color: var(--bg-primary);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--shadow);
  border-color: var(--primary-color);
}

/* Hamburger Menu Icon - Theme Aware */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f2937' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark Themes - White Hamburger Icon */
[data-theme="red-black"] .navbar-toggler-icon,
[data-theme="green-black"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navbar Improvements */
@media (max-width: 991px) {
  /* Top Contact Bar Mobile */
  .top-contact-bar {
    padding: 0.5rem 0;
  }

  .top-contact-bar .row {
    margin: 0;
  }

  .top-contact-bar .col-lg-6 {
    padding: 0;
    width: 100%;
  }

  .top-contact-bar .contact-info {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 0;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .top-contact-bar .contact-info::-webkit-scrollbar {
    display: none;
  }
  
  .top-contact-bar .contact-info {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .top-contact-bar .contact-item {
    font-size: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 0.5rem;
  }

  .top-contact-bar .contact-item i {
    font-size: 0.7rem;
    width: 14px;
    min-width: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-contact-bar .contact-item span {
    display: inline;
  }

  /* Hide social media on mobile */
  .top-contact-bar .social-media {
    display: none !important;
  }

  .top-contact-bar .social-icon {
    display: none !important;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .navbar .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
  }
  
  .navbar {
    overflow: visible !important;
  }

  .navbar-brand {
    font-size: 1.4rem;
    white-space: nowrap;
    flex-shrink: 0;
    order: 1;
  }

  /* Mobile: Hide desktop actions */
  .navbar-desktop-actions {
    display: none !important;
  }

  /* Mobile Layout: Logo > Search > Cart > Hamburger */
  .navbar-mobile-search {
    display: flex !important;
    order: 2;
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .navbar-mobile-search .search-wrapper {
    width: 100%;
    min-width: 100px;
    max-width: 160px;
    position: relative;
    z-index: 1000;
  }
  
  @media (max-width: 576px) {
    .navbar-mobile-search .search-wrapper {
      min-width: 90px;
      max-width: 140px;
    }
  }

/* ===== Mobile Search Box - Enhanced 2026 Design ===== */
.navbar-mobile-search {
  position: relative;
}

.navbar-mobile-search .search-wrapper {
  position: relative;
  width: 100%;
  min-width: 100px;
  max-width: 160px;
  z-index: 1000;
}

.navbar-mobile-search .search-form {
  position: relative;
  width: 100%;
}

.navbar-mobile-search .search-form input {
  width: 100%;
  padding: 0.65rem 2.75rem 0.65rem 2.5rem;
  font-size: 0.9rem;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-mobile-search .search-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
  background: var(--bg-primary);
}

.navbar-mobile-search .search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  z-index: 2;
  pointer-events: none;
  transition: color 0.3s ease;
}

.navbar-mobile-search .search-form:focus-within .search-icon,
.navbar-mobile-search .search-form input:focus ~ .search-icon {
  color: var(--primary-color) !important;
}

/* Ensure mobile search icon is visible */
@media (max-width: 768px) {
  .navbar-mobile-search .search-icon,
  .navbar-mobile-search .fa-search,
  .navbar-mobile-search .search-form .search-icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #6b7280 !important;
  }
}

.navbar-mobile-search .search-clear-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.navbar-mobile-search .search-clear-btn.show {
  opacity: 1;
  visibility: visible;
}

.navbar-mobile-search .search-clear-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-50%) scale(1.1);
}

.navbar-mobile-search .search-clear-btn i {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.navbar-mobile-search .search-suggestions {
  position: fixed;
  top: auto;
  left: 1rem;
  right: 1rem;
  width: calc(100vw - 2rem);
  max-width: calc(100vw - 2rem);
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 99999;
  margin-top: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: slideDownMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.75rem 0;
  /* Hide scrollbar by default on mobile too */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Mobile scrollbar - Completely hidden */
.navbar-mobile-search .search-suggestions::-webkit-scrollbar {
  display: none;
  width: 0;
  background: transparent;
}

.navbar-mobile-search .search-suggestions::-webkit-scrollbar-track {
  display: none;
  background: transparent;
}

.navbar-mobile-search .search-suggestions::-webkit-scrollbar-thumb {
  display: none;
  background: transparent;
}

@keyframes slideDownMobile {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 991px) {
  .navbar-mobile-search .search-wrapper {
    position: relative;
    z-index: 10000;
    overflow: visible;
    width: 100%;
    min-width: 120px;
    max-width: 180px;
  }
  
  .navbar-mobile-search .search-suggestions {
    position: fixed !important;
    z-index: 99999 !important;
    top: auto !important;
    left: 1rem !important;
    right: 1rem !important;
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin-top: 0;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
  }
  
  .navbar {
    overflow: visible !important;
  }
  
  .navbar .container {
    overflow: visible !important;
  }
  
  .navbar-mobile-search .search-form input {
    font-size: 0.875rem;
    padding: 0.6rem 2.5rem 0.6rem 2.25rem;
  }
  
  .navbar-mobile-search .search-icon {
    left: 0.75rem;
    font-size: 0.85rem;
  }
  
  .navbar-mobile-search .search-clear-btn {
    right: 0.5rem;
    width: 22px;
    height: 22px;
  }
  
  /* Better spacing for mobile suggestion items - Excellent UI */
  .navbar-mobile-search .search-suggestion-item {
    padding: 1rem 1.5rem 1rem 1.75rem !important; /* Extra left padding */
    gap: 1.25rem !important;
    min-height: 56px;
    overflow: visible !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 600;
    overflow: visible;
    padding: 0 !important;
    margin: 0 0 0.25rem 0 !important;
    color: #111827;
  }
  
  .navbar-mobile-search .search-suggestion-item i {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.9375rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 22px !important;
    max-width: 22px !important;
    background: none !important;
    border-radius: 0 !important;
    color: #6b7280 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-content {
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-category {
    font-size: 0.75rem;
    margin-top: 0.125rem;
    display: block;
    overflow: visible;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0.65;
    font-weight: 500;
  }
}

@media (max-width: 576px) {
  .navbar-mobile-search .search-wrapper {
    min-width: 100px;
    max-width: 150px;
  }
  
  .navbar-mobile-search .search-suggestions {
    left: 0.75rem !important;
    right: 0.75rem !important;
    width: calc(100vw - 1.5rem) !important;
    max-width: calc(100vw - 1.5rem) !important;
    border-radius: 16px;
    padding: 0.75rem 0;
    max-height: 450px;
  }
  
  .navbar-mobile-search .search-form input {
    font-size: 0.8rem;
    padding: 0.55rem 2.25rem 0.55rem 2rem;
  }
  
  /* Even better spacing for small mobile - Excellent UI */
  .navbar-mobile-search .search-suggestion-item {
    padding: 1rem 1.25rem 1rem 1.5rem !important; /* Extra left padding for small screens */
    gap: 1.25rem !important;
    min-height: 56px;
    overflow: visible !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    overflow: visible;
    padding: 0 !important;
    margin: 0 0 0.25rem 0 !important;
    font-weight: 600;
    color: #111827;
  }
  
  .navbar-mobile-search .search-suggestion-item i {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.9375rem !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 22px !important;
    max-width: 22px !important;
    background: none !important;
    border-radius: 0 !important;
    color: #6b7280 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    position: static !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-content {
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .navbar-mobile-search .search-suggestion-item .suggestion-category {
    font-size: 0.75rem;
    opacity: 0.65;
    font-weight: 500;
  }
}

.navbar-mobile-search .search-form {
  width: 100%;
}

  .navbar-mobile-search .search-form input {
    font-size: 0.875rem;
    padding: 0.5rem 2.5rem 0.5rem 2rem;
  }
  
  .navbar-mobile-search .search-clear-btn {
    width: 18px;
    height: 18px;
    right: 0.5rem;
    font-size: 0.8rem;
  }
  
  .navbar-mobile-search .search-clear-btn i {
    font-size: 0.6rem;
  }

  .cart-icon.d-lg-none {
    display: flex !important;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    order: 3;
    flex-shrink: 0;
  }

  .navbar-toggler {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    order: 4;
    flex-shrink: 0;
  }

  /* Mobile: Navbar collapse - only navigation links */
  /* Target only mobile menu, not desktop menu */
  .navbar .navbar-collapse.d-lg-none {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    order: 4;
    box-sizing: border-box;
    overflow: visible;
  }

  .navbar-collapse.d-lg-none {
    background-color: var(--bg-primary);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
  }

  .navbar-collapse.d-lg-none.show {
    display: flex !important;
  }

  .navbar-collapse.d-lg-none:not(.show) {
    display: none !important;
  }
  
  /* Hide desktop menu on mobile */
  .navbar-collapse.d-none.d-lg-block {
    display: none !important;
  }

  /* Mobile: Navigation links only in collapse */
  .navbar-nav {
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: visible;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 8px;
    font-size: 0.95rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    overflow: visible;
    display: block;
  }

  .navbar-nav .nav-link::before {
    display: none;
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(37, 99, 235, 0.1);
  }
  
  .navbar-collapse.d-lg-none {
    text-align: left;
  }
  
  .navbar-collapse.d-lg-none .dropdown-menu {
    text-align: left;
  }

  /* Mobile: No search or cart in collapse menu */
  .navbar-collapse .search-form,
  .navbar-collapse .cart-icon {
    display: none !important;
  }

  .dropdown-menu {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    position: static !important;
    transform: none !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    max-width: 100%;
    border-radius: 16px;
    padding: 0.75rem;
    backdrop-filter: blur(10px);
  }

  .dropdown-item {
    padding: 0.75rem 1rem;
    white-space: normal;
    word-wrap: break-word;
    border-radius: 10px;
    margin: 0.25rem 0;
  }
  
  .dropdown-item:hover {
    color: white;
    transform: translateX(5px);
    padding-left: 1.75rem;
  }
  
  .dropdown-item.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: translateX(5px);
    padding-left: 1.75rem;
  }
}

/* ===== Hero Carousel Section ===== */
.hero-carousel-section {
  position: relative;
  margin-bottom: 4rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.carousel {
  position: relative;
}

.carousel-inner {
  border-radius: 0;
}

.carousel-item {
  min-height: 600px;
  position: relative;
}

.carousel-slide-content {
  padding: 5rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.carousel-slide-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.9) 50%, rgba(59, 130, 246, 0.85) 100%);
  z-index: 1;
}

.carousel-slide-content::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
}

.carousel-text {
  position: relative;
  z-index: 3;
  color: white;
  padding: 2rem 0;
}

.carousel-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carousel-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.carousel-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.7;
  max-width: 90%;
}

.carousel-price {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.carousel-price span {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-left: 0.5rem;
}

.carousel-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-carousel-primary {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-carousel-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  color: var(--primary-color);
}

.btn-carousel-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-carousel-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

.carousel-image {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  max-height: 500px;
}

/* ===== Seasonal Sale Banner - Premium 2026 Design ===== */
.seasonal-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 20%, #f093fb 40%, #4facfe 60%, #00f2fe 80%, #667eea 100%);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  padding: 1.5rem 0;
  margin: 0;
  box-shadow: 
    0 8px 32px rgba(102, 126, 234, 0.3),
    0 0 50px rgba(102, 126, 234, 0.2);
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  overflow: hidden;
  display: none;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  opacity: 0;
}

.seasonal-banner.show {
  transform: translateY(0);
  opacity: 1;
  display: block;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.03) saturate(1.05); }
  100% { filter: brightness(1) saturate(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.95; }
}

@keyframes glow {
  0%, 100% { 
    text-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.8),
      0 0 15px rgba(255, 255, 255, 0.5),
      0 4px 16px rgba(255, 215, 0, 0.4);
  }
  50% { 
    text-shadow: 
      0 2px 10px rgba(0, 0, 0, 0.9),
      0 0 20px rgba(255, 255, 255, 0.6),
      0 6px 20px rgba(255, 215, 0, 0.6);
  }
}

.seasonal-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.seasonal-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  animation: shine 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.seasonal-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.seasonal-banner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.seasonal-icon {
  width: 75px;
  height: 75px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.seasonal-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.seasonal-icon i {
  font-size: 2rem;
  color: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 2;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(3deg); }
}

.seasonal-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.seasonal-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(255, 255, 255, 0.3);
  letter-spacing: -0.3px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.seasonal-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 2px;
  animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% { opacity: 0.6; transform: scaleX(0.9); }
  50% { opacity: 1; transform: scaleX(1); }
}

.seasonal-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0.5rem 0 0 0;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2px;
  position: relative;
}

/* Discount Display - Large & Prominent */
.seasonal-discount-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.seasonal-discount-large {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 
    0 3px 12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 255, 255, 0.4);
  line-height: 1;
  animation: discountPulse 2s ease-in-out infinite;
  position: relative;
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes discountPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 4px 15px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% { 
    transform: scale(1.02);
    box-shadow: 
      0 6px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.seasonal-discount-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1.5px;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Countdown Timer */
.seasonal-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    inset 0 2px 5px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(255, 255, 255, 0.3);
  line-height: 1;
  animation: countdownPulse 1s ease-in-out infinite;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 55px;
  text-align: center;
  backdrop-filter: blur(5px);
}

@keyframes countdownPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.countdown-label {
  font-size: 0.7rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.countdown-separator {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0.25rem;
  animation: blink 1s ease-in-out infinite;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Urgency Indicator */
.seasonal-urgency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  animation: urgencyPulse 2s ease-in-out infinite;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: inline-block;
  margin-top: 0.5rem;
}

.seasonal-urgency i {
  animation: firePulse 1.5s ease-in-out infinite;
  color: #ff6b6b;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

@keyframes firePulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(-5deg); }
  75% { transform: scale(1.1) rotate(5deg); }
}

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

/* Stats Display */
.seasonal-stats {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}

.stat-item i {
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.stat-item strong {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.seasonal-discount-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: badgePulse 2s ease-in-out infinite;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
  .seasonal-banner {
    padding: 1.25rem 0;
  }
  
  .seasonal-banner-content {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1rem 0 1rem;
    padding-right: 2.5rem;
  }
  
  .seasonal-banner-left {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .seasonal-text {
    align-items: center;
  }
  
  .seasonal-title {
    font-size: 1.75rem;
  }
  
  .seasonal-discount-large {
    font-size: 2.75rem;
  }
  
  .seasonal-discount-text {
    font-size: 1.1rem;
  }
  
  .seasonal-subtitle {
    font-size: 0.95rem;
  }
  
  .seasonal-countdown {
    justify-content: center;
    padding: 0.6rem 1rem;
  }
  
  .countdown-item {
    min-width: 50px;
  }
  
  .countdown-value {
    font-size: 1.5rem;
  }
  
  .countdown-label {
    font-size: 0.65rem;
  }
  
  .seasonal-banner-right {
    width: 100%;
    align-items: center;
    min-width: auto;
    padding-right: 0;
  }
  
  .seasonal-banner-close {
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .seasonal-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  
  .seasonal-stats {
    width: 100%;
    align-items: center;
  }
  
  .seasonal-icon {
    width: 65px;
    height: 65px;
  }
  
  .seasonal-icon i {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .seasonal-banner {
    padding: 1rem 0;
  }
  
  .seasonal-banner-content {
    padding: 0 0.75rem 0 0.75rem;
    padding-right: 2.25rem;
  }
  
  .seasonal-title {
    font-size: 1.5rem;
  }
  
  .seasonal-discount-large {
    font-size: 2.25rem;
    padding: 0.6rem 1rem;
  }
  
  .seasonal-discount-text {
    font-size: 0.95rem;
    padding: 0.35rem 0.75rem;
  }
  
  .seasonal-subtitle {
    font-size: 0.9rem;
  }
  
  .seasonal-countdown {
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
  }
  
  .countdown-item {
    min-width: 45px;
  }
  
  .countdown-value {
    font-size: 1.25rem;
    padding: 0.4rem 0.6rem;
    min-width: 50px;
  }
  
  .countdown-label {
    font-size: 0.6rem;
  }
  
  .countdown-separator {
    font-size: 1.1rem;
  }
  
  .seasonal-btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .seasonal-banner-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .seasonal-urgency {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }
  
  .stat-item {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
  
  .seasonal-icon {
    width: 60px;
    height: 60px;
  }
  
  .seasonal-icon i {
    font-size: 1.5rem;
  }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
  50% { transform: scale(1.03); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25); }
}

.seasonal-banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  min-width: 200px;
}

.seasonal-btn {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #667eea;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: none;
}

.seasonal-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.seasonal-btn:hover::before {
  width: 300px;
  height: 300px;
}

.seasonal-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #764ba2;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border-color: rgba(255, 255, 255, 0.7);
}

.seasonal-btn span {
  position: relative;
  z-index: 2;
}


.seasonal-btn:active {
  transform: translateY(0) scale(1);
}

.seasonal-btn i {
  transition: transform 0.3s ease;
}

.seasonal-btn:hover i {
  transform: translateX(4px);
}

.seasonal-banner-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 0 8px rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.seasonal-banner-close:hover {
  background: rgba(255, 107, 107, 0.35);
  border-color: rgba(255, 107, 107, 0.6);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(255, 107, 107, 0.4);
  color: #ffffff;
}

.seasonal-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.seasonal-sparkle {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.5;
  animation: sparkle 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.seasonal-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.seasonal-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(50px) scale(1);
    opacity: 0;
  }
}

.sparkle-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 60%;
  right: 15%;
  animation-delay: 0.5s;
}

.sparkle-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

.sparkle-4 {
  top: 30%;
  right: 30%;
  animation-delay: 1.5s;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.95) rotate(0deg);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15) rotate(180deg);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
  }
}

/* Additional sparkles */
.sparkle-5 {
  top: 50%;
  left: 5%;
  animation-delay: 2s;
  font-size: 1.2rem;
}

.sparkle-6 {
  bottom: 30%;
  right: 10%;
  animation-delay: 2.5s;
  font-size: 1.3rem;
}

.sparkle-7 {
  top: 15%;
  left: 50%;
  animation-delay: 1.2s;
  font-size: 1.1rem;
}

.sparkle-8 {
  bottom: 10%;
  right: 40%;
  animation-delay: 0.8s;
  font-size: 1.4rem;
}

/* Mobile Responsive - Seasonal Banner */
@media (max-width: 768px) {
  .seasonal-banner {
    padding: 1.5rem 0;
  }
  
  .seasonal-banner-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 3.5rem 0 1.5rem;
    text-align: center;
  }
  
  .seasonal-banner-left {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
  }
  
  .seasonal-icon {
    width: 75px;
    height: 75px;
  }
  
  .seasonal-icon i {
    font-size: 2rem;
  }
  
  .seasonal-title {
    font-size: 2rem;
  }
  
  .seasonal-subtitle {
    font-size: 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .seasonal-discount-badge {
    margin-left: 0;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
  }
  
  .seasonal-btn {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .seasonal-banner-close {
    right: 1rem;
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .seasonal-banner {
    padding: 1.25rem 0;
  }
  
  .seasonal-title {
    font-size: 1.75rem;
  }
  
  .seasonal-subtitle {
    font-size: 1.05rem;
  }
  
  .seasonal-icon {
    width: 65px;
    height: 65px;
  }
  
  .seasonal-icon i {
    font-size: 1.75rem;
  }
  
  .seasonal-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    max-width: 100%;
  }
  
  .seasonal-discount-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

.product-showcase {
  width: 100%;
  max-width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.product-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-showcase i {
  display: none; /* Hide icons, images will be used instead */
  font-size: 12rem;
  color: white;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.product-led-tv {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.3) 100%);
}

.product-ac {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(16, 185, 129, 0.3) 100%);
}

.product-washing {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
}

.product-geyser {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(234, 88, 12, 0.3) 100%);
}

/* Theme-specific carousel gradients */
[data-theme="orange"] .carousel-slide-content::before {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.95) 0%, rgba(234, 88, 12, 0.9) 50%, rgba(251, 146, 60, 0.85) 100%);
}

[data-theme="red-black"] .carousel-slide-content::before {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(153, 27, 27, 0.9) 50%, rgba(239, 68, 68, 0.85) 100%);
}

[data-theme="blue-sky"] .carousel-slide-content::before {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 64, 175, 0.9) 50%, rgba(59, 130, 246, 0.85) 100%);
}

[data-theme="green-black"] .carousel-slide-content::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(22, 163, 74, 0.9) 50%, rgba(74, 222, 128, 0.85) 100%);
}

[data-theme="dark-green"] .carousel-slide-content::before {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.95) 0%, rgba(4, 120, 87, 0.9) 50%, rgba(5, 150, 105, 0.85) 100%);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-control-prev {
  left: 2rem;
}

.carousel-control-next {
  right: 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
  bottom: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-indicators button {
  position: relative;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  padding: 0;
  opacity: 1;
  flex-shrink: 0;
  cursor: pointer;
  overflow: visible;
}

.carousel-indicators button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.carousel-indicators button:hover {
  background: rgba(255, 255, 255, 0.6);
  height: 5px;
}

.carousel-indicators button:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.carousel-indicators button.active {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.2);
}

.carousel-indicators button.active::before {
  display: none;
}

/* ===== Hero Section (Legacy - for other pages) ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary-custom {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-custom i {
  font-size: 0.9em;
  vertical-align: middle;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

/* ===== Theme Selector ===== */
.theme-selector {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
  margin: 3rem 0;
}

.theme-selector h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.theme-option {
  background: var(--bg-primary);
  border: 3px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.theme-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px var(--hover-shadow);
}

.theme-option.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--accent-color);
}

.theme-preview {
  width: 100%;
  height: 80px;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: flex;
  overflow: hidden;
}

.theme-preview div {
  flex: 1;
}

.theme-option h4 {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-primary);
}

/* Theme Preview Colors */
.theme-blue .theme-preview div:first-child { background: #2563eb; }
.theme-blue .theme-preview div:last-child { background: #ffffff; }

.theme-orange .theme-preview div:first-child { background: #ffffff; }
.theme-orange .theme-preview div:last-child { background: #f97316; }

.theme-red-black .theme-preview div:first-child { background: #dc2626; }
.theme-red-black .theme-preview div:last-child { background: #000000; }

.theme-blue-sky .theme-preview div:first-child { background: #1e3a8a; }
.theme-blue-sky .theme-preview div:last-child { background: #e0f2fe; }

.theme-green-black .theme-preview div:first-child { background: #22c55e; }
.theme-green-black .theme-preview div:last-child { background: #000000; }

.theme-dark-green .theme-preview div:first-child { background: #065f46; }
.theme-dark-green .theme-preview div:last-child { background: #ffffff; }

/* ===== Categories Section ===== */
.categories-section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.category-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.75rem 2rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.category-card {
  will-change: transform, box-shadow;
}

.category-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px) scale(1.03) rotateY(5deg);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.35), 0 10px 30px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 50%, #dbeafe 100%);
  animation: cardPulse 2s ease-in-out infinite;
}

.category-card:hover::before {
  transform: scaleX(1);
  animation: borderGlow 2s ease-in-out infinite;
}

.category-card:hover::after {
  animation: categoryShimmer 2s ease-in-out infinite;
}

@keyframes categoryShimmer {
  0% {
    left: -150%;
    opacity: 0;
  }
  50% {
    left: 150%;
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

@keyframes cardPulse {
  0%, 100% {
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.35), 0 10px 30px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.1);
  }
  50% {
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.45), 0 15px 40px rgba(37, 99, 235, 0.3), 0 0 0 2px rgba(37, 99, 235, 0.15);
  }
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 2px 16px rgba(37, 99, 235, 0.7), 0 0 20px rgba(37, 99, 235, 0.3);
  }
}

@keyframes radialPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.category-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15), inset 0 1px 3px rgba(255, 255, 255, 0.5);
  will-change: transform;
}

.category-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.category-card:hover .category-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), #023e89, var(--primary-dark));
  transform: scale(1.2) rotate(12deg);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5), 0 6px 16px rgba(37, 99, 235, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.3);
  animation: iconBounce 1.5s ease-in-out infinite;
}

.category-card:hover .category-icon-wrapper::before {
  opacity: 1;
  animation: borderRotate 3s linear infinite;
}

@keyframes iconBounce {
  0%, 100% {
    transform: scale(1.2) rotate(12deg);
  }
  50% {
    transform: scale(1.25) rotate(15deg);
  }
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.category-card i {
  font-size: 2.75rem;
  color: var(--primary-color);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.category-card:hover .category-icon-wrapper i {
  color: white;
  transform: scale(1.2) rotate(-12deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
  animation: iconShine 2s ease-in-out infinite;
}

@keyframes iconShine {
  0%, 100% {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
  }
  50% {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
  }
}

.category-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.category-card:hover h3 {
  color: var(--primary-color);
  transform: translateY(-4px) scale(1.05);
  text-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
  animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
  }
  50% {
    text-shadow: 0 6px 16px rgba(37, 99, 235, 0.6), 0 0 30px rgba(37, 99, 235, 0.4);
  }
}

.category-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 500;
}

.category-card:hover p {
  color: #475569;
  transform: translateY(-2px);
}

.category-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark) , #063167);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-20px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.category-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: arrowPulse 1.5s ease-in-out infinite;
}

.category-card:hover .category-arrow::before {
  opacity: 1;
  animation: arrowShine 2s ease-in-out infinite;
}

.category-card:hover .category-arrow:hover {
  transform: translateX(6px) scale(1.15);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
  animation: arrowBounce 0.6s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% {
    transform: translateX(0) scale(1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  }
  50% {
    transform: translateX(2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  }
}

@keyframes arrowShine {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateX(6px) scale(1.15);
  }
  50% {
    transform: translateX(8px) scale(1.18);
  }
}

.category-arrow i {
  font-size: 1rem;
  color: white;
  margin: 0;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.category-card:hover .category-arrow i {
  transform: translateX(3px);
  animation: arrowMove 1.2s ease-in-out infinite;
}

@keyframes arrowMove {
  0%, 100% {
    transform: translateX(3px);
  }
  50% {
    transform: translateX(6px);
  }
}

.category-count {
  display: none;
}

/* Responsive improvements for category cards */
@media (max-width: 768px) {
  .category-card {
    padding: 2.25rem 1.75rem;
    border-radius: 20px;
  }
  
  .category-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 20px;
  }
  
  .category-card i {
    font-size: 2.5rem;
  }
  
  .category-card h3 {
    font-size: 1.4rem;
  }
  
  .category-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .category-arrow {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 576px) {
  .category-card {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }
  
  .category-icon-wrapper {
    width: 75px;
    height: 75px;
    margin-bottom: 1.25rem;
    border-radius: 18px;
  }
  
  .category-card i {
    font-size: 2.25rem;
  }
  
  .category-card h3 {
    font-size: 1.3rem;
  }
  
  .category-card p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  .category-arrow {
    width: 40px;
    height: 40px;
  }
}

/* ===== Product Cards ===== */
.product-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--border-color);
  transition: all 0.2s ease;
}

.product-image {
  width: 100%;
  height: 220px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 15px;
}

.product-image img,
.product-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: 0.75rem 1rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  text-align: center;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.product-rating {
  color: #ffc107;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
}

.product-rating i {
  font-size: 1rem;
}

.btn-add-cart {
  background: #007bff;
  color: white;
  animation: scaleIn 0.5s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.6s;
  border: none;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.8rem;
  flex: 1;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  gap: 0.3rem;
}

.btn-add-cart i {
  font-size: 0.75rem;
}

.btn-add-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-add-cart:hover::before {
  left: 100%;
}

.btn-add-cart:hover {
  background: #0056b3;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  color: white;
}

.btn-add-cart:active {
  transform: translateY(0) scale(0.98);
}

/* ===== View Details Button - Professional Design ===== */
.btn-view-details {
  background: #f8f9fa;
  color: #495057 !important;
  border: 1px solid #dee2e6;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.8rem;
  flex: 1;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  position: relative;
  overflow: hidden;
}

.btn-view-details i {
  font-size: 0.75rem;
}

.btn-view-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 118, 210, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-view-details:hover {
  background: #e9ecef !important;
  border-color: #adb5bd !important;
  color: #495057 !important;
  transform: translateY(-1px);
}

.btn-view-details:hover::before {
  left: 100%;
}

.btn-view-details i {
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-view-details:hover i {
  transform: scale(1.1);
}

.btn-view-details:active {
  transform: translateY(0) scale(0.98);
}

/* ===== Product Specifications Box - Shop Page Style ===== */
.product-specs {
  font-size: 0.75rem;
  color: #555;
  margin: 0.5rem 0;
  padding: 0.6rem;
  background: #f8f9fa;
  border-radius: 8px;
  line-height: 1.4;
}

.product-specs > div {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 0.4rem;
}

.product-specs > div:last-child {
  margin-bottom: 0;
}

.product-specs i {
  flex-shrink: 0;
  width: 14px;
  font-size: 0.75rem;
  margin-top: 2px;
}

.product-specs span {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* ===== Modern Pricing Display - DP and MRP ===== */
.pricing-container {
  margin: 0.5rem 0;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.price-label {
  font-size: 0.7rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.dp-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #007bff;
  line-height: 1.2;
}

.price-separator {
  font-size: 0.9rem;
  color: #ddd;
  margin: 0 0.2rem;
  font-weight: 300;
}

.mrp-price {
  font-size: 0.8rem;
  color: #878787;
  text-decoration: line-through;
  font-weight: 500;
}

/* Desktop: Larger pricing */
@media (min-width: 769px) {
  .dp-price {
    font-size: 1.6rem;
  }
  
  .mrp-price {
    font-size: 0.85rem;
  }
  
  .price-label {
    font-size: 0.75rem;
  }
  
  .price-separator {
    margin: 0 0.3rem;
    font-size: 1rem;
  }
}

/* ===== Promotional Section ===== */
.promo-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem 0;
  margin: 3rem 0;
  border-radius: 15px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.trust-badge {
  text-align: center;
}

.trust-badge i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.trust-badge h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.trust-badge p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== Newsletter ===== */
.newsletter-section {
  background-color: var(--bg-secondary);
  padding: 3rem 0;
  margin: 3rem 0;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
}

/* ===== Modern Footer ===== */
.footer-modern {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 0;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-content {
  padding-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  height: 65px;
}

.footer-logo-image {
  height: 65px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.footer-logo i {
  font-size: 2rem;
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  max-width: 90%;
}


.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link span {
  font-weight: 700;
  font-size: 1.1rem;
  color: inherit;
}

.social-link:hover {
  color: white;
  transform: translateY(-3px);
}

/* Footer Social Links - Brand Colors on Hover */
.social-link[aria-label="Facebook"]:hover,
.social-link:has(i.fa-facebook-f):hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-link[aria-label="X"]:hover,
.social-link[aria-label="Twitter"]:hover,
.social-link:has(i.fa-twitter):hover,
.social-link:has(i.fa-x-twitter):hover,
.social-link:has(span):hover {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.social-link[aria-label="Instagram"]:hover,
.social-link:has(i.fa-instagram):hover {
  background: radial-gradient(circle farthest-corner at 20% 80%, #FEDA75 0%, #FA7E1E 20%, #D62976 40%, #962FBF 70%, #4F5BD5 100%);
  border-color: #962FBF;
  box-shadow: 0 5px 15px rgba(150, 47, 191, 0.4);
}

.social-link[aria-label="LinkedIn"]:hover,
.social-link:has(i.fa-linkedin-in):hover {
  background: #0077B5;
  border-color: #0077B5;
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-link[aria-label="WhatsApp"]:hover,
.social-link:has(i.fa-whatsapp):hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.footer-column {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 992px) {
  .footer-content .row > div:first-child .footer-column {
    padding-left: 0;
  }
  
  .footer-content .row > div:not(:first-child) .footer-column {
    padding-left: 2rem;
  }
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 15px;
}

.footer-links a:hover::before {
  width: 8px;
}

/* Footer Contact Section */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-icon {
  color: var(--primary-color);
  font-size: 1rem;
  width: 18px;
  min-width: 18px;
  text-align: center;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-contact-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-contact-link:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact-separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.25rem;
  font-size: 0.9rem;
}

.footer-contact-location {
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  .footer-contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .footer-contact-icon {
    margin-top: 0;
  }
  
  .footer-contact-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .footer-contact-separator {
    display: none !important;
  }
}

.footer-newsletter-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.footer-subscribe-btn {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-subscribe-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-made-in-india {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

.footer-legal a:hover::after {
  width: 100%;
}

/* ===== Legacy Footer (for other pages) ===== */
.footer {
  background-color: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer h5 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Shop Page Filters ===== */
.sidebar-filter {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-filter:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.filter-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-title i {
  font-size: 1.2rem;
  opacity: 0.95;
  color: white;
}

.filter-toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}

.filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.filter-content {
  padding: 1.75rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

@media (max-width: 767px) {
  .filter-toggle-btn {
    display: block;
  }
  
  .filter-content {
    display: none;
    padding: 1.5rem;
  }
  
  .filter-content.show {
    display: block;
    animation: slideDown 0.3s ease;
  }
}

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

.filter-group {
  margin-bottom: 2rem;
  position: relative;
}

.filter-group:last-of-type {
  margin-bottom: 1.5rem;
}

.filter-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.95rem;
  padding-left: 0.25rem;
}

.filter-label i {
  color: var(--primary-color);
  font-size: 1rem;
  width: 18px;
  opacity: 0.9;
}

/* Filter Select - Aesthetic with Softer Corners */
.filter-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0.98) 100%);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232563eb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 18px 14px;
  padding-right: 2.75rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-lightest), 0 4px 12px rgba(37, 99, 235, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(255, 255, 255, 1) 100%);
  transform: translateY(-1px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-select:hover {
  border-color: var(--primary-light);
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(255, 255, 255, 1) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Native Select Option Styling - Enhanced */
.filter-select option {
  padding: 0.875rem 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  margin: 0.25rem 0;
}

.filter-select option:hover {
  background: var(--primary-lightest);
  color: var(--primary-color);
}

.filter-select option:checked {
  background: var(--primary-lightest);
  color: var(--primary-color);
  font-weight: 600;
}

/* Price Range Styling */
.price-range-container {
  position: relative;
  padding: 0.5rem 0;
}

.price-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 1rem 0;
  cursor: pointer;
  border: none;
}

.price-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) var(--slider-progress, 100%), var(--border-color) var(--slider-progress, 100%), var(--border-color) 100%);
  border: none;
  cursor: pointer;
}

.price-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--border-color);
  border: none;
  cursor: pointer;
}

.price-slider::-moz-range-progress {
  height: 8px;
  border-radius: 5px;
  background: var(--primary-color);
  cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  border: 3px solid white;
  margin-top: -6px;
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  background: var(--primary-dark);
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  border: 3px solid white;
  -moz-appearance: none;
  appearance: none;
}

.price-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  background: var(--primary-dark);
}

.price-slider::-moz-range-track {
  height: 8px;
  border-radius: 5px;
  background: var(--border-color);
  cursor: pointer;
}

.price-display-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0 0.25rem;
}

.price-min {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-max {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
}

.btn-reset-filters {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  padding: 1rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.btn-reset-filters::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-reset-filters:hover::before {
  left: 100%;
}

.btn-reset-filters:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--hover-shadow);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-reset-filters i {
  font-size: 0.875rem;
}

/* ===== Products Header ===== */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.products-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.product-count-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px var(--shadow);
}

/* ===== No Products Message ===== */
.no-products-container {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-secondary);
  border-radius: 20px;
  margin: 2rem 0;
}

.no-products-content {
  max-width: 500px;
  margin: 0 auto;
}

.no-products-content > i {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

.no-products-content button i,
.no-products-content .btn i {
  animation: none !important;
}

.no-products-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.no-products-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== Product Details Page ===== */
.product-gallery {
  margin-bottom: 2rem;
  animation: slideInLeft 0.6s ease-out;
  animation-fill-mode: both;
}

.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  display: block;
  animation: scaleIn 0.8s ease-out;
  animation-fill-mode: both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.thumbnail-images {
  display: none !important; /* Hidden - using single product image only */
}

.thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid var(--border-color);
  transition: border-color 0.3s ease;
  display: block;
  flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary-color);
}

.product-details {
  animation: slideInRight 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}

.product-details p {
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.45s;
}

.product-details .product-rating {
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.35s;
}

.product-details .mt-4 {
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.55s;
}

.product-details .mt-4 p {
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
}

.product-details .mt-4 p:nth-child(1) {
  animation-delay: 0.6s;
}

.product-details .mt-4 p:nth-child(2) {
  animation-delay: 0.65s;
}

.product-details .mt-4 p:nth-child(3) {
  animation-delay: 0.7s;
}

.btn-add-cart {
  animation: scaleIn 0.5s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.6s;
}

.product-details h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.3s;
  transition: transform 0.3s ease;
}

.product-details h1:hover {
  transform: translateX(5px);
}

.product-price-large {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.4s;
  transition: transform 0.3s ease;
}

.product-price-large:hover {
  transform: scale(1.05) rotate(1deg);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  background: var(--bg-secondary);
  padding: 0.25rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.5s;
}

.quantity-selector:hover {
  border-color: var(--primary-light);
}

.quantity-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--bg-primary);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  animation: scaleIn 0.4s ease-out;
  animation-fill-mode: both;
}

.quantity-btn:nth-child(1) {
  animation-delay: 0.5s;
}

.quantity-btn:nth-child(3) {
  animation-delay: 0.52s;
}

.quantity-btn:hover {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
  transform: scale(1.15) rotate(5deg);
}

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

.quantity-input {
  width: 50px;
  text-align: center;
  padding: 0.5rem 0.25rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  background: transparent;
  color: var(--text-primary);
  transition: all 0.2s ease;
  animation: scaleIn 0.4s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.51s;
}

.quantity-input:focus {
  outline: none;
  background: var(--bg-primary);
}

@media (max-width: 768px) {
  .quantity-selector {
    gap: 0.4rem;
    padding: 0.2rem;
  }
  
  .quantity-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  
  .quantity-input {
    width: 45px;
    padding: 0.4rem;
    font-size: 0.95rem;
  }
}

.btn-buy-now {
  background-color: var(--primary-dark);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.btn-buy-now:hover {
  background-color: var(--primary-color);
  transform: scale(1.02);
}

.product-tabs {
  margin-top: 3rem;
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.7s;
}

.nav-tabs {
  border-bottom: 2px solid var(--border-color);
}

.nav-tabs .nav-link {
  color: var(--text-secondary);
  border: none;
  border-bottom: 3px solid transparent;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: transparent;
  animation: fadeIn 0.4s ease-out;
}

.tab-content {
  padding: 2rem 0;
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.9s;
}

.tab-pane {
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
}

.tab-pane h4,
.tab-pane h5 {
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.1s;
}

.tab-pane p,
.tab-pane ul,
.tab-pane table {
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}

/* ===== Cart Page ===== */
/* ===== Cart Page - Modern & Aesthetic Design ===== */
.cart-item {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: cartItemSlideIn 0.4s ease backwards;
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .cart-item-image {
    flex-shrink: 0;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
  }
  
  .cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cart-item-actions {
    width: 100%;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cart-item-title {
    font-size: 1rem;
    line-height: 1.3;
  }
  
  .cart-item-price {
    font-size: 1.1rem;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .cart-item-price > span:first-child {
    font-size: 0.85rem;
  }
  
  .cart-item-total {
    font-size: 1.1rem;
  }
  
  .btn-remove {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .quantity-selector {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .cart-item {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 1rem;
    gap: 1rem;
  }
  
  .cart-item-image {
    align-self: center;
    flex-shrink: 0;
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
  }
  
  .cart-item-details {
    width: 100%;
    text-align: center;
    flex: 1;
    min-width: 0;
    gap: 0.75rem;
  }
  
  .cart-item-title {
    text-align: center;
    font-size: 1.05rem;
  }
  
  .cart-item-price {
    text-align: center;
    align-items: center;
    font-size: 1.2rem;
  }
  
  .cart-item-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    flex-direction: row;
    width: 100%;
  }
  
  .quantity-selector {
    flex-shrink: 0;
    width: auto;
  }
  
  .btn-remove {
    flex-shrink: 0;
    width: auto;
    min-width: 120px;
  }
}

.cart-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: calc(100% - 0px);
  background: var(--primary-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 16px 0 0 16px;
  z-index: 1;
  top: 0;
}

.cart-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.cart-item:hover::before {
  transform: scaleY(1);
}

@keyframes cartItemSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item {
  animation: cartItemSlideIn 0.4s ease backwards;
}

.cart-item.cart-item-updated {
  animation: none;
}

.cart-item:nth-child(1) { animation-delay: 0.1s; }
.cart-item:nth-child(2) { animation-delay: 0.2s; }
.cart-item:nth-child(3) { animation-delay: 0.3s; }
.cart-item:nth-child(4) { animation-delay: 0.4s; }
.cart-item:nth-child(5) { animation-delay: 0.5s; }

.cart-item-image {
  width: 110px;
  height: 110px;
  min-width: 110px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--primary-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1.5px solid var(--border-color);
  overflow: hidden;
}

.cart-item:hover .cart-item-image {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-light);
  transform: scale(1.05);
}

.cart-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cart-item-image i {
  font-size: 2.75rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
  display: none; /* Hide icon, show image instead */
}

.cart-item:hover .cart-item-image i {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cart-item-image {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }
  
  .cart-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .cart-item-image i {
    display: none;
  }
}

@media (max-width: 576px) {
  .cart-item-image {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }
  
  .cart-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.cart-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  transition: color 0.3s ease;
  word-wrap: break-word;
  line-height: 1.4;
}

.cart-item:hover .cart-item-title {
  color: var(--primary-color);
}

.cart-item-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cart-item-price > span:first-child {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}

.cart-item-total {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .cart-item-title {
    font-size: 1.05rem;
  }
  
  .cart-item-price {
    font-size: 1.35rem;
  }
  
  .cart-item-total {
    font-size: 1.2rem;
  }
}

.cart-item-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 0;
}

.btn-remove {
  background: #fee2e2;
  color: #dc2626;
  border: 1.5px solid #fca5a5;
  padding: 0.625rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-remove::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #dc2626;
  transition: left 0.3s ease;
  z-index: 0;
}

.btn-remove:hover {
  color: white;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-remove:hover::before {
  left: 0;
}

.btn-remove i,
.btn-remove span {
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-remove:hover i {
  transform: scale(1.15) rotate(10deg);
}

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

@media (max-width: 768px) {
  .cart-item-actions {
    gap: 1rem;
  }
  
  .btn-remove {
    padding: 0.5rem 1rem;
  }
}

.order-summary {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  animation: orderSummaryFadeIn 0.4s ease;
  transition: box-shadow 0.3s ease;
}

.order-summary:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .order-summary {
    position: relative;
    top: 0;
    margin-top: 2rem;
  }
  
  #cart-items {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .order-summary {
    position: static;
    margin-top: 2rem;
  }
}

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

.order-summary h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1rem;
}

.summary-row span:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.summary-row span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

.summary-row:last-of-type {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.summary-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.btn-checkout {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.btn-checkout:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  color: white;
  text-decoration: none;
}

.btn-checkout:active {
  transform: translateY(0);
}

/* Empty Cart Styling */
#cart-items:empty::before {
  content: 'Your cart is empty';
  display: block;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
  font-size: 1.25rem;
  font-weight: 500;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 0.6s ease;
}

.cart-empty i {
  font-size: 5rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.cart-empty h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cart-empty p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===== Checkout Page ===== */
.checkout-form {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  max-width: 100%;
  animation: fadeIn 0.6s ease-out;
}

.checkout-form:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.checkout-form h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-form h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.checkout-form .form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.checkout-form .form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.checkout-form .form-group label i {
  color: var(--primary-color);
  font-size: 0.875rem;
  width: 16px;
}

.checkout-form .form-group input,
.checkout-form .form-group select,
.checkout-form .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: inherit;
}

.checkout-form .form-group input::placeholder,
.checkout-form .form-group select::placeholder,
.checkout-form .form-group textarea::placeholder {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.checkout-form .form-group input:focus,
.checkout-form .form-group select:focus,
.checkout-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--shadow);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Only show red borders after user interaction or form submission */
.checkout-form.form-submitted .form-group input:invalid:not(:placeholder-shown),
.checkout-form.form-submitted .form-group select:invalid:not(:placeholder-shown),
.checkout-form .form-group input.touched:invalid:not(:placeholder-shown),
.checkout-form .form-group select.touched:invalid:not(:placeholder-shown) {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
  background-color: var(--bg-primary);
}

.checkout-form.form-submitted .form-group input:invalid:focus:not(:placeholder-shown),
.checkout-form.form-submitted .form-group select:invalid:focus:not(:placeholder-shown),
.checkout-form .form-group input.touched:invalid:focus:not(:placeholder-shown),
.checkout-form .form-group select.touched:invalid:focus:not(:placeholder-shown) {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
}

.checkout-form .form-group input:valid:not(:placeholder-shown),
.checkout-form .form-group select:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

/* Native HTML5 validation error messages - Red color */
.checkout-form input:invalid:not(:placeholder-shown)::after,
.checkout-form select:invalid:not(:placeholder-shown)::after {
  content: attr(validationMessage);
  color: #dc3545;
}

/* Custom validation message styling */
.checkout-form .form-control:invalid + .invalid-feedback,
.checkout-form select:invalid + .invalid-feedback {
  display: block;
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Native browser validation tooltip styling (if possible) */
/* Removed - only show errors after interaction */

.checkout-form .form-group.has-error input,
.checkout-form .form-group.has-error select {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.checkout-form .form-group.has-error label {
  color: #dc3545 !important;
}

.checkout-form select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

.checkout-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
}

.checkout-form .checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.checkout-form .checkbox-label i {
  color: var(--primary-color);
}

.payment-section {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  opacity: 0.6;
  pointer-events: none;
}

.payment-note {
  background: #fef3c7;
  border: 2px solid #fbbf24;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  color: #92400e;
  font-weight: 600;
}

/* ===== Contact Page ===== */
.contact-form {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.6s ease-out;
}

.contact-form:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.contact-form h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.contact-form .form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.contact-form .form-group label i {
  color: var(--primary-color);
  font-size: 0.875rem;
  width: 16px;
}

.contact-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form .form-control::placeholder {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--shadow);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Only show red borders after user interaction or form submission */
.contact-form.form-submitted .form-control:invalid:not(:placeholder-shown),
.contact-form.form-submitted select:invalid:not(:placeholder-shown),
.contact-form.form-submitted textarea:invalid:not(:placeholder-shown),
.contact-form .form-control.touched:invalid:not(:placeholder-shown),
.contact-form select.touched:invalid:not(:placeholder-shown),
.contact-form textarea.touched:invalid:not(:placeholder-shown) {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
  background-color: var(--bg-primary);
}

.contact-form.form-submitted .form-control:invalid:focus:not(:placeholder-shown),
.contact-form.form-submitted select:invalid:focus:not(:placeholder-shown),
.contact-form.form-submitted textarea:invalid:focus:not(:placeholder-shown),
.contact-form .form-control.touched:invalid:focus:not(:placeholder-shown),
.contact-form select.touched:invalid:focus:not(:placeholder-shown),
.contact-form textarea.touched:invalid:focus:not(:placeholder-shown) {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
}

.contact-form .form-control:valid:not(:placeholder-shown),
.contact-form select:valid:not(:placeholder-shown),
.contact-form textarea:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

/* Custom validation message styling */
.contact-form .form-control:invalid + .invalid-feedback,
.contact-form select:invalid + .invalid-feedback,
.contact-form textarea:invalid + .invalid-feedback {
  display: block;
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.contact-form .form-group.has-error input,
.contact-form .form-group.has-error select,
.contact-form .form-group.has-error textarea {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.contact-form .form-group.has-error label {
  color: #dc3545 !important;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-form select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

.contact-form .btn-add-cart {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: auto;
  margin-top: 0.5rem;
}

.contact-form .btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.contact-form .btn-add-cart:active {
  transform: translateY(0);
}

.contact-form .btn-add-cart i {
  font-size: 1rem;
}

/* Contact Info Section */
.contact-form h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.contact-form h5 i {
  font-size: 1.25rem;
}

.contact-form p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.contact-form .d-flex.gap-3 a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
}

.contact-form .d-flex.gap-3 a:hover {
  color: var(--primary-color);
  background-color: rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
}

.map-placeholder {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-placeholder i {
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Form Messages */
#form-messages {
  margin-bottom: 1.5rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
  border-left: 4px solid;
}

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

.alert-success {
  background-color: #d1fae5;
  border-color: #10b981;
  color: #065f46;
  border-left-color: #10b981;
}

.alert-success::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #10b981;
}

.alert-error {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-secondary);
  border-left-color: var(--text-secondary);
}

.alert-error::before {
  content: '\f06a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--text-secondary);
}

/* Form Field Error States */
.form-group.has-error .form-control {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
  background-color: var(--bg-primary);
}

.form-group.has-error label {
  color: #dc3545 !important;
}

.field-error {
  color: #dc3545 !important;
  font-weight: 500;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

.form-group.has-success .form-control {
  border-color: #10b981;
}

/* Contact Info Card */
.contact-info-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-info-card h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-card h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-content h5 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-info-content a,
.contact-info-content p {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.6;
  margin: 0;
}

.contact-info-content a:hover {
  color: var(--primary-color);
}

/* Responsive Contact Form */
@media (max-width: 991px) {
  .contact-form {
    max-width: 100%;
    padding: 1.75rem;
  }

  .contact-info-card {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .contact-form h3 {
    font-size: 1.35rem;
  }

  .contact-form .btn-add-cart {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .contact-form .form-group {
    margin-bottom: 1.25rem;
  }

  .contact-info-card {
    padding: 1.5rem;
  }

  .contact-info-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
  /* General Container Fixes */
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Carousel Responsive */
  .carousel-title {
    font-size: 2.25rem;
  }

  .carousel-description {
    font-size: 1.05rem;
    max-width: 100%;
  }

  .carousel-price span {
    font-size: 1.65rem;
  }

  .product-showcase {
    max-width: 380px;
    height: 380px;
  }

  .product-showcase i {
    font-size: 9rem;
  }

  .carousel-control-prev {
    left: 1rem;
  }

  .carousel-control-next {
    right: 1rem;
  }

  /* Footer Responsive */
  .footer-legal {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .theme-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item-image {
    width: 100%;
    height: 200px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .quantity-selector {
    justify-content: center;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    font-size: 1.35rem;
  }

  /* Mobile layout adjustments */
  .navbar-mobile-search {
    max-width: 175px;
  }

  .navbar-mobile-search .search-form input {
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem 2.5rem 0.5rem 2rem;
  }

  .cart-icon.d-lg-none {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  /* Carousel Mobile */
  .hero-carousel-section {
    margin-bottom: 2rem;
    overflow: hidden;
  }

  .carousel-item {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .carousel-slide-content {
    min-height: auto;
    padding: 2.5rem 0 5rem;
    overflow: hidden;
  }

  .carousel-slide-content .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }

  .carousel-slide-content .row {
    margin: 0;
  }

  .carousel-slide-content .col-lg-6 {
    padding: 0 0.5rem;
  }

  .carousel-text {
    padding: 1rem 0;
    text-align: center;
  }

  .carousel-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
  }

  .carousel-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .btn-carousel-primary,
  .btn-carousel-secondary {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  }

  .btn-carousel-primary:hover,
  .btn-carousel-secondary:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px);
  }

  .carousel-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .carousel-price {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .carousel-price span {
    font-size: 1.5rem;
  }

  .carousel-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding: 0 0.5rem;
  }

  .btn-carousel-primary,
  .btn-carousel-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    max-width: 100%;
  }

  .carousel-image {
    padding: 1rem 0;
    margin-top: 1rem;
  }

  .product-showcase {
    max-width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  .product-showcase i {
    font-size: 7rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2)) !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 38px;
    height: 38px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    transition: top 0.2s ease-out;
  }

  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
  }

  .carousel-control-prev {
    left: 0.75rem;
  }

  .carousel-control-next {
    right: 0.75rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%);
    opacity: 0.85;
  }

  .carousel-control-prev:hover .carousel-control-prev-icon,
  .carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
  }

  .carousel-indicators {
    bottom: 1.25rem;
    gap: 0.5rem;
    background: transparent;
    backdrop-filter: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
  }

  .carousel-indicators button {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4) !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    padding: 0;
  }

  .carousel-indicators button:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    height: 4px;
  }

  .carousel-indicators button.active {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white !important;
    border: 2px solid white; 
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.25);
    transform: scale(1.2);
  }

  /* Footer Mobile */
  .footer-modern {
    padding: 3rem 0 0;
  }

  .footer-logo {
    height: 50px;
  }

  .footer-logo-image {
    height: 50px;
    max-width: 150px;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-made-in-india {
    display: block;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 0.5rem;
  }

  .footer-newsletter-form {
    flex-direction: column;
  }

  .footer-newsletter-form input {
    width: 100%;
  }

  .footer-subscribe-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  /* Top Contact Bar - Very Small Screens */
  .top-contact-bar {
    padding: 0.4rem 0;
  }

  .top-contact-bar .contact-info {
    gap: 0.6rem;
    justify-content: center;
  }

  .top-contact-bar .contact-item {
    font-size: 0.65rem;
    gap: 0.45rem;
  }

  .top-contact-bar .contact-item i {
    font-size: 0.65rem;
    width: 13px;
    min-width: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Container fixes */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .theme-options {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }

  .product-price-large {
    font-size: 2rem;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .navbar .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-toggler {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 0.875rem;
    font-size: 0.9rem;
  }

  .navbar-brand .logo-image {
    height: 40px;
    max-width: 90px;
  }

  .contact-form {
    padding: 1.25rem;
    margin: 0 0.5rem;
  }

  .contact-form h3 {
    font-size: 1.35rem;
  }

  /* Carousel Small Mobile */
  .hero-carousel-section {
    margin-bottom: 1.5rem;
  }

  .carousel-item {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .carousel-slide-content {
    min-height: auto;
    padding: 2rem 0 4.5rem;
  }

  .carousel-slide-content .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .carousel-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.875rem;
  }

  .carousel-title {
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 0 0.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .btn-carousel-primary,
  .btn-carousel-secondary {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  }

  .btn-carousel-primary:hover,
  .btn-carousel-secondary:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px);
  }

  .carousel-description {
    font-size: 0.875rem;
    padding: 0;
  }

  .carousel-price {
    font-size: 0.85rem;
  }

  .carousel-price span {
    font-size: 1.35rem;
  }

  .carousel-buttons {
    padding: 0;
    gap: 0.625rem;
  }

  .btn-carousel-primary,
  .btn-carousel-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .product-showcase {
    max-width: 220px;
    height: 220px;
  }

  .product-showcase i {
    font-size: 5.5rem;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.18)) !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    transition: top 0.2s ease-out;
  }

  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
  }

  .carousel-control-prev {
    left: 0.5rem;
  }

  .carousel-control-next {
    right: 0.5rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 14px;
    height: 14px;
    filter: brightness(0) saturate(100%);
    opacity: 0.85;
  }

  .carousel-control-prev:hover .carousel-control-prev-icon,
  .carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
  }

  .carousel-indicators {
    bottom: 1rem;
    gap: 0.5rem;
    background: transparent;
    backdrop-filter: none;
    padding: 0.5rem 0.625rem;
    border-radius: 0;
  }

  .carousel-indicators button {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4) !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    padding: 0;
  }

  .carousel-indicators button:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    height: 4px;
  }

  .carousel-indicators button.active {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white !important;
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.25);
    transform: scale(1.2);
  }

  /* Categories Section Mobile */
  .categories-section {
    padding: 2rem 0;
  }

  .categories-section .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Footer Small Mobile */
  .footer-modern {
    padding: 2.5rem 0 0;
  }

  .footer-modern .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .footer-legal a {
    display: block;
  }
}

/* ===== WhatsApp Chat Widget ===== */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.whatsapp-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-toggle i {
  z-index: 2;
  position: relative;
}

.whatsapp-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FF4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 3px solid white;
  z-index: 3;
  animation: badgeBounce 1s infinite;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: whatsappRipple 2s infinite;
}

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

@keyframes whatsappRipple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes badgeBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 40px);
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s ease;
}

.whatsapp-chat-box.active {
  display: flex;
}

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

.whatsapp-chat-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-avatar {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.whatsapp-info {
  flex: 1;
}

.whatsapp-info h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.whatsapp-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  opacity: 0.9;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: statusPulse 1.5s infinite;
}

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

.status-text {
  font-size: 0.8rem;
}

.whatsapp-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.whatsapp-chat-body {
  padding: 1.5rem;
  max-height: 300px;
  overflow-y: auto;
  background: #f0f0f0;
  flex: 1;
}

.whatsapp-chat-body::-webkit-scrollbar {
  width: 6px;
}

.whatsapp-chat-body::-webkit-scrollbar-track {
  background: transparent;
}

.whatsapp-chat-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.whatsapp-message {
  margin-bottom: 1rem;
  animation: messageSlideIn 0.3s ease;
}

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

.whatsapp-message-received .message-content {
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 10px 10px 10px 0;
  max-width: 80%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.message-time {
  font-size: 0.7rem;
  color: #999;
  margin-top: 0.25rem;
  display: block;
}

.whatsapp-typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 10px 10px 10px 0;
  max-width: 60px;
  margin-bottom: 1rem;
}

.whatsapp-typing-indicator span {
  width: 8px;
  height: 8px;
  background: #999;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.whatsapp-typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.whatsapp-typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.whatsapp-chat-footer {
  padding: 1rem 1.5rem;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.whatsapp-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.whatsapp-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--hover-shadow);
  color: white;
}

.whatsapp-send-btn i {
  font-size: 1.2rem;
}

/* WhatsApp Widget Responsive */
@media (max-width: 576px) {
  .whatsapp-widget {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-toggle {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .whatsapp-chat-box {
    width: calc(100vw - 30px);
    max-width: 350px;
    bottom: 75px;
  }

  .whatsapp-chat-body {
    max-height: 250px;
  }
}

/* ===== Modern Breadcrumb Design - Electronics Theme ===== */
.modern-breadcrumb-wrapper {
  margin: 2rem 0;
  padding: 0;
}

.modern-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  background: transparent;
}

.breadcrumb-item-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  animation: breadcrumbSlideIn 0.5s ease-out backwards;
}

.breadcrumb-item-modern:nth-child(1) { animation-delay: 0.1s; }
.breadcrumb-item-modern:nth-child(2) { animation-delay: 0.2s; }
.breadcrumb-item-modern:nth-child(3) { animation-delay: 0.3s; }

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

.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.breadcrumb-link:hover::before {
  left: 100%;
}

.breadcrumb-link:hover {
  background: linear-gradient(135deg, var(--primary-lightest), var(--bg-primary));
  border-color: var(--primary-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px var(--shadow);
  color: var(--primary-color);
}

.breadcrumb-link:hover .breadcrumb-text {
  color: var(--primary-color);
  font-weight: 600;
}

.breadcrumb-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px var(--shadow), 0 0 0 4px var(--primary-lightest);
  cursor: default;
  pointer-events: none;
  animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {
  0%, 100% {
    box-shadow: 0 12px 32px var(--shadow), 0 0 0 4px var(--primary-lightest);
  }
  50% {
    box-shadow: 0 12px 32px var(--shadow), 0 0 0 6px var(--primary-lightest);
  }
}

.breadcrumb-link.active .breadcrumb-text {
  color: white;
  font-weight: 600;
}

.breadcrumb-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-link:hover .breadcrumb-icon-wrapper {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px var(--shadow);
  transform: scale(1.05);
}

.breadcrumb-link.active .breadcrumb-icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.breadcrumb-morph-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-lightest) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.breadcrumb-link:hover .breadcrumb-morph-bg {
  width: 200%;
  height: 200%;
  opacity: 1;
  animation: morphPulse 2s ease-in-out infinite;
}

.breadcrumb-link.active .breadcrumb-morph-bg {
  width: 200%;
  height: 200%;
  opacity: 0.3;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: morphPulse 2s ease-in-out infinite;
}

@keyframes morphPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

.breadcrumb-icon {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.breadcrumb-link:hover .breadcrumb-icon {
  color: var(--primary-color);
  transform: scale(1.2) rotate(8deg);
  filter: drop-shadow(0 4px 8px var(--shadow));
}

.breadcrumb-link.active .breadcrumb-icon {
  color: white;
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) scale(1.1);
  }
  50% {
    transform: translateY(-3px) scale(1.15);
  }
}

.breadcrumb-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  transition: all 0.3s ease;
  animation: separatorPulse 2s ease-in-out infinite;
}

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

.breadcrumb-item-modern:hover .breadcrumb-separator {
  color: var(--primary-color);
  transform: translateX(3px) scale(1.2);
}

/* Mobile Responsive Breadcrumbs */
@media (max-width: 768px) {
  .modern-breadcrumb {
    gap: 0.35rem;
  }
  
  .breadcrumb-link {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }
  
  .breadcrumb-icon-wrapper {
    width: 32px;
    height: 32px;
  }
  
  .breadcrumb-icon {
    font-size: 0.9rem;
  }
  
  .breadcrumb-separator {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }
  
  .breadcrumb-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .breadcrumb-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .breadcrumb-icon-wrapper {
    width: 28px;
    height: 28px;
  }
  
  .breadcrumb-icon {
    font-size: 0.8rem;
  }
  
  .breadcrumb-text {
    display: none;
  }
  
  .breadcrumb-link:hover .breadcrumb-text,
  .breadcrumb-link.active .breadcrumb-text {
    font-size: 0.75rem;
  }
}

/* ===== Ultra-Refined Breadcrumb Styles - Minimal & Elegant ===== */
.refined-breadcrumb-nav {
  padding: 0;
  margin: 0 0 0.75rem 0;
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
}

.refined-breadcrumb {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem; /* 12px - very subtle */
  line-height: 1.3;
  flex-wrap: wrap;
  gap: 0;
  letter-spacing: 0.01em;
  animation: slideInLeft 0.4s ease-out;
  animation-fill-mode: both;
}

.refined-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.refined-breadcrumb-link {
  color: #9ca3af; /* Lighter gray - more subtle */
  text-decoration: none;
  transition: color 0.15s ease;
  font-weight: 400;
  padding: 0;
  display: inline-flex;
  align-items: center;
  font-size: inherit;
  white-space: nowrap;
}

.refined-breadcrumb-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.refined-breadcrumb-current {
  color: #4b5563; /* Medium gray for current page */
  font-weight: 500;
  padding: 0;
  display: inline-flex;
  align-items: center;
  font-size: inherit;
  white-space: nowrap;
}

.refined-breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.375rem;
  color: #e5e7eb; /* Very light separator */
  font-size: 0.375rem; /* 6px - extremely small */
  padding: 0;
  width: auto;
  height: auto;
  opacity: 0.4;
  line-height: 1;
}

.refined-breadcrumb-separator i {
  font-size: 0.375rem;
  line-height: 1;
  display: block;
  width: auto;
  height: auto;
}

/* Mobile adjustments - Ultra Compact */
@media (max-width: 768px) {
  .refined-breadcrumb-nav {
    margin-bottom: 0.5rem;
    padding: 0;
  }
  
  .refined-breadcrumb {
    font-size: 0.625rem; /* 10px on mobile - ultra compact */
    line-height: 1.2;
    gap: 0;
  }
  
  .refined-breadcrumb-item {
    margin: 0;
  }
  
  .refined-breadcrumb-link {
    padding: 0;
    font-size: 0.625rem;
    color: #9ca3af;
  }
  
  .refined-breadcrumb-current {
    padding: 0;
    font-size: 0.625rem;
    color: #4b5563;
    font-weight: 500;
  }
  
  .refined-breadcrumb-separator {
    margin: 0 0.25rem;
    font-size: 0.25rem; /* 4px on mobile - extremely small */
    opacity: 0.3;
  }
  
  .refined-breadcrumb-separator i {
    font-size: 0.25rem;
  }
}

/* ===== Mobile Touch Target Improvements ===== */
@media (max-width: 768px) {
  /* Ensure minimum touch target size (44x44px) */
  button, .btn, a.btn, .btn-add-cart, .btn-view-details {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1rem;
  }
  
  /* Improve tap targets for navigation */
  .nav-link, .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
  }
  
  /* Better spacing for mobile product cards */
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  /* Improved mobile search */
  .search-form input {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px;
  }
  
  /* Better mobile cart */
  .cart-icon {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Improved mobile filters */
  .filter-toggle-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===== SEO Content Section Styles ===== */
.seo-content-section {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.seo-content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.seo-content-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.seo-content-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.seo-content-section ul, .seo-content-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.seo-content-section li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .seo-content-section {
    margin: 2rem 0;
    padding: 1.5rem;
  }
  
  .seo-content-section h2 {
    font-size: 1.5rem;
  }
  
  .seo-content-section h3 {
    font-size: 1.25rem;
  }
}

/* ===== Additional Mobile UI/UX Improvements ===== */
@media (max-width: 768px) {
  /* Better spacing for mobile product grid */
  .products-grid .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .products-grid .col-lg-4,
  .products-grid .col-md-6,
  .products-grid .col-sm-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
  }
  
  /* Improved mobile product cards */
  .product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .product-card .product-image {
    height: 200px;
    padding: 10px;
  }
  
  /* Better mobile navigation */
  .navbar-toggler {
    min-width: 25px;
    min-height: 25px;
    padding: 0.25rem;
  }
  
  /* Improved mobile search */
  .search-suggestions {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better mobile filters */
  .sidebar-filter {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .sidebar-filter.active {
    left: 0;
  }
  
  /* Mobile filter overlay */
  .filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
  }
  
  .filter-overlay.active {
    display: block;
  }
  
  /* Better mobile cart */
  .cart-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
  }
  
  .cart-item:last-child {
    border-bottom: none;
  }
  
  /* Improved mobile buttons */
  .btn-primary-custom,
  .btn-add-cart,
  .btn-view-details {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
  }
  
  /* Better mobile typography */
  h1, h2, h3 {
    word-wrap: break-word;
    hyphens: auto;
  }
  
  /* Improved mobile forms */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
    border-radius: 8px;
    min-height: 44px;
  }
  
  /* Better mobile spacing */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Improved mobile footer */
  .footer-modern {
    padding: 2rem 0 1rem;
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
}

/* ===== Mobile Performance Optimizations ===== */
@media (max-width: 768px) {
  /* Reduce animations on mobile for better performance */
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  /* Optimize images for mobile */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Better scrolling on mobile */
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== Enhanced Accessibility Improvements (99+ Rating) ===== */

/* Enhanced focus styles for better keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 5px var(--primary-color);
    position: relative;
}

/* Remove default focus outline for mouse users but keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Minimum touch target size (44x44px as per WCAG 2.1) */
button,
a.btn,
input[type="submit"],
input[type="button"],
.nav-link,
.dropdown-item {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
}

/* Enhanced color contrast for buttons */
.btn-add-cart,
.btn-view-details,
.btn-primary {
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    min-height: 44px;
    min-width: 44px;
}

.btn-add-cart:hover,
.btn-view-details:hover,
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    opacity: 0.95;
}

/* Enhanced link accessibility */
a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--primary-dark);
    text-decoration-thickness: 3px;
}

a:focus-visible {
    background-color: var(--primary-lightest);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Form field accessibility improvements */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Disabled states */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Loading states */
[aria-busy="true"] {
    cursor: wait;
    opacity: 0.7;
    pointer-events: none;
}

/* ===== Modern Pagination Styles ===== */
.pagination-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#products-pagination-container {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#products-count {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.5rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-border-radius: 12px;
    --bs-pagination-border-width: 2px;
    --bs-pagination-border-color: var(--border-color);
    --bs-pagination-color: var(--primary-color);
    --bs-pagination-bg: var(--bg-primary);
    --bs-pagination-hover-color: #ffffff;
    --bs-pagination-hover-bg: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --bs-pagination-hover-border-color: var(--primary-color);
    --bs-pagination-focus-color: #ffffff;
    --bs-pagination-focus-bg: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
    --bs-pagination-active-color: #ffffff;
    --bs-pagination-active-bg: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --bs-pagination-active-border-color: var(--primary-color);
    --bs-pagination-disabled-color: var(--text-secondary);
    --bs-pagination-disabled-bg: var(--bg-secondary);
    --bs-pagination-disabled-border-color: var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    max-width: 100%;
}

.pagination[role="list"] {
    list-style: none;
}

.page-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-link {
    border-radius: 12px !important;
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.875rem;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.page-link:focus-visible {
    outline: 3px solid var(--primary-lightest);
    outline-offset: 2px;
    z-index: 2;
}

.page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transition: left 0.3s ease;
    z-index: -1;
}

.page-link:hover::before,
.page-link:focus::before {
    left: 0;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
    color: #ffffff;
    z-index: 1;
}

.page-item.active .page-link::before {
    left: 0;
}

.page-link:hover:not(.disabled),
.page-link:focus:not(.disabled) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    z-index: 1;
}

.page-item.disabled {
    pointer-events: none;
}

.page-item.disabled .page-link {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.page-item.disabled .page-link::before {
    display: none;
}

.page-item.disabled .page-link:hover,
.page-item.disabled .page-link:focus {
    transform: none;
    box-shadow: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

/* Ellipsis styling */
.page-item.disabled .page-link:not(.page-link[aria-label]) {
    background: transparent;
    border-color: transparent;
    cursor: default;
    min-width: auto;
    padding: 0.5rem;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
        padding: 1.5rem 0.5rem;
    }
    
    .pagination {
        gap: 0.4rem;
    }
    
    .page-link {
        min-width: 40px;
        min-height: 40px;
        height: 40px;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    #products-count {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {
    .pagination-wrapper {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        padding: 1rem 0.25rem;
    }
    
    .pagination {
        gap: 0.3rem;
        --bs-pagination-padding-x: 0.5rem;
        --bs-pagination-padding-y: 0.4rem;
        --bs-pagination-font-size: 0.85rem;
    }
    
    .page-link {
        min-width: 38px;
        min-height: 38px;
        height: 38px;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        border-radius: 10px !important;
    }
    
    #products-count {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 400px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .page-link {
        min-width: 36px;
        min-height: 36px;
        height: 36px;
        padding: 0.35rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* ===== Responsive Product Cards ===== */
@media (max-width: 768px) {
    .product-info {
        padding: 1.25rem;
        min-height: 180px;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-price {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .product-rating {
        margin-bottom: 1rem;
    }
    
    .btn-view-details,
    .btn-add-cart {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-add-cart {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .product-info {
        padding: 1rem;
        min-height: 160px;
    }
    
    .product-title {
        font-size: 0.95rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .btn-view-details,
    .btn-add-cart {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* Skip navigation enhancement */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 6px 0;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.skip-to-main:focus {
    top: 0;
}

