/* Modern Design System - Matching React App Exactly */

:root {
  /* Colors - HSL */
  --background: 240 10% 98%;
  --foreground: 240 10% 10%;

  --card: 0 0% 100%;
  --card-foreground: 240 10% 10%;

  --primary: 262 80% 55%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 280 90% 65%;

  --secondary: 200 98% 48%;
  --secondary-foreground: 0 0% 100%;

  --muted: 240 5% 96%;
  --muted-foreground: 240 4% 46%;

  --accent: 280 90% 65%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 90% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 240 6% 90%;
  --input: 240 6% 90%;
  --ring: 262 80% 55%;

  --radius: 0.875rem;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(262 80% 55%), hsl(280 90% 65%));
  --gradient-secondary: linear-gradient(135deg, hsl(200 98% 48%), hsl(262 80% 55%));
  --gradient-hero: linear-gradient(135deg, hsl(262 80% 55% / 0.15), hsl(280 90% 65% / 0.15), hsl(200 98% 48% / 0.1));
  --gradient-accent: linear-gradient(to right, hsl(262 80% 55% / 0.1), hsl(280 90% 65% / 0.1));
  --gradient-card: linear-gradient(145deg, hsl(0 0% 100%), hsl(240 10% 98%));
  --gradient-shine: linear-gradient(90deg, transparent, hsl(0 0% 100% / 0.3), transparent);
  
  /* Shadows */
  --shadow-soft: 0 2px 12px hsl(262 80% 55% / 0.08);
  --shadow-medium: 0 8px 24px hsl(262 80% 55% / 0.12);
  --shadow-strong: 0 12px 40px hsl(262 80% 55% / 0.18);
  --shadow-glow: 0 0 60px hsl(262 80% 55% / 0.25), 0 0 100px hsl(280 90% 65% / 0.15);
  --shadow-elegant: 0 4px 20px hsl(240 10% 10% / 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.btn-outline:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary));
}

/* Cards */
.card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

/* Product Cards */
.product-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: hsl(var(--primary) / 0.3);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: hsl(var(--muted));
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-original-price {
  text-decoration: line-through;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  margin-left: 0.5rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  background-size: 200% 100%;
  animation: shine 3s infinite linear;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes shine {
  from { background-position: -200% center; }
  to { background-position: 200% center; }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-primary {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-container {
  max-width: 500px;
  margin: 0 auto 2rem;
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 1rem;
  background: hsl(var(--card));
}

.search-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.search-button {
  padding: 0.875rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-gradient {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.ml-2 {
  margin-left: 0.5rem;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: hsl(var(--background));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: hsl(var(--primary) / 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

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

.feature-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Inputs */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: all 0.3s;
}

.input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Products Section */
.products-section {
  padding: 4rem 0;
  background: hsl(var(--muted));
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.product-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-original {
  text-decoration: line-through;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Trust Section */
.trust-section {
  padding: 3rem 0;
  background: hsl(var(--background));
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--foreground));
  font-weight: 600;
}

.trust-badge i {
  font-size: 1.5rem;
  color: hsl(var(--primary));
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s ease-out;
}

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

.scale-in {
  animation: scaleIn 0.3s ease-out;
}

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

/* Loading Spinner */
.loading-spinner {
  border: 3px solid hsl(var(--muted));
  border-top: 3px solid hsl(var(--primary));
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.relative { position: relative; }
.absolute { position: absolute; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow-elegant); }
.shadow-md { box-shadow: var(--shadow-medium); }
.shadow-lg { box-shadow: var(--shadow-strong); }

/* Header Styles */
.header {
  background: linear-gradient(to right, hsl(222.2 84% 4.9%), hsl(217.2 91.2% 11.8%));
  border-bottom: 1px solid hsl(217.2 32.6% 17.5% / 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px hsl(222.2 84% 4.9% / 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.logo i {
  font-size: 1.75rem;
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: hsl(210 40% 96.1%);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  position: relative;
}

.nav-link:hover {
  background: hsl(217.2 32.6% 17.5% / 0.5);
  color: hsl(210 40% 98%);
}

.nav-link.active {
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  color: hsl(210 40% 98%);
  box-shadow: 0 0 20px hsl(221.2 83.2% 53.3% / 0.4);
}

.cart-button {
  position: relative;
  padding: 0.5rem 1rem;
  color: hsl(210 40% 98%);
  background: hsl(217.2 32.6% 17.5% / 0.5);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid hsl(217.2 32.6% 17.5% / 0.3);
}

.cart-button:hover {
  background: hsl(217.2 32.6% 17.5% / 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsl(222.2 84% 4.9% / 0.3);
}

.cart-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  background: linear-gradient(135deg, hsl(0 84.2% 60.2%), hsl(0 72.2% 50.6%));
  color: hsl(210 40% 98%);
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 2px 8px hsl(0 84.2% 60.2% / 0.4);
}

.user-menu {
  position: relative;
}

.user-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(217.2 32.6% 17.5% / 0.5);
  border: 1px solid hsl(217.2 32.6% 17.5% / 0.3);
  border-radius: 0.5rem;
  color: hsl(210 40% 98%);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.user-button:hover {
  background: hsl(217.2 32.6% 17.5% / 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsl(222.2 84% 4.9% / 0.3);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: hsl(222.2 84% 4.9%);
  border: 1px solid hsl(217.2 32.6% 17.5% / 0.3);
  border-radius: 0.75rem;
  min-width: 200px;
  box-shadow: 0 20px 25px -5px hsl(222.2 84% 4.9% / 0.5), 0 10px 10px -5px hsl(222.2 84% 4.9% / 0.3);
  overflow: hidden;
}

.user-menu:hover .user-dropdown {
  display: block;
  animation: slideDown 0.3s ease-out;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: hsl(210 40% 96.1%);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.dropdown-item:hover {
  background: hsl(217.2 32.6% 17.5% / 0.5);
  color: hsl(210 40% 98%);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Footer Styles */
.footer {
  background: linear-gradient(to bottom, hsl(222.2 84% 4.9%), hsl(217.2 91.2% 11.8%));
  color: hsl(210 40% 96.1%);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid hsl(217.2 32.6% 17.5% / 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand i {
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: hsl(215.4 16.3% 56.9%);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(217.2 32.6% 17.5% / 0.5);
  border-radius: 0.5rem;
  color: hsl(210 40% 96.1%);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid hsl(217.2 32.6% 17.5% / 0.3);
}

.social-link:hover {
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  transform: translateY(-4px);
  box-shadow: 0 10px 20px hsl(221.2 83.2% 53.3% / 0.3);
  border-color: transparent;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(210 40% 98%);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  border-radius: 2px;
}

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

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

.footer-links a {
  color: hsl(215.4 16.3% 56.9%);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, hsl(221.2 83.2% 53.3%), hsl(262.1 83.3% 57.8%));
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: hsl(210 40% 98%);
  padding-left: 0.5rem;
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid hsl(217.2 32.6% 17.5% / 0.3);
  color: hsl(215.4 16.3% 56.9%);
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.payment-methods {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  align-items: center;
}

.payment-methods i {
  opacity: 0.7;
  transition: all 0.3s ease;
}

.payment-methods i:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .grid-cols-3, .grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-badges {
    gap: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
}

/* Contact Page Styles */
.contact-page {
  min-height: calc(100vh - 300px);
  padding: 4rem 0;
  background: var(--gradient-subtle);
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeIn 0.6s ease-out;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  animation: fadeIn 0.8s ease-out;
}

.contact-form-section .card {
  padding: 3rem;
}

.contact-form-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: hsl(var(--foreground));
}

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

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.95rem;
}

.contact-form .form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.contact-form .form-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact-info-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.text-muted {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--primary-glow) / 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.contact-info-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.contact-info-item p {
  color: hsl(var(--muted-foreground));
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.contact-info-item a {
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: hsl(var(--primary-glow));
  text-decoration: underline;
}

.faq-card {
  padding: 2rem;
}

.faq-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.faq-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.faq-link:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
  border-color: hsl(var(--primary) / 0.2);
  transform: translateX(4px);
}

/* Responsive Contact Page */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 3rem 0;
  }
  
  .page-header {
    margin-bottom: 2.5rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .contact-form-section .card,
  .contact-info-card {
    padding: 2rem;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
}

/* Category Cards */
.category-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-elegant);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: hsl(var(--primary) / 0.3);
}

.category-card i {
  font-size: 3.5rem;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  display: block;
}

.category-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.category-card p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Auth Page Styles */
.auth-container {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: var(--gradient-hero);
}

.auth-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  padding: 3rem;
  box-shadow: var(--shadow-strong);
  max-width: 500px;
  width: 100%;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid hsl(var(--border));
}

.auth-tab {
  flex: 1;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
}

.auth-tab:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

.auth-tab.active {
  color: hsl(var(--primary));
  border-bottom-color: hsl(var(--primary));
  font-weight: 700;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.form-submit:active {
  transform: translateY(0);
}

.form-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

/* Cart Styles */
.cart-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
}

.cart-items {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-elegant);
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: hsl(var(--muted-foreground));
}

.cart-empty i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

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

.cart-item-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  background: hsl(var(--muted));
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

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

.cart-item-description {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  flex: 1;
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-item-price {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) / 2);
  cursor: pointer;
  transition: all 0.2s ease;
  color: hsl(var(--foreground));
  font-weight: 600;
}

.quantity-btn:hover {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.quantity-input {
  width: 70px;
  text-align: center;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) / 2);
  padding: 0.5rem;
  font-weight: 600;
}

.remove-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  color: hsl(var(--destructive));
  border: 1px solid hsl(var(--destructive) / 0.3);
  border-radius: calc(var(--radius) / 2);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.remove-btn:hover {
  background: hsl(var(--destructive) / 0.1);
  border-color: hsl(var(--destructive));
}

.cart-summary {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-elegant);
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.cart-summary h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 1rem;
}

.cart-summary-row:last-of-type {
  border-bottom: 2px solid hsl(var(--border));
  font-weight: 600;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 1.75rem;
  font-weight: 700;
}

.cart-summary-total .amount {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checkout-btn {
  width: 100%;
  padding: 1.25rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1rem;
  box-shadow: var(--shadow-soft);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.product-detail-image {
  width: 100%;
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow-strong);
}

.product-detail-info h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-detail-price .current {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-detail-price .original {
  font-size: 1.5rem;
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
}

.discount-badge {
  background: hsl(var(--destructive));
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.product-detail-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-features {
  margin-bottom: 2rem;
}

.product-features h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.product-features ul {
  list-style: none;
  padding: 0;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 1.05rem;
  color: hsl(var(--foreground));
}

.product-features li i {
  color: hsl(var(--primary));
  margin-top: 0.25rem;
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.add-to-cart-btn {
  flex: 1;
  padding: 1.25rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.wishlist-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  color: hsl(var(--foreground));
}

.wishlist-btn:hover {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.product-info-box {
  background: hsl(var(--secondary) / 0.1);
  border: 1px solid hsl(var(--secondary) / 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.product-info-box i {
  font-size: 1.5rem;
  color: hsl(var(--secondary));
}

.product-info-box .title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}

.product-info-box .description {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  min-width: 300px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-strong);
  animation: slideInRight 0.3s ease-out;
  opacity: 1;
  transition: opacity 0.3s ease;
}

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

.toast.success {
  border-left: 4px solid hsl(120 60% 50%);
}

.toast.error {
  border-left: 4px solid hsl(var(--destructive));
}

/* Additional responsive adjustments for new components */
@media (max-width: 1024px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-summary {
    position: static;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
  }
  
  .cart-item-image {
    width: 100%;
    height: 200px;
  }
  
  .cart-item-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .product-detail-info h1 {
    font-size: 2rem;
  }
  
  .product-detail-price .current {
    font-size: 2rem;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .wishlist-btn {
    width: 100%;
  }
}