:root {
  /* Enhanced Professional Color Palette */
  --primary: #FF6A00;
  --primary-dark: #d65800;
  --primary-light: #ff8533;
  --primary-rgb: 255, 106, 0;
  --secondary: #0a73f5;
  --secondary-dark: #0847b3;
  --secondary-light: #4285f4;
  --accent: #28a745;
  --accent-dark: #1e7e34;
  --accent-light: #20c997;
  --danger: #dc3545;
  --warning: #ffc107;
  --success: #28a745;
  --info: #17a2b8;

  /* Enhanced Surface Colors with Depth */
  --bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --surface: #ffffff;
  --surface-secondary: #f8f9fa;
  --surface-tertiary: #e9ecef;
  --surface-overlay: rgba(255, 255, 255, 0.95);
  --surface-glass: rgba(255, 255, 255, 0.25);

  /* Enhanced Text Hierarchy */
  --text: #212529;
  --text-secondary: #495057;
  --text-muted: #6c757d;
  --text-light: #adb5bd;
  --text-inverse: #ffffff;
  --text-heading: #1a1a1a;

  /* Enhanced Border & Shadow System */
  --border: #e9ecef;
  --border-light: #f8f9fa;
  --border-dark: #dee2e6;
  --border-focus: rgba(255, 106, 0, 0.5);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(255, 106, 0, 0.3);

  /* Enhanced Gradient System */
  --gradient-primary: linear-gradient(135deg, #FF6A00 0%, #ff8533 50%, #ffb366 100%);
  --gradient-secondary: linear-gradient(135deg, #0a73f5 0%, #4285f4 50%, #8ab4f8 100%);
  --gradient-accent: linear-gradient(135deg, #28a745 0%, #20c997 50%, #51cf66 100%);
  --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
  --gradient-hero: linear-gradient(135deg, #FF6A00 0%, #ff8533 30%, #ffb366 60%, #8ab4f8 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-text: linear-gradient(135deg, #FF6A00 0%, #ff8533 100%);

  /* Enhanced Spacing & Border Radius */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Enhanced Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-spring: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);

  /* Enhanced Typography Scale */
  --font-family-primary: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Enhanced Z-index Scale */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family-primary);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  overflow-x: hidden;
  position: relative;
}

/* Professional Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  color: var(--text-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

h1 { font-size: var(--text-4xl); font-weight: var(--font-weight-extrabold); }
h2 { font-size: var(--text-3xl); font-weight: var(--font-weight-bold); }
h3 { font-size: var(--text-2xl); font-weight: var(--font-weight-semibold); }
h4 { font-size: var(--text-xl); font-weight: var(--font-weight-semibold); }
h5 { font-size: var(--text-lg); font-weight: var(--font-weight-medium); }
h6 { font-size: var(--text-base); font-weight: var(--font-weight-medium); }

p {
  margin-bottom: 1rem;
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: var(--font-weight-medium);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Professional Container System */
.container {
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
  width: 100%;
}

.container-fluid {
  padding: 0 1rem;
}

/* Professional Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  line-height: var(--leading-none);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.btn::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;
}

.btn:hover::before {
  left: 100%;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.25);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
  color: white;
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(10, 115, 245, 0.3);
}

.btn-secondary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(10, 115, 245, 0.4);
  color: white;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
  border-radius: var(--radius);
}

/* Professional Form System */
.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--surface);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1), var(--shadow);
  background: var(--surface);
  transform: translateY(-1px);
}

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

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: var(--text-sm);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* Professional Card System */
.card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition-spring);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glass);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 0.5;
}

.card-body {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-heading);
  margin-bottom: 0.875rem;
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
}

.card-text {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.25rem;
}

.card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-spring);
  position: relative;
}

.card:hover .card-img-top {
  transform: scale(1.08);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@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 bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Utility Classes */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
}

.bounce-in {
  animation: bounceIn 1s ease-out forwards;
  opacity: 0;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hover-scale {
  transition: transform 0.3s ease;
}

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

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.3);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  padding: 0.75rem 0;
}

.navbar .navbar-brand {
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.navbar .navbar-brand i {
  font-size: 1.8rem;
}

.navbar .nav-link {
  color: var(--text);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  margin: 0 0.25rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
  background: rgba(255, 106, 0, 0.1);
  transform: translateY(-1px);
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

/* Mobile Navigation */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
}

.navbar-toggler-icon {
  background-image: none;
  width: 1.5em;
  height: 1.5em;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

.navbar-toggler-icon::before { top: 0; }
.navbar-toggler-icon div { top: 50%; transform: translateY(-50%); }
.navbar-toggler-icon::after { bottom: 0; }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg) translate(7px, -6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon div {
  opacity: 0;
}

/* Dropdown Cart */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px var(--shadow-hover);
  border-radius: var(--radius);
  padding: 0;
  min-width: 350px;
  margin-top: 0.5rem;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.dropdown-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--surface-secondary);
  transform: translateX(5px);
}

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

/* Container */
.container {
  max-width: 1200px;
  padding: 0 1rem;
}

/* Hero Section - Ultra Modern */
.hero {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 90%, rgba(255, 106, 0, 0.2) 0%, transparent 40%);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1200"><defs><pattern id="hero-pattern" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="10" cy="50" r="0.8" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.8" fill="rgba(255,255,255,0.1)"/><path d="M30 30 L35 25 L40 30 L35 35 Z" fill="rgba(255,106,0,0.1)"/></pattern></defs><rect width="1200" height="1200" fill="url(%23hero-pattern)"/></svg>');
  opacity: 0.4;
  animation: drift 30s linear infinite;
}

.hero .hero-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 106, 0, 0.3);
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: slideInLeft 1s ease-out 0.5s both;
}

.hero p {
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  margin-bottom: 3.5rem;
  opacity: 0.95;
  line-height: 1.7;
  font-weight: var(--font-weight-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  margin: 4rem 0;
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.6s both;
}

.hero-search .d-flex {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 60px;
  padding: 0.75rem;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-search .d-flex::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.hero-search .form-control {
  border-radius: 40px;
  height: 56px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0 2rem;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  flex: 1;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: var(--transition-spring);
}

.hero-search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-light);
}

.hero-search .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(255, 106, 0, 0.3);
  transform: scale(1.02);
}

.hero-search .btn {
  border-radius: 40px;
  border: none;
  height: 48px;
  padding: 0 2.5rem;
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
  background: white;
  color: var(--primary);
  margin-left: 1rem;
  transition: var(--transition-spring);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.hero-search .btn:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

.hero-actions {
  margin-top: 4rem;
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.9s both;
}

.hero-actions .btn {
  min-width: 220px;
  margin: 0 1.5rem 1.5rem 0;
  border-radius: 60px;
  padding: 1.5rem 3rem;
  font-weight: var(--font-weight-bold);
  font-size: 1.2rem;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-actions .btn:hover::before {
  left: 100%;
}

.hero-actions .btn-primary {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-primary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: white;
}

.hero-actions .btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.9);
  color: white;
  background: transparent;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-actions .btn-outline-primary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: white;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes drift {
  0% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(20px) translateY(-10px) rotate(2deg); }
  50% { transform: translateX(-10px) translateY(20px) rotate(-1deg); }
  75% { transform: translateX(30px) translateY(-5px) rotate(1deg); }
  100% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-search .form-control {
  border-radius: 25px;
  height: 50px;
  border: none;
  background: transparent;
  color: white;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  flex: 1;
}

.hero-search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.hero-search .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  border: none;
}

.hero-search .btn {
  border-radius: 25px;
  border: none;
  height: 40px;
  padding: 0 2rem;
  font-weight: 700;
  font-size: 1rem;
  background: white;
  color: var(--primary);
  margin-left: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-search .btn:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  margin-top: 3rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions .btn {
  min-width: 200px;
  margin: 0 1rem 1rem 0;
  border-radius: 50px;
  padding: 1.25rem 2.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.hero-actions .btn:hover::before {
  left: 100%;
}

.hero-actions .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-primary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: white;
}

.hero-actions .btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
  background: transparent;
}

.hero-actions .btn-outline-primary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: white;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

/* Category Cards */
.category-card {
  border: none;
  background: var(--surface);
  border-radius: var(--radius-xl);
  color: var(--text);
  box-shadow: 0 8px 30px var(--shadow);
  transition: var(--transition-slow);
  padding: 2.5rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(10, 115, 245, 0.08)),
    radial-gradient(circle at 30% 30%, rgba(255, 106, 0, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.category-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 106, 0, 0.1), transparent);
  opacity: 0;
  transition: var(--transition-slow);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

.category-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px var(--shadow-hover);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover::after {
  opacity: 0.3;
}

.category-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 4px 8px rgba(255, 106, 0, 0.3));
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-dark);
}

.category-card strong {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  z-index: 2;
  position: relative;
  letter-spacing: -0.01em;
}

.category-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  z-index: 2;
  position: relative;
  line-height: 1.5;
}

.category-card .badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

/* Product Cards */
.card {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 30px var(--shadow);
  transition: var(--transition-slow);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.card:hover::before {
  opacity: 1;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
  position: relative;
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

.product-badges .badge {
  display: block;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-success {
  background: var(--gradient-accent);
  color: white;
}

.badge-warning {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: white;
}

.card-body {
  padding: 1.5rem;
  position: relative;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.rating i {
  font-size: 0.9rem;
  color: #ffc107;
}

.rating small {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.card .btn {
  border-radius: 25px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
}

.card .btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.card .btn-primary:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.3);
}

.card .btn-success {
  background: var(--gradient-accent);
  color: white;
}

.card .btn-success:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .font-weight-bold {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::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:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--accent), #34ce57);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #28a745, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
}

.btn-outline-danger {
  border: 2px solid var(--danger);
  color: var(--danger);
  background: transparent;
}

.btn-outline-danger:hover {
  background: var(--danger);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Form Controls */
.form-control {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--surface);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
  background: var(--surface);
}

.form-control:hover {
  border-color: var(--primary-light);
}

/* Alerts */
.alert {
  border: none;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: currentColor;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: #155724;
  border-left: 4px solid var(--accent);
}

.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #721c24;
  border-left: 4px solid var(--danger);
}

.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  color: #856404;
  border-left: 4px solid var(--warning);
}

.alert-info {
  background: rgba(23, 162, 184, 0.1);
  color: #0c5460;
  border-left: 4px solid var(--secondary);
}

/* Tables */
.table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.table thead th {
  background: var(--surface-secondary);
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  color: var(--text);
  padding: 1rem;
}

.table tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

/* Footer */
footer {
  background: var(--text);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h5 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: white;
}

footer .social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  transition: var(--transition);
}

footer .social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }

  .hero .hero-wrap {
    max-width: 700px;
  }

  .category-card {
    padding: 2rem 1rem;
  }
}

@media (max-width: 992px) {
  .navbar .navbar-brand {
    font-size: 1.3rem;
  }

  .navbar .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .hero p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  }

  .section-title {
    font-size: 2.2rem;
  }

  .category-card {
    padding: 1.75rem 1rem;
  }

  .category-icon {
    font-size: 2.5rem;
  }

  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  .navbar {
    padding: 0.75rem 0;
  }

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

  .navbar .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .navbar-toggler {
    padding: 0.375rem 0.5rem;
  }

  .hero {
    min-height: 80vh;
    padding: 3rem 0;
  }

  .hero .hero-wrap {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 2rem;
  }

  .hero-search {
    margin: 2rem 0;
  }

  .hero-search .d-flex {
    padding: 0.25rem;
  }

  .hero-search .form-control {
    height: 45px;
    padding: 0 1rem;
    font-size: 1rem;
  }

  .hero-search .btn {
    height: 35px;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    margin-left: 0.25rem;
  }

  .hero-actions {
    margin-top: 2rem;
  }

  .hero-actions .btn {
    min-width: 160px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    margin: 0 0.5rem 1rem 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .category-card {
    padding: 1.5rem 0.75rem;
    margin-bottom: 1.5rem;
  }

  .category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .category-card strong {
    font-size: 1.1rem;
  }

  .category-card p {
    font-size: 0.85rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .card-img-top {
    height: 180px;
  }

  .card-body {
    padding: 1.25rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .dropdown-menu {
    min-width: 280px;
    margin-top: 0.25rem;
  }

  .dropdown-item {
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 0.5rem 0;
  }

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

  .navbar .navbar-brand i {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }

  .hero .hero-wrap {
    padding: 0 0.5rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
    margin-bottom: 0.75rem;
  }

  .hero p {
    font-size: clamp(0.85rem, 4.5vw, 1rem);
    margin-bottom: 1.5rem;
  }

  .hero-search {
    margin: 1.5rem 0;
  }

  .hero-search .d-flex {
    padding: 0.125rem;
  }

  .hero-search .form-control {
    height: 42px;
    padding: 0 0.875rem;
    font-size: 0.95rem;
  }

  .hero-search .btn {
    height: 32px;
    padding: 0 1.25rem;
    font-size: 0.9rem;
    margin-left: 0.125rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .hero-actions .btn {
    min-width: 140px;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    margin: 0 0.25rem 0.75rem 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .category-card {
    padding: 1.25rem 0.5rem;
    margin-bottom: 1rem;
  }

  .category-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .category-card strong {
    font-size: 1rem;
  }

  .category-card p {
    font-size: 0.8rem;
  }

  .card-img-top {
    height: 160px;
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .rating i {
    font-size: 0.8rem;
  }

  .rating small {
    font-size: 0.75rem;
  }

  .card .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .dropdown-menu {
    min-width: 250px;
  }

  .dropdown-item {
    padding: 0.625rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.4rem, 10vw, 2.2rem);
  }

  .hero p {
    font-size: clamp(0.8rem, 5vw, 0.95rem);
  }

  .hero-actions .btn {
    min-width: 120px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .category-card {
    padding: 1rem 0.375rem;
  }

  .card-body {
    padding: 0.875rem;
  }
}

/* High-resolution displays */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 3rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-actions,
  .back-to-top,
  footer {
    display: none !important;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .hero {
    background: white;
    color: black;
    min-height: auto;
    padding: 2rem 0;
  }
}

/* Accessibility & Enhanced UX */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: var(--transition);
}

.skip-link:focus {
  top: 6px;
}

.keyboard-navigation .btn:focus,
.keyboard-navigation .form-control:focus,
.keyboard-navigation .card:focus,
.keyboard-navigation .category-card:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.touch-active {
  transform: scale(0.98) !important;
  transition: transform 0.1s ease;
}

.focused {
  position: relative;
}

.focused::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  animation: slideInLeft 0.3s ease;
}

/* Loading States */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.is-valid {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

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

/* Enhanced Animations */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate {
  animation-play-state: running !important;
}

.fade-in-up.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left.animate {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right.animate {
  animation: slideInRight 0.8s ease-out forwards;
}

.bounce-in.animate {
  animation: bounceIn 1s ease-out forwards;
}

/* Performance Optimizations */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy.loaded {
  opacity: 1;
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --surface: #2d2d2d;
    --surface-secondary: #333333;
    --text: #ffffff;
    --text-muted: #cccccc;
    --border: #444444;
  }
}

/* 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;
    scroll-behavior: auto !important;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Feature Cards */
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
  border: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-hover);
}

.feature-icon {
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Product Cards - Ultra Modern */
.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.06);
  transition: var(--transition-spring);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 106, 0, 0.1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: left;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card .card-img-top {
  height: 280px;
  object-fit: cover;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

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

.product-card .card-img-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0) 0%, rgba(255, 106, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .card-img-top::after {
  opacity: 1;
}

.product-card .card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card .card-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .price {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card .price .original-price {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: var(--font-weight-normal);
}

.product-card .price .discount {
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .btn {
  border-radius: 50px;
  padding: 0.875rem 2rem;
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.product-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card .btn:hover::before {
  left: 100%;
}

.product-card .btn-primary {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.product-card .btn-primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

.product-card .btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.product-card .btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.products-grid .product-card {
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

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

/* Product Badges */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-badge.new {
  background: var(--gradient-success);
}

.product-badge.sale {
  background: var(--gradient-danger);
}

.product-badge.featured {
  background: var(--gradient-info);
}

/* Product Actions */
.product-actions {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: var(--transition-spring);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-actions .btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition-spring);
}

.product-actions .btn:hover {
  transform: scale(1.1);
  background: white;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

.product-badges .badge {
  margin-right: 0.5rem;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.rating {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.rating i {
  margin-right: 0.125rem;
}

/* Category Icons */
.category-icon {
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

/* Newsletter Section */
.bg-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

/* Filters Section */
.filters-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Product Overlay */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* Product Category */
.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Product Stock */
.product-stock {
  font-size: 0.75rem;
}

/* View Options */
.view-options .btn {
  margin-left: 0.25rem;
}

.view-options .btn.active {
  background: var(--primary);
  color: white;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 20px;
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px var(--shadow);
}

/* Product Info */
.product-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.rating {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 1.1rem;
}

.rating-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Price Section */
.price-section {
  margin-bottom: 1.5rem;
}

.current-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.old-price {
  font-size: 1.2rem;
  text-decoration: line-through;
}

.discount-badge {
  background: linear-gradient(135deg, var(--accent), #34ce57);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Stock Status */
.stock-status {
  padding: 1rem;
  background: var(--surface-secondary);
  border-radius: var(--radius);
  border-left: 4px solid currentColor;
}

/* Product Category */
.product-category .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Action Buttons */
.action-buttons .btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Quick Features */
.quick-features .feature-item {
  transition: var(--transition);
}

.quick-features .feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.quick-features i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Product Details Tabs */
.product-details-tabs .nav-tabs {
  border: none;
  background: var(--surface-secondary);
  padding: 0.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-details-tabs .nav-link {
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.product-details-tabs .nav-link:hover {
  background: rgba(255, 106, 0, 0.1);
  color: var(--primary);
}

.product-details-tabs .nav-link.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 10px rgba(255, 106, 0, 0.3);
}

.tab-content {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.tab-pane h4 {
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 700;
}

.tab-pane h5 {
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Reviews */
.review-item {
  background: var(--surface-secondary);
  border-left: 4px solid var(--primary);
}

.review-item strong {
  color: var(--text);
}

.review-item .rating {
  margin-bottom: 0.5rem;
}

/* Shipping Info */
.shipping-info h6 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--surface-secondary);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

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

.breadcrumb-item.active {
  color: var(--text-muted);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

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


.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14, 32, 82, .16);
}

.btn, .btn-primary,
.btn-outline-primary, .btn-success, .btn-secondary {
  border-radius: 24px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: rgba(255,106,0,0.08); }

.section-title { font-size: 1.6rem; margin-bottom: 1rem; font-weight: 700; }
.section-card-wrap { padding: 1rem; background: #ffffff; border-radius: var(--radius); border: 1px solid var(--border); }

.table {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.table thead { background: #f6f8ff; }

.form-control, .custom-select { border-radius: 8px; border: 1px solid #cdd5e2; }

.alert { border-radius: 10px; }

.table {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.table thead { background: #fff6f0; }
.table-hover tbody tr:hover { background: #fff4e8; }

.badge {
  text-transform: capitalize;
  font-size: 0.75rem;
  letter-spacing: 0.015em;
}

footer {
  background: #fafbff;
  border-top: 1px solid #e0e7f5;
  padding: 1.5rem 0;
  margin-top: 2rem;
  color: #6a7284;
}

.footer-note { text-align: center; font-size: 0.9rem; }

/* Contact Page Styles */
.contact-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 0;
  margin-bottom: 40px;
}
.contact-section h1 {
  color: white;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}
.contact-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.contact-info-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  height: 100%;
}
.contact-info-card h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-item:last-child {
  margin-bottom: 0;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}
.contact-info-icon i {
  color: white;
  font-size: 1rem;
}
.contact-info-text h6 {
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.contact-info-text p {
  margin-bottom: 0;
  color: #666;
  font-size: 0.95rem;
}

/* Auth Forms - Ensure Clickability */
.auth-form-container {
  position: relative;
  z-index: 10;
}

.auth-form-container .card {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.auth-form-container input,
.auth-form-container button,
.auth-form-container label,
.auth-form-container a {
  pointer-events: auto;
  cursor: pointer;
}

.auth-form-container input:focus,
.auth-form-container button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Modern Auth Form Styles */
.auth-form-container .glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-form-container .gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-form-container .input-group-text {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-right: none;
}

.auth-form-container .form-control {
  border-left: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.auth-form-container .form-control:focus {
  background: rgba(255, 255, 255, 1);
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  transform: translateY(-1px);
}

.auth-form-container .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.auth-form-container .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.auth-form-container .btn-primary:active {
  transform: translateY(0);
}

.auth-form-container .hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.auth-form-container .hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.auth-form-container .alert {
  border: none;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.auth-form-container .alert-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.auth-form-container .alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

/* Ensure form elements are clickable */
.form-control {
  pointer-events: auto;
  cursor: text;
}

.btn {
  pointer-events: auto;
  cursor: pointer;
}

.form-label {
  pointer-events: auto;
  cursor: pointer;
}
.btn-contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}
.map-container {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 200px;
  border: none;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
}
.required-field::after {
  content: " *";
  color: #dc3545;
}

/* Footer Modernisé */
.footer-modern {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.footer-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 106, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(10, 115, 245, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.footer-brand h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
  border-color: var(--primary);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.whatsapp:hover { background: #25d366; }

.footer-links {
  padding: 0;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: var(--primary) !important;
  transform: translateX(5px);
}

.footer-link i {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.contact-item i {
  font-size: 0.9rem;
  width: 18px;
  margin-right: 0.75rem;
  text-align: center;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.newsletter .input-group .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 8px 0 0 8px;
  padding: 0.75rem 1rem;
}

.newsletter .input-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter .input-group .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
}

.newsletter .btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
}

.newsletter .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.footer-bottom {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.payment-methods i {
  font-size: 1.5rem;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.payment-methods i:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 106, 0, 0.4);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-modern .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-brand h3 {
    font-size: 1.3rem;
  }

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-links li {
    text-align: center;
  }

  .footer-link {
    justify-content: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .newsletter .input-group {
    flex-direction: column;
  }

  .newsletter .input-group .form-control {
    border-radius: 8px 8px 0 0;
    text-align: center;
  }

  .newsletter .btn-primary {
    border-radius: 0 0 8px 8px;
    width: 100%;
  }

  .payment-methods {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-bottom .row {
    text-align: center;
  }

  .footer-bottom .col-md-6 {
    margin-bottom: 1rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .footer-modern .row > div {
    margin-bottom: 2rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }
}

/* ====== RESPONSIVE UTILITIES ====== */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1, h2, h3 {
    font-size: 1.5rem !important;
  }
  
  h4, h5, h6 {
    font-size: 1.25rem !important;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .form-control, .form-select {
    font-size: 1rem;
  }
  
  .table {
    font-size: 0.875rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .dropdown-menu {
    width: 100%;
    position: static;
  }
  
  .hero-wrap {
    padding: 2rem 1rem;
  }
  
  .hero-actions .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .category-card {
    padding: 1rem !important;
  }
  
  .feature-card {
    padding: 1rem !important;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .product-card .card-body {
    padding: 0.75rem;
  }
  
  .product-card .card-title {
    font-size: 0.9rem;
  }
  
  .product-card .btn {
    font-size: 0.8rem;
    padding: 0.4rem;
  }
  
  .filters-section {
    padding: 1rem !important;
  }
  
  .filters-section .row {
    gap: 0.5rem;
  }
  
  .contact-card {
    padding: 1rem !important;
  }
  
  .contact-info-card {
    margin-top: 1rem;
    padding: 1rem !important;
  }
  
  .auth-form-container {
    padding: 1rem !important;
  }
  
  .auth-form-container .card {
    padding: 1.5rem !important;
  }
  
  .chatbot-container {
    margin: 1rem !important;
    border-radius: 12px !important;
  }
  
  .chatbot-messages {
    height: 300px !important;
    padding: 1rem !important;
  }
  
  .quick-actions {
    padding: 1rem !important;
    flex-wrap: wrap;
  }
  
  .quick-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .chatbot-input {
    padding: 1rem !important;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .chatbot-input input {
    width: 100%;
  }
  
  .chatbot-input button {
    width: 100%;
  }
  
  .product-gallery .main-image img {
    width: 100%;
    height: auto;
  }
  
  .product-info .product-title {
    font-size: 1.25rem !important;
  }
  
  .action-buttons .row {
    gap: 0.5rem;
  }
  
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .nav-tabs .nav-link {
    white-space: nowrap;
  }
  
  .tracking-timeline {
    padding-left: 1rem;
  }
  
  .tracking-progress {
    height: 6px;
  }
  
  .wishlist-grid, .order-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  h1, h2, h3 {
    font-size: 1.25rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-wrap h1 {
    font-size: 1.5rem !important;
  }
  
  .hero-wrap p {
    font-size: 0.9rem !important;
  }
  
  .hero-search .form-control {
    margin-bottom: 0.5rem;
  }
  
  .category-card {
    padding: 0.75rem !important;
  }
  
  .category-card .category-icon i {
    font-size: 2rem !important;
  }
  
  .feature-card {
    padding: 0.75rem !important;
  }
  
  .product-card .price {
    font-size: 1rem;
  }
  
  .cart-table {
    font-size: 0.75rem;
  }
  
  .cart-table th, .cart-table td {
    padding: 0.5rem;
  }
  
  .cart-summary {
    padding: 1rem !important;
  }
  
  .checkout-form .row {
    margin: 0;
  }
  
  .checkout-form .col-md-6 {
    padding: 0;
    margin-bottom: 1rem;
  }
  
  .order-success {
    text-align: center;
  }
  
  .address-card {
    margin-bottom: 1rem;
  }
  
  .profile-card {
    padding: 1rem !important;
  }
  
  .profile-form .form-group {
    margin-bottom: 1rem;
  }
  
  .message-content {
    max-width: 90%;
    padding: 0.75rem 1rem;
  }
  
  .quick-actions button {
    flex: 1 1 45%;
  }
  
  .tab-content {
    padding: 1rem !important;
  }
  
  .nav-tabs .nav-link {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .chatbot-container {
    max-width: 90%;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
