/* Enhanced Beauty Zen - Modern Design System */
:root {
  /* Brand Colors - Soft & Feminine Beauty Palette */
  --primary-color: #d63384;
  --primary-light: #f8d7da;
  --primary-dark: #a02849;
  --secondary-color: #e83e8c;
  --accent-color: #ffc107;
  --accent-soft: #fff3cd;
  
  /* Soft Beauty Tones */
  --rose-pink: #ff69b4;
  --blush-pink: #ffb6c1;
  --lavender: #e6e6fa;
  --pearl-white: #faf8f8;
  --champagne: #f7e7ce;
  --dusty-rose: #dcae96;
  
  /* Text Colors */
  --text-dark: #2d3436;
  --text-medium: #636e72;
  --text-light: #74b9ff;
  --text-muted: #a4a4a4;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #fefefe;
  --bg-cream: #faf9f7;
  --bg-blush: #fff8f8;
  
  /* Gradients - Sophisticated & Feminine */
  --gradient-primary: linear-gradient(135deg, #d63384 0%, #e83e8c 50%, #ff69b4 100%);
  --gradient-secondary: linear-gradient(135deg, #ffc107 0%, #ffb74d 50%, #ff8a65 100%);
  --gradient-rose: linear-gradient(135deg, #ffb6c1 0%, #ff69b4 100%);
  --gradient-pearl: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --gradient-sunset: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
  --gradient-lavender: linear-gradient(135deg, #e6e6fa 0%, #dda0dd 100%);
  
  /* Advanced Shadows - 3D & Soft */
  --shadow-soft: 0 2px 12px rgba(214, 51, 132, 0.08);
  --shadow-medium: 0 8px 25px rgba(214, 51, 132, 0.12);
  --shadow-strong: 0 15px 35px rgba(214, 51, 132, 0.15);
  --shadow-glow: 0 0 30px rgba(214, 51, 132, 0.3);
  --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.1);
  
  /* Border Radius - Modern & Soft */
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  
  /* Transitions - Smooth & Elegant */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s 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);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-cream);
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.3px;
  position: relative;
  padding-top: 80px;
  margin-top: 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(214, 51, 132, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Typography - Elegant & Readable */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-shadow: var(--shadow-text);
}

h1 { 
  font-size: 3.5rem; 
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 { 
  font-size: 2.75rem; 
  font-weight: 600;
}

h3 { 
  font-size: 2.25rem; 
}

h4 { 
  font-size: 1.75rem; 
}

h5 { 
  font-size: 1.5rem; 
}

h6 { 
  font-size: 1.25rem; 
}

p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Simple Animation Keyframes */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
    filter: drop-shadow(0 10px 20px rgba(214, 51, 132, 0.1));
  }
  50% { 
    transform: translateY(-8px); 
    filter: drop-shadow(0 15px 30px rgba(214, 51, 132, 0.15));
  }
}

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

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

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

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: var(--shadow-soft);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: var(--shadow-glow);
  }
}

@keyframes shimmer {
  0% { 
    background-position: -200% 0; 
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% { 
    background-position: 200% 0; 
    opacity: 0;
  }
}

@keyframes heartbeat {
  0%, 100% { 
    transform: scale(1); 
  }
  25%, 75% { 
    transform: scale(1.1); 
  }
  50% { 
    transform: scale(1.2); 
  }
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0; 
    transform: scale(0) rotate(0deg); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1) rotate(180deg); 
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) rotate(5deg);
  }
  70% {
    transform: scale(0.9) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes flipIn {
  0% {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotateX(-20deg);
  }
  60% {
    transform: perspective(400px) rotateX(10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotateX(-5deg);
  }
  100% {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes rotateIn {
  0% {
    transform: rotate(-200deg);
    opacity: 0;
  }
  100% {
    transform: rotate(0deg);
    opacity: 1;
  }
}

@keyframes zoomInUp {
  0% {
    opacity: 0;
    transform: scale(0.1) translateY(2000px);
  }
  60% {
    opacity: 1;
    transform: scale(0.475) translateY(-60px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes rubberBand {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scaleX(1.25) scaleY(0.75);
  }
  40% {
    transform: scaleX(0.75) scaleY(1.25);
  }
  50% {
    transform: scaleX(1.15) scaleY(0.85);
  }
  65% {
    transform: scaleX(0.95) scaleY(1.05);
  }
  75% {
    transform: scaleX(1.05) scaleY(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes countUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0%); opacity: 1; }
}

@keyframes starTwinkle {
  0%, 100% { 
    color: var(--accent-color); 
    transform: scale(1);
  }
  50% { 
    color: #ffed4e; 
    transform: scale(1.2);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes magneticPull {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.05) translateY(-5px); }
  100% { transform: scale(1.1) translateY(-10px); }
}

@keyframes particleExplode {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 0;
  }
}

/* Enhanced Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(214, 51, 132, 0.1);
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
  transition: var(--transition);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  margin: 0;
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  box-shadow: var(--shadow-medium);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: var(--transition-bounce);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 5px 15px rgba(214, 51, 132, 0.3));
}

.navbar-brand i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: sparkle 3s ease-in-out infinite;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-sunset);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.navbar-nav .nav-link:hover {
  color: var(--text-dark);
  transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
  width: 100%;
}

.navbar-nav .nav-link:hover::after {
  opacity: 0.1;
}

/* Main Content Area */
.main-content {
  margin-top: 0;
  padding-top: 0;
}

/* Product Image Fixes */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.product-image img.loading {
  opacity: 0.7;
}

.product-image img.loaded {
  opacity: 1;
}

.product-image img.error {
  opacity: 1;
  background: #f8f9fa;
}

/* Image skeleton override */
.image-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: inherit;
  z-index: 1;
}

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

/* Enhanced Hero Section */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-sunset);
  margin-top: -80px;
  padding-top: 80px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(214, 51, 132, 0.8) 0%, 
    rgba(232, 62, 140, 0.6) 50%, 
    rgba(255, 105, 180, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-text {
  color: white;
  text-align: left;
  animation: slideInLeft 1s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

/* Enhanced Buttons */
.glow-button {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.glow-button::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.5s ease;
}

.glow-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-glow);
  color: white;
  text-decoration: none;
}

.glow-button:hover::before {
  left: 100%;
}

.glow-button:active {
  transform: translateY(-1px) scale(1.02);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  animation: float 8s ease-in-out infinite;
}

.element-1 {
  top: 20%;
  right: 15%;
  animation-delay: -2s;
  animation: float 6s ease-in-out infinite, heartbeat 2s ease-in-out infinite;
}

.element-2 {
  top: 60%;
  right: 25%;
  animation-delay: -4s;
  animation: float 8s ease-in-out infinite, sparkle 3s ease-in-out infinite;
}

.element-3 {
  top: 40%;
  right: 5%;
  animation-delay: -6s;
  animation: float 7s ease-in-out infinite;
}

/* Section Styling */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

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

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Enhanced Category Cards */
.categories-section {
  padding: 5rem 0;
  background: var(--bg-white);
  position: relative;
}

.categories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bounce);
  border: 1px solid rgba(214, 51, 132, 0.1);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

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

.category-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: var(--shadow-strong);
}

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

.category-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-image img {
  transform: scale(1.1) rotate(2deg);
}

.category-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.category-content h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.category-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Enhanced Product Cards */
.featured-products-section {
  padding: 5rem 0;
  background: var(--gradient-pearl);
  position: relative;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bounce);
  border: 1px solid rgba(214, 51, 132, 0.08);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-rose);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-20px) rotateX(3deg) rotateY(-3deg) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.product-card:hover::after {
  opacity: 0.03;
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--bg-cream);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-medium);
  z-index: 3;
  animation: pulse3D 2s ease-in-out infinite;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(214, 51, 132, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

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

.product-overlay .btn {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-bounce);
  transform: translateY(20px);
}

.product-card:hover .product-overlay .btn {
  transform: translateY(0);
}

.product-overlay .btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px) scale(1.05);
}

.product-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.product-content h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.product-price {
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

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

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

.product-rating {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  color: var(--accent-color);
}

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

/* Enhanced Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: var(--bg-cream);
  position: relative;
}

.benefit-card {
  background: var(--bg-white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bounce);
  border: 1px solid rgba(214, 51, 132, 0.08);
  position: relative;
  overflow: hidden;
  height: 100%;
}

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

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

.benefit-card:hover::before {
  opacity: 0.05;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-bounce);
  position: relative;
  z-index: 2;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotateY(360deg);
  box-shadow: var(--shadow-glow);
}

.benefit-icon i {
  font-size: 2rem;
  color: white;
}

.benefit-card h5 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.benefit-card p {
  color: var(--text-medium);
  line-height: 1.6;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

/* Enhanced Newsletter Section */
.newsletter-section {
  padding: 4rem 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-section h3 {
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.newsletter-form {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.newsletter-form .input-group:focus-within {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-control {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
}

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

.newsletter-form .form-control:focus {
  background: transparent;
  border: none;
  box-shadow: none;
  color: white;
  outline: none;
}

.newsletter-form .btn {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition-bounce);
  white-space: nowrap;
}

.newsletter-form .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Button Styles */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition-bounce);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary::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.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-medium);
  color: white;
  text-decoration: none;
}

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

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition-bounce);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-outline-primary:hover {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px) scale(1.05);
  text-decoration: none;
}

.btn-outline-primary:hover::before {
  transform: scaleX(1);
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  /* Typography adjustments */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  /* Hero section mobile */
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .glow-button {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }
  
  /* Navigation mobile */
  .navbar {
    height: 70px;
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0.2rem 0;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: calc(100vh - 70px);
    margin-top: -70px;
    padding-top: 70px;
  }
  
  .hero-carousel {
    height: calc(100vh - 70px);
  }
  
  /* Body mobile */
  body {
    padding-top: 70px;
  }
  
  /* Floating elements mobile */
  .floating-element {
    font-size: 1.5rem;
  }
  
  /* Sections mobile */
  .categories-section,
  .featured-products-section,
  .benefits-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Category cards mobile */
  .category-card:hover {
    transform: translateY(-8px) scale(1.02);
  }
  
  .category-image {
    height: 150px;
  }
  
  .category-content {
    padding: 1rem;
  }
  
  /* Product cards mobile */
  .product-card:hover {
    transform: translateY(-10px) scale(1.02);
  }
  
  .product-image {
    height: 200px;
  }
  
  .product-content {
    padding: 1rem;
  }
  
  /* Benefits mobile */
  .benefit-card {
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
  }
  
  .benefit-icon i {
    font-size: 1.5rem;
  }
  
  /* Newsletter mobile */
  .newsletter-section {
    padding: 3rem 0;
  }
  
  .newsletter-section h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .newsletter-section p {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .newsletter-form .input-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .newsletter-form .form-control {
    padding: 0.8rem 1rem;
    text-align: center;
  }
  
  .newsletter-form .btn {
    padding: 0.8rem 1.5rem;
    width: 100%;
  }
}

@media (max-width: 576px) {
  /* Extra small devices */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .category-image,
  .product-image {
    height: 180px;
  }
  
  .glow-button,
  .btn-primary {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Additional utility classes */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.shadow-glow-hover {
  transition: var(--transition);
}

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

/* Animation delays for staggered effects */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-up {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* 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(214, 51, 132, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
}

/* Enhanced Animation Classes */
.animate-title {
  opacity: 0;
  transform: translateY(50px);
  animation: slideInFromBottom 0.8s ease-out forwards;
}

.animate-subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInFromBottom 1s ease-out forwards;
}

.animate-card {
  opacity: 0;
  transform: scale(0.8) rotateY(20deg);
  animation: bounceIn 0.6s ease-out forwards;
}

.animate-product {
  opacity: 0;
  transform: perspective(400px) rotateX(90deg);
  animation: flipIn 0.8s ease-out forwards;
}

.animate-benefit {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  animation: zoomInUp 0.6s ease-out forwards;
}

.animate-text {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFromBottom 0.5s ease-out forwards;
}

.animate-text-delay {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFromBottom 0.5s ease-out 0.2s forwards;
}

/* Enhanced Image Overlays */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(214, 51, 132, 0.8);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.overlay-content {
  display: flex;
  gap: 1rem;
}

.wishlist-icon,
.view-icon {
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.wishlist-icon:hover,
.view-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.2);
}

/* Enhanced Card Shine Effect */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.category-card:hover .card-shine,
.product-card:hover .card-shine {
  left: 100%;
}

/* Enhanced Card Glow Effect */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(214, 51, 132, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: -1;
}

.product-card:hover .card-glow {
  opacity: 1;
  animation: pulse 2s infinite;
}

/* Title Decoration */
.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  opacity: 0;
  transform: scale(0);
  animation: bounceIn 0.8s ease-out 0.4s forwards;
}

.decoration-line {
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
  margin: 0 1rem;
}

.decoration-diamond {
  width: 10px;
  height: 10px;
  background: var(--gradient-primary);
  transform: rotate(45deg);
}

/* Enhanced Button Animations */
.btn-slide-up {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: var(--transition-bounce);
}

.btn-slide-up:hover {
  transform: translateY(-3px);
}

.btn-slide-up span {
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.btn-slide-up i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.btn-slide-up:hover i {
  transform: translateX(5px);
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

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

/* Pulse Badge Animation */
.pulse-badge {
  animation: rubberBand 1s ease-in-out infinite;
}

/* Quick Actions */
.quick-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .quick-actions {
  opacity: 1;
}

.quick-action {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition-bounce);
  cursor: pointer;
}

.quick-action:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(360deg);
}

/* Enhanced Star Rating Animation */
.star-animate {
  animation: starTwinkle 1s ease-in-out infinite;
}

.animate-stars .star-animate:hover {
  animation: tada 0.5s ease-in-out;
}

/* Count Up Animation */
.count-up {
  overflow: hidden;
}

.count-up.counting {
  animation: countUp 0.8s ease-out;
}

/* Enhanced Benefits */
.benefit-intro {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInFromBottom 0.6s ease-out 0.3s forwards;
}

.benefit-title {
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-dark);
}

.benefit-description {
  color: var(--text-medium);
  margin-bottom: 0;
}

.benefit-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}

.icon-bounce {
  position: relative;
}

.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-lavender);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.icon-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: var(--transition);
}

.benefit-card:hover .icon-bg {
  opacity: 0.1;
}

.benefit-card:hover .icon-ripple {
  animation: ripple 0.6s ease-out;
}

/* Magnetic Button Effect */
.btn-magnetic {
  position: relative;
  transition: var(--transition);
}

.btn-magnetic:hover {
  animation: magneticPull 0.3s ease-out forwards;
}

.btn-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.btn-magnetic:hover .btn-particles::before,
.btn-magnetic:hover .btn-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: particleExplode 0.5s ease-out forwards;
}

.btn-magnetic:hover .btn-particles::before {
  top: 20%;
  left: 20%;
  animation-delay: 0.1s;
}

.btn-magnetic:hover .btn-particles::after {
  bottom: 20%;
  right: 20%;
  animation-delay: 0.2s;
}

/* Add to Cart Animation */
.add-to-cart-animated {
  position: relative;
}

.add-to-cart-animated.adding {
  animation: rubberBand 0.5s ease-in-out;
}

.add-to-cart-animated.added {
  background: #28a745 !important;
  border-color: #28a745 !important;
}

/* 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;
  }
  
  .floating-animation,
  .floating-element {
    animation: none;
  }
}

.navbar-nav .nav-link:hover::before {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.cart-badge {
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  text-align: center;
  animation: pulse3D 1s infinite;
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="100" cy="100" r="50" fill="url(%23a)"/><circle cx="300" cy="200" r="30" fill="url(%23a)"/><circle cx="500" cy="50" r="40" fill="url(%23a)"/><circle cx="700" cy="150" r="60" fill="url(%23a)"/><circle cx="900" cy="80" r="35" fill="url(%23a)"/></svg>');
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-image {
  animation: float 4s ease-in-out infinite;
  transform-style: preserve-3d;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transform-style: preserve-3d;
}

.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: var(--transition);
}

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

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

.btn-primary:hover {
  transform: translateY(-3px) rotateX(10deg);
  box-shadow: var(--shadow-medium);
  color: white;
}

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

.btn-secondary:hover {
  transform: translateY(-3px) rotateX(10deg);
  box-shadow: var(--shadow-medium);
  color: white;
}

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

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Product Cards */
.product-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
}

.product-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-heavy);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover::before {
  opacity: 1;
  animation: shimmer 0.8s ease-in-out;
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-accent);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: pulse3D 2s infinite;
}

.product-actions {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.product-action-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1) rotateZ(10deg);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

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

.product-price .original-price {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

/* Category Cards */
.category-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
}

.category-card:hover {
  transform: translateY(-5px) rotateY(5deg);
  box-shadow: var(--shadow-medium);
}

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

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

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

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

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.category-card:hover .category-overlay {
  transform: translateY(0);
}

/* Filter & Search */
.filter-bar {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-light);
}

.search-input {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* Cart Styles */
.cart-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  animation: slideInLeft 0.5s ease-out;
}

.cart-item:hover {
  box-shadow: var(--shadow-medium);
}

.cart-summary {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 100px;
}

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

.quantity-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.quantity-input {
  width: 60px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.3rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: #28a745;
}

/* Alert Styles */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  border: none;
  font-weight: 500;
  animation: fadeInUp 0.5s ease-out;
  position: relative;
  z-index: 1050;
}

/* Flash Message Notifications */
.flash-messages {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  width: 90%;
  max-width: 600px;
  pointer-events: none;
}

.flash-messages .alert {
  pointer-events: auto;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
}

.flash-messages .alert-dismissible {
  padding-right: 3rem;
}

.flash-messages .alert .btn-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  padding: 0;
  background: none;
  border: none;
  font-size: 1.2rem;
  opacity: 0.7;
  cursor: pointer;
  transition: var(--transition);
}

.flash-messages .alert .btn-close:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
  color: #721c24;
}

.alert-info {
  background: linear-gradient(135deg, #cce7ff 0%, #b8daff 100%);
  color: #0c5460;
}

/* Loading Animation */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a {
  padding: 0.5rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
}

.pagination a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.pagination .current {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

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

.footer p {
  color: #ecf0f1;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
}

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

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-3px) rotateZ(10deg);
  box-shadow: var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  .filter-bar {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .cart-summary {
    position: static;
    margin-top: 2rem;
  }
}

/* Utility Classes */
.text-gradient {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.bg-gradient {
  background: var(--gradient-primary);
}

.shadow-3d {
  box-shadow: var(--shadow-heavy);
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

.animate-slide-in {
  animation: slideInLeft 0.5s ease-out;
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Selection Styling */
::selection {
  background: var(--primary-color);
  color: white;
}

::-moz-selection {
  background: var(--primary-color);
  color: white;
}
